Created attachment 413626 [details] build.log NOT related to the docbook2X dependency or cmake's inability to find man. (Though perhaps with all the bugs 1.10.0 has been generating, a mask might be wise?) The complete build.log file is attached. For convenience, here's the last little bit of it: [100%] Linking CXX executable conky cd /var/tmp/portage/app-admin/conky-1.10.0/work/conky-1.10.0_build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/conky.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-g++ -std=c++0x -Wl,-O1 -Wl,--as-needed CMakeFiles/conky.dir/c++wrap.cc.o CMakeFiles/conky.dir/colours.cc.o CMakeFiles/conky.dir/combine.cc.o CMakeFiles/conky.dir/common.cc.o CMakeFiles/conky.dir/conky.cc.o CMakeFiles/conky.dir/core.cc.o CMakeFiles/conky.dir/diskio.cc.o CMakeFiles/conky.dir/entropy.cc.o CMakeFiles/conky.dir/exec.cc.o CMakeFiles/conky.dir/fs.cc.o CMakeFiles/conky.dir/mail.cc.o CMakeFiles/conky.dir/mixer.cc.o CMakeFiles/conky.dir/net_stat.cc.o CMakeFiles/conky.dir/template.cc.o CMakeFiles/conky.dir/mboxscan.cc.o CMakeFiles/conky.dir/read_tcpip.cc.o CMakeFiles/conky.dir/scroll.cc.o CMakeFiles/conky.dir/specials.cc.o CMakeFiles/conky.dir/tailhead.cc.o CMakeFiles/conky.dir/temphelper.cc.o CMakeFiles/conky.dir/text_object.cc.o CMakeFiles/conky.dir/timeinfo.cc.o CMakeFiles/conky.dir/top.cc.o CMakeFiles/conky.dir/algebra.cc.o CMakeFiles/conky.dir/prioqueue.cc.o CMakeFiles/conky.dir/proc.cc.o CMakeFiles/conky.dir/user.cc.o CMakeFiles/conky.dir/luamm.cc.o CMakeFiles/conky.dir/data-source.cc.o CMakeFiles/conky.dir/lua-config.cc.o CMakeFiles/conky.dir/setting.cc.o CMakeFiles/conky.dir/llua.cc.o CMakeFiles/conky.dir/update-cb.cc.o CMakeFiles/conky.dir/linux.cc.o CMakeFiles/conky.dir/users.cc.o CMakeFiles/conky.dir/sony.cc.o CMakeFiles/conky.dir/i8k.cc.o CMakeFiles/conky.dir/mpd.cc.o CMakeFiles/conky.dir/libmpdclient.cc.o CMakeFiles/conky.dir/tcp-portmon.cc.o CMakeFiles/conky.dir/x11.cc.o CMakeFiles/conky.dir/fonts.cc.o CMakeFiles/conky.dir/ccurl_thread.cc.o CMakeFiles/conky.dir/iconv_tools.cc.o CMakeFiles/conky.dir/nc.cc.o -o conky -rdynamic -lpthread -lncurses -liw -lSM -lICE -lX11 -lXext -lXdamage -lXfixes -lXft -lXext -llua -lm -lcurl -ltolua++ libtcp-portmon.a -lXdamage -lXfixes -lXft -llua -lm -lcurl -ltolua++ /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/conky.dir/conky.cc.o: undefined reference to symbol 'stdscr' /usr/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status src/CMakeFiles/conky.dir/build.make:1254: recipe for target 'src/conky' failed make[2]: *** [src/conky] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-admin/conky-1.10.0/work/conky-1.10.0_build' CMakeFiles/Makefile2:408: recipe for target 'src/CMakeFiles/conky.dir/all' failed make[1]: *** [src/CMakeFiles/conky.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/app-admin/conky-1.10.0/work/conky-1.10.0_build' Makefile:149: recipe for target 'all' failed make: *** [all] Error 2 emerge --info will be attached next
Created attachment 413628 [details] emerge --info
Created attachment 433758 [details, diff] Proposed patch that fixes the problem I confirm the bug on my machine. Dropping the proposed patch in `/etc/portage/patches/app-admin/conky-1.10.1/` fixed the problem.
(In reply to Laurent Georget from comment #2) > Created attachment 433758 [details, diff] [details, diff] > Proposed patch that fixes the problem > > I confirm the bug on my machine. > > Dropping the proposed patch in > `/etc/portage/patches/app-admin/conky-1.10.1/` fixed the problem. Laurent thanks a lot for your patch. Can you please attach this on the Github issue tracker [1] or even better create a pull request so it gets merged upstream. Then I will gladly add this patch to ebuild as well. Just curious, does this patch works if ncurses is built with the tinfo use flag and without? [1] https://github.com/brndnmtthws/conky/issues/167
Created attachment 433822 [details, diff] Proposed patch that fixes the problem v2 -- with pkg_config Another, more robust, patch that will work with and without the tinfo USE flag in ncurses.
(In reply to Daniel Pielmeier from comment #3) > (In reply to Laurent Georget from comment #2) > > Just curious, does this patch works if ncurses is built with the tinfo use > flag and without? Thank you for your feedback! I didn't test but probably not since in that case, there won't be a separate libtinfo.so to link against. I propose another patch using pkg_config as suggested in the TRACKER bug https://bugs.gentoo.org/show_bug.cgi?id=457530. I'm submitting it also to GitHub.
(In reply to Daniel Pielmeier from comment #3) > (In reply to Laurent Georget from comment #2) > > Laurent thanks a lot for your patch. Can you please attach this on the > Github issue tracker [1] or even better create a pull request so it gets > merged upstream. Then I will gladly add this patch to ebuild as well. > > [1] https://github.com/brndnmtthws/conky/issues/167 Hi Daniel, just for your information, the patch has been accepted and merged upstream (in the 1.10.2 branch, but you can safely backport it to 1.10.0 and 1.10.1): https://github.com/brndnmtthws/conky/pull/254. Cheers, Laurent
Fixed in Git. Thanks for your help!