X-Loop: help-debbugs@HIDDEN Subject: bug#66777: program-file silently corrupts expressions with non-ascii characters Resent-From: Tomas Volf <wolf@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Fri, 27 Oct 2023 18:58:02 +0000 Resent-Message-ID: <handler.66777.B.16984330654578 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 66777 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66777 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16984330654578 (code B ref -1); Fri, 27 Oct 2023 18:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Oct 2023 18:57:45 +0000 Received: from localhost ([127.0.0.1]:37210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qwS1g-0001Bm-Rs for submit <at> debbugs.gnu.org; Fri, 27 Oct 2023 14:57:45 -0400 Received: from lists.gnu.org ([2001:470:142::17]:33036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ws@HIDDEN>) id 1qwS1c-0001BV-4A for submit <at> debbugs.gnu.org; Fri, 27 Oct 2023 14:57:43 -0400 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 <ws@HIDDEN>) id 1qwS0x-0003NB-Fi for bug-guix@HIDDEN; Fri, 27 Oct 2023 14:57:00 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ws@HIDDEN>) id 1qwS0v-0005Qu-9X for bug-guix@HIDDEN; Fri, 27 Oct 2023 14:56:59 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 0B18727386A; Fri, 27 Oct 2023 18:56:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1698433012; bh=kSoYxA1PE9GX+hYE0Nn1+qDi3eyT+baPEqE/eDUvyMc=; h=Date:From:To:Subject; b=orWabCsJEjHtRDRwFLEkiyPfrdoFCpKpsFvBM7GCRcChHYM6HhqPzAF3u7z+Q3uwq uiU3oME4MHPCyUyZa0WDCgLrN34KXGQy/5RjcPFeWqi2imoeIuzTdnf8nojWNRRQs/ nluD+05+nyx4V1nXKaqYHEybQla5O6w/DFLGuXzP8pGsfK/sDDCFzBW8X5Vp+nJvWt JlN8wqq+sF4JIOM1hQWrh3sP0VP/ldvuRw/2t78pj2WUBPwC7l36dTV9zZ17Pe6a0K hat3+6q7L/IUmGJNIvla9TaL/327GJsdptL2fXBV8FpenHHPF9GyjfilI6iVcU4lyc SIWJ1FNjLqMzuq+z98GF35vhZ6OfKznKrplVRcVWKOA+IP1IHDI1DqvKTfJ1Ps6EeI U6VzZ8Xd7UdV8192cEBrUZYxHcaCqrNx7B8D1TMqL1KRLa9VQ/bxgLTzA2JehbZqnY 8YYxbu118WbE7Z2rwcPat2aLo8d4Wvs+DmiQUqP01nhs+CiYhaFGa07Ora31RktaYo P46rKS2j3kvdDvej8TfD1YpsECQRIW8AhQgnfZZJn2zOUz+Kl4r1mzKJVAJr9d6OtI N6+D+Njd91/hJsZQmFCLgg5dFG3OkgfxoJStecTPU7cJEL93IOMz/r6XCOyLZZaY0x weDaFoxSa2EP2NCGLw4pvHYc= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from localhost (unknown [193.32.127.144]) by wolfsden.cz (Postfix) with ESMTPSA id CEB6E273869 for <bug-guix@HIDDEN>; Fri, 27 Oct 2023 18:56:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1698433010; bh=kSoYxA1PE9GX+hYE0Nn1+qDi3eyT+baPEqE/eDUvyMc=; h=Date:From:To:Subject; b=ruiSJxhekxvCpQRV5/CjId/7zoi8oo0M5xkYy6ZLcCTE5xDHMkov1qvsJM92LAJeM K4w5mSeU/TENYEKPTJ+37AcpILUy+hnWekoONe1gcHvmmqYLD7+395Ij9AbVfjIyYZ z/hGO0pC14UThNU13siftvydl45aPPAZydFkY3CktO9ieRUfTvLrytVMsFSByajWWI d/TCiv59OzC4sLqO40JNNyArjfUJxyxyTV7QtAg9UlMRGAT85NZP75sl7+lD150I0z k4ON78wuot/JUnuoFmHKWJk/lzPBKi3aq4B9Vs1KRNoOn61DSyTJ0K5a/KVZnDlETZ UMbsndY5n6DvEy4BRDefzZkBghHg56SAPP8LWopWMxSEdHwge216udRZJLH39ZoVQm hJP7x9SkYNdZoiBU/wBX8MpHD8TggfuaV6RaQ69fAti7N+gRJO8dNmRYoP/LfUDOBC JH6/UFf+t+HdfhaUDKLRcPwChrT5Dti09QNAVtoIH6b0QjwimpD4e3Q3lIwe2+ZOnv En8v8cnpDFT/wbJkOsrc8UDntBNgKcBWotuk19YNpUFFudsp8Hf4+aQeRgejPNfdse xQXoKmeA74pKjGtBQ68Naeg5T16Cd9+4hLjqNKsKnjfvsEU1ruvXFPmOf0tWAEzgj1 Apv4CBEh8xiaUKxVDoV2Ir+E= Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 8ff27727 for <bug-guix@HIDDEN>; Fri, 27 Oct 2023 18:56:50 +0000 (UTC) Date: Fri, 27 Oct 2023 20:56:50 +0200 From: Tomas Volf <wolf@HIDDEN> Message-ID: <ZTwH8tvZaM835JM8@ws> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nTKt9M3LkESjXN6B" Content-Disposition: inline Received-SPF: none client-ip=37.205.8.62; envelope-from=ws@HIDDEN; helo=wolfsden.cz X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) 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: -0.8 (/) --nTKt9M3LkESjXN6B Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, when trying to create an executable script using `program-file', I realized= it silently corrupts expressions with non-ascii characters. Minimal reproduct= ion I did put together is: scheme@(guix-user)> ,use (guix) scheme@(guix-user)> ,build (program-file "foo" '(=CE=BB)) $1 =3D "/gnu/store/im07w0ilskfycpkwid3n7s80hdv263cn-foo" scheme@(guix-user)> (call-with-input-file $1 read) ;;; <stdin>:3:22: warning: possibly unbound variable `$1' $2 =3D (?) Notice that $2 is (?) instead of the expected (=CE=BB). If there is a tech= nical reason why this cannot be handled correctly, it would be great if it at lea= st failed with an error instead of a silent corruption. Have a nice day, Tomas Volf --=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --nTKt9M3LkESjXN6B Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmU8B/IACgkQL7/ufbZ/ wandtw//dZIaJF38f9fRD4sRWYESYJxF63f21rIooqfN9Jj5pnuDNBXVHdCaUvqr dfJN5CvqJxp/vSoEpL67CNgogJ2C4FdyvfZ06OhTgMsKpC3YppisEtaQin2laUVB 9jE+gjoHhP/MogK/ijY+y3OEq7hbYbOB3G4zGA9G/mOSC2zdLCa1JK5nR3Xk61vv D55361krDtzqWZIBhXCko3fSYjzdT1uFeUCM+sPmiDQ/T2gJUJIULUVI3c7CoNIb Ttj+E0bqAzKAmroe8rnSx5PW6memBs7KlaLKw8GCPVF16PYV9evhnApP9+UmjoLZ oKS8d4lAPuq9bk5UpFpE/wkdwVNs0m3JlijOOETZfKqxbjBBJm6JPXfFlprMJMhh Q6Lu89RyGUckre/foRerrUJl3hQRqcQ9RCoDRMj1kLkdpGOfP2yoYGL3jOgIHAtp 843rkAGCHQ/Rwia50aJxNtZFuIZ6plNEYz1O2Mfqux/sruIKmqp9WqZGWiR4dhKv 9zoRrwpurPVd7mtgKfU8coS2TJyEOr+CTME9Ay4kzH5EKEh9rWi4Il6jcdFgmMmI sdLjmSqqQo87O6O8cVgcdsEDfMD+xK/ujY/lY4MfeqWMt/xAZPthJaGqRMJKppYh sEw12bnyOO4OO2djyFe0K2ALTNcU9qgUt28EKTH0ILqIqtNMrwI= =BEfE -----END PGP SIGNATURE----- --nTKt9M3LkESjXN6B--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Tomas Volf <wolf@HIDDEN> Subject: bug#66777: Acknowledgement (program-file silently corrupts expressions with non-ascii characters) Message-ID: <handler.66777.B.16984330654578.ack <at> debbugs.gnu.org> References: <ZTwH8tvZaM835JM8@ws> X-Gnu-PR-Message: ack 66777 X-Gnu-PR-Package: guix Reply-To: 66777 <at> debbugs.gnu.org Date: Fri, 27 Oct 2023 18:58:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 66777 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 66777: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D66777 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 9 Jan 2024 16:09:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 09 11:09:28 2024 Received: from localhost ([127.0.0.1]:40734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rNEfP-000689-O4 for submit <at> debbugs.gnu.org; Tue, 09 Jan 2024 11:09:28 -0500 Received: from wolfsden.cz ([37.205.8.62]:37342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1rNEfN-00067z-90 for control <at> debbugs.gnu.org; Tue, 09 Jan 2024 11:09:26 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 4258024C1F9; Tue, 9 Jan 2024 16:09:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1704816557; bh=KQ9NkYYCn3g9O4lX1Z2DbwrOhJ55VVA3nTHcsysnurQ=; h=From:To:Subject:Date; b=A4RZFCExYacnLF6xMqoqMrLsE2hMOo2lfkE2i558mJzWot3pOlpND297HILatoFKL x9t/kDDJZL0ToLjHkgg0hYuzJqwomV4wIZVcNKb4ktK/mCxGBl7jV87HrzedGXkUkB o7/BOxZEdMrm5bw+v82FbQtaZ/n0Bgnoo7+1lrnpYjsXAfEckNaZG9GJQApD2y6qbT +T2VkKDNrNZTNWcRW435UwC0nD6qyv1+ESET8zsY3D3Gpm+K0Jg3u91SI2aZL1PXLo C+DmQNMjPcMRZktZRXIa7DByIOnY/1bvALhQSRTB4PxmYuR3YwpBgPVHL+jeMvDv24 rCqXMpwHV71KK2J4jlPqsvouU0VY1l59rf+LEQEcE4Xit5LLNTmmsGsflvQI/x4NE7 Lme3WqaqqTMh6sIBwu4KyXmFrwsI/ptFXY1VCQsbhwSXp8uYd2OIvJaMo9X6XiDUTW BJEmcMi6Fwo06NVHutVdL1mZmtX8/6WVqhylHxB2bpHxg9jLdyxgp6Jcr+1n3UDccT dPSHauPSIH/f1HynoKXFtD6VJLcv2OWeYPbUUGFt8wGQGbcYOHb0wOQBQGmhTptDdG Px2JvrEWkaBqHSgGokoSuRvyprKuF9rYjfwu9bdj+kBQ6xvW81tMZQnFHIGen6iseK 5+6C5RkEFOAuo7qVedZd86pA= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from localhost (unknown [146.70.134.143]) by wolfsden.cz (Postfix) with ESMTPSA id 9A0E524D3D6 for <control <at> debbugs.gnu.org>; Tue, 9 Jan 2024 16:09:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1704816556; bh=KQ9NkYYCn3g9O4lX1Z2DbwrOhJ55VVA3nTHcsysnurQ=; h=From:To:Subject:Date; b=zFONOf0DVIw6okZiA8swlpjL636MrDweeTc3vIWZWbcsxMrKNFhGMKUjckK6+usw+ 9fPJtorbWF5zqIiQ0Oha0uEovuSjlyNs+6tvp1vJyN2t/5RigooszmaSbxFw49EZ/N L/Nm6LSnkF6VslZlfJeoVX33OJHlUpJ17wonVnBHYlcP7KYeeNq11jW7jpdWb/ZIUz yI77dTeFu/owxhZZ5IQi2KnOTLfblpK7Zlz8c6L4NrKvp8dfBF8DY9SFv3HHLtDz8J 3olNRI7gSIvLD1qRUmx6YZwVSPcKAHbpcOCNhQi4/w/IigLmP/MFhfT8bfM9SEzduM Mv+1OIMN1jHnUFDy09w/WNxeFBufrIcziT6/LHAzyqptQMrLBKpexFCExT9Aqwq2D+ EUD6QTYDGjoTW7kBAi7W7ZX+houLud0v6DC2KVT1KUjaH4VXqAYvRz3eMpehQ0geYv QfiwcClm7f+o0CDzBs0m3GF3YHTzCB1vjxQKPcRXv55+yi1b36sBfukdW/jk79Mww9 FTMWwHLTF4noo2FVJCcIcQp/JPAi6z1HhfZKa/c1R2+SFTnxl8zpcMugl772hxxela ysFB8Fzox+AZ77+LCp9vqq0tfo/NWZc3IWeX8/oikQ9Txgc0QRCIM9NUmDgJ3eqFYM Uo4HelBOgGNfmYyb0oBpUC20= From: Tomas Volf <~@wolfsden.cz> To: control <at> debbugs.gnu.org Subject: control message for bug #66777 Date: Tue, 09 Jan 2024 17:09:16 +0100 Message-ID: <874jfmzdxv.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control 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 (-) submitter 66777 ! quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.