Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
dev-java/xalan fails to emerge. There are two errors(?) reported while unpacking the source: >>> Unpacking xalan-j_2_6_0-src.tar.gz to /var/tmp/portage/xalan-2.6.0-r2/work tar: A lone zero block at 36857 Could not find package jakarta-regexp-1.3 The md5 sum is OK. Building fails: xsltc.copy-deps-jar: BUILD FAILED /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build.xml:471: The following error occurred while executing this line: /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build.xml:434: Warning: Could not find file /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/bin/regexp.jar to copy. I expect this to be related to the above errors Reproducible: Always Steps to Reproduce: 1. emerge dev-java/xalan 2. 3. Actual Results: yew root # emerge dev-java/xalan Calculating dependencies ...done! >>> emerge (1 of 1) dev-java/xalan-2.6.0-r2 to / >>> md5 src_uri ;-) xalan-j_2_6_0-src.tar.gz >>> Unpacking source... >>> Unpacking xalan-j_2_6_0-src.tar.gz to /var/tmp/portage/xalan-2.6.0-r2/work tar: A lone zero block at 36857 Could not find package jakarta-regexp-1.3 >>> Source unpacked. Buildfile: build.xml prepare: [echo] Project:Xalan-Java version:2_6_0 build.xml $Revision: 1.206 $ [mkdir] Created dir: /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build [mkdir] Created dir: /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes xml.compile: [echo] Compiling DTM implementation and utilities [javac] Compiling 186 source files to /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [copy] Copying 7 files to /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes xalan-interpretive.compile: [echo] Compiling Xalan interpretive classes [javac] Compiling 387 source files to /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [copy] Copying 2 files to /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes [copy] Copying 1 file to /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes/org/apache/xalan/res xsltc.prepare: [echo] Compiling XSLTC utilities [javac] Compiling 2 source files to /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes xsltc.java_cup: xsltc.jlex: xsltc.compile: [echo] Compiling remaining XSLTC classes [javac] Compiling 297 source files to /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. xsltc.copy-licenses: [echo] Copying license files for XSLTC support jars [copy] Copying 8 files to /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes xsltc.copy-deps-jars: [echo] Copying XSLTC support jars xsltc.copy-deps-jar: [copy] Copying 1 file to /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes [unjar] Expanding: /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes/BCEL.jar into /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes [delete] Deleting: /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes/BCEL.jar xsltc.copy-deps-jar: [copy] Copying 1 file to /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes [unjar] Expanding: /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes/runtime.jar into /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes [delete] Deleting: /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build/classes/runtime.jar xsltc.copy-deps-jar: BUILD FAILED /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build.xml:471: The following error occurred while executing this line: /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/build.xml:434: Warning: Could not find file /var/tmp/portage/xalan-2.6.0-r2/work/xalan-j_2_6_0/bin/regexp.jar to copy. Total time: 1 minute 2 seconds !!! ERROR: dev-java/xalan-2.6.0-r2 failed. !!! Function src_compile, Line 48, Exitcode 1 !!! build failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: build and install dev-java/xalan Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r5 i686) ================================================================= System uname: 2.6.11-gentoo-r5 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 12 2005, 21:38:51)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r3, 1.4_p6, 1.6.3, 1.7.9-r1, 1.9.4, 1.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium2 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium2 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages notitles sandbox sfperms" GENTOO_MIRRORS="http://hazel.tps/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/tps/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups curl emboss encode esd fam flac foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 java jpeg junit kde ldap libg++ libwww linguas_de linguas_en linguas_fr mad mikmod motif mozcalendar mozilla mp3 mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang snmp speex spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Same problem here, so it's not some quirky setup on your end.
please post the output of 'emerge -s jakarta-regexp' and 'emerge -uD world'. thanks
Created an attachment (id=55771) [edit] emerge dev-java/xalan > xalan.txt 2>&1; gzip xalan.txt
Created an attachment (id=55772) [edit] emerge dev-java/xalan > xalan.txt 2>&1; gzip xalan.txt
"emerge -uD world" would emerge xemacs, which would have had failed. yew root # emerge -upD world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild N ] app-editors/xemacs-21.4.15-r3 [ebuild U ] dev-java/xalan-2.6.0-r2 [2.6.0] yew root # emerge -s jakarta-regexp Searching... [ Results for search key : jakarta-regexp ] [ Applications found : 1 ] * dev-java/jakarta-regexp Latest version available: 1.3-r1 Latest version installed: 1.3-r1 Size of downloaded files: 124 kB Homepage: http://jakarta.apache.org/ Description: 100% Pure Java Regular Expression package License: Apache-1.1 yew root # emerge -uD dev-java/xalan > xalan.txt 2>&1 This is attached.
Created an attachment (id=55774) [edit] xalan emerge failure log Emerge fails for me also; full emerge log attached. (using blackdown-jdk-1.4.2.01) emerge info: Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-hardened-r1 i686) ================================================================= System uname: 2.6.11-hardened-r1 i686 AMD Athlon(tm) XP 3200+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 9 2005, 18:11:15)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -pipe -O2" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.heanet.ie/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/var/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib acl acpi alsa apm arts audiofile avi berkdb bidi bitmap-fonts cdparanoia cdr crypt cups curl dhc-fqdn directfb dlloader doc dvb dvd dvdr emboss encode esd faad fam fbcon ffmpeg flac font-server foomaticdb fortran gcj gdbm gif gnome gpm gstreamer gtk gtk2 guile hardened imagemagick imlib ipv6 java javamail jce jikes jpeg junit kde kdeenablefinal kerberos libg++ libwww mad mbox mikmod mmx motif mozilla mp3 mpeg mpeg4 multitarget mysql ncurses nls nptl odbc oggvorbis opengl oss pam pdflib perl pic pie png postgres python qt quicktime readline ruby samba sdl slang slp speex spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts trusted type1-fonts unicode usb v4l v4l2 wifi wxwindows xine xinerama xml2 xmms xosd xprint xv xvid zlib linguas_en-gb linguas_en linguas_de linguas_es linguas_it linguas_fr" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
the problem was that there was a regexp-r1.ebuild in the past. now there is a jakarta-regexp-r2 which is a dependency that forces you to emerge jakarta-regexp again without having to do that manually. fixed in cvs, thanks for your report and for supporting our development.
Now, after successfully emerging "dev-java/xalan", both packages are installed: yew root # qpkg -I -nc -v '*regexp*' dev-java/regexp-bin-1.3 dev-java/jakarta-regexp-1.3-r2 unmerging the older "dev-java/regexp-bin-1.3" fails: yew root # emerge unmerge dev-java/regexp-bin-1.3 --- Couldn't find dev-java/regexp-bin-1.3 to unmerge. >>> unmerge: No packages selected for removal.