{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/8569","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/8569/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/8569/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/8569/events","html_url":"https://github.com/NixOS/nixpkgs/issues/8569","id":92001607,"number":8569,"title":"cabal2nix cannot be built on darwin because of broken python-gevent","user":{"login":"dmalikov","id":997543,"avatar_url":"https://avatars.githubusercontent.com/u/997543?v=3","gravatar_id":"","url":"https://api.github.com/users/dmalikov","html_url":"https://github.com/dmalikov","followers_url":"https://api.github.com/users/dmalikov/followers","following_url":"https://api.github.com/users/dmalikov/following{/other_user}","gists_url":"https://api.github.com/users/dmalikov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmalikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmalikov/subscriptions","organizations_url":"https://api.github.com/users/dmalikov/orgs","repos_url":"https://api.github.com/users/dmalikov/repos","events_url":"https://api.github.com/users/dmalikov/events{/privacy}","received_events_url":"https://api.github.com/users/dmalikov/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":2,"created_at":"2015-06-30T06:27:19Z","updated_at":"2015-07-03T10:20:40Z","closed_at":null,"body":"```\r\nthese derivations will be built:\r\n  /nix/store/c9jdfph8wmyjm83748bm99bb5djcdw4l-python2.7-gevent-1.0.2.drv\r\n  /nix/store/i0vr126729q5w2zcy775jz66hbpy4hq9-python2.7-geventhttpclient-1.1.0.drv\r\n  /nix/store/hspbwcmfrdah3q72rxqj0qrjrfwxhi82-python2.7-dulwich-0.10.1a.drv\r\n  /nix/store/brl2n8ljrghzkld26lr1840wy6ng830r-python2.7-hg-git-0.8.1.drv\r\n  /nix/store/pmcgjc1nn78vcdp7zs2300v5zzb8nkg3-mercurial-3.3.3.drv\r\n  /nix/store/p354mipadfp533p05zwm84i5f3664wfq-nix-prefetch-scripts.drv\r\n  /nix/store/z2kxfgmh5c9brsany50ky3fw2p7nxh9a-cabal2nix-20150531.drv\r\nbuilding path(s) ‘/nix/store/s04p3634mpqv5gxsadsza74bx7ca1byy-python2.7-gevent-1.0.2’\r\nunpacking sources\r\nunpacking source archive /nix/store/m0k8dcbg5q952x3qxs9ngm0spz0fbvr6-gevent-1.0.2.tar.gz\r\nsource root is gevent-1.0.2\r\npatching sources\r\nconfiguring\r\nbuilding\r\nrunning build\r\nrunning build_py\r\ncreating build\r\ncreating build/lib.macosx-10.7-x86_64-2.7\r\ncreating build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/__init__.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/_ssl2.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/_sslgte279.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/_threading.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/backdoor.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/baseserver.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/coros.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/event.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/fileobject.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/greenlet.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/hub.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/local.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/lock.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/monkey.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/os.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/pool.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/pywsgi.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/queue.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/resolver_ares.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/resolver_thread.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/select.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/server.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/socket.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/ssl.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/subprocess.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/thread.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/threading.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/threadpool.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/timeout.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/util.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/win32util.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\ncopying gevent/wsgi.py -> build/lib.macosx-10.7-x86_64-2.7/gevent\r\nrunning build_ext\r\nRunning '/bin/sh /private/var/folders/4z/wrr232f910s5lk_j2zmn3y1m0000gn/T/nix-build-python2.7-gevent-1.0.2.drv-0/gevent-1.0.2/libev/configure > configure-output.txt' in /private/var/folders/4z/wrr232f910s5lk_j2zmn3y1m0000gn/T/nix-build-python2.7-gevent-1.0.2.drv-0/gevent-1.0.2/build/temp.macosx-10.7-x86_64-2.7/libev\r\nbuilding 'gevent.core' extension\r\ncreating build/temp.macosx-10.7-x86_64-2.7/gevent\r\nclang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -U__llvm__ -DLIBEV_EMBED=1 -DEV_COMMON= -DEV_CLEANUP_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_PERIODIC_ENABLE=0 -Ibuild/temp.macosx-10.7-x86_64-2.7/libev -Ilibev -I/nix/store/m15dqpcqyvfh1hmfgx3wwh05ikgf8lsf-python-2.7.10/include/python2.7 -c gevent/gevent.core.c -o build/temp.macosx-10.7-x86_64-2.7/gevent/gevent.core.o\r\nIn file included from gevent/gevent.core.c:249:\r\nIn file included from gevent/libev.h:2:\r\nlibev/ev.c:483:48: warning: '/*' within block comment [-Wcomment]\r\n/*#define MIN_INTERVAL  0.00000095367431640625 /* 1/2**20, good till 2200 */\r\n                                               ^\r\nlibev/ev.c:1029:42: error: '_Noreturn' keyword must precede function declarator\r\n  ecb_inline void ecb_unreachable (void) ecb_noreturn;\r\n                                         ^~~~~~~~~~~~\r\n  _Noreturn \r\nlibev/ev.c:832:26: note: expanded from macro 'ecb_noreturn'\r\n  #define ecb_noreturn   _Noreturn\r\n                         ^\r\nlibev/ev.c:1625:31: warning: 'extern' variable has an initializer [-Wextern-initializer]\r\n  EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */\r\n                              ^\r\nlibev/ev.c:1796:7: warning: unused variable 'ocur_' [-Wunused-variable]\r\n      array_needsize (ANPENDING, pendings [pri], pendingmax [pri], w_->pending, EMPTY2);\r\n      ^\r\nlibev/ev.c:1758:22: note: expanded from macro 'array_needsize'\r\n      int ecb_unused ocur_ = (cur);                                     \\\r\n                     ^\r\nlibev/ev.c:1807:3: warning: unused variable 'ocur_' [-Wunused-variable]\r\n  array_needsize (W, rfeeds, rfeedmax, rfeedcnt + 1, EMPTY2);\r\n  ^\r\nlibev/ev.c:1758:22: note: expanded from macro 'array_needsize'\r\n      int ecb_unused ocur_ = (cur);                                     \\\r\n                     ^\r\nlibev/ev.c:1934:7: warning: unused variable 'ocur_' [-Wunused-variable]\r\n      array_needsize (int, fdchanges, fdchangemax, fdchangecnt, EMPTY2);\r\n      ^\r\nlibev/ev.c:1758:22: note: expanded from macro 'array_needsize'\r\n      int ecb_unused ocur_ = (cur);                                     \\\r\n                     ^\r\nIn file included from gevent/gevent.core.c:249:\r\nIn file included from gevent/libev.h:2:\r\nIn file included from libev/ev.c:2484:\r\nlibev/ev_kqueue.c:50:3: warning: unused variable 'ocur_' [-Wunused-variable]\r\n  array_needsize (struct kevent, kqueue_changes, kqueue_changemax, kqueue_changecnt, EMPTY2);\r\n  ^\r\nlibev/ev.c:1758:22: note: expanded from macro 'array_needsize'\r\n      int ecb_unused ocur_ = (cur);                                     \\\r\n                     ^\r\nIn file included from gevent/gevent.core.c:249:\r\nIn file included from gevent/libev.h:2:\r\nIn file included from libev/ev.c:2490:\r\nlibev/ev_poll.c:66:7: warning: unused variable 'ocur_' [-Wunused-variable]\r\n      array_needsize (struct pollfd, polls, pollmax, pollcnt, EMPTY2);\r\n      ^\r\nlibev/ev.c:1758:22: note: expanded from macro 'array_needsize'\r\n      int ecb_unused ocur_ = (cur);                                     \\\r\n                     ^\r\nlibev/ev.c:3648:34: warning: '&' within '|' [-Wbitwise-op-parentheses]\r\n  fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);\r\n                       ~~~~~~~~~~^~~~~~~~~~~~~ ~\r\nlibev/ev.c:3648:34: note: place parentheses around the '&' expression to silence this warning\r\n  fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);\r\n                                 ^\r\n                       (                      )\r\nlibev/ev.c:3687:3: warning: unused variable 'ocur_' [-Wunused-variable]\r\n  array_needsize (ANHE, timers, timermax, ev_active (w) + 1, EMPTY2);\r\n  ^\r\nlibev/ev.c:1758:22: note: expanded from macro 'array_needsize'\r\n      int ecb_unused ocur_ = (cur);                                     \\\r\n                     ^\r\nlibev/ev.c:4367:5: warning: unused variable 'ocur_' [-Wunused-variable]\r\n    array_needsize (ev_idle *, idles [ABSPRI (w)], idlemax [ABSPRI (w)], active, EMPTY2);\r\n    ^\r\nlibev/ev.c:1758:22: note: expanded from macro 'array_needsize'\r\n      int ecb_unused ocur_ = (cur);                                     \\\r\n                     ^\r\nlibev/ev.c:4407:3: warning: unused variable 'ocur_' [-Wunused-variable]\r\n  array_needsize (ev_prepare *, prepares, preparemax, preparecnt, EMPTY2);\r\n  ^\r\nlibev/ev.c:1758:22: note: expanded from macro 'array_needsize'\r\n      int ecb_unused ocur_ = (cur);                                     \\\r\n                     ^\r\nlibev/ev.c:4445:3: warning: unused variable 'ocur_' [-Wunused-variable]\r\n  array_needsize (ev_check *, checks, checkmax, checkcnt, EMPTY2);\r\n  ^\r\nlibev/ev.c:1758:22: note: expanded from macro 'array_needsize'\r\n      int ecb_unused ocur_ = (cur);                                     \\\r\n                     ^\r\nlibev/ev.c:4592:3: warning: unused variable 'ocur_' [-Wunused-variable]\r\n  array_needsize (ev_fork *, forks, forkmax, forkcnt, EMPTY2);\r\n  ^\r\nlibev/ev.c:1758:22: note: expanded from macro 'array_needsize'\r\n      int ecb_unused ocur_ = (cur);                                     \\\r\n                     ^\r\nlibev/ev.c:4675:3: warning: unused variable 'ocur_' [-Wunused-variable]\r\n  array_needsize (ev_async *, asyncs, asyncmax, asynccnt, EMPTY2);\r\n  ^\r\nlibev/ev.c:1758:22: note: expanded from macro 'array_needsize'\r\n      int ecb_unused ocur_ = (cur);                                     \\\r\n                     ^\r\n14 warnings and 1 error generated.\r\nerror: command 'clang' failed with exit status 1\r\nbuilder for ‘/nix/store/c9jdfph8wmyjm83748bm99bb5djcdw4l-python2.7-gevent-1.0.2.drv’ failed with exit code 1\r\ncannot build derivation ‘/nix/store/hspbwcmfrdah3q72rxqj0qrjrfwxhi82-python2.7-dulwich-0.10.1a.drv’: 1 dependencies couldn't be built\r\ncannot build derivation ‘/nix/store/pmcgjc1nn78vcdp7zs2300v5zzb8nkg3-mercurial-3.3.3.drv’: 1 dependencies couldn't be built\r\ncannot build derivation ‘/nix/store/p354mipadfp533p05zwm84i5f3664wfq-nix-prefetch-scripts.drv’: 1 dependencies couldn't be built\r\ncannot build derivation ‘/nix/store/z2kxfgmh5c9brsany50ky3fw2p7nxh9a-cabal2nix-20150531.drv’: 1 dependencies couldn't be built\r\nerror: build of ‘/nix/store/z2kxfgmh5c9brsany50ky3fw2p7nxh9a-cabal2nix-20150531.drv’ failed\r\n/Users/m/.nix-profile/bin/nix-shell: failed to build all dependencies\r\n```"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/118306982","html_url":"https://github.com/NixOS/nixpkgs/issues/8569#issuecomment-118306982","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/8569","id":118306982,"user":{"login":"aflatter","id":168,"avatar_url":"https://avatars.githubusercontent.com/u/168?v=3","gravatar_id":"","url":"https://api.github.com/users/aflatter","html_url":"https://github.com/aflatter","followers_url":"https://api.github.com/users/aflatter/followers","following_url":"https://api.github.com/users/aflatter/following{/other_user}","gists_url":"https://api.github.com/users/aflatter/gists{/gist_id}","starred_url":"https://api.github.com/users/aflatter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aflatter/subscriptions","organizations_url":"https://api.github.com/users/aflatter/orgs","repos_url":"https://api.github.com/users/aflatter/repos","events_url":"https://api.github.com/users/aflatter/events{/privacy}","received_events_url":"https://api.github.com/users/aflatter/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T10:20:40Z","updated_at":"2015-07-03T10:20:40Z","body":"Seems to work for me."}}