Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202922 - dev-libs/xalan-c-1.10.0 compile fails - The primary document entity could not be opened.
Summary: dev-libs/xalan-c-1.10.0 compile fails - The primary document entity could not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
: 203467 216703 218216 219766 220401 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-21 10:02 UTC by Jiri Baloun
Modified: 2008-08-09 09:34 UTC (History)
16 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 Jiri Baloun 2007-12-21 10:02:36 UTC
package xalan-c fails during building

Reproducible: Always

Steps to Reproduce:
1. emerge --sync --verbose
2. emerge -av 2.xalan-c-1.10.0


Actual Results:  
make[2]: Entering directory `/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/Utils'
mkdir -p ../../../nls
mkdir -p ../../../nls/include
make[2]: Leaving directory `/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/Utils'
make -C Utils locale
make[2]: Entering directory `/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/Utils'
make -C MsgCreator
make[3]: Entering directory `/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/Utils/MsgCreator'
x86_64-pc-linux-gnu-g++ -O2 -march=nocona -pipe -fomit-frame-pointer -funswitch-loops -O2 -DNDEBUG     -Wall -fPIC -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src -I/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/include -I../../../../nls/include -I/usr/include/xercesc/src/ -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o ../../../../obj/MsgFileOutputStream.o /var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/MsgFileOutputStream.cpp
x86_64-pc-linux-gnu-g++ -O2 -march=nocona -pipe -fomit-frame-pointer -funswitch-loops -O2 -DNDEBUG     -Wall -fPIC -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src -I/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/include -I../../../../nls/include -I/usr/include/xercesc/src/ -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o ../../../../obj/ICUResHandler.o /var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/ICUResHandler.cpp
x86_64-pc-linux-gnu-g++ -O2 -march=nocona -pipe -fomit-frame-pointer -funswitch-loops -O2 -DNDEBUG     -Wall -fPIC -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src -I/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/include -I../../../../nls/include -I/usr/include/xercesc/src/ -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o ../../../../obj/InMemHandler.o /var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/InMemHandler.cpp
x86_64-pc-linux-gnu-g++ -O2 -march=nocona -pipe -fomit-frame-pointer -funswitch-loops -O2 -DNDEBUG     -Wall -fPIC -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src -I/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/include -I../../../../nls/include -I/usr/include/xercesc/src/ -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o ../../../../obj/MsgCreator.o /var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/MsgCreator.cpp
x86_64-pc-linux-gnu-g++ -O2 -march=nocona -pipe -fomit-frame-pointer -funswitch-loops -O2 -DNDEBUG     -Wall -fPIC -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src -I/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/include -I../../../../nls/include -I/usr/include/xercesc/src/ -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o ../../../../obj/NLSHandler.o /var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/NLSHandler.cpp
x86_64-pc-linux-gnu-g++ -O2 -march=nocona -pipe -fomit-frame-pointer -funswitch-loops -O2 -DNDEBUG     -Wall -fPIC -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src -I/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/include -I../../../../nls/include -I/usr/include/xercesc/src/ -I/usr/include/xercesc/include/xercesc -I/usr/include/xercesc/include/  -o ../../../../obj/SAX2Handler.o /var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/Utils/MsgCreator/SAX2Handler.cpp
x86_64-pc-linux-gnu-g++ -DLINUX -fPIC -pthread   -DXALAN_INMEM_MSG_LOADER   \
         ../../../../obj/MsgFileOutputStream.o ../../../../obj/ICUResHandler.o ../../../../obj/InMemHandler.o ../../../../obj/MsgCreator.o ../../../../obj/NLSHandler.o ../../../../obj/SAX2Handler.o -o ../../../../bin/MsgCreator -L/usr/include/xercesc/lib -lxerces-c
make[3]: Leaving directory `/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/Utils/MsgCreator'
../../../bin/MsgCreator /var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/NLS/en_US/XalanMsg_en_US.xlf -TYPE inmem -LOCALE en_US

Fatal Error at file , line 0, char 0
  Message:  An exception occurred! Type:RuntimeException, Message: The primary document entity could not be opened. Id=/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/NLS/en_US/XalanMsg_en_US.xlf
make[2]: *** [../../../nls/include/LocalMsgData.hpp] Error 9
make[2]: Leaving directory `/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/Utils'
make[1]: *** [locale] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-libs/xalan-c-1.10.0/work/xml-xalan/c/src/xalanc'
make: *** [all] Error 2



