Bug#941211: scala: FTBFS: Could not create type urn:maven-artifact-ant:remoterepo due to java.lang.NoSuchMethodError

merkys at debian.org merkys at debian.org
Thu Sep 26 15:33:48 BST 2019


Source: scala
Version: 2.11.12-4
Tags: ftbfs

Hello,

I have attempted to build scala from source (both on sid and chroot) and
ran into the following issue:

BUILD FAILED
/<<PKGBUILDDIR>>/build.xml:117: The following error occurred while
executing this line:
/<<PKGBUILDDIR>>/build-ant-macros.xml:8: The following error occurred
while executing this line:
/<<PKGBUILDDIR>>/build.xml:269: Could not create type
urn:maven-artifact-ant:remoterepo due to java.lang.NoSuchMethodError:
org.apache.maven.settings.crypto.DefaultSettingsDecrypter: method 'void
<init>()' not found
    at
org.eclipse.aether.internal.ant.AntSettingsDecryptorFactory.newInstance(AntSettingsDecryptorFactory.java:26)
    at
org.eclipse.aether.internal.ant.AntRepoSys.<clinit>(AntRepoSys.java:110)
    at
org.eclipse.aether.internal.ant.types.RemoteRepository.setProject(RemoteRepository.java:57)
    at org.apache.tools.ant.Project.setProjectReference(Project.java:2451)
    at
org.apache.tools.ant.AntTypeDefinition.innerCreateAndSet(AntTypeDefinition.java:322)
    at
org.apache.tools.ant.AntTypeDefinition.createAndSet(AntTypeDefinition.java:264)
    at
org.apache.tools.ant.AntTypeDefinition.icreate(AntTypeDefinition.java:219)
    at
org.apache.tools.ant.AntTypeDefinition.create(AntTypeDefinition.java:206)
    at
org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:286)
    at
org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:264)
    at
org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:427)
    at
org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:165)
    at org.apache.tools.ant.Task.perform(Task.java:349)
    at java.base/java.util.Vector.forEach(Vector.java:1387)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)
    at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)

(trimmed for brevity)

I would be glad if someone familiar with the build process could give it
a look.

Best,
Andrius



More information about the pkg-java-maintainers mailing list