=dev-util/ddd-3.3.12-r3 fails to compile with ncurses with the ncurses tinfo USE flag enabled. Recently enabled tinfo flag for an unstable nvidia-cuda-toolkit, and the recent stabilize for dev-util/ddd uncovered this bug. Removing nvidia-cuda-toolkit and reversing this change allows ddd to compile properly. Reproducible: Always Steps to Reproduce: 1. enable tinfo USE flag in /etc/portage/package.use/use: sys-libs/ncurses tinfo 2. Emerge new ddd: emerge =dev-util/ddd-3.3.12-r3 Actual Results: The build fails to find tgetent in -lncurses and fails: checking for tgetent in -lncurses... no configure: error: Cannot find termcap compatible library. Expected Results: Should compile if tinfo is enabled or not. I believe this may need to be associated with the tracker at https://bugs.gentoo.org/show_bug.cgi?id=457530. Attaching emerge --info and the build log.
Created attachment 339304 [details] emerge --info '=dev-util/ddd-3.3.12-r3'
Created attachment 339306 [details] Build log for ddd-3.3.12-r3
setting LDFLAGS="-Wl,-O1" in make.conf to remove "-Wl,--as-needed" from LDFLAGS allows the package to build
Created attachment 371644 [details, diff] ddd-3.3.12-tinfo.patch cvs diff ddd-3.3.12-r3.ebuild Index: ddd-3.3.12-r3.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-util/ddd/ddd-3.3.12-r3.ebuild,v retrieving revision 1.8 diff -u -B -r1.8 ddd-3.3.12-r3.ebuild --- ddd-3.3.12-r3.ebuild 21 Feb 2013 16:12:26 -0000 1.8 +++ ddd-3.3.12-r3.ebuild 3 Mar 2014 14:26:37 -0000 @@ -42,6 +42,7 @@ "${FILESDIR}/${P}-gcc44.patch" "${FILESDIR}/${P}-gdb-disassembler-bug.patch" "${FILESDIR}/${PN}-3.3.12-man.patch" + "${FILESDIR}/${PN}-3.3.12-tinfo.patch" ) DOCS=( @@ -54,7 +55,6 @@ src_configure() { local myeconfargs=( --disable-static - --with-termlib=ncurses $(use_with readline) ) autotools-utils_src_configure
Fixed in -4. Thanks for the patch jer.
*** Bug 621976 has been marked as a duplicate of this bug. ***
Forwarded upstream at long, long last.