Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 218779

Summary: dev-cpp/libxmlpp-1.0.5 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: GNOME C++ Bindings Maintainers (OBSOLETE) <gnome-mm+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: libxmlpp-1.0.5-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-21 20:14:18 UTC
if /bin/bash ../../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libxml++\" -DVERSION=\"1.0.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STRING=1 -DHAVE_LIST=1 -DHAVE_MAP=1  -DLIBXMLPP_COMPILATION -I. -I. -I../.. -I/usr/include/libxml2      -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT parser.lo -MD -MP -MF ".deps/parser.Tpo" -c -o parser.lo parser.cc; \
        then mv -f ".deps/parser.Tpo" ".deps/parser.Plo"; else rm -f ".deps/parser.Tpo"; exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libxml++\" -DVERSION=\"1.0.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STRING=1 -DHAVE_LIST=1 -DHAVE_MAP=1 -DLIBXMLPP_COMPILATION -I. -I. -I../.. -I/usr/include/libxml2 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c parser.cc  -fPIC -DPIC -o .libs/parser.o
parser.cc: In member function 'virtual void xmlpp::Parser::check_for_exception()':
parser.cc:197: error: 'auto_ptr' is not a member of 'std'
parser.cc:197: error: expected primary-expression before '>' token
parser.cc:197: error: 'tmp' was not declared in this scope
make[2]: *** [parser.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-cpp/libxmlpp-1.0.5/work/libxml++-1.0.5/libxml++/parsers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-cpp/libxmlpp-1.0.5/work/libxml++-1.0.5/libxml++'
make: *** [all-recursive] Error 1
 *
 * ERROR: dev-cpp/libxmlpp-1.0.5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2568:  Called gnome2_src_compile
 *             environment, line 1957:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-cpp/libxmlpp-1.0.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-cpp/libxmlpp-1.0.5/temp/environment'.


Reproducible: Always
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-21 20:15:04 UTC
Created attachment 150528 [details, diff]
libxmlpp-1.0.5-gcc43.patch

Fixes the problem. Snatched from Debian.
Comment 2 RĂ©mi Cardona (RETIRED) gentoo-dev 2008-05-02 08:52:46 UTC
Fixed in CVS. Thanks for the patch :)