Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
media-gfx/digikam-0.7.3 fails to compile on amd64: /bin/sh ../../libtool --silent --mode=link --tag=CXX x86_64-pc-linux-gnu-g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=k8 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -o digikam -R /usr/lib64 -R /usr/kde/3.4/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 -L/usr/kde/3.4/lib64 -L/usr/qt/3/lib64 -L/usr/lib64 -L/usr/lib64 -lImlib2 -L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -lfreetype -lz -L/usr/X11R6/lib -lX11 -lXext -ldl -lm main.o -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lkdecore -lkdeui -lkio -lkparts libdigikam.la main.o(.text+0x56c): In function `main': : undefined reference to `DigikamFirstRun::DigikamFirstRun(KConfig*, QWidget*, char const*, bool, unsigned int)' main.o(.text+0x6a1): In function `main': : undefined reference to `DigikamApp::DigikamApp(bool)' collect2: ld returned 1 exit status make[4]: *** [digikam] Error 1 emerge --info: Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13 x86_64) ================================================================= System uname: 2.6.13 x86_64 AMD Athlon(tm) 64 Processor 4000+ Gentoo Base System version 1.6.13 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.12 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.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://eglimp/gentoo-portage" USE="amd64 3dnowex X acpi alsa arts avi berkdb bitmap-fonts cdr crypt cups curl eds emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg kde lzw lzw-tiff mad motif mozilla mp3 mpeg mtrr ncurses nls ogg oggvorbis opengl pam pdflib perl plotutils png python qt quicktime readline samba sdl speex spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xine xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Created an attachment (id=68116) [details] media-gfx/digikam-0.7.3 config.log media-gfx/digikam-0.7.3 config.log
I can reproduce here - it looks like another visibility bug rearing its ugly head. See -fvisibility-inlines-hidden in the error message. Busy now but I will try to patch soon if noone beats me to it...
Marcus: If you want to touch it, please have a look at my attachment at Bug 98425. Apart from the one function to be moved to kde.eclass, the ebuild is missing documentation, because since Digikam 0.7.4 it is provided as extra tarball. This version should fix amd64 issues, too.
Seems to be on a related issue, and the ebuild attached to that bug fixes this issue. I am testing now, but it seems to have worked just great here too Carsten. It is late, but I will try to get to adding the docs to the ebuild and moving the function to kde.eclass tomorrow. Thanks. *** This bug has been marked as a duplicate of 98425 ***
You can take a look at the quick fix in gwenview-1.2.9x. Disabling visibility stuff is not needed anymore at a global level, because there's an improved configure check in KDE scripts that recognizes that visibility stuff should not be enabled (without a patched Qt). As this check propagates (as it did in digikam-0.7.4) nothing will be needed. For 0.7.3 doing as in the gwenview ebuild is enough.