* Utf8 error
@ 2013-01-30 21:27 Andreas Enge
2013-01-30 22:23 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Enge @ 2013-01-30 21:27 UTC (permalink / raw)
To: bug-guix
[-- Attachment #1: Type: text/plain, Size: 36630 bytes --]
This one is a really strange error. I am adding flac to oggvorbis.scm, with
the usual build process. And then the check phase errors out with a strange
utf8 error in guile, at the beginning of the tests. What I do not
understand here is why guile is involved at all; the computer should be
busy with "make check" at that moment. Below is the (very long) output.
Is guile somehow parsing the stdout attached to the build process? And
seeing strange characters?
When I carry out the tests manually, I get this around the same place:
testing FLAC__format_sample_rate_is_subset(700010)... OK
testing FLAC__format_sample_rate_is_subset(1000000)... OK
testing FLAC__format_sample_rate_is_subset(1100000)... OK
testing FLAC__format_vorbiscomment_entry_name_is_legal("")... OK
testing FLAC__format_vorbiscomment_entry_name_is_legal("a")... OK
testing FLAC__format_vorbiscomment_entry_name_is_legal("=")... OK
testing FLAC__format_vorbiscomment_entry_name_is_legal("a=")... OK
testing FLAC__format_vorbiscomment_entry_name_is_legal("^A")... OK
testing FLAC__format_vorbiscomment_entry_name_is_legal("^_")... OK
testing FLAC__format_vorbiscomment_entry_name_is_legal("}")... OK
testing FLAC__format_vorbiscomment_entry_name_is_legal("~")... OK
testing FLAC__format_vorbiscomment_entry_name_is_legal("<FF>")... OK
testing FLAC__format_vorbiscomment_entry_value_is_legal("", 0)... OK
testing FLAC__format_vorbiscomment_entry_value_is_legal("", 1)... OK
testing FLAC__format_vorbiscomment_entry_value_is_legal("^A", 1)... OK
testing FLAC__format_vorbiscomment_entry_value_is_legal("^?", 1)... OK
testing FLAC__format_vorbiscomment_entry_value_is_legal("<80>", 1)... OK
testing FLAC__format_vorbiscomment_entry_value_is_legal("<81>", 1)... OK
testing FLAC__format_vorbiscomment_entry_value_is_legal("<C0>", 1)... OK
testing FLAC__format_vorbiscomment_entry_value_is_legal("<E0>", 1)... OK
testing FLAC__format_vorbiscomment_entry_value_is_legal("<F0>", 1)... OK
testing FLAC__format_vorbiscomment_entry_value_is_legal("<C0>A", 2)... OK
This seems to confirm my hypothesis. What can we do?
Andreas
...
make[3]: Entering directory `/tmp/nix-build-
flac-1.2.1.drv-0/flac-1.2.1/test'
+++ libFLAC unit test: bitwriter
testing new... OK
testing delete... OK
testing new... OK
testing init... OK
testing delete... OK
testing new... OK
testing init... OK
testing clear... OK
testing delete... OK
testing new... OK
testing init... OK
testing clear... OK
capacity = 8192
testing zeroes, raw_uint32*... OK
bitwriter: capacity=8192 words=4 bits=24 total_bits=152
00000000: 10111110101010101111000010101010
00000001: 10101000101010101010101010101010
00000002: 10101010101010100000101000110000
00000003: 11011011111010101010110110101010
00000004: 111011101111101011001110
testing raw_uint32 some more... OK
bitwriter: capacity=8192 words=4 bits=30 total_bits=158
00000000: 10111110101010101111000010101010
00000001: 10101000101010101010101010101010
00000002: 10101010101010100000101000110000
00000003: 11011011111010101010110110101010
00000004: 111011101111101011001110111101
testing utf8_uint32(0x00000000)... OK
testing utf8_uint32(0x0000007F)... OK
testing utf8_uint32(0x00000080)... OK
testing utf8_uint32(0x000007FF)... OK
testing utf8_uint32(0x00000800)... OK
testing utf8_uint32(0x0000FFFF)... OK
testing utf8_uint32(0x00010000)... OK
testing utf8_uint32(0x001FFFFF)... OK
testing utf8_uint32(0x00200000)... OK
testing utf8_uint32(0x03FFFFFF)... OK
testing utf8_uint32(0x04000000)... OK
testing utf8_uint32(0x7FFFFFFF)... OK
testing utf8_uint64(0x0000000000000000)... OK
testing utf8_uint64(0x000000000000007F)... OK
testing utf8_uint64(0x0000000000000080)... OK
testing utf8_uint64(0x00000000000007FF)... OK
testing utf8_uint64(0x0000000000000800)... OK
testing utf8_uint64(0x000000000000FFFF)... OK
testing utf8_uint64(0x0000000000010000)... OK
testing utf8_uint64(0x00000000001FFFFF)... OK
testing utf8_uint64(0x0000000000200000)... OK
testing utf8_uint64(0x0000000003FFFFFF)... OK
testing utf8_uint64(0x0000000004000000)... OK
testing utf8_uint64(0x000000007FFFFFFF)... OK
testing utf8_uint64(0x0000000080000000)... OK
testing utf8_uint64(0x0000000FFFFFFFFF)... OK
testing grow... OK
capacity = 9216
testing free... OK
testing delete... OK
PASSED!
+++ libFLAC unit test: format
testing FLAC__format_sample_rate_is_valid(0)... OK
testing FLAC__format_sample_rate_is_valid(1)... OK
testing FLAC__format_sample_rate_is_valid(9)... OK
testing FLAC__format_sample_rate_is_valid(10)... OK
testing FLAC__format_sample_rate_is_valid(4000)... OK
testing FLAC__format_sample_rate_is_valid(8000)... OK
testing FLAC__format_sample_rate_is_valid(11025)... OK
testing FLAC__format_sample_rate_is_valid(12000)... OK
testing FLAC__format_sample_rate_is_valid(16000)... OK
testing FLAC__format_sample_rate_is_valid(22050)... OK
testing FLAC__format_sample_rate_is_valid(24000)... OK
testing FLAC__format_sample_rate_is_valid(32000)... OK
testing FLAC__format_sample_rate_is_valid(32768)... OK
testing FLAC__format_sample_rate_is_valid(44100)... OK
testing FLAC__format_sample_rate_is_valid(48000)... OK
testing FLAC__format_sample_rate_is_valid(65000)... OK
testing FLAC__format_sample_rate_is_valid(65535)... OK
testing FLAC__format_sample_rate_is_valid(65536)... OK
testing FLAC__format_sample_rate_is_valid(65540)... OK
testing FLAC__format_sample_rate_is_valid(65550)... OK
testing FLAC__format_sample_rate_is_valid(65555)... OK
testing FLAC__format_sample_rate_is_valid(66000)... OK
testing FLAC__format_sample_rate_is_valid(66001)... OK
testing FLAC__format_sample_rate_is_valid(96000)... OK
testing FLAC__format_sample_rate_is_valid(100000)... OK
testing FLAC__format_sample_rate_is_valid(100001)... OK
testing FLAC__format_sample_rate_is_valid(192000)... OK
testing FLAC__format_sample_rate_is_valid(500000)... OK
testing FLAC__format_sample_rate_is_valid(500001)... OK
testing FLAC__format_sample_rate_is_valid(500010)... OK
testing FLAC__format_sample_rate_is_valid(655349)... OK
testing FLAC__format_sample_rate_is_valid(655350)... OK
testing FLAC__format_sample_rate_is_valid(655351)... OK
testing FLAC__format_sample_rate_is_valid(655360)... OK
testing FLAC__format_sample_rate_is_valid(700000)... OK
testing FLAC__format_sample_rate_is_valid(700010)... OK
testing FLAC__format_Backtrace:
In ice-9/boot-9.scm:
149: 14 [catch #t #<catch-closure 20159c0> ...]
157: 13 [#<procedure 1fb00f0 ()>]
In unknown file:
?: 12 [catch-closure]
In ice-9/boot-9.scm:
63: 11 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
407: 10 [eval # #]
In unknown file:
?: 9 [call-with-input-string "(apply (module-ref (resolve-interface
'(guix-build)) 'guix-build) (cdr (command-line)))" ...]
In ice-9/command-line.scm:
174: 8 [#<procedure 200c220 at ice-9/command-line.scm:169:3 (port)>
#<input: string 1dd71a0>]
In unknown file:
?: 7 [eval (apply (module-ref # #) (cdr #)) #<directory (guile-user)
2017d80>]
In ice-9/boot-9.scm:
149: 6 [catch srfi-34 #<procedure 240b0c0 at guix/ui.scm:82:2 ()> ...]
157: 5 [#<procedure 21aceb0 ()>]
In /usr/local/bin/guix-build:
287: 4 [#<procedure 24aa1b0 at /usr/local/bin/guix-build:228:2 ()>]
In guix/store.scm:
514: 3 [build-derivations # #]
385: 2 [process-stderr #]
170: 1 [read-string #<input-output: socket 5>]
In unknown file:
?: 0 [utf8->string #vu8(115 97 109 112 108 101 95 114 97 116 101 95 105
115 95 118 97 108 105 100 40 49 48 48 48 48 48 48 41 46 46 46 32 79 75 10
116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95
115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 118 97 108 105 100
40 49 49 48 48 48 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103
32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95
114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 48 41 46 46 46 32 79
75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97
116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98
115 101 116 40 49 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70
76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97
116 101 95 105 115 95 115 117 98 115 101 116 40 57 41 46 46 46 32 79 75 10
116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95
115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115 101
116 40 49 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76
65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116
101 95 105 115 95 115 117 98 115 101 116 40 52 48 48 48 41 46 46 46 32 79
75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97
116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98
115 101 116 40 56 48 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110
103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108 101
95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 49 49 48 50 53 41
46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102
111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115
95 115 117 98 115 101 116 40 49 50 48 48 48 41 46 46 46 32 79 75 10 116 101
115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97
109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40
49 54 48 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76
65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116
101 95 105 115 95 115 117 98 115 101 116 40 50 50 48 53 48 41 46 46 46 32
79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109
97 116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98
115 101 116 40 50 52 48 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105
110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108
101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 51 50 48 48
48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95
102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95 105
115 95 115 117 98 115 101 116 40 51 50 55 54 56 41 46 46 46 32 79 75 10 116
101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115
97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116
40 52 52 49 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70
76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97
116 101 95 105 115 95 115 117 98 115 101 116 40 52 56 48 48 48 41 46 46 46
32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114
109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115
117 98 115 101 116 40 54 53 48 48 48 41 46 46 46 32 79 75 10 116 101 115
116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109
112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 54 53
53 51 53 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67
95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95
105 115 95 115 117 98 115 101 116 40 54 53 53 51 54 41 46 46 46 32 79 75 10
116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95
115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115 101
116 40 54 53 53 52 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103
32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95
114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 54 53 53 53 48 41 46
46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111
114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95
115 117 98 115 101 116 40 54 53 53 53 53 41 46 46 46 32 79 75 10 116 101
115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97
109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40
54 54 48 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76
65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116
101 95 105 115 95 115 117 98 115 101 116 40 54 54 48 48 49 41 46 46 46 32
79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109
97 116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98
115 101 116 40 57 54 48 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105
110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108
101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 49 48 48 48
48 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95
95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95
105 115 95 115 117 98 115 101 116 40 49 48 48 48 48 49 41 46 46 46 32 79 75
10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116
95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115
101 116 40 49 57 50 48 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105
110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108
101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 53 48 48 48
48 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95
95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95
105 115 95 115 117 98 115 101 116 40 53 48 48 48 48 49 41 46 46 46 32 79 75
10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116
95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115
101 116 40 53 48 48 48 49 48 41 46 46 46 32 79 75 10 116 101 115 116 105
110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108
101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 54 53 53 51
52 57 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95
95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95
105 115 95 115 117 98 115 101 116 40 54 53 53 51 53 48 41 46 46 46 32 79 75
10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116
95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115
101 116 40 54 53 53 51 53 49 41 46 46 46 32 79 75 10 116 101 115 116 105
110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108
101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 54 53 53 51
54 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95
95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95
105 115 95 115 117 98 115 101 116 40 55 48 48 48 48 48 41 46 46 46 32 79 75
10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116
95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115
101 116 40 55 48 48 48 49 48 41 46 46 46 32 79 75 10 116 101 115 116 105
110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108
101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 49 48 48 48
48 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67
95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95
105 115 95 115 117 98 115 101 116 40 49 49 48 48 48 48 48 41 46 46 46 32 79
75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97
116 95 118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110 116 114
121 95 110 97 109 101 95 105 115 95 108 101 103 97 108 40 34 34 41 46 46 46
32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114
109 97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110
116 114 121 95 110 97 109 101 95 105 115 95 108 101 103 97 108 40 34 97 34
41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95
102 111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116
95 101 110 116 114 121 95 110 97 109 101 95 105 115 95 108 101 103 97 108
40 34 61 34 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65
67 95 95 102 111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109
101 110 116 95 101 110 116 114 121 95 110 97 109 101 95 105 115 95 108 101
103 97 108 40 34 97 61 34 41 46 46 46 32 79 75 10 116 101 115 116 105 110
103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 118 111 114 98 105 115
99 111 109 109 101 110 116 95 101 110 116 114 121 95 110 97 109 101 95 105
115 95 108 101 103 97 108 40 34 1 34 41 46 46 46 32 79 75 10 116 101 115
116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 118 111 114
98 105 115 99 111 109 109 101 110 116 95 101 110 116 114 121 95 110 97 109
101 95 105 115 95 108 101 103 97 108 40 34 31 34 41 46 46 46 32 79 75 10
116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95
118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110 116 114 121 95
110 97 109 101 95 105 115 95 108 101 103 97 108 40 34 125 34 41 46 46 46 32
79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109
97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110 116
114 121 95 110 97 109 101 95 105 115 95 108 101 103 97 108 40 34 126 34 41
46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102
111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116 95
101 110 116 114 121 95 110 97 109 101 95 105 115 95 108 101 103 97 108 40
34 255 34 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65
67 95 95 102 111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109
101 110 116 95 101 110 116 114 121 95 118 97 108 117 101 95 105 115 95 108
101 103 97 108 40 34 34 44 32 48 41 46 46 46 32 79 75 10 116 101 115 116
105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 118 111 114 98
105 115 99 111 109 109 101 110 116 95 101 110 116 114 121 95 118 97 108 117
101 95 105 115 95 108 101 103 97 108 40 34 34 44 32 49 41 46 46 46 32 79 75
10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116
95 118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110 116 114 121
95 118 97 108 117 101 95 105 115 95 108 101 103 97 108 40 34 1 34 44 32 49
41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95
102 111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116
95 101 110 116 114 121 95 118 97 108 117 101 95 105 115 95 108 101 103 97
108 40 34 127 34 44 32 49 41 46 46 46 32 79 75 10 116 101 115 116 105 110
103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 118 111 114 98 105 115
99 111 109 109 101 110 116 95 101 110 116 114 121 95 118 97 108 117 101 95
105 115 95 108 101 103 97 108 40 34 128 34 44 32 49 41 46 46 46 32 79 75 10
116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95
118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110 116 114 121 95
118 97 108 117 101 95 105 115 95 108 101 103 97 108 40 34 129 34 44 32 49
41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95
102 111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116
95 101 110 116 114 121 95 118 97 108 117 101 95 105 115 95 108 101 103 97
108 40 34 192 34 44 32 49 41 46 46 46 32 79 75 10 116 101 115 116 105 110
103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 118 111 114 98 105 115
99 111 109 109 101 110 116 95 101 110 116 114 121 95 118 97 108 117 101 95
105 115 95 108 101 103 97 108 40 34 224 34 44 32 49 41 46 46 46 32 79 75 10
116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95
118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110 116 114 121 95
118 97 108 117 101 95 105 115 95 108 101 103 97 108 40 34 240 34 44 32 49
41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95
102 111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116
95 101 110 116 114 121 95 118 97 108 117 101 95 105 115 95 108 101 103 97
108 40 34 192 65 34 44 32 50 41 46 46 46 32 79 75 10 116 101 115 116 105
110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 118 111 114 98 105
115 99 111 109 109 101 110 116 95 101 110 116 114 121 95 118 97 108 117 101
95 105 115 95 108 101 103 97 108 40 34 193 65 34 44 32 50 41 46 46 46 32 79
75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97
116 95 118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110 116 114
121 95 118 97 108 117 101 95 105 115 95 108 101 103 97 108 40 34 192 133 34
44 32 50 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67
95 95 102 111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109 101
110 116 95 101 110 116 114 121 95 118 97 108 117 101 95 105 115 95 108 101
103 97 108 40 34 193 133 34 44 32 50 41 46 46 46 32 79 75 10 116 101 115
116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 118 111 114
98 105 115 99 111 109 109 101 110 116 95 101 110 116 114 121 95 118 97 108
117 101 95 105 115 95 108 101 103 97 108 40 34 194 133 34 44 32 50 41 46 46
46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114
109 97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110
116 114 121 95 118 97 108 117 101 95 105 115 95 108 101 103 97 108 40 34
224 65 34 44 32 50 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32
70 76 65 67 95 95 102 111 114 109 97 116 95 118 111 114 98 105 115 99 111
109 109 101 110 116 95 101 110 116 114 121 95 118 97 108 117 101 95 105 115
95 108 101 103 97 108 40 34 225 65 34 44 32 50 41 46 46 46 32 79 75 10 116
101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 118
111 114 98 105 115 99 111 109 109 101 110 116 95 101 110 116 114 121 95 118
97 108 117 101 95 105 115 95 108 101 103 97 108 40 34 224 133 34 44 32 50
41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95
102 111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116
95 101 110 116 114 121 95 118 97 108 117 101 95 105 115 95 108 101 103 97
108 40 34 225 133 34 44 32 50 41 46 46 46 32 79 75 10 116 101 115 116 105
110 103 32 70 76 65 67 95 95 102)]
ERROR: In procedure utf8->string:
ERROR: Throw to key `decoding-error' with args `("scm_from_stringn" "input
locale conversion error" 84 #vu8(115 97 109 112 108 101 95 114 97 116 101
95 105 115 95 118 97 108 105 100 40 49 48 48 48 48 48 48 41 46 46 46 32 79
75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97
116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 118 97 108
105 100 40 49 49 48 48 48 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105
110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108
101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 48 41 46 46
46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114
109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115
117 98 115 101 116 40 49 41 46 46 46 32 79 75 10 116 101 115 116 105 110
103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108 101
95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 57 41 46 46 46 32
79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109
97 116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98
115 101 116 40 49 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32
70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114
97 116 101 95 105 115 95 115 117 98 115 101 116 40 52 48 48 48 41 46 46 46
32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114
109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115
117 98 115 101 116 40 56 48 48 48 41 46 46 46 32 79 75 10 116 101 115 116
105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112
108 101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 49 49 48
50 53 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95
95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95
105 115 95 115 117 98 115 101 116 40 49 50 48 48 48 41 46 46 46 32 79 75 10
116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95
115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115 101
116 40 49 54 48 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103
32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95
114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 50 50 48 53 48 41 46
46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111
114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95
115 117 98 115 101 116 40 50 52 48 48 48 41 46 46 46 32 79 75 10 116 101
115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97
109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40
51 50 48 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76
65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116
101 95 105 115 95 115 117 98 115 101 116 40 51 50 55 54 56 41 46 46 46 32
79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109
97 116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98
115 101 116 40 52 52 49 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105
110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108
101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 52 56 48 48
48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95
102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95 105
115 95 115 117 98 115 101 116 40 54 53 48 48 48 41 46 46 46 32 79 75 10 116
101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115
97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116
40 54 53 53 51 53 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70
76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97
116 101 95 105 115 95 115 117 98 115 101 116 40 54 53 53 51 54 41 46 46 46
32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114
109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115
117 98 115 101 116 40 54 53 53 52 48 41 46 46 46 32 79 75 10 116 101 115
116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109
112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 54 53
53 53 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67
95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95
105 115 95 115 117 98 115 101 116 40 54 53 53 53 53 41 46 46 46 32 79 75 10
116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95
115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115 101
116 40 54 54 48 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103
32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95
114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 54 54 48 48 49 41 46
46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111
114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95
115 117 98 115 101 116 40 57 54 48 48 48 41 46 46 46 32 79 75 10 116 101
115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97
109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40
49 48 48 48 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70
76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97
116 101 95 105 115 95 115 117 98 115 101 116 40 49 48 48 48 48 49 41 46 46
46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114
109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115
117 98 115 101 116 40 49 57 50 48 48 48 41 46 46 46 32 79 75 10 116 101 115
116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109
112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 53 48
48 48 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65
67 95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101
95 105 115 95 115 117 98 115 101 116 40 53 48 48 48 48 49 41 46 46 46 32 79
75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97
116 95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98
115 101 116 40 53 48 48 48 49 48 41 46 46 46 32 79 75 10 116 101 115 116
105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112
108 101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 54 53 53
51 52 57 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67
95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95
105 115 95 115 117 98 115 101 116 40 54 53 53 51 53 48 41 46 46 46 32 79 75
10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116
95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115
101 116 40 54 53 53 51 53 49 41 46 46 46 32 79 75 10 116 101 115 116 105
110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108
101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 54 53 53 51
54 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95
95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95
105 115 95 115 117 98 115 101 116 40 55 48 48 48 48 48 41 46 46 46 32 79 75
10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116
95 115 97 109 112 108 101 95 114 97 116 101 95 105 115 95 115 117 98 115
101 116 40 55 48 48 48 49 48 41 46 46 46 32 79 75 10 116 101 115 116 105
110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 115 97 109 112 108
101 95 114 97 116 101 95 105 115 95 115 117 98 115 101 116 40 49 48 48 48
48 48 48 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67
95 95 102 111 114 109 97 116 95 115 97 109 112 108 101 95 114 97 116 101 95
105 115 95 115 117 98 115 101 116 40 49 49 48 48 48 48 48 41 46 46 46 32 79
75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97
116 95 118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110 116 114
121 95 110 97 109 101 95 105 115 95 108 101 103 97 108 40 34 34 41 46 46 46
32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114
109 97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110
116 114 121 95 110 97 109 101 95 105 115 95 108 101 103 97 108 40 34 97 34
41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95
102 111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116
95 101 110 116 114 121 95 110 97 109 101 95 105 115 95 108 101 103 97 108
40 34 61 34 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65
67 95 95 102 111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109
101 110 116 95 101 110 116 114 121 95 110 97 109 101 95 105 115 95 108 101
103 97 108 40 34 97 61 34 41 46 46 46 32 79 75 10 116 101 115 116 105 110
103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 118 111 114 98 105 115
99 111 109 109 101 110 116 95 101 110 116 114 121 95 110 97 109 101 95 105
115 95 108 101 103 97 108 40 34 1 34 41 46 46 46 32 79 75 10 116 101 115
116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 118 111 114
98 105 115 99 111 109 109 101 110 116 95 101 110 116 114 121 95 110 97 109
101 95 105 115 95 108 101 103 97 108 40 34 31 34 41 46 46 46 32 79 75 10
116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95
118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110 116 114 121 95
110 97 109 101 95 105 115 95 108 101 103 97 108 40 34 125 34 41 46 46 46 32
79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109
97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110 116
114 121 95 110 97 109 101 95 105 115 95 108 101 103 97 108 40 34 126 34 41
46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102
111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116 95
101 110 116 114 121 95 110 97 109 101 95 105 115 95 108 101 103 97 108 40
34 255 34 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65
67 95 95 102 111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109
101 110 116 95 101 110 116 114 121 95 118 97 108 117 101 95 105 115 95 108
101 103 97 108 40 34 34 44 32 48 41 46 46 46 32 79 75 10 116 101 115 116
105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 118 111 114 98
105 115 99 111 109 109 101 110 116 95 101 110 116 114 121 95 118 97 108 117
101 95 105 115 95 108 101 103 97 108 40 34 34 44 32 49 41 46 46 46 32 79 75
10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116
95 118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110 116 114 121
95 118 97 108 117 101 95 105 115 95 108 101 103 97 108 40 34 1 34 44 32 49
41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95
102 111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116
95 101 110 116 114 121 95 118 97 108 117 101 95 105 115 95 108 101 103 97
108 40 34 127 34 44 32 49 41 46 46 46 32 79 75 10 116 101 115 116 105 110
103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 118 111 114 98 105 115
99 111 109 109 101 110 116 95 101 110 116 114 121 95 118 97 108 117 101 95
105 115 95 108 101 103 97 108 40 34 128 34 44 32 49 41 46 46 46 32 79 75 10
116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95
118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110 116 114 121 95
118 97 108 117 101 95 105 115 95 108 101 103 97 108 40 34 129 34 44 32 49
41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95
102 111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116
95 101 110 116 114 121 95 118 97 108 117 101 95 105 115 95 108 101 103 97
108 40 34 192 34 44 32 49 41 46 46 46 32 79 75 10 116 101 115 116 105 110
103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 118 111 114 98 105 115
99 111 109 109 101 110 116 95 101 110 116 114 121 95 118 97 108 117 101 95
105 115 95 108 101 103 97 108 40 34 224 34 44 32 49 41 46 46 46 32 79 75 10
116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95
118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110 116 114 121 95
118 97 108 117 101 95 105 115 95 108 101 103 97 108 40 34 240 34 44 32 49
41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95
102 111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116
95 101 110 116 114 121 95 118 97 108 117 101 95 105 115 95 108 101 103 97
108 40 34 192 65 34 44 32 50 41 46 46 46 32 79 75 10 116 101 115 116 105
110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 118 111 114 98 105
115 99 111 109 109 101 110 116 95 101 110 116 114 121 95 118 97 108 117 101
95 105 115 95 108 101 103 97 108 40 34 193 65 34 44 32 50 41 46 46 46 32 79
75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97
116 95 118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110 116 114
121 95 118 97 108 117 101 95 105 115 95 108 101 103 97 108 40 34 192 133 34
44 32 50 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67
95 95 102 111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109 101
110 116 95 101 110 116 114 121 95 118 97 108 117 101 95 105 115 95 108 101
103 97 108 40 34 193 133 34 44 32 50 41 46 46 46 32 79 75 10 116 101 115
116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 118 111 114
98 105 115 99 111 109 109 101 110 116 95 101 110 116 114 121 95 118 97 108
117 101 95 105 115 95 108 101 103 97 108 40 34 194 133 34 44 32 50 41 46 46
46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114
109 97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116 95 101 110
116 114 121 95 118 97 108 117 101 95 105 115 95 108 101 103 97 108 40 34
224 65 34 44 32 50 41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32
70 76 65 67 95 95 102 111 114 109 97 116 95 118 111 114 98 105 115 99 111
109 109 101 110 116 95 101 110 116 114 121 95 118 97 108 117 101 95 105 115
95 108 101 103 97 108 40 34 225 65 34 44 32 50 41 46 46 46 32 79 75 10 116
101 115 116 105 110 103 32 70 76 65 67 95 95 102 111 114 109 97 116 95 118
111 114 98 105 115 99 111 109 109 101 110 116 95 101 110 116 114 121 95 118
97 108 117 101 95 105 115 95 108 101 103 97 108 40 34 224 133 34 44 32 50
41 46 46 46 32 79 75 10 116 101 115 116 105 110 103 32 70 76 65 67 95 95
102 111 114 109 97 116 95 118 111 114 98 105 115 99 111 109 109 101 110 116
95 101 110 116 114 121 95 118 97 108 117 101 95 105 115 95 108 101 103 97
108 40 34 225 133 34 44 32 50 41 46 46 46 32 79 75 10 116 101 115 116 105
110 103 32 70 76 65 67 95 95 102))'.
[-- Attachment #2: Type: text/html, Size: 60638 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Utf8 error
2013-01-30 21:27 Utf8 error Andreas Enge
@ 2013-01-30 22:23 ` Ludovic Courtès
2013-01-30 22:39 ` Andreas Enge
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2013-01-30 22:23 UTC (permalink / raw)
To: Andreas Enge; +Cc: bug-guix
[-- Attachment #1: Type: text/plain, Size: 439 bytes --]
Andreas Enge <andreas@enge.fr> skribis:
> 385: 2 [process-stderr #]
> 170: 1 [read-string #<input-output: socket 5>]
> In unknown file:
> ?: 0 [utf8->string #vu8(115 97 109 112 108 101 95 114 97 116 101 95 105
That’s because the build log contains a non-UTF-8 sequence, and
store.scm expects UTF-8 (for no good reason).
The attached patch removes that UTF-8 assumption. Can you test whether
it fixes the problem?
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 2029 bytes --]
diff --git a/guix/store.scm b/guix/store.scm
index 668bc9a..560e567 100644
--- a/guix/store.scm
+++ b/guix/store.scm
@@ -175,6 +175,14 @@
(get-bytevector-n p (- 8 m)))
str))
+(define (read-latin1-string p)
+ (let* ((len (read-int p))
+ (m (modulo len 8))
+ (str (get-string-n p len)))
+ (or (zero? m)
+ (get-bytevector-n p (- 8 m)))
+ str))
+
(define (write-string-list l p)
(write-int (length l) p)
(for-each (cut write-string <> p) l))
@@ -362,7 +370,11 @@ operate, should the disk become full. Return a server object."
"Read standard output and standard error from SERVER, writing it to
CURRENT-BUILD-OUTPUT-PORT. Return #t when SERVER is done sending data, and
#f otherwise; in the latter case, the caller should call `process-stderr'
-again until #t is returned or an error is raised."
+again until #t is returned or an error is raised.
+
+Since the build process's output cannot be assumed to be UTF-8, we
+conservatively consider it to be Latin-1, thereby avoiding possible
+encoding conversion errors."
(define p
(nix-server-socket server))
@@ -375,18 +387,18 @@ again until #t is returned or an error is raised."
(let ((k (read-int p)))
(cond ((= k %stderr-write)
- (read-string p)
+ (read-latin1-string p)
#f)
((= k %stderr-read)
(let ((len (read-int p)))
- (read-string p) ; FIXME: what to do?
+ (read-latin1-string p) ; FIXME: what to do?
#f))
((= k %stderr-next)
- (let ((s (read-string p)))
+ (let ((s (read-latin1-string p)))
(display s (current-build-output-port))
#f))
((= k %stderr-error)
- (let ((error (read-string p))
+ (let ((error (read-latin1-string p))
(status (if (>= (nix-server-minor-version server) 8)
(read-int p)
1)))
[-- Attachment #3: Type: text/plain, Size: 21 bytes --]
Thanks,
Ludo’.
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: Utf8 error
2013-01-30 22:23 ` Ludovic Courtès
@ 2013-01-30 22:39 ` Andreas Enge
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Enge @ 2013-01-30 22:39 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: bug-guix
[-- Attachment #1: Type: text/plain, Size: 190 bytes --]
Am Mittwoch, 30. Januar 2013 schrieb Ludovic Courtès:
> The attached patch removes that UTF-8 assumption. Can you test whether
> it fixes the problem?
Yes, please commit!
Andreas
[-- Attachment #2: Type: text/html, Size: 1699 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-30 22:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-30 21:27 Utf8 error Andreas Enge
2013-01-30 22:23 ` Ludovic Courtès
2013-01-30 22:39 ` Andreas Enge
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.