{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/5885","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/5885/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/5885/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/5885/events","html_url":"https://github.com/NixOS/nixpkgs/issues/5885","id":55000729,"number":5885,"title":"Building mongodb-2.6.6 fails on OS X","user":{"login":"nomosyn","id":2693150,"avatar_url":"https://avatars.githubusercontent.com/u/2693150?v=3","gravatar_id":"","url":"https://api.github.com/users/nomosyn","html_url":"https://github.com/nomosyn","followers_url":"https://api.github.com/users/nomosyn/followers","following_url":"https://api.github.com/users/nomosyn/following{/other_user}","gists_url":"https://api.github.com/users/nomosyn/gists{/gist_id}","starred_url":"https://api.github.com/users/nomosyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomosyn/subscriptions","organizations_url":"https://api.github.com/users/nomosyn/orgs","repos_url":"https://api.github.com/users/nomosyn/repos","events_url":"https://api.github.com/users/nomosyn/events{/privacy}","received_events_url":"https://api.github.com/users/nomosyn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/darwin","name":"darwin","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-21T10:20:14Z","updated_at":"2015-01-23T13:38:31Z","closed_at":null,"body":"\r\n![capture d ecran 2015-01-21 a 11 16 12](https://cloud.githubusercontent.com/assets/2693150/5834563/5f5b3768-a15f-11e4-8ab9-602ecd38c824.png)\r\n\r\n```\r\n$ nix-env --version\r\nnix-env (Nix) 1.8\r\n$ nix-env -i mongodb-2.6.6\r\n```\r\nGives:\r\n```\r\n... LOTS OF STUFF BEFORE ...\r\nmake[4]: Entering directory `/private/var/folders/m2/57v_0k5n2fj4wsrn72_pptn40000gn/T/nix-build-gettext-0.18.2.drv-0/gettext-0.18.2/gettext-runtime/gnulib-lib'\r\nbuilding all-recursive\r\nmake[5]: Entering directory `/private/var/folders/m2/57v_0k5n2fj4wsrn72_pptn40000gn/T/nix-build-gettext-0.18.2.drv-0/gettext-0.18.2/gettext-runtime/gnulib-lib'\r\nbuilding allocator.o\r\ncc -DHAVE_CONFIG_H -DEXEEXT=\\\"\\\" -I. -I..  -I../intl -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1   -D_FORTIFY_SOURCE=0 -c -o allocator.o allocator.c\r\nbuilding areadlink.o\r\ncc -DHAVE_CONFIG_H -DEXEEXT=\\\"\\\" -I. -I..  -I../intl -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1   -D_FORTIFY_SOURCE=0 -c -o areadlink.o areadlink.c\r\nbuilding basename.o\r\ncc -DHAVE_CONFIG_H -DEXEEXT=\\\"\\\" -I. -I..  -I../intl -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1   -D_FORTIFY_SOURCE=0 -c -o basename.o basename.c\r\nbuilding c-ctype.o\r\ncc -DHAVE_CONFIG_H -DEXEEXT=\\\"\\\" -I. -I..  -I../intl -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1   -D_FORTIFY_SOURCE=0 -c -o c-ctype.o c-ctype.c\r\nbuilding c-strcasecmp.o\r\ncc -DHAVE_CONFIG_H -DEXEEXT=\\\"\\\" -I. -I..  -I../intl -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1   -D_FORTIFY_SOURCE=0 -c -o c-strcasecmp.o c-strcasecmp.c\r\nbuilding c-strncasecmp.o\r\ncc -DHAVE_CONFIG_H -DEXEEXT=\\\"\\\" -I. -I..  -I../intl -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1   -D_FORTIFY_SOURCE=0 -c -o c-strncasecmp.o c-strncasecmp.c\r\nbuilding careadlinkat.o\r\ncc -DHAVE_CONFIG_H -DEXEEXT=\\\"\\\" -I. -I..  -I../intl -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1   -D_FORTIFY_SOURCE=0 -c -o careadlinkat.o careadlinkat.c\r\nbuilding closeout.o\r\nareadlink.c:38:24: error: use of undeclared identifier 'AT_FDCWD'\r\n  return careadlinkat (AT_FDCWD, filename, NULL, 0, NULL, careadlinkatcwd);\r\n                       ^\r\n1 error generated.\r\nmake[5]: *** [areadlink.o] Error 1\r\nmake[5]: *** Waiting for unfinished jobs....\r\ncareadlinkat.c:51:13: error: use of undeclared identifier 'AT_FDCWD'\r\n  if (fd != AT_FDCWD)\r\n            ^\r\n1 error generated.\r\nmake[5]: *** [careadlinkat.o] Error 1\r\nmake[5]: Leaving directory `/private/var/folders/m2/57v_0k5n2fj4wsrn72_pptn40000gn/T/nix-build-gettext-0.18.2.drv-0/gettext-0.18.2/gettext-runtime/gnulib-lib'\r\nmake[4]: *** [all-recursive] Error 1\r\nmake[4]: Leaving directory `/private/var/folders/m2/57v_0k5n2fj4wsrn72_pptn40000gn/T/nix-build-gettext-0.18.2.drv-0/gettext-0.18.2/gettext-runtime/gnulib-lib'\r\nmake[3]: *** [all] Error 2\r\nmake[3]: Leaving directory `/private/var/folders/m2/57v_0k5n2fj4wsrn72_pptn40000gn/T/nix-build-gettext-0.18.2.drv-0/gettext-0.18.2/gettext-runtime/gnulib-lib'\r\nmake[2]: *** [all-recursive] Error 1\r\nmake[2]: Leaving directory `/private/var/folders/m2/57v_0k5n2fj4wsrn72_pptn40000gn/T/nix-build-gettext-0.18.2.drv-0/gettext-0.18.2/gettext-runtime'\r\nmake[1]: *** [all] Error 2\r\nmake[1]: Leaving directory `/private/var/folders/m2/57v_0k5n2fj4wsrn72_pptn40000gn/T/nix-build-gettext-0.18.2.drv-0/gettext-0.18.2/gettext-runtime'\r\nmake: *** [all-recursive] Error 1\r\nbuilder for ‘/nix/store/fc22jk19v411pdsmampcs3ji0i9vqz6j-gettext-0.18.2.drv’ failed with exit code 2\r\ncannot build derivation ‘/nix/store/j2gzjs6frkfidm2gqivq14ydhd37f52m-cyrus-sasl-2.1.26-without-kerberos.drv’: 1 dependencies couldn't be built\r\ncannot build derivation ‘/nix/store/g8f46xh03cipmd3jv8d2p2rhl5vs0yzm-hook.drv’: 1 dependencies couldn't be built\r\nbuilding path(s) ‘/nix/store/7jhv14krhi5jsvi7la1czcj1vqn6yrhp-libxml2-2.9.2.tar.gz’\r\ncannot build derivation ‘/nix/store/6smjrw85bq3326xm3vn4x69wpp4nb4jx-sharutils-4.11.1.drv’: 1 dependencies couldn't be built\r\nkilling process 28352\r\ncannot build derivation ‘/nix/store/iw0dj9jlfxqnyg3a3vgnbxb8iik63ih6-mongodb-2.6.6.drv’: 1 dependencies couldn't be built\r\nerror: build of ‘/nix/store/iw0dj9jlfxqnyg3a3vgnbxb8iik63ih6-mongodb-2.6.6.drv’ failed\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/71193869","html_url":"https://github.com/NixOS/nixpkgs/issues/5885#issuecomment-71193869","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/5885","id":71193869,"user":{"login":"henrytill","id":6430643,"avatar_url":"https://avatars.githubusercontent.com/u/6430643?v=3","gravatar_id":"","url":"https://api.github.com/users/henrytill","html_url":"https://github.com/henrytill","followers_url":"https://api.github.com/users/henrytill/followers","following_url":"https://api.github.com/users/henrytill/following{/other_user}","gists_url":"https://api.github.com/users/henrytill/gists{/gist_id}","starred_url":"https://api.github.com/users/henrytill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrytill/subscriptions","organizations_url":"https://api.github.com/users/henrytill/orgs","repos_url":"https://api.github.com/users/henrytill/repos","events_url":"https://api.github.com/users/henrytill/events{/privacy}","received_events_url":"https://api.github.com/users/henrytill/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T13:38:31Z","updated_at":"2015-01-23T13:38:31Z","body":"See https://nixos.org/wiki/Nix_on_OS_X"}}