Errors when emerge: checking for initscr in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermcap... no checking for tgetent in -ltermlib... no checking for initscr in -lcurses... no configure: error: *** *** The curses library is required. The latest version of *** ncurses is always available from ftp://ftp.gnu.org/gnu/ncurses/. *** I have sys-libs/ncurses installed. and I can run the configure at /var/tmp/portage/app-crypt/pinentry-0.8.0/work by hand.Why does this happen? ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --enable-maintainer-mode --disable-pinentry-gtk --enable-pinentry-gtk2 --disable-pinentry-qt --enable-pinentry-curses --enable-fallback-curses --disable-pinentry-qt4 --without-libcap --enable-pinentry-curses --enable-fallback-curses --disable-pinentry-gtk2 --disable-pinentry-qt --disable-pinentry-qt4 Reproducible: Always
Attach: - Full build.log from emerge - "emerge -pv ncurses" output - config.log from the failed ./configure when portage runs the econf (not from manual ./configure) Then reopen
Created attachment 241947 [details] build log
Created attachment 241949 [details] config log $ emerge -pv ncurses These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-libs/ncurses-5.7-r5 USE="cxx gpm unicode -ada -debug -doc -minimal -profile -static-libs -trace" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB
provide info as request, reopen the bug
Enable USE="static-libs" in sys-libs/ncurses, OR preferably disable USE=static" in pinentry. It's a depend bug in the pineentry ebuild, so assigning to pinentry maintainers
disable USE=static" in pinentry works for me. Thanks.
+*pinentry-0.8.0-r1 (25 Sep 2010) + + 25 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> + +pinentry-0.8.0-r1.ebuild: + Revision bump wrt #328189 by Federico Zenith. Fix USE static deps wrt + #331739 by "wd".
*** Bug 376383 has been marked as a duplicate of this bug. ***