Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311343 - media-gfx/wally2.3.2: Tried to load Qt plugins assuming static Qt libraries
Summary: media-gfx/wally2.3.2: Tried to load Qt plugins assuming static Qt libraries
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-03-25 20:37 UTC by Robert Wynne
Modified: 2010-05-30 09:06 UTC (History)
2 users (show)

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


Attachments
Build log (wally-2.3.2:20100418-181308.log,95.14 KB, text/plain)
2010-04-18 18:48 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Wynne 2010-03-25 20:37:40 UTC
wally fails to compile

Reproducible: Always

Steps to Reproduce:
1.emerge wally
2.
3.

Actual Results:  
[ 97%] Building CXX object CMakeFiles/wally.dir/include/moc_about.o                                          
[ 98%] Building CXX object CMakeFiles/wally.dir/include/moc_wally.o                                          
[100%] Building CXX object CMakeFiles/wally.dir/qrc_wally.o                                                  
Linking CXX executable wally                                                                                 
CMakeFiles/wally.dir/src/main.o: In function `global constructors keyed to main':                            
main.cpp:(.text+0xd2): undefined reference to `qt_plugin_instance_qgif()'
main.cpp:(.text+0xe5): undefined reference to `qt_plugin_instance_qico()'
main.cpp:(.text+0xef): undefined reference to `qt_plugin_instance_qjpeg()'
main.cpp:(.text+0xf9): undefined reference to `qt_plugin_instance_qmng()'
main.cpp:(.text+0x103): undefined reference to `qt_plugin_instance_qsvg()'
main.cpp:(.text+0x10d): undefined reference to `qt_plugin_instance_qtiff()'
main.cpp:(.text+0x117): undefined reference to `qt_plugin_instance_qsqlite()'
collect2: ld returned 1 exit status
make[2]: *** [wally] Error 1
make[1]: *** [CMakeFiles/wally.dir/all] Error 2
make: *** [all] Error 2
 * ERROR: media-gfx/wally-2.3.2 failed:
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3841:  Called kde4-base_src_compile
 *   environment, line 2938:  Called cmake-utils_src_compile
 *   environment, line 1067:  Called _execute_optionaly 'src_compile'
 *   environment, line  489:  Called enable_cmake-utils_src_compile
 *   environment, line 1442:  Called cmake-utils_src_make
 *   environment, line 1086:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 * 
 * If you need support, post the output of 'emerge --info =media-gfx/wally-2.3.2',
 * the complete build log and the output of 'emerge -pqv =media-gfx/wally-2.3.2'.
 * The complete build log is located at '/var/log/portage/media-gfx:wally-2.3.2:20100325-203258.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/media-gfx/wally-2.3.2/temp/environment'.
 * S: '/var/tmp/portage/portage/media-gfx/wally-2.3.2/work/wally-2.3.2'
