Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494956 - app-admin/conky USE="X imlib" should depend on media-libs/imlib2[X]
Summary: app-admin/conky USE="X imlib" should depend on media-libs/imlib2[X]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-12-21 15:20 UTC by Michael Mair-Keimberger (iamnr3)
Modified: 2014-01-06 16:01 UTC (History)
0 users

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


Attachments
conky-1.9.0-r3.patch (conky-1.9.0-r3.patch,598 bytes, patch)
2013-12-21 15:20 UTC, Michael Mair-Keimberger (iamnr3)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mair-Keimberger (iamnr3) 2013-12-21 15:20:15 UTC
Created attachment 365826 [details, diff]
conky-1.9.0-r3.patch

Following happen if imlib2 is build without X useflag:

proc.c:116:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -Wall -W -O2 -pipe -lpthread -lm -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o conky  conky-conf_cookie.o       conky-linux.o conky-users.o conky-sony.o conky-i8k.o   conky-libtcp-portmon.o conky-tcp-portmon.o conky-x11.o conky-fonts.o      conky-llua.o  conky-imlib2.o  conky-iconv_tools.o conky-colours.o conky-combine.o conky-common.o conky-conky.o conky-core.o conky-diskio.o conky-entropy.o conky-exec.o conky-fs.o conky-mail.o conky-mixer.o conky-net_stat.o conky-template.o conky-timed_thread.o conky-mboxscan.o conky-read_tcp.o conky-scroll.o conky-specials.o conky-tailhead.o conky-temphelper.o conky-text_object.o conky-timeinfo.o conky-algebra.o conky-proc.o conky-user.o conky-top.o  -lncurses -lX11  -lImlib2  -llua -lm   -ltolua++   -lXext  -lXdamage -lXfixes  -lglib-2.0  -lasound -ltolua++ 
libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -W -O2 -pipe -Wl,-O1 -Wl,--hash-style=gnu -o conky conky-conf_cookie.o conky-linux.o conky-users.o conky-sony.o conky-i8k.o conky-libtcp-portmon.o conky-tcp-portmon.o conky-x11.o conky-fonts.o conky-llua.o conky-imlib2.o conky-iconv_tools.o conky-colours.o conky-combine.o conky-common.o conky-conky.o conky-core.o conky-diskio.o conky-entropy.o conky-exec.o conky-fs.o conky-mail.o conky-mixer.o conky-net_stat.o conky-template.o conky-timed_thread.o conky-mboxscan.o conky-read_tcp.o conky-scroll.o conky-specials.o conky-tailhead.o conky-temphelper.o conky-text_object.o conky-timeinfo.o conky-algebra.o conky-proc.o conky-user.o conky-top.o  -lpthread -Wl,--as-needed -lncurses -lX11 -lImlib2 /usr/lib64//liblua.so -lm -lXext -lXdamage -lXfixes -lglib-2.0 -lasound -ltolua++ -Wl,-rpath -Wl,/usr/lib64/ -Wl,-rpath -Wl,/usr/lib64/
conky-imlib2.o: In function `cimlib_init':
imlib2.c:(.text+0x14a): undefined reference to `imlib_context_set_display'
imlib2.c:(.text+0x152): undefined reference to `imlib_context_set_visual'
imlib2.c:(.text+0x15a): undefined reference to `imlib_context_set_colormap'
conky-imlib2.o: In function `cimlib_deinit':
imlib2.c:(.text+0x194): undefined reference to `imlib_context_disconnect_display'
conky-imlib2.o: In function `cimlib_render':
imlib2.c:(.text+0x6f0): undefined reference to `imlib_render_image_part_on_drawable_at_size'
conky-imlib2.o: In function `cimlib_init':
imlib2.c:(.text+0x17a): undefined reference to `imlib_context_set_drawable'
collect2: ld returned 1 exit status
Makefile:569: recipe for target 'conky' failed
make[2]: *** [conky] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-admin/conky-1.9.0-r3/work/conky-1.9.0/src'
Makefile:471: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/var/tmp/portage/app-admin/conky-1.9.0-r3/work/conky-1.9.0/src'
Makefile:398: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
 * ERROR: app-admin/conky-1.9.0-r3::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-admin/conky-1.9.0-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-admin/conky-1.9.0-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/logs/app-admin:conky-1.9.0-r3:20131221-141442.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-admin/conky-1.9.0-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/conky-1.9.0-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-admin/conky-1.9.0-r3/work/conky-1.9.0'
 * S: '/var/tmp/portage/app-admin/conky-1.9.0-r3/work/conky-1.9.0'


Attached is a simple patch for the latest ebuild. Please review.
Comment 1 Daniel Pielmeier gentoo-dev 2014-01-06 16:01:23 UTC
+  06 Jan 2014; Daniel Pielmeier <billie@gentoo.org> conky-1.9.0-r3.ebuild:
+  Fix bug #494956. Thanks to Michael Mair-Keimberger (iamnr3) for the report.