GNU bug report logs - #59510
cuirass-remote-server: put-char encoding failed

Previous Next

Package: guix;

Reported by: Mathieu Othacehe <othacehe <at> gnu.org>

Date: Wed, 23 Nov 2022 08:52:02 UTC

Severity: normal

Tags: moreinfo

To reply to this bug, email your comments to 59510 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#59510; Package guix. (Wed, 23 Nov 2022 08:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mathieu Othacehe <othacehe <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 23 Nov 2022 08:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: cuirass-remote-server: put-char encoding failed
Date: Wed, 23 Nov 2022 09:51:50 +0100
Hello,

On Cuirass 1.1.0-13.1341725, the fetch workers are experimenting the
following issue:

--8<---------------cut here---------------start------------->8---
2022-11-22 00:28:15 In cuirass/scripts/remote-server.scm:
2022-11-22 00:28:15    415:12  3 (_)
2022-11-22 00:28:15     387:7  2 (run-fetch _)
2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/wbnmp70x7hcwr9h5iw0v3w7waclw277x-rust-openssl-sys-0.9.75.drv'
2022-11-22 00:28:15 In unknown file:
2022-11-22 00:28:15            1 (display "2022-11-22T00:28:15 fetching '/gnu/store/hl2dkk1ayavfxpydm5r12kjz201idk1g-rust-num-0.3.0.drv' from http://141.80.167.165:5558\n" #<output: file 2>)
2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/12dyhjzl0cy984jif7pp9w9hsrdgkcdf-rust-trust-dns-openssl-0.18.1.drv'
2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/j44ia9xffsggflgwg29q1l89vbga2y25-rust-trust-dns-https-0.18.1.drv'
2022-11-22 00:28:15 In ice-9/boot-9.scm:
2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/g9xa21wmxyk1sfra84pq3mx8hvlx10hh-rust-actix-server-config-0.1.2.drv'
2022-11-22 00:28:15   1685:16  0 (raise-exception _ #:continuable? _)
2022-11-22 00:28:15 ice-9/boot-9.scm:1685:16: In procedure raise-exception:
2022-11-22 00:28:15 Throw to key `encoding-error' with args `("put-char" "conversion to port encoding failed" 84 #<output: file 2> #\2)'.
--8<---------------cut here---------------end--------------->8---

Thanks,

Mathieu




Information forwarded to bug-guix <at> gnu.org:
bug#59510; Package guix. (Wed, 23 Nov 2022 14:00:03 GMT) Full text and rfc822 format available.

Message #8 received at 59510 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 59510 <at> debbugs.gnu.org
Subject: Re: bug#59510: cuirass-remote-server: put-char encoding failed
Date: Wed, 23 Nov 2022 14:59:34 +0100
Hi,

Mathieu Othacehe <othacehe <at> gnu.org> skribis:

> On Cuirass 1.1.0-13.1341725, the fetch workers are experimenting the
> following issue:

Is this a regression?

> 2022-11-22 00:28:15 In cuirass/scripts/remote-server.scm:
> 2022-11-22 00:28:15    415:12  3 (_)
> 2022-11-22 00:28:15     387:7  2 (run-fetch _)
> 2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/wbnmp70x7hcwr9h5iw0v3w7waclw277x-rust-openssl-sys-0.9.75.drv'
> 2022-11-22 00:28:15 In unknown file:
> 2022-11-22 00:28:15            1 (display "2022-11-22T00:28:15 fetching '/gnu/store/hl2dkk1ayavfxpydm5r12kjz201idk1g-rust-num-0.3.0.drv' from http://141.80.167.165:5558\n" #<output: file 2>)
> 2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/12dyhjzl0cy984jif7pp9w9hsrdgkcdf-rust-trust-dns-openssl-0.18.1.drv'
> 2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/j44ia9xffsggflgwg29q1l89vbga2y25-rust-trust-dns-https-0.18.1.drv'
> 2022-11-22 00:28:15 In ice-9/boot-9.scm:
> 2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/g9xa21wmxyk1sfra84pq3mx8hvlx10hh-rust-actix-server-config-0.1.2.drv'
> 2022-11-22 00:28:15   1685:16  0 (raise-exception _ #:continuable? _)
> 2022-11-22 00:28:15 ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> 2022-11-22 00:28:15 Throw to key `encoding-error' with args `("put-char" "conversion to port encoding failed" 84 #<output: file 2> #\2)'.

The string passed to ‘display’ above is pure ASCII so I wonder how we
can get that exception, apart from having ‘current-error-port’ using a
non-ASCII-compatible encoding such as UTF-32.

Ludo’.





Added tag(s) moreinfo. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 08 Dec 2022 11:01:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#59510; Package guix. (Sun, 21 Jan 2024 03:57:02 GMT) Full text and rfc822 format available.

Message #13 received at 59510 <at> debbugs.gnu.org (full text, mbox):

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: 59510 <at> debbugs.gnu.org
Cc: Mathieu Othacehe <othacehe <at> gnu.org>,
 Ludovic Courtès <ludo <at> gnu.org>
Subject: Re: bug#59510: cuirass-remote-server: put-char encoding failed
Date: Sat, 20 Jan 2024 19:56:31 -0800
Hi,

> 2022-11-22 00:28:15 Throw to key `encoding-error' with args
> `("put-char" "conversion to port encoding failed" 84 #<output: file 2>
> #\2)'.

Could the error be due to the 7-bit encoding in HTTP headers? [1] The
"84" is EILSEQ from errno.h. [2] Wingo added the functionality here. [3]

I also submitted a patch to resolve in the errno in Guile. [4]

Kind regards
Felix

[1] https://lists.gnu.org/archive/html/guile-user/2020-09/msg00015.html
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/uapi/asm-generic/errno.h#n67
[3] https://git.savannah.gnu.org/cgit/guile.git/commit/?id=43b6feeb1adafe54170304e7cc3c29a15c1d3808
[4] https://debbugs.gnu.org/68624




This bug report was last modified 343 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.