{"action":"created","issue":{"url":"https://api.github.com/repos/spack/spack/issues/8906","repository_url":"https://api.github.com/repos/spack/spack","labels_url":"https://api.github.com/repos/spack/spack/issues/8906/labels{/name}","comments_url":"https://api.github.com/repos/spack/spack/issues/8906/comments","events_url":"https://api.github.com/repos/spack/spack/issues/8906/events","html_url":"https://github.com/spack/spack/issues/8906","id":348195675,"node_id":"MDU6SXNzdWUzNDgxOTU2NzU=","number":8906,"title":"openmpi fails with libopen-pal.so: undefined reference to opal_libevent2022_*","user":{"login":"witlox","id":4548372,"node_id":"MDQ6VXNlcjQ1NDgzNzI=","avatar_url":"https://avatars1.githubusercontent.com/u/4548372?v=4","gravatar_id":"","url":"https://api.github.com/users/witlox","html_url":"https://github.com/witlox","followers_url":"https://api.github.com/users/witlox/followers","following_url":"https://api.github.com/users/witlox/following{/other_user}","gists_url":"https://api.github.com/users/witlox/gists{/gist_id}","starred_url":"https://api.github.com/users/witlox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/witlox/subscriptions","organizations_url":"https://api.github.com/users/witlox/orgs","repos_url":"https://api.github.com/users/witlox/repos","events_url":"https://api.github.com/users/witlox/events{/privacy}","received_events_url":"https://api.github.com/users/witlox/received_events","type":"User","site_admin":false},"labels":[{"id":446616547,"node_id":"MDU6TGFiZWw0NDY2MTY1NDc=","url":"https://api.github.com/repos/spack/spack/labels/build-error","name":"build-error","color":"ff3300","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-07T07:13:51Z","updated_at":"2018-12-30T01:44:25Z","closed_at":null,"author_association":"NONE","body":"when trying to run a `spack install openmpi +pmi schedulers=slurm` the following error is thrown during the build process:\r\n```\r\nmake[2]: Entering directory '/tmp/ubuntu/spack-stage/spack-stage-sjG1KM/openmpi-3.1.1/opal/tools/wrappers'\r\n  CC       opal_wrapper.o\r\n  GENERATE opal_wrapper.1\r\n  CCLD     opal_wrapper\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_event_base_priority_init'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_event_base_loop'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_event_base_free'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_event_add'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_event_base_loopbreak'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_event_reinit'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_event_del'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_pollops'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_event_config_free'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_epollops'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_event_priority_set'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_event_assign'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_event_config_new'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_selectops'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_event_config_avoid_method'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_event_enable_debug_mode'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_evthread_use_pthreads'\r\n../../../opal/.libs/libopen-pal.so: undefined reference to `opal_libevent2022_event_base_new_with_config'\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:1875: recipe for target 'opal_wrapper' failed\r\n```\r\nSpack has been setup on Ubuntu 18.04 LTS, and we are running the compilation with gcc 5.5.0 (also tried with gcc 7.3.0, same error). It looks like there is a problem with libevent which is not resolved correctly. Is this a known problem, or am I doing something completely wrong?\r\n\r\n[spack-build.out.txt](https://github.com/spack/spack/files/2265384/spack-build.out.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/spack/spack/issues/comments/450533475","html_url":"https://github.com/spack/spack/issues/8906#issuecomment-450533475","issue_url":"https://api.github.com/repos/spack/spack/issues/8906","id":450533475,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDUzMzQ3NQ==","user":{"login":"Zwilla","id":1945741,"node_id":"MDQ6VXNlcjE5NDU3NDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1945741?v=4","gravatar_id":"","url":"https://api.github.com/users/Zwilla","html_url":"https://github.com/Zwilla","followers_url":"https://api.github.com/users/Zwilla/followers","following_url":"https://api.github.com/users/Zwilla/following{/other_user}","gists_url":"https://api.github.com/users/Zwilla/gists{/gist_id}","starred_url":"https://api.github.com/users/Zwilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zwilla/subscriptions","organizations_url":"https://api.github.com/users/Zwilla/orgs","repos_url":"https://api.github.com/users/Zwilla/repos","events_url":"https://api.github.com/users/Zwilla/events{/privacy}","received_events_url":"https://api.github.com/users/Zwilla/received_events","type":"User","site_admin":false},"created_at":"2018-12-30T01:44:25Z","updated_at":"2018-12-30T01:44:25Z","author_association":"NONE","body":"try this: --with-hwloc=internal I have now a valid build"}}
{"actor":{"display_login":"Zwilla"}}