{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10595","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10595/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10595/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10595/events","html_url":"https://github.com/NixOS/nixpkgs/issues/10595","id":113212208,"number":10595,"title":"\"sassc\" fails to build on pure-darwin: `ld: library not found for -lstdc++`","user":{"login":"utdemir","id":928084,"avatar_url":"https://avatars.githubusercontent.com/u/928084?v=3","gravatar_id":"","url":"https://api.github.com/users/utdemir","html_url":"https://github.com/utdemir","followers_url":"https://api.github.com/users/utdemir/followers","following_url":"https://api.github.com/users/utdemir/following{/other_user}","gists_url":"https://api.github.com/users/utdemir/gists{/gist_id}","starred_url":"https://api.github.com/users/utdemir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utdemir/subscriptions","organizations_url":"https://api.github.com/users/utdemir/orgs","repos_url":"https://api.github.com/users/utdemir/repos","events_url":"https://api.github.com/users/utdemir/events{/privacy}","received_events_url":"https://api.github.com/users/utdemir/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":3,"created_at":"2015-10-25T07:55:23Z","updated_at":"2015-11-21T23:03:19Z","closed_at":null,"body":"Hey,\r\n\r\nsassc doesn't compile with pure-darwin.\r\n\r\nSteps to reproduce, using nixpkgs `5c34563`:\r\n\r\n* uname -a\r\n\r\n        Darwin Utkus-MacBook-Pro.local 14.5.0 Darwin Kernel Version 14.5.0: Tue Sep  1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64\r\n\r\n* nix-shell --pure -p sassc\r\n\r\n        make all-am\r\n        make[1]: Entering directory '/private/var/folders/3l/qs29hjmn4pzgvltcrmm0rkp40000gn/T/nix-build-sassc-3.2.4.drv-0/sassc-3.2.4'\r\n        clang -DHAVE_CONFIG_H -I. -Wall -fPIC -DSASSC_VERSION=\"\\\"3.2.4\\\"\" -O2 -I/usr/include -g -O2 -c -o sassc-sassc.o test -f 'sassc.c' || echo './'sassc.c\r\n        /nix/store/lqk1zn0p3b58x5fib175zi9nmz18r5g3-bash-4.3-p42/bin/bash ./libtool --tag=CC --mode=link clang -Wall -fPIC -DSASSC_VERSION=\"\\\"3.2.4\\\"\" -O2 -I/usr/include -g -O2 -std=c++0x -ldl -lsass -lstdc++ -lm -o sassc sassc-sassc.o\r\n        libtool: link: clang -Wall -fPIC -DSASSC_VERSION=\\\"3.2.4\\\" -O2 -I/usr/include -g -O2 -std=c++0x -o sassc sassc-sassc.o -ldl -lsass -lstdc++ -lm\r\n        ld: library not found for -lstdc++\r\n        clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation)\r\n        Makefile:451: recipe for target 'sassc' failed\r\n        make[1]: *** [sassc] Error 1\r\n        make[1]: Leaving directory '/private/var/folders/3l/qs29hjmn4pzgvltcrmm0rkp40000gn/T/nix-build-sassc-3.2.4.drv-0/sassc-3.2.4'\r\n        Makefile:348: recipe for target 'all' failed\r\n        make: *** [all] Error 2\r\n        builder for ‘/nix/store/yq098rhb0rc8qamglia30ja9jy2l0siy-sassc-3.2.4.drv’ failed with exit code 2\r\n        error: build of ‘/nix/store/yq098rhb0rc8qamglia30ja9jy2l0siy-sassc-3.2.4.drv’ failed"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/158689373","html_url":"https://github.com/NixOS/nixpkgs/issues/10595#issuecomment-158689373","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10595","id":158689373,"user":{"login":"cstrahan","id":143982,"avatar_url":"https://avatars.githubusercontent.com/u/143982?v=3","gravatar_id":"","url":"https://api.github.com/users/cstrahan","html_url":"https://github.com/cstrahan","followers_url":"https://api.github.com/users/cstrahan/followers","following_url":"https://api.github.com/users/cstrahan/following{/other_user}","gists_url":"https://api.github.com/users/cstrahan/gists{/gist_id}","starred_url":"https://api.github.com/users/cstrahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cstrahan/subscriptions","organizations_url":"https://api.github.com/users/cstrahan/orgs","repos_url":"https://api.github.com/users/cstrahan/repos","events_url":"https://api.github.com/users/cstrahan/events{/privacy}","received_events_url":"https://api.github.com/users/cstrahan/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T23:03:19Z","updated_at":"2015-11-21T23:03:19Z","body":"I *think* that's because `-lstdc++` should just be `-lc++`."}}