Summary: | dev-libs/xalan-c-1.10.0 compile fails - The primary document entity could not be opened. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jiri Baloun <jiri.baloun> |
Component: | [OLD] Development | Assignee: | C++ Team [disbanded] <cpp+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | a, albin.stjerna, andres.becerra, andrija.prcic, ari, betelgeuse, esqualante, evazquez, eXt, hongqn, le.retired, Martin.vGagern, micb, orzel, robert.miesen, snoapx |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jiri Baloun
2007-12-21 10:02:36 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 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. (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. (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. I tried with dev-java/xerces-2.3.0-r3, but still the same error :-s (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. (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. 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 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 confirm this bug on my amd64 laptop 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. 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. *** Bug 203467 has been marked as a duplicate of this bug. *** (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 *** Bug 216703 has been marked as a duplicate of this bug. *** Isn't fixed until it's fixed. 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. *** Bug 218216 has been marked as a duplicate of this bug. *** That dep just makes things worse. *** Bug 219766 has been marked as a duplicate of this bug. *** *** Bug 220401 has been marked as a duplicate of this bug. *** 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. my updates for 'world' or 'virtualbox' have been blocked for weeks because of this issue it seems.... still no workaround/fix ?? 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. |