Comment 1 Robert Wynne 2010-03-25 20:40:31 UTC
(In reply to comment #0)
> wally fails to compile
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1.emerge wally
> 2.
> 3.
> 
> Actual Results:  
> [ 97%] Building CXX object CMakeFiles/wally.dir/include/moc_about.o             
> [ 98%] Building CXX object CMakeFiles/wally.dir/include/moc_wally.o             
> [100%] Building CXX object CMakeFiles/wally.dir/qrc_wally.o                     
> Linking CXX executable wally                                                    
> CMakeFiles/wally.dir/src/main.o: In function `global constructors keyed to
> main':                            
> main.cpp:(.text+0xd2): undefined reference to `qt_plugin_instance_qgif()'
> main.cpp:(.text+0xe5): undefined reference to `qt_plugin_instance_qico()'
> main.cpp:(.text+0xef): undefined reference to `qt_plugin_instance_qjpeg()'
> main.cpp:(.text+0xf9): undefined reference to `qt_plugin_instance_qmng()'
> main.cpp:(.text+0x103): undefined reference to `qt_plugin_instance_qsvg()'
> main.cpp:(.text+0x10d): undefined reference to `qt_plugin_instance_qtiff()'
> main.cpp:(.text+0x117): undefined reference to `qt_plugin_instance_qsqlite()'
> collect2: ld returned 1 exit status
> make[2]: *** [wally] Error 1
> make[1]: *** [CMakeFiles/wally.dir/all] Error 2
> make: *** [all] Error 2
>  * ERROR: media-gfx/wally-2.3.2 failed:
>  *   Make failed!
>  * 
>  * Call stack:
>  *     ebuild.sh, line   54:  Called src_compile
>  *   environment, line 3841:  Called kde4-base_src_compile
>  *   environment, line 2938:  Called cmake-utils_src_compile
>  *   environment, line 1067:  Called _execute_optionaly 'src_compile'
>  *   environment, line  489:  Called enable_cmake-utils_src_compile
>  *   environment, line 1442:  Called cmake-utils_src_make
>  *   environment, line 1086:  Called die
>  * The specific snippet of code:
>  *           emake "$@" || die "Make failed!";
>  * 
>  * If you need support, post the output of 'emerge --info
> =media-gfx/wally-2.3.2',
>  * the complete build log and the output of 'emerge -pqv
> =media-gfx/wally-2.3.2'.
>  * The complete build log is located at
> '/var/log/portage/media-gfx:wally-2.3.2:20100325-203258.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/portage/media-gfx/wally-2.3.2/temp/environment'.
>  * S: '/var/tmp/portage/portage/media-gfx/wally-2.3.2/work/wally-2.3.2'
> 


emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.32-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9600_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 25 Mar 2010 07:25:01 +0000
app-shells/bash:     4.1_p2-r1
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5, 3.1.2
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA sun-bcla-java-vm dlj-1.1 PUEL skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=core2 -march=core2 -mcx16 -msahf -msse4.1 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=core2 -march=core2 -mcx16 -msahf -msse4.1 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdep=y"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-mtune=core2 -march=core2 -mcx16 -msahf -msse4.1 -O2 -pipe"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://distfiles.gentoo.org http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
INSTALL_MASK=""
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en en_US en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS=""
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aio akonadi alsa amd64 avahi bash-completion bluetooth branding bzip2 cairo caps cdr cleartype cli consolekit cracklib crypt cscope cups curl cxx dbus disk-partition djbfft djvu doc dri dts dvd dvdr eds emacs emboss encode evo examples exif expat extras fam fftw firefox flac fltk fontconfig fontforge fortran gdbm ggi gif glitz gmp gnutls gpm gstreamer gtk hal iconv icu ieee1394 imlib ipv6 java jpeg jpeg2k kde kerberos lapack laptop latex ldap libedit libnotify lm_sensors mad mikmod mmx mng modules mono moonlight mp3 mp4 mpeg mplayer mpx mudflap multilib musicbrainz mysql ncurses nepomuk networkmanager nls nptl nptlonly odbc ogg opengl openmp oss pam pch pcre pdf perl png policykit postgres ppds pppd python qt3-support qt3support qt4 quicktime readline reflection rrdcgi ruby samba sdl semantic-desktop sensord session slang spell spl sqlite sqlite3 sse sse2 sse3 ssh ssl ssse3 startup-notification svg sysfs tcl tclx tcpd threads thunar tiff tk tools truetype unicode usb utils vim-pager vim-syntax vim-with-x vorbis winbind wininst x264 xcomposite xemacs xml xmlpatterns xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard synaptics virtualbox" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 
Unset:  CPPFLAGS, CTARGET, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY

Comment 2 Ben de Groot (RETIRED) gentoo-dev 2010-03-25 20:43:56 UTC
What version of Qt do you have installed? I got the same compile failure with Qt 4.7.9999, but it worked fine with Qt 4.6.2.
Comment 3 Robert Wynne 2010-03-25 23:51:59 UTC
(In reply to comment #2)
> What version of Qt do you have installed? I got the same compile failure with
> Qt 4.7.9999, but it worked fine with Qt 4.6.2.
> 

I'm using x11-libs/qt-core-4.6.2-r1 and all of it's relatives.  I strictly use ~amd64.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2010-03-30 13:27:55 UTC
I can reproduce this issue with 4.6.2 as well

Could you please report it upstream?
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2010-04-13 18:39:44 UTC
This is because it tried to load the qt plugins. This however implies that the Qt libraries are build as static libraries. We do build them as shared libraries so the package should not try to load those plugins because they simply dont exist as plugin interfaces.

I 've created a patch for it. So please sync your portage tree and try to build wally again. It might build fine but please verify it works 

Thanks
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-04-18 18:48:35 UTC
Created attachment 228313 [details]
Build log

Seems like it's still a problem :/
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2010-04-19 14:43:22 UTC
Crap seems like the patch didnt make it to cvs

Now it should be ok 

Thanks and sorry for the confusion