[Nix-dev] GNU Guix & GuixSD 0.11.0 released

Leo Famulari leo at famulari.name
Fri Aug 5 17:04:06 CEST 2016


On Fri, Aug 05, 2016 at 11:10:39AM +0200, Vincent Legoll wrote:
> I'm doing an usb install in a VM, and I saw an error message
> during boot (of the usb image & of the installed system) from
> nscd, it says it cannot find /etc/resolv.conf
> 
> After the first reboot the file is there though
> 
> So this is probably not that important.

I'm not sure, hopefully somebody has some idea about this.

> During the first guix pull & system reconfigure, I saw that:
> 
> warning: collision encountered:
> /gnu/store/jp9hnhyyzf4djdm23ldp3gjqz01biy3y-gmp-6.1.0/lib/libgmp.so
> /gnu/store/cdkrfbl10kbyyjjw3yfk9hckfw8n1b7g-gmp-6.1.0/lib/libgmp.so
> warning: arbitrarily choosing
> /gnu/store/jp9hnhyyzf4djdm23ldp3gjqz01biy3y-gmp-6.1.0/lib/libgmp.so

I noticed this, too.

> Is this explained somewhere in the doc ?

I'm not sure if it's explained there.

Basically, the profile being created [0] contains two files called
'lib/libgmp.so'. Since they lose the "namespace" created by the unique
/gnu/store hashes when they are symlinked into the profile, only one of
them can exist under the name 'lib/libgmp.so'. Sometimes this is benign,
sometimes not.

We should investigate this case.

[0] I assume it's the system-wide profile found at
/run/current-system/profile, but it can happen for ~/.guix-profile also.


More information about the nix-dev mailing list