[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'build-use-chroot = true' leads to 'ERROR: In procedure system*: No
Re: 'build-use-chroot = true' leads to 'ERROR: In procedure system*: No such file or directory'
Sun, 16 Dec 2012 22:09:58 +0300
> OK. Can you copy/paste the actual error, because I’m losing track. ;-)
I was talking about this error. 
> Again that’s because /bin/sh is either missing from the chroot, or it’s
> there but it’s a symlink whose target is missing, or it’s a
> dynamically-linked binary and some of its requirements are missing.
> Just try ‘ldd /bin/sh’. Everything listed there should be in the chroot.
Yeah, got it.
First I tried to use 'nix-worker --daemon'.
build-users-group = nixbld
build-use-chroot = true
build-chroot-dirs = /dev /proc /bin
I copied our 'bash' to '/bin/sh', ran './pre-inst-env
guix-build -K attr', and it succeeded.
Then I tried
'./pre-inst-env guix-daemon --build-users-group=nixbld -C 0 &'.
This error  appeared again.