Summary: | dev-lang/ghc-7.8.4 - failed to update cache after relocation - usr/lib64/ghc-7.8.4/bin/ghc-pkg: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Erich Seifert <eseifert> |
Component: | [OLD] Development | Assignee: | Gentoo's Haskell Language team <haskell> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kentnl, zmedico |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Erich Seifert
2015-09-23 15:26:54 UTC
Created attachment 412656 [details]
build.log
The report is correct, but the solution is a bit hard. If we restrict ghc-7.8.4 to ncurses-5 you won't be able to update ncurses to 6 without major hurdle. I'll rebuild booting binary without ncurses depend or you can use unstable ghc-7.10.2 which already does not have a depend on ncurses. merging of stub ebuild (trimmed) ncurses-5.9-r101 is enough for resolving this. this ebuild can be co-installed with ncurses-6 and does not pollute the systems.
!!! existing preserved libs:
>>> package: sys-libs/ncurses-5.9-r101
* - /usr/lib64/libtinfow.so.5
* - /usr/lib64/libncursesw.so.5
* used by /usr/lib64/ghc-7.10.3/termi_6iVf4EBnOgfIaaOCLRs8jl/libHSterminfo-0.4.0.1-6iVf4EBnOgfIaaOCLRs8jl-ghc7.10.3.so (dev-lang/ghc-7.10.3)
Use emerge @preserved-rebuild to rebuild packages using these libraries
This is output from the system, where sys-libs/ncurses-5.9-r101 removed manually.
merging it back is sufficient. I use ghc[binary] aswell.
Added ncurses:5/5 dependency for ghc-7.8.4 and ghc-7.10.3 as: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43fbec44acb0b56b2443f99e0994d5636c98d916 > !ghcbootstrap? ( ${PREBUILT_BINARY_DEPENDS} )
Should that "!ghcbootstrap?" conditional inverted? I've add ghc-7.10.3 installed since April 11, without ncurses-5.
(In reply to Zac Medico from comment #5) > > !ghcbootstrap? ( ${PREBUILT_BINARY_DEPENDS} ) > > Should that "!ghcbootstrap?" conditional inverted? I've add ghc-7.10.3 > installed since April 11, without ncurses-5. Oh. I've completely forgot I've got rid of required ncurses depend for prebuilt binary. It should not be in build depends anymore for ghc-7.10.3 and upper. My apologies. Fixed as and add a fat comment: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9caff4ab10a45797edba0d91ee4991613301d57d |