Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603632 - dev-lang/ghc[binary] - /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 (preserved)
Summary: dev-lang/ghc[binary] - /usr/lib64/libncursesw.so.5 used by /usr/lib64/ghc-7.1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-24 09:46 UTC by Chris Henhawke
Modified: 2016-12-28 21:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Henhawke 2016-12-24 09:46:50 UTC
Upgrading to ncurses-6.0 and uninstalling 5.9 results in the following message:

!!! existing preserved libs: 
>>> package: sys-libs/ncurses-5.9-r101  
 *  - /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 (preserved)
Use emerge @preserved-rebuild to rebuild packages using these libraries  

Running @preserved-rebuild as suggested does not make the message go away, but installing 5.9 alongside 6.0 does.  Uninstalling ghc, removing /usr/lib64/ghc-7.10.3/termi_6iVf4EBnOgfIaaOCLRs8jl/, and reinstalling ghc also results in this message returning.  Doesn't seem related to dev-haskell/terminfo, but rather ghc itself.

Thanks
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2016-12-28 19:21:36 UTC
Which USE flags you are using to build ghc? 'emerge --info ghc' should show it.
Comment 2 Chris Henhawke 2016-12-28 19:53:27 UTC
dev-lang/ghc-7.10.3::gentoo was built with the following:
USE="binary gmp -doc -ghcbootstrap -ghcmakebinary" ABI_X86="64"
CFLAGS="-O2 -pipe -march=nehalem -march=nehalem -march=nehalem -nopie -fno-stack-protector"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -nopie"
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2016-12-28 21:15:25 UTC
Ok, USE=binary is special here. Missing dependency should be fixed as:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47eaa6c9ce342607d3185ee5c10fdf0b763ef52e

Thanks for the report!