... display.c: In function ‘ds_shell’: display.c:1816:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-W unused-result] write(1,"\n",1); ^~~~~~~~~~~~~~~ display.c:1844:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-W unused-result] write(1,cont,strlen(cont)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ display.c: In function ‘ds_suspend’: display.c:1864:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-W unused-result] write(1,"\n",1); ^~~~~~~~~~~~~~~ ar: creating libfe.a /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: libfe.a(display.o): undefine d reference to symbol 'keypad' /lib64/libtinfow.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [Makefile:27: fe] Error 1 * ERROR: app-editors/fe-2.0::gentoo failed (compile phase): * emake failed
sys-libs/ncurses-5.9-r101::gentoo was built with the following: USE="gpm tinfo unicode" ABI_X86="32 (64) (-x32)" sys-libs/ncurses-6.1-r2::gentoo was built with the following: USE="cxx gpm static-libs tinfo unicode -ada -debug -doc -minimal -profile -test -threads -trace" ABI_X86="32 (64) (-x32)" note tinfo is enabled, probably should block bug 457530.
--- a/configure.in +++ b/configure.in @@ -157,6 +157,8 @@ idcok(stdscr,TRUE); ],AC_DEFINE(HAVE_IDCOK) AC_MSG_RESULT(yes),AC_MSG_RESULT(no)) +AC_CHECK_LIB(tinfo, noraw) + AC_MSG_CHECKING(for broken realloc) AC_TRY_RUN([#include <sys/types.h> #include <signal.h>
(In reply to Jeroen Roovers from comment #2) Probably easier to work around the issue with pkg-config.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91028af7c0b3f200076ab579f798c5826513eae4 commit 91028af7c0b3f200076ab579f798c5826513eae4 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2018-11-23 17:23:55 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2018-11-23 17:25:12 +0000 app-editors/fe: Fix compilation with ncurses[tinfo]. Closes: https://bugs.gentoo.org/671714 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Ulrich Müller <ulm@gentoo.org> app-editors/fe/fe-2.0.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
That was fast, thanks to both of you!