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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Mathieu Othacehe <othacehe@HIDDEN>; Keywords: moreinfo; dated Wed, 23 Nov 2022 08:52:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 59510 <at> debbugs.gnu.org:


Received: (at 59510) by debbugs.gnu.org; 21 Jan 2024 03:56:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 20 22:56:38 2024
Received: from localhost ([127.0.0.1]:36264 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rROwo-0008OJ-IK
	for submit <at> debbugs.gnu.org; Sat, 20 Jan 2024 22:56:38 -0500
Received: from sail-ipv4.us-core.com ([208.82.101.137]:54594)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <felix.lechner@HIDDEN>) id 1rROwm-0008O9-0A
 for 59510 <at> debbugs.gnu.org; Sat, 20 Jan 2024 22:56:37 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=CPCqvSvGPKoW17C
 BnvU8/ma1JPI32k2R4TB9P2fmyHw=; h=date:subject:cc:to:from;
 d=lease-up.com; b=OuUNp56BsXRlV1CNXm7TzdVCIv5NGr+AXZUWW4T9RMrOkicTU/s8
 fS8RQAhYKdjvBYxao0KDTg8BDs8z/rzRCZMHSBgMR9eFJnUZchqixdVCHvlBCJDFVp7WpT
 ttbFEfop+BJujCiPbMMzz1XzzrirHNodpX/1Bif8euFYgE5z8=
Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 269b1766
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); 
 Sun, 21 Jan 2024 03:56:31 +0000 (UTC)
From: Felix Lechner <felix.lechner@HIDDEN>
To: 59510 <at> debbugs.gnu.org
Subject: Re: bug#59510: cuirass-remote-server: put-char encoding failed
Date: Sat, 20 Jan 2024 19:56:31 -0800
Message-ID: <8734urz6ds.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 59510
Cc: Mathieu Othacehe <othacehe@HIDDEN>,
 Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

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




Information forwarded to bug-guix@HIDDEN:
bug#59510; Package guix. Full text available.
Added tag(s) moreinfo. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 59510 <at> debbugs.gnu.org:


Received: (at 59510) by debbugs.gnu.org; 23 Nov 2022 13:59:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 23 08:59:44 2022
Received: from localhost ([127.0.0.1]:54208 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oxqHw-0006F0-Iw
	for submit <at> debbugs.gnu.org; Wed, 23 Nov 2022 08:59:44 -0500
Received: from eggs.gnu.org ([209.51.188.92]:46540)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1oxqHu-0006En-Vn
 for 59510 <at> debbugs.gnu.org; Wed, 23 Nov 2022 08:59:43 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1oxqHp-00079g-Kd
 for 59510 <at> debbugs.gnu.org; Wed, 23 Nov 2022 08:59:37 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=XbvDpIxUIsMGbYRTNa+pvOj0OFhlcD8c0YLLaIvMdWw=; b=cqh+fyC8M7BJjYv3AcgY
 nO2j/gCGxmqlf6CnZkZu6ORpdwSYZXZOH8HEfQzCt1nAGnSH4ziHAV6xDzgJfzlCfJcfFMvm7apYp
 dTLsI5dozlCLZPKHIcok8gHr9pmOfmjg0g4cAj/wxOKdL2UfduTgwhKHpSgw7m/OZPD0vh6xG8I9Y
 hzu1SUMbGBFT+73o8Zb7UuRI0Lv3QKZuLFqCdTXWBRZUeOw0zMdOWWipcKVQpuIA0gAzmZW0Z9T1V
 gm9sVxQxH9b0Nx8wl9mx2507zm6BOzO938DZDQ6iEiutJBdHq9LQxzXcHVDK09KXv0arTaRk6tGb1
 G1+cfcFs1WMEXQ==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1oxqHp-0007dn-0S; Wed, 23 Nov 2022 08:59:37 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>
Subject: Re: bug#59510: cuirass-remote-server: put-char encoding failed
References: <878rk2vys9.fsf@HIDDEN>
Date: Wed, 23 Nov 2022 14:59:34 +0100
In-Reply-To: <878rk2vys9.fsf@HIDDEN> (Mathieu Othacehe's message of "Wed, 23
 Nov 2022 09:51:50 +0100")
Message-ID: <878rk1hiux.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 59510
Cc: 59510 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Mathieu Othacehe <othacehe@HIDDEN> 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/wbnm=
p70x7hcwr9h5iw0v3w7waclw277x-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/12dy=
hjzl0cy984jif7pp9w9hsrdgkcdf-rust-trust-dns-openssl-0.18.1.drv'
> 2022-11-22 00:28:15 2022-11-22T00:28:15 build succeeded: '/gnu/store/j44i=
a9xffsggflgwg29q1l89vbga2y25-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/g9xa=
21wmxyk1sfra84pq3mx8hvlx10hh-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-exceptio=
n:
> 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 =E2=80=98display=E2=80=99 above is pure ASCII so I won=
der how we
can get that exception, apart from having =E2=80=98current-error-port=E2=80=
=99 using a
non-ASCII-compatible encoding such as UTF-32.

Ludo=E2=80=99.





Information forwarded to bug-guix@HIDDEN:
bug#59510; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 23 Nov 2022 08:51:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 23 03:51:56 2022
Received: from localhost ([127.0.0.1]:53563 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oxlU4-00084r-AU
	for submit <at> debbugs.gnu.org; Wed, 23 Nov 2022 03:51:56 -0500
Received: from lists.gnu.org ([209.51.188.17]:36296)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1oxlU3-00084k-2Z
 for submit <at> debbugs.gnu.org; Wed, 23 Nov 2022 03:51:55 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>) id 1oxlU2-00087Z-9O
 for bug-guix@HIDDEN; Wed, 23 Nov 2022 03:51:54 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>) id 1oxlU1-0003cf-V8
 for bug-guix@HIDDEN; Wed, 23 Nov 2022 03:51:53 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to:
 references; bh=Dnv+4UTHzU6y3NMODKSma7xuXi7sbZyjzHtwhhcJo/M=; b=Y7l2zXdXTxzAdh
 4CbNxFly6orIqUyxV4ryRxmGTQ06xgEz1rCIb4W+jQp2peR/XNZ8qQmK6Yo3Nt0VPG2y8iohn4T1P
 vTdacWSGphLGVve7yNLeTLxfgu2lenn5SuBWGn+k+u7GHA0wfxJsNLEYbV96mUUunfk1PTk6PKlDy
 fMgoIF15t5d4IgcMb/OfArnDAsWoQSuoKUnAfguga1XT9FodaTGk3BfbtIRd0qNKRLS9QDEmlfx9h
 KmBrgmv5haibDkHgf5AJ8QKmkUOzrW+rIJ1hX3S8gTbRQ3+xz2V3R1N4haQVe36S3BWANWZ1HStWB
 lScTMajJXIgra82Kk1Rg==;
Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2775.rev.sfr.net
 ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2775] helo=meije)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>) id 1oxlU1-0007ci-HL
 for bug-guix@HIDDEN; Wed, 23 Nov 2022 03:51:53 -0500
From: Mathieu Othacehe <othacehe@HIDDEN>
To: bug-guix@HIDDEN
Subject: cuirass-remote-server: put-char encoding failed
Date: Wed, 23 Nov 2022 09:51:50 +0100
Message-ID: <878rk2vys9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


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




Acknowledgement sent to Mathieu Othacehe <othacehe@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#59510; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 21 Jan 2024 04:00:03 UTC

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