unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Christopher Baines <mail@cbaines.net>
Cc: 25213@debbugs.gnu.org
Subject: bug#25213: Character encoding issue causing broken symlinks for profile generation
Date: Thu, 15 Dec 2016 19:30:55 -0500	[thread overview]
Message-ID: <20161216003055.GA18512@jasmine> (raw)
In-Reply-To: <5bb403f5-f6a4-b497-9cc8-21b007f308ed@cbaines.net>

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'

  reply	other threads:[~2016-12-16  0:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-15 21:23 bug#25213: Character encoding issue causing broken symlinks for profile generation Christopher Baines
2016-12-16  0:30 ` Leo Famulari [this message]
2016-12-16 17:04 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161216003055.GA18512@jasmine \
    --to=leo@famulari.name \
    --cc=25213@debbugs.gnu.org \
    --cc=mail@cbaines.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).