Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331739 - app-crypt/pinentry-0.8.0[static] fails to build if ncurses is built with USE=-static-libs
Summary: app-crypt/pinentry-0.8.0[static] fails to build if ncurses is built with USE=...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
: 376383 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-09 09:17 UTC by wd
Modified: 2012-01-22 20:57 UTC (History)
1 user (show)

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


Attachments
build log (build.log,6.43 KB, text/plain)
2010-08-09 10:37 UTC, wd
Details
config log (config.log,42.80 KB, text/plain)
2010-08-09 10:38 UTC, wd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wd 2010-08-09 09:17:37 UTC
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
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-08-09 09:40:04 UTC
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
Comment 2 wd 2010-08-09 10:37:08 UTC
Created attachment 241947 [details]
build log
Comment 3 wd 2010-08-09 10:38:51 UTC
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
Comment 4 wd 2010-08-09 10:39:44 UTC
provide info as request, reopen the bug
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-08-09 12:29:47 UTC
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
Comment 6 wd 2010-08-10 02:14:51 UTC
disable USE=static" in pinentry  works for me. Thanks.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-09-25 09:20:30 UTC
+*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".
Comment 8 Sven Wegener gentoo-dev 2012-01-22 20:57:05 UTC
*** Bug 376383 has been marked as a duplicate of this bug. ***