Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
kde-misc/kompose-0.5.1 fails, when I try to install it Reproducible: Always Steps to Reproduce: 1.emerge kompose 2. 3. Actual Results: komposetaskvisualizer.cpp:353: warning: int format, WId arg (arg 2) komposetaskvisualizer.cpp:368: warning: int format, WId arg (arg 2) /bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -Wnon-v irtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ans i -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O3 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing -args -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-ch eck-new -fno-common -o kompose -R /usr/kde/3.4/lib -R /usr/qt/3/lib -R /usr/l ib -L/usr/lib -L/usr/qt/3/lib -L/usr/kde/3.4/lib -lX11 -lXext -lm `imlib2-confi g --libs` main.o kompose.o komposetaskmanager.o komposetask.o komposewidget.o ko mposetaskwidget.o komposedesktopwidget.o komposelayout.o komposesystray.o kompos efullscreenwidget.o komposesettings.o komposepreferences.o komposetaskprefswidge t.o komposeglobal.o komposetaskcontainerwidget.o komposetaskvisualizer.o kompose viewmanager.o komposedcopiface_skel.o -lkdeui -lXcomposite -lXdamage -lXfixes komposeglobal.o: In function `KomposeGlobal::initImlib()': komposeglobal.cpp:(.text+0xeb5): undefined reference to `imlib_context_set_displ ay' komposeglobal.cpp:(.text+0xebd): undefined reference to `imlib_context_set_visua l' komposeglobal.cpp:(.text+0xec5): undefined reference to `imlib_context_set_color map' komposetaskvisualizer.o: In function `KomposeTaskVisualizer::renderScaledScreens hot(QSize)': komposetaskvisualizer.cpp:(.text+0xbd8): undefined reference to `imlib_context_s et_drawable' komposetaskvisualizer.cpp:(.text+0xc0d): undefined reference to `imlib_create_im age_from_drawable' komposetaskvisualizer.cpp:(.text+0xc77): undefined reference to `imlib_context_s et_drawable' komposetaskvisualizer.cpp:(.text+0xca1): undefined reference to `imlib_render_im age_on_drawable_at_size' komposetaskvisualizer.cpp:(.text+0xf8a): undefined reference to `imlib_context_s et_drawable' komposetaskvisualizer.cpp:(.text+0xfbf): undefined reference to `imlib_create_im age_from_drawable' collect2: ld returned 1 exit status make[2]: *** [kompose] Error 1 make[2]: Leaving directory `/var/tmp/portage/kompose-0.5.1/work/kompose-0.5.1/sr c' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kompose-0.5.1/work/kompose-0.5.1' make: *** [all] Error 2 !!! ERROR: kde-misc/kompose-0.5.1 failed. !!! Function kde_src_compile, Line 162, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. Expected Results: succesfully install it :) Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-gentoo-r8 i686) ================================================================= System uname: 2.6.11-gentoo-r8 i686 AMD Sempron(TM) 2500+ Gentoo Base System version 1.6.12 ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16-r1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://distfiles.transfer.kg ftp://mtv.kg http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org" LANG="ru_RU.koi8r" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.kyrnet.kg/gentoo-portage" USE="3dnow 3dnowex aac acpi alsa arts avi berkdb bitmap-fonts bzlib crypt cups dga divx4linux fbcon ffmpeg flac gd gdbm gif gpm iconv icq imap java jpeg kde kdeenablefinal ldap lesstif mad maildir mmx mmx2 mmxext mozilla mp3 mpeg ncurses nls nptl nvidia ogg oggvorbis opengl pam png qt quicktime readline samba shared sharedmem snmp spell sse sse2 ssl svga theora tiff truetype truetype-fonts type1-fonts unicode userlocales vidix vorbis win32codecs x86 xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
I can install kompose without this error, which version of the package media-libs/imlib2 is installed on your system, can you provide the output of "emerge -p imlib2"?
Here it is: dotcoder ~ # emerge -p imlib2 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-libs/imlib2-1.2.0.007 dotcoder ~ #
Does it work with =imlib2-1.2.0-r2? If not, do lowered c[xx]flags help?
OK :) I tried these: 1. CFLAGS="" CXXFLAGS="" emerge -av =imlib2-1.2.0-r2 kompose 2. USE="-*" CFLAGS="" CXXFLAGS="" emerge -av =imlib2-1.2.0-r2 kompose 3. CFLAGS="" CXXFLAGS="" emerge -av imlib2 kompose 4. USE="-*" CFLAGS="" CXXFLAGS="" emerge -av imlib2 kompose 5. USE="-*" emerge -av imlib2 kompose It doesn't help! :( Maybe it is a low-level (gcc, glibc, etc) related problem? What do you think?
I wonder if it could be a visibility problem with gcc-3.4 and imlib keeping some symbols hidden?
Why do you think imlib uses hidden symbols? AFAICS it doesn't: beta imlib2-1.2.0.007 # grep -Ri visibility * beta imlib2-1.2.0.007 # Meder: what's the output of imlib2-config --libs?
Here the output of imlib2-config --libs: dotcoder ~ # imlib2-config --libs -L/usr/lib -lImlib2 -lfreetype -lz -ldl -lm dotcoder ~ #
Reproduced. This happens when imlib2 is built with USE=-X. The imlib_context_set_display symbol goes missing. Build imlib2 with USE=X to allow kompose to build. I'm adding a check for this to the kompose ebuild. Please close this bug if this works for you, too.
Thank you, Dan :) It works... Kompose compiled fine and now I also can enjoy this virtual desktops' taskbar :) Closing it :)