Skip to content

Instantly share code, notes, and snippets.

@mitchty
Created April 29, 2018 18:55
Show Gist options
  • Save mitchty/9b4fd7239d22c915726f74e56457771e to your computer and use it in GitHub Desktop.
Save mitchty/9b4fd7239d22c915726f74e56457771e to your computer and use it in GitHub Desktop.
ld: warning: directory not found for option '-L/nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/lib'
ld: library not found for -ldb-5.3
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [libserf-1.dylib] Error 1
scons: building terminated because of errors.
checking for strings.h... yes
builder for '/nix/store/ckiyj4b0ly381q83689z28360f8d4qnh-serf-1.3.9.drv' failed with exit code 2
cannot build derivation '/nix/store/3dnhi5n68x1hjqnzafzf3pnrkpjwk4ww-subversion-1.9.7.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/43qvxj288r54g4k9l5wyj621n0m70w83-git-2.17.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/nqp8hrz4yrza0zdglkdb5pqb8rf64ix7-default.drv': 1 dependencies couldn't be built
error: build of '/nix/store/nqp8hrz4yrza0zdglkdb5pqb8rf64ix7-default.drv' failed
zsh: exit 100 nix-env -f '<staging>' -iA default
$ export NIX_PATH=staging=${HOME}/src/github.com/NixOS/nixpkgs-staging:$NIX_PATH; nix-env -f '<staging>' -iA default
$ ls -dal /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/lib stagingM ~/src/github.com/NixOS/nixpkgs-staging
ls: /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/lib: No such file or directory
zsh: exit 1 ls -dal /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/lib
$ ls -dal /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/**/* stagingM ~/src/github.com/NixOS/nixpkgs-staging
dr-xr-xr-x 16 root nixbld 544 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/bin
-r-xr-xr-x 1 root nixbld 13664 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/bin/db_archive
-r-xr-xr-x 1 root nixbld 14088 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/bin/db_checkpoint
-r-xr-xr-x 1 root nixbld 14136 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/bin/db_deadlock
-r-xr-xr-x 1 root nixbld 14208 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/bin/db_dump
-r-xr-xr-x 1 root nixbld 18428 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/bin/db_hotbackup
-r-xr-xr-x 1 root nixbld 27024 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/bin/db_load
-r-xr-xr-x 1 root nixbld 14108 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/bin/db_log_verify
-r-xr-xr-x 1 root nixbld 30128 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/bin/db_printlog
-r-xr-xr-x 1 root nixbld 14132 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/bin/db_recover
-r-xr-xr-x 1 root nixbld 14240 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/bin/db_replicate
-r-xr-xr-x 1 root nixbld 13716 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/bin/db_stat
-r-xr-xr-x 1 root nixbld 21756 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/bin/db_tuner
-r-xr-xr-x 1 root nixbld 13768 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/bin/db_upgrade
-r-xr-xr-x 1 root nixbld 13784 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/bin/db_verify
dr-xr-xr-x 5 root nixbld 170 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/include
-r--r--r-- 1 root nixbld 123102 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/include/db.h
-r--r--r-- 1 root nixbld 5983 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/include/db_185.h
-r--r--r-- 1 root nixbld 49057 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/include/db_cxx.h
dr-xr-xr-x 3 root nixbld 102 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/nix-support
-r--r--r-- 1 root nixbld 58 Dec 31 1969 /nix/store/wkf20p0xlc6lagvfl4sbdl5sqx2c06nj-db-5.3.28/nix-support/propagated-build-inputs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment