[Nix-dev] Problems building installation CD on Debian etch x86_64

Steve Roggenkamp roggenkamps at acm.org
Wed Nov 19 01:17:36 CET 2008


I'm trying to build the installation CD on a Debian etch system 
(x86_64), but am running into a problem I can't debug.

I've downloaded and built the nix packaging system from Subversion:  
nix-0.12pre13257.  My nixpkgs system is from Subversion revision 13304 
and my nixos is revision 13254.

In the toplevel directory for nixos I type in the following command:

nix-build installer/cd-dvd/rescue-cd.nix

A short while later I get a long error message that has the last few lines:

building path(s) `/nix/store/hnmncq9xq7lsfyfq1dxahlnrxi9aamg1-curl'
a `i686-linux' is required to build 
`/nix/store/n0j98b0464xc2n5pchzqh7hzmlvh240v-curl.drv', but I am a 
`x86_64-linux'
cannot build derivation 
`/nix/store/l6dc2gn0v0nf4advx5724dr7cbfvc504-stdenv-linux-initial.drv': 
1 inputs could not be realised
building path(s) `/nix/store/44gp39nqdj44201b560pggb4v58gm926-gcc.tar.bz2'
cannot build derivation 
`/nix/store/76mcb3khnihyn1y3lz428vb3xf7v5gym-stdenv-linux-boot.drv': 1 
inputs could not be realised
cannot build derivation 
`/nix/store/wfxgd9ir862pryazn6w3z2801sah2lwr-glibc-2.7.drv': 1 inputs 
could not be realised
cannot build derivation 
`/nix/store/mf64ahifnb9aind36617ndj28w6sk4p0-glibc-2.7-multi.drv': 1 
inputs could not be realised
cannot build derivation 
`/nix/store/4p5ngjj4y8rmzn2hmdfs9jh8pdxlq71z-gcc-4.3.1.drv': 1 inputs 
could not be realised
cannot build derivation 
`/nix/store/l78d0ji8i2m4pxalz662047hz0z2c7sb-grub-0.97-patch-1.7.drv': 1 
inputs could not be realised
cannot build derivation 
`/nix/store/2vrrik00rqjx8vhqfxkxb7lfvh5xa4w9-iso9660-image.drv': 1 
inputs could not be realised
error: build of 
`/nix/store/2vrrik00rqjx8vhqfxkxb7lfvh5xa4w9-iso9660-image.drv' failed


I've spent quite a bit of time attempting to debug the situation.  The 
best I can figure out is the glibc-2.7-multi is attempting to build both 
the x86_64 and the i686 version to insure both sets of libraries.  As a 
newbie, I'm having difficulty in determining what I have to change in 
order to get this to build.

Any help would be appreciated.

TIA,
Steve




More information about the nix-dev mailing list