Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261923 - x11-libs/qt-gui-4.5.0 build error
Summary: x11-libs/qt-gui-4.5.0 build error
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: Other Linux
: High major (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-09 22:58 UTC by baldo davide
Modified: 2009-04-22 13:18 UTC (History)
0 users

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


Attachments
build log (build.log,81.50 KB, text/plain)
2009-03-09 22:59 UTC, baldo davide
Details

Note You need to log in before you can comment on or make changes to this bug.
Description baldo davide 2009-03-09 22:58:10 UTC
qt-gui-4.5.0 fails to compile:

linking ../../../bin/linguist
.obj/release-shared/formpreviewview.o: In function `registerTreeItem(QTreeWidgetItem*, QHash<QUiTranslatableStringValue, QList<TranslatableEntry> >*)':
formpreviewview.cpp:(.text+0x1726): undefined reference to `QFormInternal::qUiItemRoles'
formpreviewview.cpp:(.text+0x1744): undefined reference to `QFormInternal::qUiItemRoles'
.obj/release-shared/formpreviewview.o: In function `registerTableItem(QTableWidgetItem*, QHash<QUiTranslatableStringValue, QList<TranslatableEntry> >*)':
formpreviewview.cpp:(.text+0x19af): undefined reference to `QFormInternal::qUiItemRoles'
formpreviewview.cpp:(.text+0x19d6): undefined reference to `QFormInternal::qUiItemRoles'
.obj/release-shared/formpreviewview.o: In function `buildTargets(QObject*, QHash<QUiTranslatableStringValue, QList<TranslatableEntry> >*)':
formpreviewview.cpp:(.text+0x2c4c): undefined reference to `QFormInternal::qUiItemRoles'
.obj/release-shared/formpreviewview.o:formpreviewview.cpp:(.text+0x2c71): more undefined references to `QFormInternal::qUiItemRoles' follow
.obj/release-shared/formpreviewview.o: In function `FormPreviewView::setSourceContext(int, MessageItem*)':
formpreviewview.cpp:(.text+0x3a5f): undefined reference to `QUiLoader::setLanguageChangeEnabled(bool)'
formpreviewview.cpp:(.text+0x3a6d): undefined reference to `QUiLoader::setTranslationEnabled(bool)'
collect2: ld returned 1 exit status
make[1]: *** [../../../bin/linguist] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-gui-4.5.0/work/qt-x11-opensource-src-4.5.0/tools/linguist/linguist'
make: *** [sub-linguist-make_default-ordered] Error 2

Reproducible: Always

Steps to Reproduce:
1.emerge =qt-gui-4.5.0
2.
3.




# emerge qt-gui -pv

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

Calculating dependencies... done!
[ebuild     U ] x11-libs/qt-gui-4.5.0 [4.4.2-r3] USE="accessibility cups dbus glib gtkstyle%* mng qt3support tiff -custom-cxxflags -debug -nas -nis -pch -raster% -xinerama" INPUT_DEVICES="(-wacom%)" 0 kB
[ebuild     U ] x11-libs/qt-qt3support-4.5.0 [4.4.2] USE="accessibility -custom-cxxflags% -debug -pch -phonon%" 0 kB

# emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.7-r2, 2.6.28-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P7350_@_2.00GHz-with-glibc2.2.5
Timestamp of tree: Mon, 09 Mar 2009 14:30:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.4
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -w"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ http://mirror.leaseweb.com/gentoo/ ftp://mirror.bytemark.co.uk/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 berkdb blender-game bluetooth bzip2 cairo cli cpudetection cracklib crypt css cups dbus dga dri dvb dvd dvdread encode fasttrackfasttrack ffmpeg fftw fglrx flac fortran gd gdbm gif glade glibc-omitfp gnutella gpm gtk hal icc iconv immqt ipv6 isdnlog jack java jpeg jpeg2k jpg kde ldap libv4l2 live lua matroska midi mikmod mjpeg mmx mng motif mp2 mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nvidia ogg openal openexr opengl openmp oss pam pcre pdf perl php png pppd python qt3 qt3support qt4 quicktime rar readline reflection run-as-root samba sdl session sourceview spell spl sqlite3 srt sse sse2 sse4_1 ssht ssl ssse3 stream svg sysfs tcpd tga theora threads tiff truetype twolame unicode usb v4l2 vcd vcdinfo vcdx vlm vorbis webkit x264 xcomposite xmlwriter xorg xpm xrand xsl xulrunner xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia geforce"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

# emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.7-r2, 2.6.28-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P7350_@_2.00GHz-with-glibc2.2.5
Timestamp of tree: Mon, 09 Mar 2009 14:30:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.4
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -w"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ http://mirror.leaseweb.com/gentoo/ ftp://mirror.bytemark.co.uk/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 berkdb blender-game bluetooth bzip2 cairo cli cpudetection cracklib crypt css cups dbus dga dri dvb dvd dvdread encode fasttrackfasttrack ffmpeg fftw fglrx flac fortran gd gdbm gif glade glibc-omitfp gnutella gpm gtk hal icc iconv immqt ipv6 isdnlog jack java jpeg jpeg2k jpg kde ldap libv4l2 live lua matroska midi mikmod mjpeg mmx mng motif mp2 mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nvidia ogg openal openexr opengl openmp oss pam pcre pdf perl php png pppd python qt3 qt3support qt4 quicktime rar readline reflection run-as-root samba sdl session sourceview spell spl sqlite3 srt sse sse2 sse4_1 ssht ssl ssse3 stream svg sysfs tcpd tga theora threads tiff truetype twolame unicode usb v4l2 vcd vcdinfo vcdx vlm vorbis webkit x264 xcomposite xmlwriter xorg xpm xrand xsl xulrunner xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia geforce"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

# uname -a
Linux gentoo 2.6.28-gentoo-r2 #2 SMP Mon Feb 23 08:02:48 CET 2009 x86_64 Intel(R) Core(TM)2 Duo CPU P7350 @ 2.00GHz GenuineIntel GNU/Linux
Comment 1 baldo davide 2009-03-09 22:59:57 UTC
Created attachment 184510 [details]
build log

the whole build log
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-09 23:22:10 UTC
Reassigning to qt herd.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2009-03-09 23:46:07 UTC
Could you try to rebuild qt-core an then re-emerge qt-gui?
Comment 4 baldo davide 2009-03-10 00:23:54 UTC
re-emerged qt-core and qt-gui: nothing changed...still the same error
Comment 5 Ben de Groot (RETIRED) gentoo-dev 2009-03-10 06:56:46 UTC
If you have eix installed, you could try this to force portage to rebuild the qt packages in the correct order:

emerge -C `eix --installed --only-names -C x11-libs qt-` && emerge qt-gui
Comment 6 baldo davide 2009-03-10 14:15:30 UTC
tried:
emerge -C `eix --installed --only-names -C x11-libs qt-` && emerge qt-gui
nothing changed...
Comment 7 baldo davide 2009-03-13 19:51:48 UTC
(?WTH?) there is a really similar bug emerging "kde-base/solid-4.2.1":
Scanning dependencies of target solid-network
[ 95%] Building CXX object solid/solidshell/CMakeFiles/solid-network.dir/solid-network_automoc.o
[ 96%] Linking CXX executable solid-bluetooth
Building CXX object solid/solidshell/CMakeFiles/solid-network.dir/solid-network.o
[ 97%] Building CXX object solid/networking/kded/CMakeFiles/kded_networkstatus.dir/clientadaptor.o
/usr/lib64/qt4/libQtGui.so.4: undefined reference to `QLocale::standaloneMonthName(int, QLocale::FormatType) const'
/usr/lib64/qt4/libQtGui.so.4: undefined reference to `QString::indexOf(QLatin1String const&, int, Qt::CaseSensitivity) const'
/usr/lib64/qt4/libQtGui.so.4: undefined reference to `QTextCodec::ConverterState::~ConverterState()'
/usr/lib64/qt4/libQtGui.so.4: undefined reference to `QDateTimeParser::skipToNextSection(int, QDateTime const&, QString const&) const'
/usr/lib64/qt4/libQtGui.so.4: undefined reference to `QString::replace(QLatin1String const&, QLatin1String const&, Qt::CaseSensitivity)'
/usr/lib64/qt4/libQtGui.so.4: undefined reference to `QLocale::standaloneDayName(int, QLocale::FormatType) const'
/usr/lib64/qt4/libQtGui.so.4: undefined reference to `QByteArray::replace(char const*, int, char const*, int)'
/usr/lib64/qt4/libQtGui.so.4: undefined reference to `QString::replace(QChar, QLatin1String const&, Qt::CaseSensitivity)'
/usr/lib64/qt4/libQtGui.so.4: undefined reference to `QDateTimeParser::sectionText(int) const'
/usr/lib64/qt4/libQtGui.so.4: undefined reference to `QString::replace(QLatin1String const&, QString const&, Qt::CaseSensitivity)'
/usr/lib64/qt4/libQtGui.so.4: undefined reference to `QByteArray::indexOf(char const*, int) const'
/usr/lib64/qt4/libQtGui.so.4: undefined reference to `QString::indexOf(QRegExp&, int) const'
/usr/lib64/qt4/libQtGui.so.4: undefined reference to `QDateTimeParser::parse(QString&, int&, QDateTime const&, bool) const'
collect2: ld returned 1 exit status
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2009-03-13 20:15:45 UTC
I am sorry but i dont see how those two bugs are related. "solid bug" possibly needs a reinstallation of qt-gui but it is definitely not related to this one
Comment 9 baldo davide 2009-03-13 20:25:42 UTC
> I am sorry but i dont see how those two bugs are related. "solid bug" possibly
> needs a reinstallation of qt-gui but it is definitely not related to this one
i've just re-emerge WORLD! (with qt-4.4.4)
it's not qt fault. it must be something like autotools...
Comment 10 Markos Chandras (RETIRED) gentoo-dev 2009-04-22 13:18:39 UTC
Re-open if you still have problems with the latest qt-gui