{"action":"created","issue":{"url":"https://api.github.com/repos/hpcugent/easybuild-easyconfigs/issues/2206","labels_url":"https://api.github.com/repos/hpcugent/easybuild-easyconfigs/issues/2206/labels{/name}","comments_url":"https://api.github.com/repos/hpcugent/easybuild-easyconfigs/issues/2206/comments","events_url":"https://api.github.com/repos/hpcugent/easybuild-easyconfigs/issues/2206/events","html_url":"https://github.com/hpcugent/easybuild-easyconfigs/pull/2206","id":121454599,"number":2206,"title":"Update all libreadline easyconfig to link to ncurses","user":{"login":"wpoely86","id":424570,"avatar_url":"https://avatars.githubusercontent.com/u/424570?v=3","gravatar_id":"","url":"https://api.github.com/users/wpoely86","html_url":"https://github.com/wpoely86","followers_url":"https://api.github.com/users/wpoely86/followers","following_url":"https://api.github.com/users/wpoely86/following{/other_user}","gists_url":"https://api.github.com/users/wpoely86/gists{/gist_id}","starred_url":"https://api.github.com/users/wpoely86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wpoely86/subscriptions","organizations_url":"https://api.github.com/users/wpoely86/orgs","repos_url":"https://api.github.com/users/wpoely86/repos","events_url":"https://api.github.com/users/wpoely86/events{/privacy}","received_events_url":"https://api.github.com/users/wpoely86/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/hpcugent/easybuild-easyconfigs/milestones/25","html_url":"https://github.com/hpcugent/easybuild-easyconfigs/milestones/v2.5.0","labels_url":"https://api.github.com/repos/hpcugent/easybuild-easyconfigs/milestones/25/labels","id":1384160,"number":25,"title":"v2.5.0","description":"","creator":{"login":"boegel","id":620876,"avatar_url":"https://avatars.githubusercontent.com/u/620876?v=3","gravatar_id":"","url":"https://api.github.com/users/boegel","html_url":"https://github.com/boegel","followers_url":"https://api.github.com/users/boegel/followers","following_url":"https://api.github.com/users/boegel/following{/other_user}","gists_url":"https://api.github.com/users/boegel/gists{/gist_id}","starred_url":"https://api.github.com/users/boegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boegel/subscriptions","organizations_url":"https://api.github.com/users/boegel/orgs","repos_url":"https://api.github.com/users/boegel/repos","events_url":"https://api.github.com/users/boegel/events{/privacy}","received_events_url":"https://api.github.com/users/boegel/received_events","type":"User","site_admin":false},"open_issues":75,"closed_issues":47,"state":"open","created_at":"2015-10-29T19:46:48Z","updated_at":"2015-12-10T11:59:57Z","due_on":"2015-12-30T23:00:00Z","closed_at":null},"comments":18,"created_at":"2015-12-10T10:38:31Z","updated_at":"2015-12-10T13:53:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hpcugent/easybuild-easyconfigs/pulls/2206","html_url":"https://github.com/hpcugent/easybuild-easyconfigs/pull/2206","diff_url":"https://github.com/hpcugent/easybuild-easyconfigs/pull/2206.diff","patch_url":"https://github.com/hpcugent/easybuild-easyconfigs/pull/2206.patch"},"body":"The full explanation for this can be found in issue #1315.\r\n\r\nlibreadline needs some terminal info. It can get this from libtermcap or\r\nncurses, which are (as far as I understand it) API but not ABI\r\ncompatible. On most (=all the ones I looked at) systems, libtermcap just\r\ngives a redirect to libtinfo. This libraries is created by splitting a\r\npart of the main ncurses library because most program only need this and\r\nnot full ncurses. In EB we don't do this and it's one big fat library.\r\nAlso, libreadline and ncurses don't mix. It's next to impossible to use\r\nboth of them in the same code.\r\n\r\nThe idea is that, the code that uses libreadline can choose which\r\ntermcap library to use, either libtermcap or ncurses. But as said\r\nbefore, on most distro's the leads to the same library.\r\n\r\nSo, my proposed solution is: we explicitly link libreadline to ncurses.\r\nThis will definitely solve the problem in this PR but I'm not entirely\r\nsure about potential fallout. It seems like most EB stuff already links\r\nto ncurses when using libreadline. I'm still guessing about why this\r\nissue does not pop up in RHEL (and derivates) but on Debian we do hit\r\nit.\r\n\r\nRelevant bugreport: https://bugzilla.redhat.com/show_bug.cgi?id=499837"},"comment":{"url":"https://api.github.com/repos/hpcugent/easybuild-easyconfigs/issues/comments/163624666","html_url":"https://github.com/hpcugent/easybuild-easyconfigs/pull/2206#issuecomment-163624666","issue_url":"https://api.github.com/repos/hpcugent/easybuild-easyconfigs/issues/2206","id":163624666,"user":{"login":"hajgato","id":7931045,"avatar_url":"https://avatars.githubusercontent.com/u/7931045?v=3","gravatar_id":"","url":"https://api.github.com/users/hajgato","html_url":"https://github.com/hajgato","followers_url":"https://api.github.com/users/hajgato/followers","following_url":"https://api.github.com/users/hajgato/following{/other_user}","gists_url":"https://api.github.com/users/hajgato/gists{/gist_id}","starred_url":"https://api.github.com/users/hajgato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hajgato/subscriptions","organizations_url":"https://api.github.com/users/hajgato/orgs","repos_url":"https://api.github.com/users/hajgato/repos","events_url":"https://api.github.com/users/hajgato/events{/privacy}","received_events_url":"https://api.github.com/users/hajgato/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T13:53:36Z","updated_at":"2015-12-10T13:53:36Z","body":"Test report by @hajgato\n**SUCCESS**\nBuild succeeded for 1 out of 1 (1 easyconfigs in this PR)\nLinux SL 6.6, Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz, Python 2.6.6\nSee https://gist.github.com/9affb064d6e8d683431a for a full test report."}}