When compiling, build failed, because cannot include cursesw.h Reproducible: Always Steps to Reproduce: 1.emerge =net-im/centerim-5.0.0_beta2 2. 3. Actual Results: libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/ncursesw -I.. -DG_LOG_DOMAIN=\"cppconsui\" -O2 -march=corei7-avx -Os -pipe -mmmx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -mssse3 -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -fno-strict-overflow -fomit-frame-pointer -fstack-protector-all -fgraphite-identity -ftree-vectorize -funswitch-loops -floop-interchange -floop-block -floop-strip-mine -ftree-sra -fcse-follow-jumps -fsched-interblock -ftree-loop-distribution -minline-all-stringops -Wstrict-overflow -c ConsUICurses.cpp -fPIC -DPIC -o .libs/libcppconsui_la-ConsUICurses.o ConsUICurses.cpp:37:21: fatal error: cursesw.h: No such file or directory #include <cursesw.h> ^ compilation terminated. Makefile:699: recipe for target 'libcppconsui_la-ConsUICurses.lo' failed make[2]: *** [libcppconsui_la-ConsUICurses.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/net-im/centerim-5.0.0_beta2/work/centerim5-5.0.0beta2/cppconsui' Makefile:463: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-im/centerim-5.0.0_beta2/work/centerim5-5.0.0beta2' Makefile:351: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: net-im/centerim-5.0.0_beta2::gentoo failed (compile phase): * emake failed Expected Results: Application successfully compiled # qlist -I -C -v ncurses sys-libs/ncurses-5.9-r3
Created attachment 396890 [details, diff] centerim-5.0.0_beta2.ebuild.patch
With proposed little fix centerim-5.0.0_beta2 build correctly. If any additional info needed, just say =)
5.0.1 uses -I/usr/include/ncursesw and should pick the correct curses.h