commons-jxpath does not seem to compile against jdom-1.0_beta10, and as the ebuild specifies >=dev-java/jdom-1.0_beta9, this is the version that gentoo tries to compile against if it is not already present on the system. Reproducible: Always Steps to Reproduce: 1. Uninstall any versions of jdom you may have 2. try emerging commons-jxpath Actual Results: it doesn't compile Expected Results: it should compile to fix this bug, all that needs to be done is >= jdom-beta line needs to be changed to = jdom-beta i.e. DEPEND=">=virtual/jdk-1.3 =dev-java/servletapi-2.3* =dev-java/jdom-1.0_beta9 >=dev-java/ant-1.4 junit? ( >=dev-java/junit-3.7 )" (where it used to read >=dev-java/jdom-1.0_beta9) and it'll compile fine.
changed the dep, leaving bug open to remind me to SLOT jdom
I can't find reference to it on the jdom.org page (although it is mentioned on jason's blog), but here's a bit copied from http://jakarta.apache.org/velocity/ on the subject of the api change - should help you in your slotting. Notice : JDOM API Change As part of their effort to reach v1.0, the JDOM community has made slight modifications to their API. This will affect Velocity users that use the 'Anakia' package. Velocity versions 1.4 and older require using a version of JDOM older than beta10rc1. All new releases of Velocity will use JDOM beta10rc1 and 1.0 when it comes out.
jdom is now slotted correctly, i've also added jdom-1.0 and jdom-1.0_beta6. please test everything, should work fine. thanks for your report.