Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 243188 - games-strategy/glest-3.1.2: cannot compile glest with dev-libs/xerces-c-3.0.0
Summary: games-strategy/glest-3.1.2: cannot compile glest with dev-libs/xerces-c-3.0.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-22 09:36 UTC by Peter
Modified: 2008-10-30 16:23 UTC (History)
4 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 Peter 2008-10-22 09:36:18 UTC
After i have emerged dev-libs/xerces-c-3.0.0 the compilation of glest just crashes even on the old glest 2.1.0, if i downgrade xerces-c to 2.8.0-r1 the compilation goes just fine, i've tried even turning off the iconv flag but that doesn' changed anything

Reproducible: Always

Steps to Reproduce:
1.dev-libs/xerces-c-3.0.0 installed in the system
2.emerge glest

Actual Results:  
MkDir1 ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/xml                                           
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o                                 
shared_lib/sources/xml/xml_parser.cpp: In member function ‘Shared::Xml::XmlNode* Shared::Xml::XmlIo::load(const std::string&)’:                                                                                       
shared_lib/sources/xml/xml_parser.cpp:90: error: ‘DOMBuilder’ was not declared in this scope               
shared_lib/sources/xml/xml_parser.cpp:90: error: ‘parser’ was not declared in this scope                   
shared_lib/sources/xml/xml_parser.cpp:90: error: ‘class xercesc_3_0::DOMImplementationLS’ has no member named ‘createDOMBuilder’                                                                                      
shared_lib/sources/xml/xml_parser.cpp:93: error: ‘fgDOMValidation’ is not a member of ‘xercesc_3_0::XMLUni’
shared_lib/sources/xml/xml_parser.cpp: In member function ‘void Shared::Xml::XmlIo::save(const std::string&, const Shared::Xml::XmlNode*)’:                                                                           
shared_lib/sources/xml/xml_parser.cpp:122: error: ‘DOMWriter’ was not declared in this scope               
shared_lib/sources/xml/xml_parser.cpp:122: error: ‘writer’ was not declared in this scope                  
shared_lib/sources/xml/xml_parser.cpp:122: error: ‘class xercesc_3_0::DOMImplementation’ has no member named ‘createDOMWriter’                                                                                        

    i686-pc-linux-gnu-g++ -c -o ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o  -DPACKAGE_NAME="glest" -DPACKAGE_TARNAME="glest" -DPACKAGE_VERSION="3.1.2" -DPACKAGE_STRING="glest 3.1.2" -DPACKAGE_BUGREPORT="matze@braunis.de" -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 -DUSE_POSIX_SOCKETS= -DX11_AVAILABLE=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL= -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread  -I/usr/include -I/usr/include  -Ishared_lib/sources/../include/platform/sdl -Ishared_lib/sources/../include/platform/posix -Ishared_lib/sources/../include/util -Ishared_lib/sources/../include/graphics -Ishared_lib/sources/../include/graphics/gl -Ishared_lib/sources/../include/sound -Ishared_lib/sources/../include/sound/openal -Ishared_lib/sources/../include/xml -Ishared_lib/sources/../include/glew -march=core2 -O2 -pipe -fomit-frame-pointer -Wall -W -Wno-unused -Wno-sign-compare -DNDEBUG shared_lib/sources/xml/xml_parser.cpp                                    

...failed C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o ...
...skipped libglestlib.a for lack of libglestlib.a(xml_parser.o)...                     
...failed updating 1 target(s)...                                                       
...skipped 1 target(s)...                                                               
...updated 52 target(s)...                                                              
 *                                                                                      
 * ERROR: games-strategy/glest-3.1.2 failed.                                            
 * Call stack:                                                                          
 * ebuild.sh, line   49:  Called src_compile                                            
 * environment, line 2750:  Called die                                                  
 * The specific snippet of code:                                                        
 * jam -q || die "jam failed"                                                           
 * The die message:                                                                     
 * jam failed                                                                           
 *                                                                                      
 * 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/games-strategy/glest-3.1.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-strategy/glest-3.1.2/temp/environment'.                                                                                                          
 *                                                                                                         

>>> Failed to emerge games-strategy/glest-3.1.2, Log file:

