emerge -uD to upgrade dev-java/xalan-2.6.0-r2 fails because dev-java/jakarta-regexp-1.3 is not flagged as a dependency in portage? Reproducible: Always Steps to Reproduce: 1. without jakarta-regexp-1.3 installed, emerge -uD xalan-2.6.0 Actual Results: ebuild fails Expected Results: install of jakarta-regexp-1.3 as it is apparently a dependency emerge jakarta-regexp beforehand is a workaround
works for me, can you provide the output
from the url above: >>> emerge (1 of 12) dev-java/xalan-2.6.0-r2 to / >>> md5 src_uri ;) xalan-j_2_6_0-src.tar.gz Calculating dependencies >>> 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: 15 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. ...done! >>> emerge (1 of 1) dev-java/xalan-2.6.0-r2 to / >>> md5 src_uri ;) xalan-j_2_6_0-src.tar.gz
>>> emerge (1 of 6) dev-java/xalan-2.6.0-r2 to / >>> md5 src_uri ;-) xalan-j_2_6_0-src.tar.gz >>> md5 src_uri ;-) xalan-2.6.0-docs.tar.bz2 >>> 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 >>> Unpacking xalan-2.6.0-docs.tar.bz2 to /var/tmp/portage/xalan-2.6.0-r2/work Could not find package jakarta-regexp-1.3 >>> Source unpacked. . . . 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.
the problem is that you proberbly had dev-java/regexp on your system. i guess that's the reason why jakarta-regexp wasn't merged again. ebuild is now fixed, thanks for reporting.
I had installed jakarta-regexp, but it needed to be reemerged to get this problem solved.
*** Bug 88375 has been marked as a duplicate of this bug. ***
*** Bug 88456 has been marked as a duplicate of this bug. ***