Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162165 - dev-libs/xmlwrapp build failure with gcc-4.2.0
Summary: dev-libs/xmlwrapp build failure with gcc-4.2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.2
  Show dependency tree
 
Reported: 2007-01-15 07:26 UTC by Ryan Hill (RETIRED)
Modified: 2007-07-18 09:26 UTC (History)
2 users (show)

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 Ryan Hill (RETIRED) gentoo-dev 2007-01-15 07:26:24 UTC
(this bug is more an FYI and a reminder for gcc-porting to look into at a future date when 4.2 is released.  i don't have a fix at this time, but maybe someone with C++ experience (ie. not me ;)) could shed some light on it.)

building xmlwrapp-0.5.0-r1 with the current GCC 4.2 branch svn will fail.  GCC 4.1.1 works.

i686-pc-linux-gnu-g++ -O2 -ggdb -march=prescott -fomit-frame-pointer -fno-ident -pipe -fpic -shared -I/var/tmp/portage/dev-libs/xmlwrapp-0.5.0-r1/work/xmlwrapp-0.5.0/include -I/usr/include -I/usr/include/libxml2 -I/usr/include/libxml2 -c node.cxx
i686-pc-linux-gnu-g++ -O2 -ggdb -march=prescott -fomit-frame-pointer -fno-ident -pipe -fpic -shared -I/var/tmp/portage/dev-libs/xmlwrapp-0.5.0-r1/work/xmlwrapp-0.5.0/include -I/usr/include -I/usr/include/libxml2 -I/usr/include/libxml2 -c node_iterator.cxx
node.cxx:515: error: 'std::ostream& xml::operator<<(std::ostream&, const xml::node&)' should have been declared inside 'xml'
make[2]: *** [node.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/dev-libs/xmlwrapp-0.5.0-r1/work/xmlwrapp-0.5.0/src/libxml'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-libs/xmlwrapp-0.5.0-r1/work/xmlwrapp-0.5.0/src'
make: *** [all] Error 2

!!! ERROR: dev-libs/xmlwrapp-0.5.0-r1 failed.


Portage 2.1.2_rc4-r9 (default-linux/x86/2006.1/desktop, gcc-4.2.0-pre20070112, glibc-2.5-r0, 2.6.19.1 i686)
=================================================================
System uname: 2.6.19.1 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.8
Timestamp of tree: Unknown
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r2
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
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.17, 2.17.50.0.9
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -ggdb -march=prescott -fomit-frame-pointer -fno-ident -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/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -ggdb -march=prescott -fomit-frame-pointer -fno-ident -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect cvs digest distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS=" http://gentoo.chem.wisc.edu/gentoo/"
LANG="en_CA.UTF-8"
LC_ALL="en_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=both"
LINGUAS="en"
MAKEOPTS="-j3"
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="/home/dirtyepic/overlay"
SYNC="cvs://dirtyepic@cvs.gentoo.org:/var/cvsroot"
USE="X a52 aac acpi alsa audiofile bash-completion berkdb bzip2 cairo caps cdparanoia cdr crypt cscope curl dbus dri dts dvd dvdr dvdread encode exif expat fam ffmpeg fftw flac gdbm gif gmp gnutls graphviz gtk hal idn imagemagick imap imlib java javascript jikes joystick jpeg kde kdeenablefinal kdehiddenvisibility mad maildir mailwrapper mmap mmx mng mp3 mpeg mplayer ncurses nptl nsplugin ogg opengl oss pam pcmcia pcre pdf perl pic png python qt3 qt4 quicktime readline ruby sdl session sndfile spell sqlite sqlite3 sse sse2 ssl startup-notification svg tcpd test theora threads truetype unicode urandom usb vcd vim-syntax vorbis win32codecs wxwindows x264 x86 xine xml xpm xv xvid 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="joystick mouse keyboard synaptics" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Duncan 2007-05-23 11:40:05 UTC
Same error, no new information (except that it happens on ~amd64 too).  Yeah, gcc-4.2.0 is still hard masked, but gcc-config and slots make it easy to try. =8^)  Yeah, I'll be patient.  (Looking good so far, Ryan, only ~6/600+ packages failing, <1% fail rate, pretty good this early! =8^)
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2007-07-06 06:18:13 UTC
Fixed. Thanks for reporting.