unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* 'build-use-chroot = true' leads to 'ERROR: In procedure system*: No such file or directory'
@ 2012-12-12  4:52 Nikita Karetnikov
  2012-12-12 13:33 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Nikita Karetnikov @ 2012-12-12  4:52 UTC (permalink / raw)
  To: bug-guix

Hi,

I'm trying to configure 'nix-worker --daemon' to run in chroot.

nix.conf:

build-users-group = nixbld
build-use-chroot = true
build-chroot-dirs = /dev /proc /bin

'/nix/store' is owned by root. [1]

# nix-channel --add http://nixos.org/releases/nixos/channels/nixos-unstable

# nix-channel --update

# nix-env -i attr
installing `attr-2.4.46'
accepted connection from pid 5411, uid 0
these paths will be fetched (0.08 MiB download, 0.19 MiB unpacked):
  /nix/store/qcyvmb71faqndsb4bb0v5lgsnsn7w6rr-attr-2.4.46
fetching path `/nix/store/qcyvmb71faqndsb4bb0v5lgsnsn7w6rr-attr-2.4.46'...

*** Downloading
‘http://nixos.org/binary-cache/nar/0ifa78jihwhhrwm5d8v64ipfc5rhd3bbyfrsz2k805apzvh0vwfp.nar.bz2’
to ‘/nix/store/qcyvmb71faqndsb4bb0v5lgsnsn7w6rr-attr-2.4.46’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 86661  100 86661    0     0   282k      0 --:--:-- --:--:-- --:--:--  352k

building path(s) `/nix/store/qkf644f78376zk085kac3cixh386i8cc-user-environment'
created 85 symlinks in user environment
113 operations

# ls /nix/store/qcyvmb71faqndsb4bb0v5lgsnsn7w6rr-attr-2.4.46/bin/
attr  getfattr  setfattr

# ./pre-inst-env guix-build -K attr

[...]

Backtrace:
In ice-9/boot-9.scm:
 157: 12 [catch #t #<catch-closure 865ad20> ...]
In unknown file:
   ?: 11 [apply-smob/1 #<catch-closure 865ad20>]
In ice-9/boot-9.scm:
  63: 10 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 414: 9 [eval # #]
In ice-9/boot-9.scm:
2131: 8 [save-module-excursion #<procedure 85fe180 at
ice-9/boot-9.scm:3660:3 ()>]
3665: 7 [#<procedure 85fe180 at ice-9/boot-9.scm:3660:3 ()>]
1456: 6 [%start-stack load-stack ...]
1461: 5 [#<procedure 86728a0 ()>]
In unknown file:
   ?: 4 [primitive-load
"/nix/store/1gnzbap69kiqk8nczz3ypa41ag40adcx-attr-2.4.46-guile-builder"]
In ice-9/eval.scm:
 375: 3 [eval # ()]
In srfi/srfi-1.scm:
 830: 2 [every1 #<procedure 88010c0 at
/nix/store/lwfq1dnscczk8h06kyfw60svsnhf0cid-module-import/guix/build/gnu-build-system.scm:238:9
(expr)> ...]
In /nix/store/lwfq1dnscczk8h06kyfw60svsnhf0cid-module-import/guix/build/gnu-build-system.scm:
 127: 1 [configure #:outputs (#) #:configure-flags ...]
In unknown file:
   ?: 0 [system* "./configure" ...]

ERROR: In procedure system*:
ERROR: In procedure system*: No such file or directory
note: keeping build directory
`/tmp/nix-build-jkjb2q02df1mjv57rcnzdalbyiwbavqz-attr-2.4.46.drv-5'
builder for `/nix/store/jkjb2q02df1mjv57rcnzdalbyiwbavqz-attr-2.4.46.drv'
failed with exit code 1
@ build-failed /nix/store/jkjb2q02df1mjv57rcnzdalbyiwbavqz-attr-2.4.46.drv
/nix/store/c6dysd7p362i583h8cwmvyw4v7mxqfig-attr-2.4.46 1 builder for
`/nix/store/jkjb2q02df1mjv57rcnzdalbyiwbavqz-attr-2.4.46.drv' failed
with exit code 1
error: build failed: build of
`/nix/store/jkjb2q02df1mjv57rcnzdalbyiwbavqz-attr-2.4.46.drv' failed
1919 operations

I also tried with 'hello' and got the same error.

Nikita

[1] http://nixos.org/releases/nix/nix-0.12/manual/#id2478985

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-12-16 21:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-12  4:52 'build-use-chroot = true' leads to 'ERROR: In procedure system*: No such file or directory' Nikita Karetnikov
2012-12-12 13:33 ` Ludovic Courtès
2012-12-16 15:08   ` Nikita Karetnikov
2012-12-16 16:46     ` Ludovic Courtès
2012-12-16 19:09       ` Nikita Karetnikov
2012-12-16 21:56         ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).