{"action":"created","issue":{"url":"https://api.github.com/repos/LLNL/spack/issues/3691","repository_url":"https://api.github.com/repos/LLNL/spack","labels_url":"https://api.github.com/repos/LLNL/spack/issues/3691/labels{/name}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/3691/comments","events_url":"https://api.github.com/repos/LLNL/spack/issues/3691/events","html_url":"https://github.com/LLNL/spack/pull/3691","id":219343806,"number":3691,"title":"[WIP] Fixes needed to build htop","user":{"login":"adamjstewart","id":12021217,"avatar_url":"https://avatars1.githubusercontent.com/u/12021217?v=3","gravatar_id":"","url":"https://api.github.com/users/adamjstewart","html_url":"https://github.com/adamjstewart","followers_url":"https://api.github.com/users/adamjstewart/followers","following_url":"https://api.github.com/users/adamjstewart/following{/other_user}","gists_url":"https://api.github.com/users/adamjstewart/gists{/gist_id}","starred_url":"https://api.github.com/users/adamjstewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamjstewart/subscriptions","organizations_url":"https://api.github.com/users/adamjstewart/orgs","repos_url":"https://api.github.com/users/adamjstewart/repos","events_url":"https://api.github.com/users/adamjstewart/events{/privacy}","received_events_url":"https://api.github.com/users/adamjstewart/received_events","type":"User","site_admin":false},"labels":[{"id":446620495,"url":"https://api.github.com/repos/LLNL/spack/labels/WIP","name":"WIP","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-04-04T18:37:31Z","updated_at":"2017-04-05T16:43:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/LLNL/spack/pulls/3691","html_url":"https://github.com/LLNL/spack/pull/3691","diff_url":"https://github.com/LLNL/spack/pull/3691.diff","patch_url":"https://github.com/LLNL/spack/pull/3691.patch"},"body":"Fixes #3593.\r\n\r\nWithout this Makefile patch, I wasn't able to build htop on CentOS 6. I ran into the same bug as reported [here](https://github.com/hishamhm/htop/issues/198).\r\n\r\nI also noticed that even though `htop` depends on `ncurses`, it isn't linking to the Spack `ncurses` installation:\r\n```\r\n$ ldd -r htop \r\n\tlinux-vdso.so.1 =>  (0x00007ffe38ffb000)\r\n\tlibncursesw.so.5 => /lib64/libncursesw.so.5 (0x00002aec5e5d7000)\r\n\tlibm.so.6 => /lib64/libm.so.6 (0x00002aec5e805000)\r\n\tlibtinfo.so.5 => /lib64/libtinfo.so.5 (0x00002aec5ea89000)\r\n\tlibgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002aec5ecab000)\r\n\tlibc.so.6 => /lib64/libc.so.6 (0x00002aec5eec1000)\r\n\tlibdl.so.2 => /lib64/libdl.so.2 (0x00002aec5f255000)\r\n\t/lib64/ld-linux-x86-64.so.2 (0x00002aec5e3b5000)\r\n```\r\nMy understanding is that by default ncurses builds a `libncurses.so` library. If you add the `--enable-widec` flag, it instead builds a `libncursesw.so` library. But even though we pass that flag to configure, it doesn't seem to create the \"w\" versions of the library. Does anyone know why that could be the case? I sent a bug report to the ncurses developers."},"comment":{"url":"https://api.github.com/repos/LLNL/spack/issues/comments/291922128","html_url":"https://github.com/LLNL/spack/pull/3691#issuecomment-291922128","issue_url":"https://api.github.com/repos/LLNL/spack/issues/3691","id":291922128,"user":{"login":"adamjstewart","id":12021217,"avatar_url":"https://avatars1.githubusercontent.com/u/12021217?v=3","gravatar_id":"","url":"https://api.github.com/users/adamjstewart","html_url":"https://github.com/adamjstewart","followers_url":"https://api.github.com/users/adamjstewart/followers","following_url":"https://api.github.com/users/adamjstewart/following{/other_user}","gists_url":"https://api.github.com/users/adamjstewart/gists{/gist_id}","starred_url":"https://api.github.com/users/adamjstewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamjstewart/subscriptions","organizations_url":"https://api.github.com/users/adamjstewart/orgs","repos_url":"https://api.github.com/users/adamjstewart/repos","events_url":"https://api.github.com/users/adamjstewart/events{/privacy}","received_events_url":"https://api.github.com/users/adamjstewart/received_events","type":"User","site_admin":false},"created_at":"2017-04-05T16:43:20Z","updated_at":"2017-04-05T16:43:20Z","body":"Yep, I'll close it when this PR is merged."}}
{"actor":{"display_login":"adamjstewart"}}