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
Which USE flags you are using to build ghc? 'emerge --info ghc' should show it.
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"
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!