>>>  '/var/tmp/portage/games-strategy/glest-3.1.2/temp/build.log'

 * Messages for package games-strategy/glest-3.1.2:

 * 
 * ERROR: games-strategy/glest-3.1.2 failed.
 * Call stack:                              
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2750:  Called die      
 * The specific snippet of code:            
 * jam -q || die "jam failed"               
 * The die message:                         
 * jam failed                               
 *                                          
 * 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/games-strategy/glest-3.1.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-strategy/glest-3.1.2/temp/environment'.                                                                                                          
 *
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-10-22 10:39:55 UTC
confirming

# emerge --info
Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.7-r2, 2.6.26.6 x86_64)
=================================================================
System uname: Linux-2.6.26.6-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2354-with-glibc2.2.5
Timestamp of tree: Wed, 22 Oct 2008 06:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -mtune=barcelona -O2 -finline-functions -pipe"
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"
CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/xinit /etc/bash_completion.d /etc/bonobo-activation /etc/ca-certificates.conf /etc/cups /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/fish /etc/fonts /etc/fonts/fonts.conf /etc/foomatic /etc/gconf /etc/gentoo-release /etc/gimp /etc/gnome-vfs-2.0 /etc/gtk /etc/gtk-2.0 /etc/hotplug /etc/hotplug.d /etc/imlib /etc/init.d /etc/iproute2 /etc/nas /etc/ntop /etc/pam.d /etc/pango /etc/profile.d /etc/revdep-rebuild /etc/sasl2 /etc/sgml /etc/ssl /etc/ssmtp /etc/t1lib /etc/terminfo /etc/udev/rules.d /etc/xinetd.d /etc/xml /etc/zsh"
CXXFLAGS="-march=barcelona -mtune=barcelona -O2 -finline-functions -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --jobs=1 --with-bdeps=y"
FEATURES="collision-protect distlocks parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"
LINGUAS="de"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 amd64codecs asf avi berkdb branding bzip2 cairo cdparanoia cdr cli cracklib crypt cups dvd dvdr dvdread emboss encode fam ffmpeg flac gdbm gif gnutls gpg gtk gtk2 iconv idn imagemagick imlib isdnlog jpeg jpeg2k kde kdehiddenvisibility lame libwww mad midi mikmod mjpeg mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pcre pdf png pppd qt3 qt3support quicktime readline reflection sdl session silc slang smp spell spl sse sse2 ssl startup-notification svg sysfs tga theora threads tiff truetype usb v4l2 vcd vorbis x264 xcomposite xml xml2 xorg xprint xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Daniel Santos 2008-10-26 00:12:19 UTC
Please mark this bug as confirmed and I have already contacted upstream.  Don't drink the water downstream, because I saw somebody peeing in it.
Comment 3 Daniel Santos 2008-10-26 00:13:16 UTC
Oh yea, I guess we should change the ebuild to DEPEND <xerces-c-3
Comment 4 Tupone Alfredo gentoo-dev 2008-10-26 07:04:18 UTC
It is fixed in portage. Now it correctly ask for xerces-c < 3.0 Thanks
Comment 5 Torsten Kaiser 2008-10-26 10:15:27 UTC
I dont think depending on xerces-c < 3 will be a good solution.

See Bug #240496 : xerces-c-3.0.0 is a security update.
Comment 6 Daniel Santos 2008-10-26 10:22:47 UTC
(In reply to comment #5)
> I dont think depending on xerces-c < 3 will be a good solution.
> 
> See Bug #240496 : xerces-c-3.0.0 is a security update.
> 

I don't doubt it, but it's better to break the build with dependency conflict than when attempting to compile.  Also, that's a very lame way to implement a "security update", breaking the API and bumping a major version?  If this is indeed a security fix, they need to back port it to 2.8 and release us an update.  Luckily, openoffice 3.0 is off of xerces-c now or we would have more conflicts :(
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2008-10-30 08:37:26 UTC
Dep'ing on <dev-libs/xerces-c-3 is completely wrong because it's not slotted so people's install of xerces will upgrade/downgrade loop.  Sigh.
Comment 8 Tupone Alfredo gentoo-dev 2008-10-30 16:23:37 UTC
I put a blocker now. Thanks