Guest User

nix on FreeBSD

a guest
Mar 1st, 2020
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.98 KB | None | 0 0
  1. λ nix repl
  2. Welcome to Nix version 2.3.1. Type :? for help.
  3.  
  4. nix-repl> :l <nixpkgs>
  5. Added 11549 variables.
  6.  
  7. nix-repl> :b curl
  8. [1/0/14 built, 8 copied (32.8/32.8 MiB), 32.5 MiB DL] building c-ares-1.15.0 (configurePhase): chec
  9. builder for '/nix/store/2wvlili3ci9sk97is0m4xzin5r36759i-libkrb5-1.18.drv' failed with exit code 2; last 10 log lines:
  10. building shared verto library (0.0)
  11. set -x; objlist=`set -x && perl -p -e 'BEGIN { $SIG{__WARN__} = sub {die @_} }; $e=$ARGV; $e =~ s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g;' OBJS.SH` && ld -Bshar
  12. eable -o libverto.so.0 $objlist --enable-new-dtags -rpath /nix/store/ddzvy13axvmv1hbfyygqpp0fdx7d98v3-libkrb5-1.18/lib -L../../lib -lm
  13. + set -x
  14. + perl -p -e 'BEGIN { $SIG{__WARN__} = sub {die @_} }; $e=$ARGV; $e =~ s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g;' OBJS.SH
  15. + objlist=' verto.so module.so verto-k5ev.so'
  16. + ld -Bshareable -o libverto.so.0 verto.so module.so verto-k5ev.so --enable-new-dtags -rpath /nix/store/ddzvy13axvmv1hbfyygqpp0fdx7d98v3-libkrb5-1.18/lib -L../.
  17. ./lib -lm
  18. ld: error: unable to find library -lm
  19. make[1]: *** [Makefile:728: libverto.so.0] Error 1
  20. make[1]: Leaving directory '/tmp/nix-build-libkrb5-1.18.drv-0/krb5-1.18/src/util/verto'
  21. make: *** [Makefile:888: all-recurse] Error 1
  22. cannot build derivation '/nix/store/0sanxss5q7xnvad58qj8lycc873apmb3-curl-7.68.0.drv': 1 dependencies couldn't be built
  23. [10 built (1 failed), 8 copied (32.8 MiB), 32.5 MiB DL]
  24. error: build of '/nix/store/0sanxss5q7xnvad58qj8lycc873apmb3-curl-7.68.0.drv' failed
  25.  
  26. nix-repl> :b (curl.override { gssSupport = false; })
  27. [3 built, 0.0 MiB DL]
  28.  
  29. this derivation produced the following outputs:
  30. bin -> /nix/store/i3s88wzsf0x1xprip6y44qq8j99czsyg-curl-7.68.0-bin
  31. dev -> /nix/store/xqxj8rpam0vwffm1g7wqlbcwfck3pnin-curl-7.68.0-dev
  32. devdoc -> /nix/store/x2qy2a08d9hjcdpwjsjrn3csqq8cpsk7-curl-7.68.0-devdoc
  33. man -> /nix/store/l37clg8cnhfxqhngfr8dk1f4mbmkkihf-curl-7.68.0-man
  34. out -> /nix/store/y3hvihmgv5sjq1h7j9lfwdd7yyzavays-curl-7.68.0
  35.  
  36. nix-repl> :b (curl.override { gssSupport = false; })
  37.  
  38. λ ldd /nix/store/i3s88wzsf0x1xprip6y44qq8j99czsyg-curl-7.68.0-bin/bin/curl
  39. /nix/store/i3s88wzsf0x1xprip6y44qq8j99czsyg-curl-7.68.0-bin/bin/curl:
  40. libcurl.so.4 => /nix/store/y3hvihmgv5sjq1h7j9lfwdd7yyzavays-curl-7.68.0/lib/libcurl.so.4 (0x800268000)
  41. libnghttp2.so.14 => /nix/store/j06hnkqx8xa7fkxiy491ikwxlahjki2s-nghttp2-1.40.0-lib/lib/libnghttp2.so.14 (0x8002e4000)
  42. libssh2.so.1 => /nix/store/abi8v4mnvmpg4i04cc4z60zbmrj7wdkw-libssh2-1.9.0/lib/libssh2.so.1 (0x800311000)
  43. libssl.so.1.1 => /nix/store/nh47xiqisj8j0bkmddqffkyvn7m1xs2b-openssl-1.1.1d/lib/libssl.so.1.1 (0x800350000)
  44. libcrypto.so.1.1 => /nix/store/nh47xiqisj8j0bkmddqffkyvn7m1xs2b-openssl-1.1.1d/lib/libcrypto.so.1.1 (0x8003ea000)
  45. libz.so.1 => /nix/store/gmigb4l86bc9mh0qqsb8pmbgw7iichvf-zlib-1.2.11/lib/libz.so.1 (0x8006d2000)
  46. libthr.so.3 => /lib/libthr.so.3 (0x8006ed000)
  47. libc.so.7 => /lib/libc.so.7 (0x80071a000)
Add Comment
Please, Sign In to add comment