Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151683 - media-plugins/kipi-plugins needs media-libs/imlib2 to be compiled with the 'X' USE flag
Summary: media-plugins/kipi-plugins needs media-libs/imlib2 to be compiled with the 'X...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-17 02:48 UTC by Dominik Strehlke
Modified: 2006-10-22 16:29 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Strehlke 2006-10-17 02:48:15 UTC
I have no idea where this is coming from :-(

/bin/sh ../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o kipiplugin_slideshow.la -rpath /usr/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib -R /usr/kde/3.5/lib  -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    -L/usr/kde/3.5/lib plugin_slideshow.lo slideshow.lo slideshowconfig.lo imlibiface.lo slideshowgl.lo toolbar.lo -lkparts -lkipi   -L/usr/lib -lImlib2 -lfreetype -lz -ldl -lm -lGL
.libs/imlibiface.o: In function `KIPISlideShowPlugin::ImlibIface::ImlibIface(QWidget*)':
imlibiface.cpp:(.text+0x13f): undefined reference to `imlib_context_set_display'
imlibiface.cpp:(.text+0x147): undefined reference to `imlib_context_set_visual'
imlibiface.cpp:(.text+0x152): undefined reference to `imlib_context_set_colormap'
.libs/imlibiface.o: In function `KIPISlideShowPlugin::ImImageSS::render()':
imlibiface.cpp:(.text+0x213): undefined reference to `imlib_context_set_drawable'
imlibiface.cpp:(.text+0x232): undefined reference to `imlib_render_image_on_drawable_at_size'
.libs/imlibiface.o: In function `KIPISlideShowPlugin::ImlibIface::ImlibIface(QWidget*)':
imlibiface.cpp:(.text+0x65f): undefined reference to `imlib_context_set_display'
imlibiface.cpp:(.text+0x667): undefined reference to `imlib_context_set_visual'
imlibiface.cpp:(.text+0x672): undefined reference to `imlib_context_set_colormap'
collect2: ld returned 1 exit status
make[3]: *** [kipiplugin_slideshow.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-plugins/kipi-plugins-0.1.0_rc2/work/kipi-plugins-0.1.0-rc2/kipi-plugins/slideshow'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-plugins/kipi-plugins-0.1.0_rc2/work/kipi-plugins-0.1.0-rc2/kipi-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-plugins/kipi-plugins-0.1.0_rc2/work/kipi-plugins-0.1.0-rc2'
make: *** [all] Error 2

!!! ERROR: media-plugins/kipi-plugins-0.1.0_rc2 failed.



Portage 2.1.2_pre3-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.12.5
Last Sync: Tue, 17 Oct 2006 09:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 aac alsa arts berkdb bitmap-fonts cdr cli crypt cups dlloader dri dvb dvd dvdr elibc_glibc exif gdbm gpm i810 input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kde kdeenablefinal kernel_linux libg++ mmx mmxext mysql ncurses nls nptl nptlonly nsplugin offensive opengl pam pcre perl ppds pppd python qt readline reflection scanner session spl sse sse2 ssl tcpd truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_i810 win32codecs xorg xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-10-17 03:58:36 UTC
Please paste the output of `emerge -pv media-libs/libkipi'.
Comment 2 Dominik Strehlke 2006-10-17 04:01:01 UTC
Here you go:

emerge libkipi -vp

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/libkipi-0.1.4  USE="arts -debug -kdehiddenvisibility -xinerama" 0 kB
Comment 3 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-10-17 04:05:57 UTC
My bad, I meant `emerge -pv media-libs/imlib'
Comment 4 Dominik Strehlke 2006-10-17 04:09:15 UTC
Nooo prob:

emerge -pv media-libs/imlib

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/imlib-1.9.14-r3  0 kB
Comment 5 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-10-17 05:36:14 UTC
It works fine here. Which version of 'media-libs/imlib2' are you using?
Comment 6 Dominik Strehlke 2006-10-17 06:04:50 UTC
Found it. Use flag "X" has to be enabled for media-libs/imlib2. Why that was not enabled on my box I don't know, but I fixed it.

If it's a good idea to add to the ebuild is up to know :-) Thanks for your time and help.
Comment 7 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-10-17 06:35:22 UTC
I added a check so that media-plugins/kipi-plugins dies with an error message expliciting that media-libs/imlib2 needs to be compiled with the 'X' USE flag.

Thanks for spotting this annoyance. Fixed in CVS.
Comment 8 Dominik Strehlke 2006-10-22 16:29:58 UTC
Works well, thanks a lot for your time!
Verified.