From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: bug#25213: Character encoding issue causing broken symlinks for profile generation Date: Thu, 15 Dec 2016 21:23:56 +0000 Message-ID: <5bb403f5-f6a4-b497-9cc8-21b007f308ed@cbaines.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHdfB-0008Ed-Av for bug-guix@gnu.org; Thu, 15 Dec 2016 16:34:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHdf8-0001a1-6V for bug-guix@gnu.org; Thu, 15 Dec 2016 16:34:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:56140) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cHdf8-0001Zg-41 for bug-guix@gnu.org; Thu, 15 Dec 2016 16:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cHdf7-0007jJ-Rq for bug-guix@gnu.org; Thu, 15 Dec 2016 16:34:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: 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: 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) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 25213@debbugs.gnu.org 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.