Advertisement
Guest User

build nix error again

a guest
Mar 27th, 2018
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.57 KB | None | 0 0
  1. running test tests/placeholders.sh... [PASS]
  2. running test tests/nix-shell.sh... [PASS]
  3. running test tests/linux-sandbox.sh... [FAIL]
  4. + clearStore
  5. + echo 'clearing store...'
  6. clearing store...
  7. + chmod -R +w /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  8. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  9. + mkdir /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  10. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix
  11. + mkdir /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix
  12. + nix-store --init
  13. + clearProfiles
  14. + profiles=/tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix/profiles
  15. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix/profiles
  16. + canUseSandbox
  17. ++ uname
  18. + [[ Linux != Linux ]]
  19. + '[' '!' -L /proc/self/ns/user ']'
  20. + '[' -e /proc/sys/kernel/unprivileged_userns_clone ']'
  21. ++ cat /proc/sys/kernel/unprivileged_userns_clone
  22. + '[' 1 '!=' 1 ']'
  23. + return 0
  24. + [[ ! /home/nao/nix/store/bvrnk9njqrr7axdgpvfrd190kdaar9j1-bash-4.4-p19/bin/bash =~ /nix/store ]]
  25. + chmod -R u+w /tmp/nix-build-nix-2.0.drv-0/nix-test/store0
  26. chmod: cannot access '/tmp/nix-build-nix-2.0.drv-0/nix-test/store0': No such file or directory
  27. + true
  28. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/store0
  29. + export NIX_STORE_DIR=/my/store
  30. + NIX_STORE_DIR=/my/store
  31. + export NIX_REMOTE=/tmp/nix-build-nix-2.0.drv-0/nix-test/store0
  32. + NIX_REMOTE=/tmp/nix-build-nix-2.0.drv-0/nix-test/store0
  33. ++ nix-build dependencies.nix --no-out-link --sandbox-paths /nix/store
  34. these derivations will be built:
  35. /my/store/5ziizwv7nack4bjziddx5q12n01v9a7r-dependencies-input-1.drv
  36. /my/store/qaj3j2lr9vs0axy4hz4bx6686naypvf6-dependencies-input-2.drv
  37. /my/store/06x7dws1rhd57kin85qnxalpk83ah77a-dependencies.drv
  38. building '/my/store/5ziizwv7nack4bjziddx5q12n01v9a7r-dependencies-input-1.drv'...
  39. while setting up the build environment: executing '/home/nao/nix/store/bvrnk9njqrr7axdgpvfrd190kdaar9j1-bash-4.4-p19/bin/bash': No such file or directory
  40. builder for '/my/store/5ziizwv7nack4bjziddx5q12n01v9a7r-dependencies-input-1.drv' failed with exit code 1
  41. cannot build derivation '/my/store/06x7dws1rhd57kin85qnxalpk83ah77a-dependencies.drv': 1 dependencies couldn't be built
  42. error: build of '/my/store/06x7dws1rhd57kin85qnxalpk83ah77a-dependencies.drv' failed
  43. + outPath=
  44. running test tests/build-dry.sh... [PASS]
  45. running test tests/build-remote.sh... [FAIL]
  46. + clearStore
  47. + echo 'clearing store...'
  48. clearing store...
  49. + chmod -R +w /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  50. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  51. + mkdir /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  52. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix
  53. + mkdir /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix
  54. + nix-store --init
  55. + clearProfiles
  56. + profiles=/tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix/profiles
  57. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix/profiles
  58. + canUseSandbox
  59. ++ uname
  60. + [[ Linux != Linux ]]
  61. + '[' '!' -L /proc/self/ns/user ']'
  62. + '[' -e /proc/sys/kernel/unprivileged_userns_clone ']'
  63. ++ cat /proc/sys/kernel/unprivileged_userns_clone
  64. + '[' 1 '!=' 1 ']'
  65. + return 0
  66. + [[ ! /home/nao/nix/store/bvrnk9njqrr7axdgpvfrd190kdaar9j1-bash-4.4-p19/bin/bash =~ /nix/store ]]
  67. + chmod -R u+w /tmp/nix-build-nix-2.0.drv-0/nix-test/store0
  68. + chmod -R u+w /tmp/nix-build-nix-2.0.drv-0/nix-test/store1
  69. chmod: cannot access '/tmp/nix-build-nix-2.0.drv-0/nix-test/store1': No such file or directory
  70. + true
  71. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/store0 /tmp/nix-build-nix-2.0.drv-0/nix-test/store1
  72. + nix build -f build-hook.nix -o /tmp/nix-build-nix-2.0.drv-0/nix-test/result --max-jobs 0 --sandbox-paths /nix/store --sandbox-build-dir /build-tmp --builders '/tmp/nix-build-nix-2.0.drv-0/nix-test/store0; /tmp/nix-build-nix-2.0.drv-0/nix-test/store1 - - 1 1 foo'
  73. while setting up the build environment: executing '/home/nao/nix/store/bvrnk9njqrr7axdgpvfrd190kdaar9j1-bash-4.4-p19/bin/bash': No such file or directory
  74. while setting up the build environment: executing '/home/nao/nix/store/bvrnk9njqrr7axdgpvfrd190kdaar9j1-bash-4.4-p19/bin/bash': No such file or directory
  75. builder for '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/spjby51hlpl8vljw8268l9i8i42hkyzg-build-hook-input-1.drv' failed with exit code 1
  76. error: build of '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/spjby51hlpl8vljw8268l9i8i42hkyzg-build-hook-input-1.drv' on '/tmp/nix-build-nix-2.0.drv-0/nix-test/store1' failed: builder for '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/spjby51hlpl8vljw8268l9i8i42hkyzg-build-hook-input-1.drv' failed with exit code 1
  77. builder for '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/spjby51hlpl8vljw8268l9i8i42hkyzg-build-hook-input-1.drv' failed with exit code 1
  78. cannot build derivation '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/897zg9karz8nxk7b2g92863ldvhv2d61-build-hook.drv': 1 dependencies couldn't be built
  79. error: build of '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/897zg9karz8nxk7b2g92863ldvhv2d61-build-hook.drv' failed
  80. running test tests/nar-access.sh... [PASS]
  81. running test tests/structured-attrs.sh... [PASS]
  82. running test tests/fetchGit.sh... [SKIP]
  83. running test tests/fetchMercurial.sh... [SKIP]
  84. running test tests/signing.sh... [PASS]
  85. running test tests/run.sh... [FAIL]
  86. + clearStore
  87. + echo 'clearing store...'
  88. clearing store...
  89. + chmod -R +w /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  90. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  91. + mkdir /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  92. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix
  93. + mkdir /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix
  94. + nix-store --init
  95. + clearProfiles
  96. + profiles=/tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix/profiles
  97. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix/profiles
  98. + clearCache
  99. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/binary-cache
  100. + nix run -f run.nix hello -c hello
  101. + grep 'Hello World'
  102. Hello World from /tmp/nix-build-nix-2.0.drv-0/nix-test/store/zw5b9bplv8z1hnbf519ysymfpwg2xd1b-hello/bin/hello
  103. + nix run -f run.nix hello -c hello NixOS
  104. + grep 'Hello NixOS'
  105. Hello NixOS from /tmp/nix-build-nix-2.0.drv-0/nix-test/store/zw5b9bplv8z1hnbf519ysymfpwg2xd1b-hello/bin/hello
  106. + canUseSandbox
  107. ++ uname
  108. + [[ Linux != Linux ]]
  109. + '[' '!' -L /proc/self/ns/user ']'
  110. + '[' -e /proc/sys/kernel/unprivileged_userns_clone ']'
  111. ++ cat /proc/sys/kernel/unprivileged_userns_clone
  112. + '[' 1 '!=' 1 ']'
  113. + return 0
  114. + chmod -R u+w /tmp/nix-build-nix-2.0.drv-0/nix-test/store0
  115. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/store0
  116. + clearStore
  117. + echo 'clearing store...'
  118. clearing store...
  119. + chmod -R +w /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  120. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  121. + mkdir /tmp/nix-build-nix-2.0.drv-0/nix-test/store
  122. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix
  123. + mkdir /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix
  124. + nix-store --init
  125. + clearProfiles
  126. + profiles=/tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix/profiles
  127. + rm -rf /tmp/nix-build-nix-2.0.drv-0/nix-test/var/nix/profiles
  128. ++ nix eval --raw -f run.nix hello
  129. + path=/tmp/nix-build-nix-2.0.drv-0/nix-test/store/zw5b9bplv8z1hnbf519ysymfpwg2xd1b-hello
  130. + nix run --sandbox-build-dir /build-tmp --sandbox-paths '/nix? /bin? /lib? /lib64? /usr?' --store /tmp/nix-build-nix-2.0.drv-0/nix-test/store0 -f run.nix hello -c hello
  131. + grep 'Hello World'
  132. builder for '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/injmvjhmffnfj0qwf27c4hhcz56p5qxh-hello.drv' failed with exit code 1; last 1 log lines:
  133. while setting up the build environment: executing '/home/nao/nix/store/bvrnk9njqrr7axdgpvfrd190kdaar9j1-bash-4.4-p19/bin/bash': No such file or directory
  134. error: build of '/tmp/nix-build-nix-2.0.drv-0/nix-test/store/injmvjhmffnfj0qwf27c4hhcz56p5qxh-hello.drv' failed
  135. running test tests/brotli.sh... [PASS]
  136. running test tests/pure-eval.sh... [PASS]
  137. running test tests/check.sh... [PASS]
  138. running test tests/plugins.sh... [PASS]
  139. 3 out of 51 tests failed
  140. make: *** [mk/tests.mk:12: installcheck] Error 1
  141. builder for '/home/nao/nix/store/0hynzkjclh2dxx4g3877wrmg7b3myv3l-nix-2.0.drv' failed with exit code 2
  142. cannot build derivation '/home/nao/nix/store/ih2d8wyk0lwcmqcpx4gfqm57zipwf4h6-tarball.drv': 1 dependencies couldn't be built
  143. error: build of '/home/nao/nix/store/ih2d8wyk0lwcmqcpx4gfqm57zipwf4h6-tarball.drv' failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement