conky.c: In function ‘generate_text_internal’: conky.c:885:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘warned’ conky.c:885:19: error: ‘warned’ undeclared (first use in this function) conky.c:885:19: note: each undeclared identifier is reported only once for each function it appears in conky.c:885:28: error: ‘false’ undeclared (first use in this function) conky.c:890:17: error: ‘true’ undeclared (first use in this function) x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib64/conky\" -I/usr/include/freetype2 -Wall -W -march=native -O2 -pipe -c -o conky-exec.o `test -f 'exec.c' || echo './'`exec.c make[2]: *** [conky-conky.o] Error 1 make[2]: *** Waiting for unfinished jobs.... linux.c: In function ‘is_disk’: linux.c:2289:24: warning: ‘dev_last’ may be used uninitialized in this function exec.c: In function ‘pid_popen’: exec.c:98:6: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result make[2]: Leaving directory `/var/tmp/portage/app-admin/conky-1.9.0/work/conky-1.9.0/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-admin/conky-1.9.0/work/conky-1.9.0/src' make: *** [all-recursive] Error 1 Reproducible: Always
Created attachment 311221 [details] build.log
Created attachment 311223 [details] emerge --info =app-admin/conky-1.9.0
Created attachment 311225 [details] equery depgraph =app-admin/conky-1.9.0
Please add information about your conky use flags. emerge --info =app-admin/conky-1.9.0 does not return them if the package is not installed.
Ah, indeed. [ebuild U ] app-admin/conky-1.9.0 [1.8.1-r6] USE="X hddtemp iostats lua math mpd truetype vim-syntax"
@Amadeusz as a temporary workaround you can enable the ncurses USE flag. With it conky should build. @Brenden: Can you take a look at this. conky-1.9.0 fails to build with --disable ncurses.
Thanks Daniel, that works indeed.
(In reply to comment #7) > Thanks Daniel, that works indeed. Same here.
+ 13 Jul 2012; Daniel Pielmeier <billie@gentoo.org> conky-1.9.0.ebuild, + +files/conky-1.9.0-ncurses.patch: + Build fix for bug #415215. Thanks to Amadeusz Żołnowski for the report and + upstream developer Pavel Labath for the patch.