Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672768 - dev-db/sqlite dev-libs/libxml2 x11-wm/w3m with sys-libs/libtermcap-compat link against /usr/lib64/
Summary: dev-db/sqlite dev-libs/libxml2 x11-wm/w3m with sys-libs/libtermcap-compat lin...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2018-12-08 19:07 UTC by Javran Cheng
Modified: 2020-12-10 10:46 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Javran Cheng 2018-12-08 19:07:30 UTC
I run into a @preserved-rebuilt loop with following message:

!!! existing preserved libs:
>>> package: sys-libs/libtermcap-compat-2.0.8-r4
 *  - /usr/lib64/
 *  - /usr/lib64/
 *      used by /usr/bin/sqlite3 (dev-db/sqlite-3.25.3)
 *      used by /usr/bin/w3m (www-client/w3m-0.5.3_p20180125)
 *      used by /usr/bin/xmlcatalog (dev-libs/libxml2-2.9.8)
 *      used by 2 other files

which is resolved by installing sys-libs/libtermcap-compat back (I wasn't sure why it's in my world file so I deleted it to see what happens)
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-12-09 15:27:04 UTC
Are these build systems looking for termcap and only then for ncurses? Should this become a tracker bug for such packages that do this?
Comment 2 Javran Cheng 2018-12-09 21:06:39 UTC
I've just done a quick search on ebuilds in question:

- sqlite-3.25.3 and  libxml2-2.9.8.ebuild don't mention anything about termcap and ncurses
- w3m-0.5.3_p20180125 has a RDEPEND on `sys-libs/ncurses:0=` with no mention of termcap. but in src_configure() there is a "--with-termlib=yes" argument passing to econf, not exactly sure if it's related.