Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182194 - x11-libs/qt-4.2.3-r1 fails to emerge
Summary: x11-libs/qt-4.2.3-r1 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-16 01:35 UTC by Jared Hulbert
Modified: 2007-06-27 21:54 UTC (History)
0 users

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


Attachments
full "emerge qt" output (qt-error.txt,733.42 KB, text/plain)
2007-06-16 01:36 UTC, Jared Hulbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Hulbert 2007-06-16 01:35:19 UTC
I get the following error and many others after it when emerging qt:


g++  -o ../../bin/assistant .obj/release-shared/main.o .obj/release-shared/helpwindow.o .obj/release-shared/topicchooser.o .obj/release-shared/docuparser.o .obj/release-shared/index.o .obj/release-shared/profile.o .obj/release-shared/config.o .obj/release-shared/helpdialog.o .obj/release-shared/mainwindow.o .obj/release-shared/tabbedbrowser.o .obj/release-shared/moc_helpwindow.o .obj/release-shared/moc_topicchooser.o .obj/release-shared/moc_index.o .obj/release-shared/moc_helpdialog.o .obj/release-shared/moc_mainwindow.o .obj/release-shared/moc_tabbedbrowser.o .obj/release-shared/qrc_assistant.o    -L/usr/lib64 -L/usr/lib64/mysql -L/var/tmp/portage/x11-libs/qt-4.2.3-r1/work/qt-x11-opensource-src-4.2.3/lib -lQtXml -L/usr/lib64 -L/usr/lib64/mysql -L/var/tmp/portage/x11-libs/qt-4.2.3-r1/work/qt-x11-opensource-src-4.2.3/lib -lQtGui -L/usr/lib -lpng -lSM -lICE -lXrender -lXrandr -lXfixes -lXcursor -lfreetype -lfontconfig -lXext -lX11 -lQtNetwork -lQtCore -lz -lm -lpthread -ldl
.obj/release-shared/main.o: In function `AssistantServer::AssistantServer(QObject*)':
main.cpp:(.text+0x36b): undefined reference to `QMessageBox::critical(QWidget*, QString const&, QString const&, QFlags<QMessageBox::StandardButton>, QMessageBox::StandardButton)'
.obj/release-shared/main.o: In function `AssistantServer::AssistantServer(QObject*)':
main.cpp:(.text+0x91f): undefined reference to `QMessageBox::critical(QWidget*, QString const&, QString const&, QFlags<QMessageBox::StandardButton>, QMessageBox::StandardButton)'
.obj/release-shared/main.o: In function `main':
main.cpp:(.text+0xad6): undefined reference to `QApplication::QApplication(int&, char**, bool, int)'


emerge --info
Portage 2.1.2.7 (default-linux/amd64/2006.0, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 13 Jun 2007 17:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apache2 berkdb bitmap-fonts cdr cli cracklib crypt cups dri dvd eds emboss encode foomaticdb fortran gd gif gnome gpm gstreamer gtk gtk2 iconv imagemagick imlib ipv6 isdnlog jpeg kde ldap lzw lzw-tiff midi mp3 mpeg mudflap multiuser mysql ncurses nls nptl opengl openmp pam pcre pdf perl php png pppd python qt3 qt4 quicktime readline reflection ruby samba sdl session spell spl ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb xml xorg xpm xv 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 mulaw multi null plug rate route share shm softvol" 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="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jared Hulbert 2007-06-16 01:36:41 UTC
Created attachment 122205 [details]
full "emerge qt" output
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2007-06-16 10:56:26 UTC
I'd say this is a freak compiler error.  I would remove the portage tmpdir and try it again.
Comment 3 Jared Hulbert 2007-06-27 18:27:35 UTC
(In reply to comment #2)
> I'd say this is a freak compiler error.  I would remove the portage tmpdir and
> try it again.
> 

nope.  Just tried that.  No difference.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2007-06-27 18:43:25 UTC
do you have an existing version of Qt on your system (either in portage or somewhere you played with locally) that might be interfering?
Comment 5 Jared Hulbert 2007-06-27 21:54:35 UTC
(In reply to comment #4)
> do you have an existing version of Qt on your system (either in portage or
> somewhere you played with locally) that might be interfering?
> 

I did an 'emerge list qt'

It listed a qt-4.1.something that isn't in gentoo-portage.com's database.
I unmerged that, then did a 'emerge qt' and it worked.

Seems to have been the trick.  Thanks!