[Nix-dev] Fwd: Nixpkgs stdenv upgrade

Lluís Batlle i Rossell viric at viric.name
Thu Mar 8 15:04:21 CET 2012


On Thu, Mar 08, 2012 at 03:01:43PM +0100, Ludovic Courtès wrote:
> Hi,
> 
> jack-nix at mudshark.org skribis:
> 
> > In building libelf, I get a crash:
> >
> > nix/h3mnwa34rk4znh8wdfg6y4q6famlzj38-glibc-2.13/bin/gencat de.cat de.msg
> > make[1]: *** [de.cat] Segmentation fault
> >
> > The binary in question is pulling in the system libraries:
> >
> > $ ldd nix/h3mnwa34rk4znh8wdfg6y4q6famlzj38-glibc-2.13/bin/gencat
> >         linux-vdso.so.1 =>  (0x00002aaaaaacb000)
> >         libc.so.6 => /lib64/libc.so.6 (0x00002aaaaaccd000)
> >         nix/h3mnwa34rk4znh8wdfg6y4q6famlzj38-glibc-2.13/lib/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
> 
> It’s using the wrong libc.so.  Not sure how to fix that, though.

Chroot builds could fix that, if /lib isn't included in the chroots. That means
that the user has to prepare a /bin/sh that works without /lib. Can be done, I
think. jack, do you see how to do this?

Regards,
Lluís.


More information about the nix-dev mailing list