Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136106 - QT-4.1.3 error when compiling qdom.cpp
Summary: QT-4.1.3 error when compiling qdom.cpp
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-08 12:13 UTC by Christopher O'Neill
Modified: 2006-06-08 14:30 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher O'Neill 2006-06-08 12:13:35 UTC
While emerging:

g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC  -DQT_SHARED -DQT_BUILD_XML_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtXml -I.moc/debug-shared -I. -o .obj/debug-shared/qdom.o qdom.cpp
In file included from ../../include/QtCore/qbytearray.h:1,
                 from ../../include/QtCore/../../src/corelib/tools/qstring.h:28,
                 from ../../include/QtCore/qstring.h:1,
                 from ./qdom.h:27,
                 from qdom.cpp:25:
../../include/QtCore/../../src/corelib/tools/qbytearray.h:449: error: declaration of `operator>' as non-function
../../include/QtCore/../../src/corelib/tools/qbytearray.h:449: error: `const$QByteArray' was not declared in this scope
../../include/QtCore/../../src/corelib/tools/qbytearray.h:449: error: `a1' was not declared in this scope
../../include/QtCore/../../src/corelib/tools/qbytearray.h:449: error: expected primary-expression before "const"
make[3]: *** [.obj/debug-shared/qdom.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/qt-4.1.3/work/qt-x11-opensource-src-4.1.3/src/xml'
make[2]: *** [debug-all] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-4.1.3/work/qt-x11-opensource-src-4.1.3/src/xml'
make[1]: *** [sub-xml-all-ordered] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-4.1.3/work/qt-x11-opensource-src-4.1.3/src'
make: *** [sub-src-all-ordered] Error 2

!!! ERROR: x11-libs/qt-4.1.3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  qt-4.1.3.ebuild, line 148:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


# emerge --info
Portage 2.1_rc4-r4 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-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/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/my_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac alsa apache2 apm arts asf avi berkdb bitmap-fonts bzip2 cairo cdparanoia cli cpudetection crypt cups cvs dri dts dvb dvbplayer dvd eds emboss encode fam firefox foomaticdb gdbm gif glitz gpm gstreamer gtk2 hal imlib ipv6 isdnlog jpeg jumpplay kde kdeenablefinal kdexdeltas libg++ libwww mad mikmod mmx mmxext mp3 mpeg ncurses nls nowebdav nptl ogg opengl pam pcre pdflib perl png pppd python qt quicktime readline real reflection ruby sdl session spell spl sql sse sse2 ssl subversion tcpd truetype truetype-fonts type1-fonts udev vorbis win32codecs xcomposite xinerama xml xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_wacom kernel_linux userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christopher O'Neill 2006-06-08 13:57:44 UTC
After typing submitting this bug report I re-ran the emerge, this time it completed with no errors.  I haven't altered anything at all between the 2 emerges.  Very strange..
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2006-06-08 14:30:44 UTC
something faulty in the compiler