From unknown Sun Aug 17 09:10:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#25213 <25213@debbugs.gnu.org> To: bug#25213 <25213@debbugs.gnu.org> Subject: Status: Character encoding issue causing broken symlinks for profile generation Reply-To: bug#25213 <25213@debbugs.gnu.org> Date: Sun, 17 Aug 2025 16:10:28 +0000 retitle 25213 Character encoding issue causing broken symlinks for profile = generation reassign 25213 guix submitter 25213 Christopher Baines severity 25213 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 15 16:33:29 2016 Received: (at submit) by debbugs.gnu.org; 15 Dec 2016 21:33:29 +0000 Received: from localhost ([127.0.0.1]:43306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHdeb-0007iN-Dm for submit@debbugs.gnu.org; Thu, 15 Dec 2016 16:33:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHdVa-0007TJ-Tq for submit@debbugs.gnu.org; Thu, 15 Dec 2016 16:24:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHdVU-0002Za-QB for submit@debbugs.gnu.org; Thu, 15 Dec 2016 16:24:05 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50811) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cHdVU-0002ZA-N2 for submit@debbugs.gnu.org; Thu, 15 Dec 2016 16:24:04 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHdVT-0002zg-FE for bug-guix@gnu.org; Thu, 15 Dec 2016 16:24:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHdVQ-0002T6-9F for bug-guix@gnu.org; Thu, 15 Dec 2016 16:24:03 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:42133 helo=mira.cbaines.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHdVQ-0002R8-37 for bug-guix@gnu.org; Thu, 15 Dec 2016 16:24:00 -0500 Received: by mira.cbaines.net (Postfix, from userid 113) id 1AF7B13E22C; Thu, 15 Dec 2016 21:23:57 +0000 (GMT) Received: from [192.168.1.201] (host-92-2-35-94.as43234.net [92.2.35.94]) by mira.cbaines.net (Postfix) with ESMTPSA id DE3B613E22A for ; Thu, 15 Dec 2016 21:23:56 +0000 (GMT) To: bug-guix@gnu.org From: Christopher Baines Subject: Character encoding issue causing broken symlinks for profile generation Message-ID: <5bb403f5-f6a4-b497-9cc8-21b007f308ed@cbaines.net> Date: Thu, 15 Dec 2016 21:23:56 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 15 Dec 2016 16:33:27 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) The profile generation/union code generates broken symlinks. I've reproduced this on 2 different machines (both Debian running Guix). To reproduce, run: guix environment --pure --container --ad-hoc nss-certs findutils coreutils [env]# find $GUIX_ENVIRONMENT/etc/ssl/certs -xtype l -exec head {} \; head: cannot open '/gnu/store/g41lycan2cq74qfs6acsxmxk4c4ra0pd-profile/etc/ssl/certs/Certinomis_-_Autorit??_Racine:2.1.1.pem' for reading: No such file or directory head: cannot open '/gnu/store/g41lycan2cq74qfs6acsxmxk4c4ra0pd-profile/etc/ssl/certs/NetLock_Arany_=Class_Gold=_F??tan??s??tv??ny:2.6.73.65.44.228.0.16.pem' for reading: No such file or directory head: cannot open '/gnu/store/g41lycan2cq74qfs6acsxmxk4c4ra0pd-profile/etc/ssl/certs/T??RKTRUST_Elektronik_Sertifika_Hizmet_Sa??lay??c??s??_H6:2.6.125.161.242.101.236.138.pem' for reading: No such file or directory head: cannot open '/gnu/store/g41lycan2cq74qfs6acsxmxk4c4ra0pd-profile/etc/ssl/certs/AC_Ra??z_Certic??mara_S.A.:2.15.7.126.82.147.123.224.21.227.87.240.105.140.203.236.12.pem' for reading: No such file or directory head: cannot open '/gnu/store/g41lycan2cq74qfs6acsxmxk4c4ra0pd-profile/etc/ssl/certs/T??B??TAK_UEKAE_K??k_Sertifika_Hizmet_Sa??lay??c??s??_-_S??r??m_3:2.1.17.pem' for reading: No such file or directory head: cannot open '/gnu/store/g41lycan2cq74qfs6acsxmxk4c4ra0pd-profile/etc/ssl/certs/T??RKTRUST_Elektronik_Sertifika_Hizmet_Sa??lay??c??s??_H5:2.7.0.142.23.254.36.32.129.pem' for reading: No such file or directory Note the ?? in the names, which are the points where the names are incorrect. This will cause errors like Throw to key `gnutls-error' with args `(# when using Guix. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 15 19:31:00 2016 Received: (at 25213) by debbugs.gnu.org; 16 Dec 2016 00:31:00 +0000 Received: from localhost ([127.0.0.1]:43390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHgQO-0003TG-BY for submit@debbugs.gnu.org; Thu, 15 Dec 2016 19:31:00 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:38375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHgQM-0003T7-Kh for 25213@debbugs.gnu.org; Thu, 15 Dec 2016 19:30:59 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id A828B20A0A; Thu, 15 Dec 2016 19:30:56 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Thu, 15 Dec 2016 19:30:56 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=Kp7j62jVeWaVIIfhewdJpQfunn4=; b=c1TMDv +vTce+Kpfux1/O1/dEqnl8rbzPBtMR7HWCS3fMQFaUGrBOfIE2aIlAcPTe5pZM/t 9Noh7Z/4j57a4tZ4FDVKz/HWfsLBHxxFYlCZaSIs6+qY1UHidokmKMVtv8EUWait 4/5P4FzSqyhPgqzuR1dNljtdtTY7p0WJK9zQE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=Kp7j62jVeWaVII fhewdJpQfunn4=; b=kzPw6NXK57m5qeR390FG4xCpKEg1mnZ7m2qkUzfE3y+Tsw MSwQu8rgtuB0ekkYqapi5uBnmovHcxJM1NsTIrifENEX3P4x5/ApYTTTf4ymFYr7 sz7U8RDqeSuDvlzM8q8GlTny/y9rEvVIoQysOGa9fPuRF8VJVFtNql5NKi4/U= X-ME-Sender: X-Sasl-enc: Rtz3dexfwe68yHlGpCQW0/S/VsPHK4ppliVYHy4cb5XZ 1481848256 Received: from localhost (67.107.250.242.ptr.us.xo.net [67.107.250.242]) by mail.messagingengine.com (Postfix) with ESMTPA id 61C987EA90; Thu, 15 Dec 2016 19:30:56 -0500 (EST) Date: Thu, 15 Dec 2016 19:30:55 -0500 From: Leo Famulari To: Christopher Baines Subject: Re: bug#25213: Character encoding issue causing broken symlinks for profile generation Message-ID: <20161216003055.GA18512@jasmine> References: <5bb403f5-f6a4-b497-9cc8-21b007f308ed@cbaines.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5bb403f5-f6a4-b497-9cc8-21b007f308ed@cbaines.net> User-Agent: Mutt/1.7.1 (2016-10-04) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 25213 Cc: 25213@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Thu, Dec 15, 2016 at 09:23:56PM +0000, Christopher Baines wrote: > The profile generation/union code generates broken symlinks. I've reproduced > this on 2 different machines (both Debian running Guix). Thanks for the report! > To reproduce, run: > > guix environment --pure --container --ad-hoc nss-certs findutils coreutils > > [env]# find $GUIX_ENVIRONMENT/etc/ssl/certs -xtype l -exec head {} \; > > head: cannot open '/gnu/store/g41lycan2cq74qfs6acsxmxk4c4ra0pd-profile/etc/ssl/certs/Certinomis_-_Autorit??_Racine:2.1.1.pem' > for reading: No such file or directory > head: cannot open '/gnu/store/g41lycan2cq74qfs6acsxmxk4c4ra0pd-profile/etc/ssl/certs/NetLock_Arany_=Class_Gold=_F??tan??s??tv??ny:2.6.73.65.44.228.0.16.pem' > for reading: No such file or directory > head: cannot open '/gnu/store/g41lycan2cq74qfs6acsxmxk4c4ra0pd-profile/etc/ssl/certs/T??RKTRUST_Elektronik_Sertifika_Hizmet_Sa??lay??c??s??_H6:2.6.125.161.242.101.236.138.pem' > for reading: No such file or directory > head: cannot open '/gnu/store/g41lycan2cq74qfs6acsxmxk4c4ra0pd-profile/etc/ssl/certs/AC_Ra??z_Certic??mara_S.A.:2.15.7.126.82.147.123.224.21.227.87.240.105.140.203.236.12.pem' > for reading: No such file or directory > head: cannot open '/gnu/store/g41lycan2cq74qfs6acsxmxk4c4ra0pd-profile/etc/ssl/certs/T??B??TAK_UEKAE_K??k_Sertifika_Hizmet_Sa??lay??c??s??_-_S??r??m_3:2.1.17.pem' > for reading: No such file or directory > head: cannot open '/gnu/store/g41lycan2cq74qfs6acsxmxk4c4ra0pd-profile/etc/ssl/certs/T??RKTRUST_Elektronik_Sertifika_Hizmet_Sa??lay??c??s??_H5:2.7.0.142.23.254.36.32.129.pem' > for reading: No such file or directory > > Note the ?? in the names, which are the points where the names are > incorrect. The interesting thing is that the links appear to be broken in some cases and not others: [env]# ls -l '/gnu/store/xxiqkmck8g8n6ic4jbxq84m1028vhrdj-profile/etc/ssl/certs/AC_Ra??z_Certic??mara_S.A.:2.15.7.126.82.147.123.224.21.227.87.240.105.140.203.236.12.pem' lrwxrwxrwx 3 65534 65534 164 Jan 1 1970 '/gnu/store/xxiqkmck8g8n6ic4jbxq84m1028vhrdj-profile/etc/ssl/certs/AC_Ra??z_Certic??mara_S.A.:2.15.7.126.82.147.123.224.21.227.87.240.105.140.203.236.12.pem' -> '/gnu/store/c7kr9pdni867k2778pykh16sw003kl1s-nss-certs-3.27.2/etc/ssl/certs/AC_Ra??z_Certic??mara_S.A.:2.15.7.126.82.147.123.224.21.227.87.240.105.140.203.236.12.pem' From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 16 12:04:54 2016 Received: (at 25213-done) by debbugs.gnu.org; 16 Dec 2016 17:04:54 +0000 Received: from localhost ([127.0.0.1]:44498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHvwE-0003xN-F3 for submit@debbugs.gnu.org; Fri, 16 Dec 2016 12:04:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHvw9-0003wy-8p for 25213-done@debbugs.gnu.org; Fri, 16 Dec 2016 12:04:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHvvy-0006z5-NX for 25213-done@debbugs.gnu.org; Fri, 16 Dec 2016 12:04:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHvvy-0006z0-Kx; Fri, 16 Dec 2016 12:04:38 -0500 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:60084 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cHvvy-000640-5c; Fri, 16 Dec 2016 12:04:38 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Christopher Baines Subject: Re: bug#25213: Character encoding issue causing broken symlinks for profile generation References: <5bb403f5-f6a4-b497-9cc8-21b007f308ed@cbaines.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 Frimaire an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Fri, 16 Dec 2016 18:04:34 +0100 In-Reply-To: <5bb403f5-f6a4-b497-9cc8-21b007f308ed@cbaines.net> (Christopher Baines's message of "Thu, 15 Dec 2016 21:23:56 +0000") Message-ID: <87a8bv3ivx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.1 (--------) X-Debbugs-Envelope-To: 25213-done Cc: 25213-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.1 (--------) Hello Christopher, Christopher Baines skribis: > The profile generation/union code generates broken symlinks. I've > reproduced this on 2 different machines (both Debian running Guix). > > To reproduce, run: > > guix environment --pure --container --ad-hoc nss-certs findutils > coreutils > > [env]# find $GUIX_ENVIRONMENT/etc/ssl/certs -xtype l -exec head {} \; > > head: cannot open > '/gnu/store/g41lycan2cq74qfs6acsxmxk4c4ra0pd-profile/etc/ssl/certs/Certin= omis_-_Autorit??_Racine:2.1.1.pem' > for reading: No such file or directory If we can=E2=80=99t have French root authority certificates, we definitely = have a problem. ;-) Fixed in commit 1af0860e8be81c01ad405c1226d6bc4516e62863. Commit 580deec5b44d623e994e59ef07e9e0c5496762fd has the download code ignore dangling symlinks. Thanks! Ludo=E2=80=99. From unknown Sun Aug 17 09:10:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 14 Jan 2017 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator