Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415215 - app-admin/conky-1.9.0: failes to build with USE="-ncurses"
Summary: app-admin/conky-1.9.0: failes to build with USE="-ncurses"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-09 09:28 UTC by Amadeusz Żołnowski (RETIRED)
Modified: 2012-07-13 16:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,18.41 KB, text/plain)
2012-05-09 09:29 UTC, Amadeusz Żołnowski (RETIRED)
Details
emerge --info =app-admin/conky-1.9.0 (emerge.info,5.12 KB, text/plain)
2012-05-09 09:30 UTC, Amadeusz Żołnowski (RETIRED)
Details
equery depgraph =app-admin/conky-1.9.0 (depgraph,984 bytes, text/plain)
2012-05-09 09:32 UTC, Amadeusz Żołnowski (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-05-09 09:28:54 UTC
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
Comment 1 Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-05-09 09:29:42 UTC
Created attachment 311221 [details]
build.log
Comment 2 Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-05-09 09:30:30 UTC
Created attachment 311223 [details]
emerge --info =app-admin/conky-1.9.0
Comment 3 Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-05-09 09:32:00 UTC
Created attachment 311225 [details]
equery depgraph =app-admin/conky-1.9.0
Comment 4 Daniel Pielmeier gentoo-dev 2012-05-09 17:27:24 UTC
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.
Comment 5 Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-05-09 19:27:36 UTC
Ah, indeed.

[ebuild     U  ] app-admin/conky-1.9.0 [1.8.1-r6] USE="X hddtemp iostats lua math mpd truetype vim-syntax"
Comment 6 Daniel Pielmeier gentoo-dev 2012-05-12 15:23:07 UTC
@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.
Comment 7 Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-05-19 08:11:27 UTC
Thanks Daniel, that works indeed.
Comment 8 David 2012-05-26 04:56:30 UTC
(In reply to comment #7)
> Thanks Daniel, that works indeed.

Same here.
Comment 9 Daniel Pielmeier gentoo-dev 2012-07-13 16:55:38 UTC
+  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.