Portage 2.1.4_rc11 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.22-suspend2-r2 x86_64)
=================================================================
System uname: 2.6.22-suspend2-r2 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Fri, 21 Dec 2007 07:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.4-r7, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer -funswitch-loops"
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/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer -funswitch-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer prelink sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inode.at/"
LANG="czech"
LC_ALL="C"
LDFLAGS=""
LINGUAS="cs en en_GB"
MAKEOPTS="-j1"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 3dnow 3dnowext 7zip X X509 Xaw3d a52 aac aalib accessibility acl acpi addbookmarks additions adplug ads aim aio akode alias alsa altcolors amarok amazon amd amd64 amr amrnb amrwb ao aotuv asf async audiofile automount autoreplace bash-completion bcmath bcp bdf berkdb binary-drivers bitmap-fonts bl bluetooth boost branding bzip2 bzlib cairo cap cardbus cdda cddb cdio cdparanoia cdr cdrom chm chroot cisco collision-protect compress connectionstatus contactnotes corba cpio cpudetection cracklib crypt cscope css csv ctype cups curl curlwrappers custom-cflags cvs daap dar64 dbus dc1394 depth32 dga dia dio diskio divx divx4linux djbfft dmi dmx doc dpms dri dvb dvd dvdnav dvdr dvdread eap-tls ecc elf emerald emovix enca encode erandom ethereal exif expat extensions extrafilters fam fame ffmpeg firefox flac flatfile fmod fontconfig fpx freetype ftp fuse gadu gammu gdbm gif gimp gimpprint glistif glitz glut gnokii gnutls gpg gpg2-experimental graphviz groupwise gs gtk2 hal hdaps hddtemp hdri hfs highlight history hpn ical iconv icq id3 id3tag idea ieee1394 imagemagick imap imlib imlib2 immqt inkjar inline insecure-drivers insecure-patches iproute2 ipw3945 irc irda irmc ithreads jabber java java5 javamail javascript jbig jingle jpeg jpeg2k kde kdehiddenvisibility kdepim kdexdeltas kdrive kerberos keyscrub kipi lame largeterminal latex lcms ldap lesstif lha libcaca libedit libg++ libvisual libwww linuxthreads-tls lirc live lm_sensors logrotate lzo lzw lzw-tiff mad matroska mhash midi mikmod mime mmx mmx2 mng motif mp2 mp3 mp4 mpeg mplayer mudflap multicall musepack nas ncurses network newspr nls no-old-linux nocardbus nojoustick nomac nomalloccheck nowebdav nptl nptlonly ntlm_unsupported_patch oav ogg oggvorbis openal openexr opengl openmp optimisememory oss pam pcmcia pcmcia-cs pcntl pcre pdf pdflib perl pertty pic png pnm posix postgres pppd pvr python q32 qt qt3 qt3support qt4 quicktime rar rdesktop readline recode reflection rtc rtsp samba sasl sdl session sha shared sharedmem silc skey skins slang slp smartcard smux sndfile snmp sockets socks5 sox spl spoof-source srt sse sse2 ssl ssse3 stream subtitles subversion svg swig syslog sysvipc szip tabs tcl tcp tcpd test tga theora threads tidy tiff tivo tk trace transcode truetype twinserial twolame type1 unicode upnp usb userlocales utils v4l v4l2 vcd vcdx vdr vim-pager vim-syntax vim-with-x visualization vlm vorbis vram wavpack webdav wifi winbind winpopup wireshark wma wmf wmp wxwindows x264 xanim xattr xcb xcomposite xface xforms xgetdefault xine xml xorg xosd xpm xsl xv xvid xvmc yv12 zlib zoran" ALSA_CARDS="intel8x0m" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="synaptics keyboard mouse vmmouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en en_GB" LIRC_DEVICES="all" USERLAND="GNU" VIDEO_CARDS="fglrx ati dummy vmware radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 snoapx 2007-12-21 19:21:25 UTC
Hello,

I have the same error with the following system configuration : 


