Summary: | x11-libs/qt-assistant-4.7.0 emake failure due the undefined symbol ZN11QDataStreamC1EP10QByteArrayi in LibQtNetwork.so.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | J.Taimr <tai> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | wbrana, yamadharma |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
patched ebuild for src_configure (change my_conf to include -qt3support) |
Description
J.Taimr
2010-10-24 07:43:10 UTC
Created attachment 251771 [details]
build.log
I can't reproduce that. these are my use flags for Qt: [I] x11-libs/qt-assistant Available versions: (4) 4.5.3 4.6.2 ~4.6.2-r2 4.6.3{tbz2} {M}(~)4.7.0{tbz2} {aqua compat debug doc +exceptions +glib pch trace} Installed versions: 4.7.0(4){tbz2}(07:47:43 PM 10/10/2010)(exceptions glib -aqua -compat -debug -doc -pch -trace) Homepage: http://qt.nokia.com/ Description: The assistant help module for the Qt toolkit [I] x11-libs/qt-core Available versions: (4) 4.5.3-r2 4.6.2-r1 4.6.3{tbz2} {M}(~)4.7.0{tbz2} {aqua debug doc +exceptions +glib iconv optimized-qmake pch private-headers qt3support ssl} Installed versions: 4.7.0(4){tbz2}(05:47:14 PM 10/06/2010)(exceptions glib iconv private-headers qt3support ssl -aqua -debug -optimized-qmake -pch) Homepage: http://qt.nokia.com/ Description: The Qt toolkit is a comprehensive C++ application development framework try using the same use flags, maybe some combinations are not working properly. (In reply to comment #2) I tried to use your USE flags and reemerge qt-core and qt-assistant, but emerge failed with the identical message at the same step :(. Problem is something else. I will try to play around (CFLAGS, LDFLAGS).. or perhaps gcc-4.5.1 does bad things. So far, no success. All my attempts still ended with the same error about undefined symbol, even if qt-core and qt-assistant are compiled with CFLAGS="-O2 -pipe" CXXFLAGS=${CFLAGS} LDFLAGS="" and the USE flags, mentioned above. I also tried to compile qt-core and qt-assistant libraries by gcc-4.4.4, but it failed, because of libstdc++ inconsistency. So, without reverting of the half of the system back to gcc-4.4.4-compiled I cannot dig deeper into the problem. It seems be just a tiny problem in the configuration of qt-assistant, because ebuild qt-assistant-4.7.0.ebuild compile fails, but the next 'make' in the work directory produces the appropriate libraries, inclusive qt-assistant ones. But such created libQtCore and libQtNetwork have different sizes than that ones, produced by emerge qt-core (it might be due to different stripping during emerge). I have the same problem here. Here's what I have discovered so far: _ZN11QDataStreamC1EP10QByteArrayi is a QDataStream::QDataStream(QByteArray*, int) function, it's present in qt 4.7.0 only if compiled with qt3support. During the emerge of the qt-assistant-4.7.0, libQtCore without qt3support is built in the /var/tmp/portage/x11-libs/qt-assistant-4.7.0/work/qt-everywhere-opensource-src-4.7.0/lib. Then qhelpgenerator program is run, which requires libQtNetwork.so.4 and libQtCore.so.4 shared libraries among others. These dependencies are resolved like this: libQtNetwork.so.4 => /usr/lib64/qt4/libQtNetwork.so.4 libQtCore.so.4 => /var/tmp/portage/x11-libs/qt-assistant-4.7.0/work/qt-everywhere-opensource-src-4.7.0/lib/libQtCore.so.4 As my qt is built with qt3support, libQtNetwork references symbol _ZN11QDataStreamC1EP10QByteArrayi, which is missing in that libQtCore. emerge --info Portage 2.2.0_alpha2 (hardened/linux/amd64/10.0, gcc-4.4.5, glibc-2.12.1-r2, 2.6.35-hardened-r2 x86_64) ================================================================= System uname: Linux-2.6.35-hardened-r2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 29 Oct 2010 15:15:02 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.5.4-r3, 2.6.6-r1, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r4 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.51.0.11 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) Repositories: gentoo local berkano dev-jokey hardened-dev ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula sun-bcla-java-vm googleearth AdobeFlash-10 AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/openvpn/easy-rsa /var/bind /var/www" 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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/ " LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--warn-once,--hash-style=gnu" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/berkano /var/lib/layman/jokey /var/lib/layman/hardened-development" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 apache2 atm berkdb bzip2 cairo cjk cli cracklib crypt cups cxx dbus divx4linux djvu doc dri dvb dvd dvdr epoll exif fbcon flac font-server gdbm gif glitz glut gmp gpm graphite gtk2 hal hardened iconv immqt-bc innodb ipv6 java java6 jbig jpeg jpeg2k justify kde lcms live lm_sensors lzo midi mmx mng modules mp3 mpeg mudflap multilib musepack ncurses network nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre perl pg-hier pg-intdatetime phonon pic png pppd python qt3support qt4 readline rss sasl sdk semantic-desktop session slang speex srvdir sse sse2 ssl ssse3 subversion svg sysfs tcpd theora threads tiff truetype unicode urandom usb utf8 v4l v4l2 vorbis wavpack x264 xcomposite xorg xulrunner xvid zlib" ALSA_CARDS="emu10k1" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Same problem here. x11-libs/qt-core Available versions: (4) 4.5.3-r2 4.6.2-r1 (~)4.6.3 {aqua debug doc +exceptions +glib iconv optimized-qmake pch qt3support ssl} Installed versions: 4.7.0(4)(08:22:50 AM 11/08/2010)(exceptions glib iconv private-headers qt3support ssl -aqua -debug -optimized-qmake -pch) [ebuild U ] x11-libs/qt-assistant-4.7.0 [4.6.3] USE="compat%* exceptions glib%* (-aqua) -debug -doc% -pch -trace" I've really tried to reproduce this but I can't... It works in both my +qt3support system and -qt3support chroot... I added a special version of the ebuild with a qt3support useflag to the qting-edge overlay, could you guys try it out and tell me if it fixes it? thanks :) Yes, they work for me. Created attachment 253711 [details]
patched ebuild for src_configure (change my_conf to include -qt3support)
The build was OK after changing the src_configure function in the ebuild: the configure was invoked with "-no-qt3support" (in my_conf variable). I changed it to "-qt3support".
ok, the fix/new qt3support useflag is now in the tree. thanks for reporting! |