{"action":"created","issue":{"url":"https://api.github.com/repos/cdeil/healpix/issues/3","repository_url":"https://api.github.com/repos/cdeil/healpix","labels_url":"https://api.github.com/repos/cdeil/healpix/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/cdeil/healpix/issues/3/comments","events_url":"https://api.github.com/repos/cdeil/healpix/issues/3/events","html_url":"https://github.com/cdeil/healpix/issues/3","id":175096572,"number":3,"title":"Cython build error","user":{"login":"cdeil","id":852409,"avatar_url":"https://avatars.githubusercontent.com/u/852409?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cdeil/healpix/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/cdeil/healpix/milestones/1","html_url":"https://github.com/cdeil/healpix/milestones/0.1","labels_url":"https://api.github.com/repos/cdeil/healpix/milestones/1/labels","id":1984366,"number":1,"title":"0.1","description":"","creator":{"login":"cdeil","id":852409,"avatar_url":"https://avatars.githubusercontent.com/u/852409?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2016-09-05T14:31:21Z","updated_at":"2016-09-05T15:51:55Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-09-05T15:49:14Z","updated_at":"2016-09-05T17:11:08Z","closed_at":null,"body":"I'm setting up this new `healpix` repo that's supposed to contain a C library wrapped with Cython and built using astropy-helpers.\r\n\r\nHere's what I tried:\r\nhttps://github.com/cdeil/healpix/tree/master/healpix/raw\r\n\r\nBut I'm getting this error:\r\n```\r\n$ python setup.py test -V\r\nrunning test\r\nrunning build\r\nrunning build_py\r\ncopying healpix/version.py -> build/lib.macosx-10.11-x86_64-3.5/healpix\r\ncopying healpix/raw/wrap.c -> build/lib.macosx-10.11-x86_64-3.5/healpix/raw\r\nrunning build_ext\r\nskipping 'healpix/raw/wrap.c' Cython extension (up-to-date)\r\n/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/astropy/utils/introspection.py:153: UserWarning: Module healpix was already imported from /private/var/folders/sb/4qv5j4m90pz1rw7m70rj1b1r0000gn/T/healpix-test-kd3w3l71/lib.macosx-10.11-x86_64-3.5/healpix/__init__.py, but /Users/deil/Library/Python/3.5/lib/python/site-packages/healpix-0.1.dev0-py3.5.egg is being added to sys.path\r\n  from pkg_resources import parse_version\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"/private/var/folders/sb/4qv5j4m90pz1rw7m70rj1b1r0000gn/T/healpix-test-kd3w3l71/lib.macosx-10.11-x86_64-3.5/healpix/__init__.py\", line 27, in <module>\r\n    from . import raw\r\n  File \"/private/var/folders/sb/4qv5j4m90pz1rw7m70rj1b1r0000gn/T/healpix-test-kd3w3l71/lib.macosx-10.11-x86_64-3.5/healpix/raw/__init__.py\", line 4, in <module>\r\n    from .wrap import *\r\nImportError: dlopen(/private/var/folders/sb/4qv5j4m90pz1rw7m70rj1b1r0000gn/T/healpix-test-kd3w3l71/lib.macosx-10.11-x86_64-3.5/healpix/raw/wrap.cpython-35m-darwin.so, 2): Symbol not found: _fourty_two_c_function\r\n  Referenced from: /private/var/folders/sb/4qv5j4m90pz1rw7m70rj1b1r0000gn/T/healpix-test-kd3w3l71/lib.macosx-10.11-x86_64-3.5/healpix/raw/wrap.cpython-35m-darwin.so\r\n  Expected in: flat namespace\r\n in /private/var/folders/sb/4qv5j4m90pz1rw7m70rj1b1r0000gn/T/healpix-test-kd3w3l71/lib.macosx-10.11-x86_64-3.5/healpix/raw/wrap.cpython-35m-darwin.so\r\n```\r\n\r\nUsing just Cython works, but calling into the C function doesn't work.\r\n\r\n@bsipicz @astrofrog @larrybradley @kbarbary - Can one of you please have a look and tell me what I'm doing wrong?"},"comment":{"url":"https://api.github.com/repos/cdeil/healpix/issues/comments/244787983","html_url":"https://github.com/cdeil/healpix/issues/3#issuecomment-244787983","issue_url":"https://api.github.com/repos/cdeil/healpix/issues/3","id":244787983,"user":{"login":"kbarbary","id":970135,"avatar_url":"https://avatars.githubusercontent.com/u/970135?v=3","gravatar_id":"","url":"https://api.github.com/users/kbarbary","html_url":"https://github.com/kbarbary","followers_url":"https://api.github.com/users/kbarbary/followers","following_url":"https://api.github.com/users/kbarbary/following{/other_user}","gists_url":"https://api.github.com/users/kbarbary/gists{/gist_id}","starred_url":"https://api.github.com/users/kbarbary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbarbary/subscriptions","organizations_url":"https://api.github.com/users/kbarbary/orgs","repos_url":"https://api.github.com/users/kbarbary/repos","events_url":"https://api.github.com/users/kbarbary/events{/privacy}","received_events_url":"https://api.github.com/users/kbarbary/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T17:11:08Z","updated_at":"2016-09-05T17:11:08Z","body":"Have you actually defined the C function `fourty_two_c_function` somewhere? All I see is the declaration in the header."}}
{"actor":{"display_login":"kbarbary"}}