Jump to content
Forums in Read-Only Mode - Please use Reddit ×

dev-java/oracle-javamail-1.5.6: ("-push-to-maven-init" does not exist in the project "JavaMail")


engineer

Recommended Posts

I was trying to merge jEdit programmer's editor and got errors on javamail that took a little while to track down, so here's how to fix it.

BUILD FAILED
Target "-push-to-maven-init" does not exist in the project "JavaMail". It is used from target "push-to-maven-prepare".
build.xml of dev-java/oracle-javamail-1.5.6 contains:
<!DOCTYPE project [
  <!ENTITY commonBuild SYSTEM "ant-common.xml">
]>
...
    &commonBuild;

And ant-common.xml contains necessary code.
BUT
Python xml.sax module by default does not expand external entities since Python 3.6.7, 3.7.1 and 3.8.0

 

SOLUTION:

There is a script

https://gitweb.gentoo.org/proj/javatoolkit.git/commit/?id=5480034ddf29a050671aa22effdd1cefb1a97f55

 

 

Link to comment
Share on other sites

Confirm emerge failure oracle-javamail-1.5.6

Install dev-java/javatoolkit-0.6.5.ebuild and dev-java/oracle-javamail-1.5.6-r1.ebuild from gentoo in your local overlay solves the issue. 

In the process of building  jedit-5.4.0 and its depends jython-2.7.0-r2 emerge failed.

Emerged jython by going to Bug 758881 - dev-java/jython-2.7.0-r2 AttributeError: 'NoneType' object has no attribute 'startswith'   apply jython-2.7.0-r2.ebuild.patch  regenerate manifest.

 

dev-java:jython-2.7.0-r2:20210319-042623.log dev-java:jython-2.7.0-r2:20210319-025110.log

dev-java:oracle-javamail-1.5.6-r1:20210319-185450.log

Edited by cardinal
update
Link to comment
Share on other sites

  • 3 weeks later...
×
×
  • Create New...