Portage 2.1.4_rc11 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r4 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Timestamp of tree: Fri, 21 Dec 2007 13:30:08 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.4-r7, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18.50.0.3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -msse3 -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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -msse3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both"
LINGUAS="fr fr_FR"
MAKEOPTS="-j05"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/toolchain /usr/portage/local/layman/pok3d /usr/portage/local/layman/kde /usr/portage/local/layman/mozilla /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi addbookmarks alias alsa amd64 amuled apache2 arts autoreplace bash-completion berkdb bitmap-fonts cairo cd cdr cli connectionstatus cracklib crypt cups doc dri dvd dvdr dvdread emacs encode ffmpeg firefox fortran gadu gdbm gif glitz gpm groupwise hal hashstyle highlight history httpd iconv ieee1394 imagemagick ipv6 irc isdnlog java jingle jpeg kde kdeenablefinal kdehiddenvisibility latex libdvdread live lm_sensors mad matroska midi mjpeg mmx mp3 mpeg mplayer msn mudflap musepack mysql ncurses network nls nowlistening nptl nptlonly ntfs ogg opengl openmp pam pcre pdf perl php png ppds pppd python qt3 qt4 quicktime rar readline reflection remote samba sametime scanner sdl sensord session shout skins slang slp sms spell spl sse sse2 ssl statistics stream svg symlink tcl tcpd texteffect tk translator truetype truetype-fonts type1-fonts unicode usb v4l2 vorbis wepresence wxwindows x264 xine xinerama xml xml2 xorg xvid 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Andrew Gaydenko 2007-12-21 20:43:48 UTC
The same here.

The thing is worse than it seems at first look. The portage hasn't older versions of the package. As a result, all dependencies are blocked.

