{"action":"created","issue":{"url":"https://api.github.com/repos/healpy/healpy/issues/455","repository_url":"https://api.github.com/repos/healpy/healpy","labels_url":"https://api.github.com/repos/healpy/healpy/issues/455/labels{/name}","comments_url":"https://api.github.com/repos/healpy/healpy/issues/455/comments","events_url":"https://api.github.com/repos/healpy/healpy/issues/455/events","html_url":"https://github.com/healpy/healpy/issues/455","id":331998674,"node_id":"MDU6SXNzdWUzMzE5OTg2NzQ=","number":455,"title":"Compilation error on OSX for healpy 1.12.0","user":{"login":"zonca","id":383090,"node_id":"MDQ6VXNlcjM4MzA5MA==","avatar_url":"https://avatars3.githubusercontent.com/u/383090?v=4","gravatar_id":"","url":"https://api.github.com/users/zonca","html_url":"https://github.com/zonca","followers_url":"https://api.github.com/users/zonca/followers","following_url":"https://api.github.com/users/zonca/following{/other_user}","gists_url":"https://api.github.com/users/zonca/gists{/gist_id}","starred_url":"https://api.github.com/users/zonca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonca/subscriptions","organizations_url":"https://api.github.com/users/zonca/orgs","repos_url":"https://api.github.com/users/zonca/repos","events_url":"https://api.github.com/users/zonca/events{/privacy}","received_events_url":"https://api.github.com/users/zonca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"zonca","id":383090,"node_id":"MDQ6VXNlcjM4MzA5MA==","avatar_url":"https://avatars3.githubusercontent.com/u/383090?v=4","gravatar_id":"","url":"https://api.github.com/users/zonca","html_url":"https://github.com/zonca","followers_url":"https://api.github.com/users/zonca/followers","following_url":"https://api.github.com/users/zonca/following{/other_user}","gists_url":"https://api.github.com/users/zonca/gists{/gist_id}","starred_url":"https://api.github.com/users/zonca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonca/subscriptions","organizations_url":"https://api.github.com/users/zonca/orgs","repos_url":"https://api.github.com/users/zonca/repos","events_url":"https://api.github.com/users/zonca/events{/privacy}","received_events_url":"https://api.github.com/users/zonca/received_events","type":"User","site_admin":false},"assignees":[{"login":"zonca","id":383090,"node_id":"MDQ6VXNlcjM4MzA5MA==","avatar_url":"https://avatars3.githubusercontent.com/u/383090?v=4","gravatar_id":"","url":"https://api.github.com/users/zonca","html_url":"https://github.com/zonca","followers_url":"https://api.github.com/users/zonca/followers","following_url":"https://api.github.com/users/zonca/following{/other_user}","gists_url":"https://api.github.com/users/zonca/gists{/gist_id}","starred_url":"https://api.github.com/users/zonca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonca/subscriptions","organizations_url":"https://api.github.com/users/zonca/orgs","repos_url":"https://api.github.com/users/zonca/repos","events_url":"https://api.github.com/users/zonca/events{/privacy}","received_events_url":"https://api.github.com/users/zonca/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2018-06-13T13:37:42Z","updated_at":"2018-06-15T08:46:43Z","closed_at":null,"author_association":"MEMBER","body":"I am trying to build a conda package for OSX, but I get a compilation error:\r\n\r\n```\r\n+ source /Users/travis/miniconda3/bin/activate /Users/travis/miniconda3/conda-bld/healpy_1528849173188/_t_env\r\n+ /Users/travis/miniconda3/conda-bld/healpy_1528849173188/_t_env/bin/python -s /Users/travis/miniconda3/conda-bld/healpy_1528849173188/test_tmp/run_test.py\r\n/Users/travis/miniconda3/conda-bld/healpy_1528849173188/_t_env/lib/python3.6/site-packages/healpy/pixelfunc.py:107: UserWarning: Warning: cannot import _healpy_pixel_lib module\r\n  warnings.warn(\"Warning: cannot import _healpy_pixel_lib module\")\r\nimport: 'healpy'\r\nTraceback (most recent call last):\r\n  File \"/Users/travis/miniconda3/conda-bld/healpy_1528849173188/test_tmp/run_test.py\", line 2, in <module>\r\n    import healpy\r\n  File \"/Users/travis/miniconda3/conda-bld/healpy_1528849173188/_t_env/lib/python3.6/site-packages/healpy/__init__.py\", line 81, in <module>\r\n    from ._query_disc import query_disc, query_strip, query_polygon, boundaries\r\nImportError: dlopen(/Users/travis/miniconda3/conda-bld/healpy_1528849173188/_t_env/lib/python3.6/site-packages/healpy/_query_disc.cpython-36m-darwin.so, 2): Symbol not found: __ZN14T_Healpix_BaseIlE8SetNsideEl23Healpix_Ordering_Scheme\r\n  Referenced from: /Users/travis/miniconda3/conda-bld/healpy_1528849173188/_t_env/lib/python3.6/site-packages/healpy/_query_disc.cpython-36m-darwin.so\r\n  Expected in: flat namespace\r\n in /Users/travis/miniconda3/conda-bld/healpy_1528849173188/_t_env/lib/python3.6/site-packages/healpy/_query_disc.cpython-36m-darwin.so\r\nTESTS FAILED: healpy-1.12.0-py36_1.tar.bz2\r\n```\r\n\r\n@mreineck would you have a suggestion on what could be the problem? It was compiling fine 1.11.0\r\n\r\nSee full log here: https://travis-ci.org/conda-forge/healpy-feedstock/jobs/391491099\r\nThe source code is in https://github.com/conda-forge/healpy-feedstock"},"comment":{"url":"https://api.github.com/repos/healpy/healpy/issues/comments/397555788","html_url":"https://github.com/healpy/healpy/issues/455#issuecomment-397555788","issue_url":"https://api.github.com/repos/healpy/healpy/issues/455","id":397555788,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzU1NTc4OA==","user":{"login":"hivon","id":5593101,"node_id":"MDQ6VXNlcjU1OTMxMDE=","avatar_url":"https://avatars1.githubusercontent.com/u/5593101?v=4","gravatar_id":"","url":"https://api.github.com/users/hivon","html_url":"https://github.com/hivon","followers_url":"https://api.github.com/users/hivon/followers","following_url":"https://api.github.com/users/hivon/following{/other_user}","gists_url":"https://api.github.com/users/hivon/gists{/gist_id}","starred_url":"https://api.github.com/users/hivon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hivon/subscriptions","organizations_url":"https://api.github.com/users/hivon/orgs","repos_url":"https://api.github.com/users/hivon/repos","events_url":"https://api.github.com/users/hivon/events{/privacy}","received_events_url":"https://api.github.com/users/hivon/received_events","type":"User","site_admin":false},"created_at":"2018-06-15T08:46:43Z","updated_at":"2018-06-15T08:46:43Z","author_association":"NONE","body":"It seems that there are 2 problems: one tied to libsharp, one with the C++ compiler:\r\nI compiled and installed healpy 1.12.0 from sources, on MacOSX 10.13.4 (I don't have any preinstalled libsharp).\r\nWhen using gcc 5.3 or clang 9.1, the compilation and installation went smoothly, but the 'import healpy' failed because the symbol __ZN14T_Healpix_BaseIlE8SetNsideEl23Healpix_Ordering_Scheme was not found.\r\nHowever, everything is fine with gcc 8.1 (installed from http://hpc.sourceforge.net/).\r\nSo, together with @keskitalo experience: gcc 7 and 8 are OK, but not gcc 5.3 nor clang 9.1."}}
{"actor":{"display_login":"hivon"}}