Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattbillenstein/3c47852aedbb2788a6ad5c5cfdb54952 to your computer and use it in GitHub Desktop.
Save mattbillenstein/3c47852aedbb2788a6ad5c5cfdb54952 to your computer and use it in GitHub Desktop.
mattb@mattb-mbp:~/src/nixpkgs master$ nix-build '<nixpkgs>' -A mongodb -K 2>&1 | tail
Checking for storage class __declspec(thread) no
Checking for C++11 is_trivially_copyable support... yes
Checking for C++14 std::make_unique support... no
Checking for C++11 std::align support... yes
Checking for SSL_version(NULL) in C library ssl... no
Couldn't find OpenSSL ssl.h header and library
See /private/var/folders/g3/n64c6yd14js83j3vsnp_5f340000gn/T/nix-build-mongodb-3.2.9.drv-5/mongodb-src-r3.2.9/build/scons/config.log for details
note: keeping build directory ‘/private/var/folders/g3/n64c6yd14js83j3vsnp_5f340000gn/T/nix-build-mongodb-3.2.9.drv-5’
builder for ‘/nix/store/9rb2vxk57d1c9f8ll94lv9nypri617jj-mongodb-3.2.9.drv’ failed with exit code 1
error: build of ‘/nix/store/9rb2vxk57d1c9f8ll94lv9nypri617jj-mongodb-3.2.9.drv’ failed
mattb@mattb-mbp:~/src/nixpkgs master$ git diff
diff --git a/pkgs/servers/nosql/mongodb/default.nix b/pkgs/servers/nosql/mongodb/default.nix
index ee1987b..fcd9ef6 100644
--- a/pkgs/servers/nosql/mongodb/default.nix
+++ b/pkgs/servers/nosql/mongodb/default.nix
@@ -22,7 +22,7 @@ let version = "3.2.9";
buildInputs = [
sasl boost gperftools pcre-cpp snappy
- zlib libyamlcpp sasl openssl libpcap
+ zlib libyamlcpp sasl openssl.dev libpcap
]; # ++ optional stdenv.is64bit wiredtiger;
other-args = concatStringsSep " " ([
mattb@mattb-mbp:~/src/nixpkgs master$ grep openssl /private/var/folders/g3/n64c6yd14js83j3vsnp_5f340000gn/T/nix-build-mongodb-3.2.9.drv-5/mongodb-src-r3.2.9/build/scons/config.log | tail -3
clang -o build/scons/sconf_temp/conftest_42.o -c -std=c99 -I/nix/store/rvjdywgwani319dkpmwyq5gscjc5qlfa-cyrus-sasl-2.1.26-bin/include -I/nix/store/flz58lpw4zvx2fbcnhvyp984rswmqpz6-boost-1.60.0/include -I/nix/store/8sh1h30154km1p0jp94y8mgm71j0agjm-gperftools-2.4/include -I/nix/store/pn6hvnpydi14f3j76hb1cq45zvlv6zha-pcre-cpp-8.38-bin/include -I/nix/store/p8hlpdi9whbyajbpr54din5k1f3pq7gj-snappy-1.1.3/include -I/nix/store/nqmnd74k4pz9d00dvqknh1l1f20jqyy6-zlib-1.2.8/include -I/nix/store/7m0q78vxs8bllqs3y4c33ckzd9xii5af-libyaml-cpp-0.5.3/include -I/nix/store/rvjdywgwani319dkpmwyq5gscjc5qlfa-cyrus-sasl-2.1.26-bin/include -I/nix/store/9ggv770fjb9aazcrbpspf0vawzmkz627-openssl-1.0.2h-bin/include -I/nix/store/wsi448583mqy2mmbywx6jkfbw8m1g92f-libpcap-1.7.4/include -fno-omit-frame-pointer -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-unused-const-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -fno-builtin-memcmp -DNDEBUG build/scons/sconf_temp/conftest_42.c
clang -o build/scons/sconf_temp/conftest_42 -L/nix/store/rvjdywgwani319dkpmwyq5gscjc5qlfa-cyrus-sasl-2.1.26-bin/lib -L/nix/store/flz58lpw4zvx2fbcnhvyp984rswmqpz6-boost-1.60.0/lib -L/nix/store/8sh1h30154km1p0jp94y8mgm71j0agjm-gperftools-2.4/lib -L/nix/store/pn6hvnpydi14f3j76hb1cq45zvlv6zha-pcre-cpp-8.38-bin/lib -L/nix/store/p8hlpdi9whbyajbpr54din5k1f3pq7gj-snappy-1.1.3/lib -L/nix/store/nqmnd74k4pz9d00dvqknh1l1f20jqyy6-zlib-1.2.8/lib -L/nix/store/7m0q78vxs8bllqs3y4c33ckzd9xii5af-libyaml-cpp-0.5.3/lib -L/nix/store/rvjdywgwani319dkpmwyq5gscjc5qlfa-cyrus-sasl-2.1.26-bin/lib -L/nix/store/9ggv770fjb9aazcrbpspf0vawzmkz627-openssl-1.0.2h-bin/lib -L/nix/store/wsi448583mqy2mmbywx6jkfbw8m1g92f-libpcap-1.7.4/lib -fPIC -pthread -Wl,-bind_at_load build/scons/sconf_temp/conftest_42.o -Wl,-all_load -Wl,-noall_load -lssl -framework CoreFoundation -framework Security
ld: warning: directory not found for option '-L/nix/store/9ggv770fjb9aazcrbpspf0vawzmkz627-openssl-1.0.2h-bin/lib'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment