{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/4689","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/4689/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/4689/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/4689/events","html_url":"https://github.com/NixOS/nixpkgs/issues/4689","id":46958463,"number":4689,"title":"OpenSP fails to build on Darwin 10.10","user":{"login":"wolverian","id":42124,"avatar_url":"https://avatars.githubusercontent.com/u/42124?v=3","gravatar_id":"","url":"https://api.github.com/users/wolverian","html_url":"https://github.com/wolverian","followers_url":"https://api.github.com/users/wolverian/followers","following_url":"https://api.github.com/users/wolverian/following{/other_user}","gists_url":"https://api.github.com/users/wolverian/gists{/gist_id}","starred_url":"https://api.github.com/users/wolverian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolverian/subscriptions","organizations_url":"https://api.github.com/users/wolverian/orgs","repos_url":"https://api.github.com/users/wolverian/repos","events_url":"https://api.github.com/users/wolverian/events{/privacy}","received_events_url":"https://api.github.com/users/wolverian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/bug","name":"bug","color":"fc2929"},{"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":"2014-10-27T20:57:13Z","updated_at":"2015-01-18T22:54:52Z","closed_at":null,"body":"This is unfortunate because `git` depends on it.\r\n\r\n~~~\r\ngcc -c -DLOCALEDIR=\\\"/nix/store/0p5ya14ch65mj383nadhanzyrlwwlzj9-opensp-1.5.2/share/locale\\\" -DLOCALE_ALIAS_PATH=\\\"/nix/store/0p5ya14ch65mj383nadhanzyrlwwlzj9-opensp-1.5.2/share/locale\\\" -DLIBDIR=\\\"/nix/store/0p5ya14ch65mj383nadhanzyrlwwlzj9-opensp-1.5.2/lib\\\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\\\"/nix/store/0p5ya14ch65mj383nadhanzyrlwwlzj9-opensp-1.5.2/lib\\\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -I/System/Library/Frameworks/CoreFoundation.framework/Headers -g -O2  langprefs.c\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/dispatch/dispatch.h:51:0,\r\n                 from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15,\r\n                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13,\r\n                 from langprefs.c:30:\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/dispatch/object.h:143:15: error: expected identifier or '(' before '^' token\r\n typedef void (^dispatch_block_t)(void);\r\n               ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/dispatch/object.h:362:3: error: unknown type name 'dispatch_block_t'\r\n   dispatch_block_t notification_block);\r\n   ^\r\nmake[2]: *** [langprefs.o] Error 1\r\nmake[2]: Leaving directory `/private/var/folders/tb/fd9m19v57dl0tyvnb66wgw_h0000gn/T/nix-build-opensp-1.5.2.drv-0/OpenSP-1.5.2/intl'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/private/var/folders/tb/fd9m19v57dl0tyvnb66wgw_h0000gn/T/nix-build-opensp-1.5.2.drv-0/OpenSP-1.5.2'\r\nmake: *** [all] Error 2\r\nbuilder for ‘/nix/store/47lwvadrkl0ddv9iqn42zgjxs15i31zd-opensp-1.5.2.drv’ failed with exit code 2\r\n~~~\r\n\r\nThis is with:\r\n\r\n~~~\r\n% cc --version\r\nApple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)\r\nTarget: x86_64-apple-darwin14.0.0\r\nThread model: posix\r\n% gcc --version\r\nConfigured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1\r\nApple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)\r\nTarget: x86_64-apple-darwin14.0.0\r\nThread model: posix\r\n% uname -a\r\nDarwin blindsight.local 14.0.0 Darwin Kernel Version 14.0.0: Tue Sep 23 23:01:41 PDT 2014; root:xnu-2782.1.97~6/RELEASE_X86_64 x86_64\r\n~~~"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/70430635","html_url":"https://github.com/NixOS/nixpkgs/issues/4689#issuecomment-70430635","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/4689","id":70430635,"user":{"login":"blast-hardcheese","id":278900,"avatar_url":"https://avatars.githubusercontent.com/u/278900?v=3","gravatar_id":"","url":"https://api.github.com/users/blast-hardcheese","html_url":"https://github.com/blast-hardcheese","followers_url":"https://api.github.com/users/blast-hardcheese/followers","following_url":"https://api.github.com/users/blast-hardcheese/following{/other_user}","gists_url":"https://api.github.com/users/blast-hardcheese/gists{/gist_id}","starred_url":"https://api.github.com/users/blast-hardcheese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blast-hardcheese/subscriptions","organizations_url":"https://api.github.com/users/blast-hardcheese/orgs","repos_url":"https://api.github.com/users/blast-hardcheese/repos","events_url":"https://api.github.com/users/blast-hardcheese/events{/privacy}","received_events_url":"https://api.github.com/users/blast-hardcheese/received_events","type":"User","site_admin":false},"created_at":"2015-01-18T22:54:52Z","updated_at":"2015-01-18T22:54:52Z","body":"Apparently, a workaround is to point your `NIX_PATH` at a clone of https://github.com/joelteon/nixpkgs\r\n\r\nWhen I need to build something that needs OpenSP, I run:\r\n`export NIX_PATH='nixpkgs=/Users/blast/Projects/nix/ynixpkgs'`, where ynixpkgs is an up-to-date clone of @joelteon's repo.\r\n"}}