{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6148","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6148/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6148/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6148/events","html_url":"https://github.com/NixOS/nixpkgs/issues/6148","id":56554886,"number":6148,"title":"nixpkgs.gcc fails to build on OS X","user":{"login":"tel","id":1141,"avatar_url":"https://avatars.githubusercontent.com/u/1141?v=3","gravatar_id":"","url":"https://api.github.com/users/tel","html_url":"https://github.com/tel","followers_url":"https://api.github.com/users/tel/followers","following_url":"https://api.github.com/users/tel/following{/other_user}","gists_url":"https://api.github.com/users/tel/gists{/gist_id}","starred_url":"https://api.github.com/users/tel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tel/subscriptions","organizations_url":"https://api.github.com/users/tel/orgs","repos_url":"https://api.github.com/users/tel/repos","events_url":"https://api.github.com/users/tel/events{/privacy}","received_events_url":"https://api.github.com/users/tel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20darwin","name":"6.topic: darwin","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2015-02-04T16:58:59Z","updated_at":"2016-09-01T02:20:44Z","closed_at":null,"body":"Full log is [here](https://gist.github.com/tel/6795d62d1c54d7a3cbce). Abbreviated it's\r\n\r\n````\r\n$ nix-env -iA nixpkgs.gcc 2> gcc.log\r\n\r\n[...]\r\n\r\nbuilding libstdc++-symbols.explist\r\nperl /private/var/folders/lj/655x29_s66718hvw6bdcvy1w0000gn/T/nix-build-gcc-4.8.4.drv-0/gcc-4.8.4/libstdc++-v3/scripts/make_exports.pl \\\r\n  libstdc++-symbols.ver \\\r\n  .libs/compatibility.o .libs/compatibility-debug_list.o .libs/compatibility-debug_list-2.o .libs/compatibility-c++0x.o .libs/compatibility-atomic-c++0x.o .libs/compatibility-thread-c++0x.o .libs/compatibility-chrono.o \\\r\n `echo  ../libsupc++/libsupc++convenience.la ../src/c++98/libc++98convenience.la ../src/c++11/libc++11convenience.la | \\\r\n    sed 's,/\\([^/.]*\\)\\.la,/.libs/\\1.a,g'` \\\r\n > libstdc++-symbols.explist || (rm -f libstdc++-symbols.explist ; exit 1)\r\nnm -P .libs/compatibility.o .libs/compatibility-debug_list.o .libs/compatibility-debug_list-2.o .libs/compatibility-c++0x.o .libs/compatibility-atomic-c++0x.o .libs/compatibility-thread-c++0x.o .libs/compatibility-chrono.o ../libsupc++/.libs/libsupc++convenience.a ../src/c++98/.libs/libc++98convenience.a ../src/c++11/.libs/libc++11convenience.a|Can't exec \"c++filt\": No such file or directory at /nix/store/j56d7hhhshcykma3bbfsb5zih8ckyqwm-perl-5.20.1/lib/perl5/5.20.1/IPC/Open3.pm line 280.\r\nopen2: exec of c++filt -_ failed at /private/var/folders/lj/655x29_s66718hvw6bdcvy1w0000gn/T/nix-build-gcc-4.8.4.drv-0/gcc-4.8.4/libstdc++-v3/scripts/make_exports.pl line 95.\r\nwarning: nm: no name list\r\nwarning: nm: no name list\r\nmake[6]: *** [libstdc++-symbols.explist] Error 1\r\nmake[6]: Leaving directory `/private/var/folders/lj/655x29_s66718hvw6bdcvy1w0000gn/T/nix-build-gcc-4.8.4.drv-0/build/x86_64-apple-darwin14.1.0/libstdc++-v3/src'\r\nmake[5]: *** [all-recursive] Error 1\r\nmake[5]: Leaving directory `/private/var/folders/lj/655x29_s66718hvw6bdcvy1w0000gn/T/nix-build-gcc-4.8.4.drv-0/build/x86_64-apple-darwin14.1.0/libstdc++-v3/src'\r\nmake[4]: *** [all-recursive] Error 1\r\nmake[4]: Leaving directory `/private/var/folders/lj/655x29_s66718hvw6bdcvy1w0000gn/T/nix-build-gcc-4.8.4.drv-0/build/x86_64-apple-darwin14.1.0/libstdc++-v3'\r\nmake[3]: *** [all] Error 2\r\nmake[3]: Leaving directory `/private/var/folders/lj/655x29_s66718hvw6bdcvy1w0000gn/T/nix-build-gcc-4.8.4.drv-0/build/x86_64-apple-darwin14.1.0/libstdc++-v3'\r\nmake[2]: *** [all-stage1-target-libstdc++-v3] Error 2\r\nmake[2]: Leaving directory `/private/var/folders/lj/655x29_s66718hvw6bdcvy1w0000gn/T/nix-build-gcc-4.8.4.drv-0/build'\r\nmake[1]: *** [stage1-bubble] Error 2\r\nmake[1]: Leaving directory `/private/var/folders/lj/655x29_s66718hvw6bdcvy1w0000gn/T/nix-build-gcc-4.8.4.drv-0/build'\r\nmake: *** [bootstrap] Error 2\r\nbuilder for ‘/nix/store/2hykvq6nlbcjkvgz757lb729slslgk6r-gcc-4.8.4.drv’ failed with exit code 2\r\ncannot build derivation ‘/nix/store/0bq7kidq56r16gvj8xx07wwsnrpb72mc-gcc-wrapper-4.8.4.drv’: 1 dependencies couldn't be built\r\nerror: build of ‘/nix/store/0bq7kidq56r16gvj8xx07wwsnrpb72mc-gcc-wrapper-4.8.4.drv’ failed\r\n```"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/243957882","html_url":"https://github.com/NixOS/nixpkgs/issues/6148#issuecomment-243957882","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6148","id":243957882,"user":{"login":"matthewbauer","id":19036,"avatar_url":"https://avatars.githubusercontent.com/u/19036?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewbauer","html_url":"https://github.com/matthewbauer","followers_url":"https://api.github.com/users/matthewbauer/followers","following_url":"https://api.github.com/users/matthewbauer/following{/other_user}","gists_url":"https://api.github.com/users/matthewbauer/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewbauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewbauer/subscriptions","organizations_url":"https://api.github.com/users/matthewbauer/orgs","repos_url":"https://api.github.com/users/matthewbauer/repos","events_url":"https://api.github.com/users/matthewbauer/events{/privacy}","received_events_url":"https://api.github.com/users/matthewbauer/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T02:20:44Z","updated_at":"2016-09-01T02:20:44Z","body":"I think it has broke around April: http://hydra.nixos.org/build/39409734. It might have been related to the closure size stuff: http://hydra.nixos.org/api/scmdiff?type=git&uri=https%3A%2F%2Fgithub.com%2FNixOS%2Fnixpkgs.git&rev1=81cedab4f1fe9578e004ce03de5630a25c737a9e&rev2=39ebb01d6e8d19b042fe65d303234d0db27877eb.\r\n\r\nI ended up adding the \"--disable-bootstrap\" flag in gcc because that's the only way to get it to compile. Perhaps that flag is inherently impure? I'm trying to build it now without that flag but if I recall it gives some very unclear error."}}
{"actor":{"display_login":"matthewbauer"}}