Please, rise the issue priority.
Comment 3 Michael Baer 2007-12-21 22:02:34 UTC
(In reply to comment #2)
> The same here.
> 
> The thing is worse than it seems at first look. The portage hasn't older
> versions of the package. 

I guess this wouldn't solve the problem. I guess the problem is xerces 2.8.x. xalan supports officially only xerces 2.7.x, but on ~x86/~amd64 xerces 2.8.x is installed.
Comment 4 Michael Baer 2007-12-21 22:05:28 UTC
(In reply to comment #2)
> The portage hasn't older
> versions of the package. 

I guess this wouldn't solve the problem. I guess the problem is xerces 2.8.x. xalan supports officially xerces 2.7.x only, but on ~x86/~amd64 xerces 2.8.x is installed.
Comment 5 snoapx 2007-12-21 22:09:03 UTC
I tried with dev-java/xerces-2.3.0-r3, but still the same error :-s
Comment 6 snoapx 2007-12-21 22:10:30 UTC
(In reply to comment #5)
> I tried with dev-java/xerces-2.3.0-r3, but still the same error :-s
> 

Moreover, no 2.7.x version is the portage tree.
Comment 7 Andrija Prčić 2007-12-21 22:17:02 UTC
(In reply to comment #5)
> I tried with dev-java/xerces-2.3.0-r3, but still the same error :-s

You emerged the wrong package. It should be dev-libs/xerces-c, not dev-java/xerces

My xalan-c was also broken (~amd64), and it works with =dev-libs/xerces-c-2.7.0-r1 so I masked =dev-libs/xerces-c-2.8.0 for now.
Comment 8 snoapx 2007-12-21 22:26:04 UTC
Oops, sorry for my mistake. 

Solution confirmed, xalan-c has to be compiled with dev-libs/xerces-c-2.7.0-r1.

Thanks a lot for your help
Comment 9 Michael Baer 2007-12-21 23:33:41 UTC
Strange. Seems that it's just a problem on amd64 machines.

On my old Athlon XP xalan-c 1.10.0 compiles fine with xerces-c 2.8.0. Also on my P4.

Only on my Athlon X2 I cannot compile xalan-c with xerces-c 2.8. Thus "Hardware" should be changed to "amd64" instead of "all"

"fun with 64 bit" as usual :-(


@snoapx  
sorry for confusing you by writing unclear package names
Comment 10 Qiangning Hong 2007-12-22 04:53:12 UTC
confirm this bug on my amd64 laptop
Comment 11 Tiziano Müller (RETIRED) gentoo-dev 2007-12-22 08:13:31 UTC
As a temporary workaround you can try to merge dev-libs/xerces-c-2.8.0 without the iconv USE-flag or with the icu USE-flag set.
Comment 12 Tiziano Müller (RETIRED) gentoo-dev 2007-12-24 07:21:43 UTC
ok, upstream only guarantees compatibility of xalan-c with xerces-c-2.7.0, not with 2.8.0.
I therefore changed the dependency in xalan-c to only match xerces-c-2.8.0. Those who upgraded have to downgrade again, I'm sorry.

Those who need both xerces-c-2.8.0 and xalan-c have two options:
a) create a custom overlay with a xalan-c ebuild in it where the dependency matches xerces-c-2.8.0 as well and build xerces-c either with "-iconv" or with "icu" (xalan-c builds then as well but I don't know whether it also works)
or
b) report to upstream that they should release an updated xalan-c.

Sorry for the inconvenience,
Cheers.
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-12-27 15:03:52 UTC
*** Bug 203467 has been marked as a duplicate of this bug. ***
Comment 14 Petteri Räty (RETIRED) gentoo-dev 2008-01-07 19:47:15 UTC
(In reply to comment #11)
> As a temporary workaround you can try to merge dev-libs/xerces-c-2.8.0 without
> the iconv USE-flag or with the icu USE-flag set.
> 

Weird. I was able to compile xalan against xerces-2.8 with USE=iconv

[ebuild   R   ] dev-libs/xerces-c-2.8.0  USE="iconv threads -debug -doc -icu -libwww" 0 kB
[ebuild   R   ] dev-java/xalan-2.7.0-r5  USE="-doc -source" 0 kB
Comment 15 Tristan Heaven (RETIRED) gentoo-dev 2008-04-08 09:50:52 UTC
*** Bug 216703 has been marked as a duplicate of this bug. ***
Comment 16 Tristan Heaven (RETIRED) gentoo-dev 2008-04-08 09:51:17 UTC
Isn't fixed until it's fixed.
Comment 17 Martin von Gagern 2008-04-18 21:27:09 UTC
Some references that might be of interest for investigating this issue here.

http://article.gmane.org/gmane.text.xml.xalan.c%2B%2B.user/3320
Xalan dev stating that current trunk should build against xerces-c-2.8.0

http://article.gmane.org/gmane.text.xml.xerces-c.devel/8414
Release information of xerces-c-2.8.0 calling it interface-compatible with 2.7

https://issues.apache.org/jira/browse/XALANC-652
Closed upstream bug with a patch to xalan trunk that seems not to be included in the xalan-c-1.10.0 sources. Not sure that's self contained, though.

It feels like we might need to wait for the next xalan-c release, or grab a snapshot, or backport some patches. Or use one of the workarounds above.
Comment 18 Tristan Heaven (RETIRED) gentoo-dev 2008-04-25 15:15:50 UTC
*** Bug 218216 has been marked as a duplicate of this bug. ***
Comment 19 Tristan Heaven (RETIRED) gentoo-dev 2008-04-25 15:21:02 UTC
That dep just makes things worse.
Comment 20 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-29 21:44:55 UTC
*** Bug 219766 has been marked as a duplicate of this bug. ***
Comment 21 Carsten Lohrke (RETIRED) gentoo-dev 2008-05-05 17:20:06 UTC
*** Bug 220401 has been marked as a duplicate of this bug. ***
Comment 22 Radoslaw Szkodzinski 2008-05-20 17:48:31 UTC
It seems xalan-c-1.10.0 actually builds against xerces-c-2.8.0 and works correctly.
Right now Virtualbox is pulling newer version of the latter, which creates a dependency conflict.
It's fixable by masking newer xerces-c, but that's unneeded. Just fix the xalan-c dep.
Comment 23 Thomas Capricelli 2008-06-14 14:11:37 UTC
my updates for 'world' or 'virtualbox' have been blocked for weeks because of this issue it seems.... still no workaround/fix ??
Comment 24 Tiziano Müller (RETIRED) gentoo-dev 2008-08-09 09:34:22 UTC
I dropped the iconv USE-flag (and support) in xerces-c-2.8.0-r1 due to other problems with the iconv support in xerces-c-2.8.0.
This means that xalan-c can actually use xerces-c-2.8.0 again.