{"action":"created","issue":{"url":"https://api.github.com/repos/nipy/nipy/issues/342","labels_url":"https://api.github.com/repos/nipy/nipy/issues/342/labels{/name}","comments_url":"https://api.github.com/repos/nipy/nipy/issues/342/comments","events_url":"https://api.github.com/repos/nipy/nipy/issues/342/events","html_url":"https://github.com/nipy/nipy/issues/342","id":103076152,"number":342,"title":"Linking errors, probably from \"remove lapack linking\" branch","user":{"login":"matthew-brett","id":67612,"avatar_url":"https://avatars.githubusercontent.com/u/67612?v=3","gravatar_id":"","url":"https://api.github.com/users/matthew-brett","html_url":"https://github.com/matthew-brett","followers_url":"https://api.github.com/users/matthew-brett/followers","following_url":"https://api.github.com/users/matthew-brett/following{/other_user}","gists_url":"https://api.github.com/users/matthew-brett/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew-brett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew-brett/subscriptions","organizations_url":"https://api.github.com/users/matthew-brett/orgs","repos_url":"https://api.github.com/users/matthew-brett/repos","events_url":"https://api.github.com/users/matthew-brett/events{/privacy}","received_events_url":"https://api.github.com/users/matthew-brett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-25T17:23:50Z","updated_at":"2015-08-25T21:18:49Z","closed_at":null,"body":"Before we merged #328 - we weren't getting any link errors - see https://travis-ci.org/nipy/nipy/builds/56913971\r\n\r\nAfter we merged #328 - the Python 3 build broke down, probably for unrelated reasons - see #338 . \r\n\r\nRe-enabling the Python 3 build (#341) we now have 12 linking errors - see : https://travis-ci.org/matthew-brett/nipy/jobs/77184112\r\n\r\nErrors are of form:\r\n\r\n```\r\nImportError: /home/travis/build/matthew-brett/nipy/venv/lib/python3.4/site-packages/nipy/labs/utils/routines.cpython-34m.so: undefined symbol: PyCObject_AsVoidPtr\r\n```\r\n\r\nThis is only for Python 3 - no link errors for Python 2:\r\n\r\nhttps://travis-ci.org/matthew-brett/nipy/jobs/77184109\r\n\r\n@alexis-roche - I think these are from the lapack merge - is that possible?"},"comment":{"url":"https://api.github.com/repos/nipy/nipy/issues/comments/134744751","html_url":"https://github.com/nipy/nipy/issues/342#issuecomment-134744751","issue_url":"https://api.github.com/repos/nipy/nipy/issues/342","id":134744751,"user":{"login":"alexis-roche","id":234041,"avatar_url":"https://avatars.githubusercontent.com/u/234041?v=3","gravatar_id":"","url":"https://api.github.com/users/alexis-roche","html_url":"https://github.com/alexis-roche","followers_url":"https://api.github.com/users/alexis-roche/followers","following_url":"https://api.github.com/users/alexis-roche/following{/other_user}","gists_url":"https://api.github.com/users/alexis-roche/gists{/gist_id}","starred_url":"https://api.github.com/users/alexis-roche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexis-roche/subscriptions","organizations_url":"https://api.github.com/users/alexis-roche/orgs","repos_url":"https://api.github.com/users/alexis-roche/repos","events_url":"https://api.github.com/users/alexis-roche/events{/privacy}","received_events_url":"https://api.github.com/users/alexis-roche/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T21:18:49Z","updated_at":"2015-08-25T21:18:49Z","body":"Oh, yes, this is due to a change in the Python C API from 2.7 to 3. My code uses Python CObjects, which turn out to be deprecated as of Python 2.7, and are probably no longer supported in Python 3 (https://docs.python.org/2/c-api/cobject.html). I think I see how to fix this using the new \"PyCapsule\" object, and will submit a patch later this week."}}