Tomas Volf <~@wolfsden.cz>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 27 Oct 2023 18:57:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 27 14:57:45 2023 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> To: bug-guix@HIDDEN Subject: program-file silently corrupts expressions with non-ascii characters 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-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: -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--
Tomas Volf <wolf@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#66777
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.