Subject: Re: bug#25213: Character encoding issue causing broken symlinks for profile generation
From: [email-masked] (Ludovic Courtès)
To: Christopher Baines <[email-masked]>
Cc: [email-masked]
Date: Fri, 16 Dec 2016 18:04:34 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Christopher,

Christopher Baines <[email-masked]> 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/Certinomis_-_Autorit??_Racine:2.1.1.pem'
> for reading: No such file or directory

If we can’t 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’.