Created attachment 539442 [details, diff] Makes it build. sys-libs/ncurses-6.1-r2 is built with tinfo. unicode.c:210:2: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] (void)getcwd( abuf, EMMAXCHARCONV ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ld emact ... /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: curses.o: undefined reference to symbol 'raw' /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[1]: *** [Makefile:110: emact] Error 1 make: *** [Makefile:52: auto] Error 2 I'll attach a patch. Affected versions: all, 2.56.0 and 2.58.0.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b200945e8476e0e3edbfdeff04e1315911f9604c commit b200945e8476e0e3edbfdeff04e1315911f9604c Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2018-07-20 19:02:03 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2018-07-20 19:03:14 +0000 app-editors/emact: Fix build failure with ncurses[tinfo]. Bug: https://bugs.gentoo.org/661098 Package-Manager: Portage-2.3.43, Repoman-2.3.10 app-editors/emact/emact-2.58.0.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Fixed somewhat differently, using pkg-config. Thanks for reporting!
Nice, this avoid autoreconf. Thanks!