Hi,

I'm slowly discovering Nix.

I installed Nix 0.10.1 from source, and "make check" failed (see
attached log).  My guess is that this is due to the fact that I built
out of the source directory and that there is some confusion between
`builddir' and `srcdir'.

Thanks, and keep up the good work!

Ludovic.

make: Entering directory `/home/ludo/tmp/nix-0.10.1/+build/tests'
make  check-TESTS
make[1]: Entering directory `/home/ludo/tmp/nix-0.10.1/+build/tests'
NIX_STORE_DIR=/home/ludo/tmp/nix-0.10.1/+build/tests/test-tmp/store 
NIX_DB_DIR=/home/ludo/tmp/nix-0.10.1/+build/tests/test-tmp/db
upgrading Nix store to new schema (this may take a while)...
hashing paths...
processing closures...
PASS: init.sh
PASS: hash.sh
parsing lang/parse-fail-*.nix (should fail)
../../tests/lang.sh: line 10: lang/parse-fail-*.nix: No such file or directory
parsing lang/parse-okay-*.nix (should succeed)
../../tests/lang.sh: line 19: lang/parse-okay-*.nix: No such file or directory
FAIL: parse-okay-* should parse
parse error in lang/parse-okay-*.ast, giving up
FAIL: parse tree of parse-okay-* not as expected
evaluating lang/eval-fail-*.nix (should fail)
error: getting status of 
`/home/ludo/tmp/nix-0.10.1/+build/tests/lang/eval-fail-*.nix': No such file or 
directory
evaluating lang/eval-okay-*.nix (should succeed)
FAIL: lang.sh
error: getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/add.sh': No such file or directory
FAIL: add.sh
error: while instantiating the derivation named `simple' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/simple.nix', line 2:
while processing the derivation attribute `args' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/simple.nix', line 5:
getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/simple.builder.sh': No such file or 
directory
FAIL: simple.sh
warning: the subpath operator (~) is deprecated, use string concatenation (+) 
instead
error: while instantiating the derivation named `dependencies' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 20:
while processing the derivation attribute `input2' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 26:
while instantiating the derivation named `dependencies-input-2' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 12:
while processing the derivation attribute `args' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 15:
getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.builder2.sh': No such file 
or directory
FAIL: dependencies.sh
error: while instantiating the derivation named `locking' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/locking.nix', line 4:
while processing the derivation attribute `args' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/locking.nix', line 7:
getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/locking.builder.sh': No such file or 
directory
FAIL: locking.sh
error: while instantiating the derivation named `parallel' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/parallel.nix', line 4:
while processing the derivation attribute `args' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/parallel.nix', line 7:
getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/parallel.builder.sh': No such file or 
directory
FAIL: parallel.sh
error: while instantiating the derivation named `build-hook' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/build-hook.nix', line 20:
while processing the derivation attribute `args' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/build-hook.nix', line 23:
getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.builder0.sh': No such file 
or directory
FAIL: build-hook.sh
error: while instantiating the derivation named `substitutes' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/substitutes.nix', line 2:
while processing the derivation attribute `args' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/substitutes.nix', line 5:
getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/simple.builder.sh': No such file or 
directory
FAIL: substitutes.sh
error: while instantiating the derivation named `substitutes-2' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/substitutes2.nix', line 2:
while processing the derivation attribute `args' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/substitutes2.nix', line 5:
getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/simple.builder.sh': No such file or 
directory
FAIL: substitutes2.sh
error: while instantiating the derivation named `fall-back' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/fallback.nix', line 2:
while processing the derivation attribute `args' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/fallback.nix', line 5:
getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/simple.builder.sh': No such file or 
directory
FAIL: fallback.sh
warning: the subpath operator (~) is deprecated, use string concatenation (+) 
instead
error: while instantiating the derivation named `dependencies' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 20:
while processing the derivation attribute `input2' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 26:
while instantiating the derivation named `dependencies-input-2' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 12:
while processing the derivation attribute `args' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 15:
getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.builder2.sh': No such file 
or directory
FAIL: nix-push.sh
warning: the subpath operator (~) is deprecated, use string concatenation (+) 
instead
error: while instantiating the derivation named `dependencies' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 20:
while processing the derivation attribute `input2' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 26:
while instantiating the derivation named `dependencies-input-2' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 12:
while processing the derivation attribute `args' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 15:
getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.builder2.sh': No such file 
or directory
FAIL: gc.sh
error: while instantiating the derivation named `gc-concurrent' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/gc-concurrent.nix', line 20:
while processing the derivation attribute `input2' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/gc-concurrent.nix', line 25:
while instantiating the derivation named `dependencies-input-2' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/gc-concurrent.nix', line 12:
while processing the derivation attribute `args' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/gc-concurrent.nix', line 15:
getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.builder2.sh': No such file 
or directory
FAIL: gc-concurrent.sh
PASS: verify.sh
clearing store...
upgrading Nix store to new schema (this may take a while)...
hashing paths...
processing closures...
pulling cache...
obtaining list of Nix archives at 
file:///home/ludo/tmp/nix-0.10.1/+build/tests/test-tmp/manifest...
curl: (37) Couldn't open file 
/home/ludo/tmp/nix-0.10.1/+build/tests/test-tmp/manifest
curl failed: 9472 at /home/ludo/tmp/nix-0.10.1/+build/tests/../scripts/nix-pull 
line 42.
FAIL: nix-pull.sh
registering...

real    0m26.933s
user    0m9.816s
sys     0m17.908s
collecting garbage...
0 bytes freed (0.00 MiB)

real    0m3.095s
user    0m2.088s
sys     0m0.896s
PASS: referrers.sh
error: selector `*' matches no derivations
bar-0.1      A silly test package
bar-0.1.1    A silly test package
foo-1.0      A silly test package
foo-2.0      A silly test package
foo-2.0pre1  A silly test package
installing `foo-1.0'
error: while instantiating the derivation named `foo-1.0' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/user-envs.nix', line 11:
while processing the derivation attribute `args' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/user-envs.nix', line 14:
getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/user-envs.builder.sh': No such file or 
directory
FAIL: user-envs.sh
0 bytes freed (0.00 MiB)
warning: the subpath operator (~) is deprecated, use string concatenation (+) 
instead
error: while instantiating the derivation named `dependencies' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 20:
while processing the derivation attribute `input2' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 26:
while instantiating the derivation named `dependencies-input-2' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 12:
while processing the derivation attribute `args' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 15:
getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.builder2.sh': No such file 
or directory
warning: failed to load external entity "mark-errors.xsl"
cannot parse mark-errors.xsl
warning: failed to load external entity "log2html.xsl"
cannot parse log2html.xsl
FAIL: logging.sh
0 bytes freed (0.00 MiB)
error: while instantiating the derivation named `dependencies' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 20:
while processing the derivation attribute `args' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 23:
getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.builder0.sh': No such file 
or directory
cat: /home/ludo/tmp/nix-0.10.1/+build/tests/test-tmp/result/foobar: No such 
file or directory
FAIL: nix-build.sh
nix-env (Nix) 0.10.1
error: no operation specified
error: unknown flag `--foo'
PASS: misc.sh
error: while instantiating the derivation named `fixed' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/fixed.nix', line 4:
while processing the derivation attribute `args' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/fixed.nix', line 7:
getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/fixed.builder1.sh': No such file or 
directory
FAIL: fixed.sh
installing `gc-runtime'
building path(s) 
`/home/ludo/tmp/nix-0.10.1/+build/tests/test-tmp/store/lffsq0wppkv9kihw53mcnpdddbzikk2s-gc-runtime'
+ mkdir 
/home/ludo/tmp/nix-0.10.1/+build/tests/test-tmp/store/lffsq0wppkv9kihw53mcnpdddbzikk2s-gc-runtime
+ cat
+ chmod +x 
/home/ludo/tmp/nix-0.10.1/+build/tests/test-tmp/store/lffsq0wppkv9kihw53mcnpdddbzikk2s-gc-runtime/program
error: opening 
`/home/ludo/tmp/nix-0.10.1/+build/tests/test-tmp/data/nix/corepkgs/buildenv/default.nix':
 No such file or directory
FAIL: gc-runtime.sh
warning: the subpath operator (~) is deprecated, use string concatenation (+) 
instead
error: while instantiating the derivation named `dependencies' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 20:
while processing the derivation attribute `input2' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 26:
while instantiating the derivation named `dependencies-input-2' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 12:
while processing the derivation attribute `args' at 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.nix', line 15:
getting attributes of path 
`/home/ludo/tmp/nix-0.10.1/+build/tests/dependencies.builder2.sh': No such file 
or directory
FAIL: install-package.sh
=====================
20 of 25 tests failed
=====================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/home/ludo/tmp/nix-0.10.1/+build/tests'
make: *** [check-am] Error 2
make: Leaving directory `/home/ludo/tmp/nix-0.10.1/+build/tests'
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to