[Nix-dev] busybox in a buildenv

Marc Weber marco-oweber at gmx.de
Mon Nov 22 15:52:42 CET 2010


Hi Lluís,

Excerpts from Lluís Batlle i Rossell's message of Sat Nov 20 15:43:08 +0100 2010:
> the buildEnv fails to build a profile that only has busybox in it. And somehow
> using nix-build -K does not leave any temporary directory. If I set busybox and
> dropbear in the profile, it works.
Do you have any error message which could give a hint?

I debugged by adding print statements to the .pl file - I did so by
editing the builder.pl file from store ..

I don't have any issues:

post-installation fixup
stripping (with flags -S) in  /nix/store/71fb19ih4av9xnhg67xslkrdgvsaz1q3-busybox-1.16.0/bin  /nix/store/71fb19ih4av9xnhg67xslkrdgvsaz1q3-busybox-1.16.0/sbin 
patching ELF executables and libraries
/nix/store/71fb19ih4av9xnhg67xslkrdgvsaz1q3-busybox-1.16.0/bin/busybox
cannot find section .dynamic
patching script interpreter paths
building path(s) `/nix/store/l1hr5yl7afif0amyng5q7lmimh6aswyd-user-environment'
created 359 symlinks in user environment

So you should paste your log.

About -K; I think it was added to allow debugging building derivations
only. Why do you want to keep it if a build suceeds?

Marc Weber



More information about the nix-dev mailing list