Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 685250

Summary: dev-java/xom-1.2.10 with dev-java/xerxes-2.12.0 eant failed: package org.apache.xerces.impl does not exist
Product: Gentoo Linux Reporter: ascendant512+gentoo
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description ascendant512+gentoo 2019-05-07 08:37:18 UTC
Created attachment 575452 [details]
build.log

On my system, dev-java/xom-1.2.10 is failing to build against dev-java/xerxes-2.12.0 due to the error:
    [javac] /var/tmp/portage/dev-java/xom-1.2.10/work/XOM/build/src/nu/xom/Builder.java:45: error: package org.apache.xerces.impl does not exist

As far as I can tell, this is not a duplicate of 683718.  It looks like:
https://stackoverflow.com/questions/11677572/dealing-with-xerces-hell-in-java-maven

I reviewing the above issues, I was able to edit the ebuild line:
	java-pkg_jar-from --into lib/ xerces-2
to
	java-pkg_jar-from --into lib/ xerces-2 xerces.jar xercesImpl.jar
After this change, the ebuild completes without error.
Comment 1 Patrice Clement (RETIRED) gentoo-dev 2019-05-07 20:58:05 UTC

*** This bug has been marked as a duplicate of bug 683718 ***