Bug#1011765: aether-ant-tasks: FTBFS: exception org.sonatype.plexus.components.cipher.PlexusCipherException is never thrown in body of corresponding try statement

Lucas Nussbaum lucas at debian.org
Thu May 26 14:31:17 BST 2022


Source: aether-ant-tasks
Version: 1.0.1-5
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220525 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> dh build --buildsystem=maven --with javahelper
>    dh_update_autotools_config -O--buildsystem=maven
>    dh_autoreconf -O--buildsystem=maven
>    dh_auto_configure -O--buildsystem=maven
> 	mh_patchpoms -plibaether-ant-tasks-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>    jh_linkjars -O--buildsystem=maven
>    dh_auto_build -O--buildsystem=maven
> 	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] ----------------< org.eclipse.aether:aether-ant-tasks >-----------------
> [INFO] Building Aether Ant Tasks 1.0.1.v20141111
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The artifact org.apache.maven:maven-aether-provider:jar:3.x has been relocated to org.apache.maven:maven-resolver-provider:jar:3.x
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ aether-ant-tasks ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 7 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ aether-ant-tasks ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 40 source files to /<<PKGBUILDDIR>>/target/classes
> Use of target 1.5 is no longer supported, switching to 7
> Use of source 1.5 is no longer supported, switching to 7
> [INFO] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/aether/internal/ant/AntModelResolver.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/aether/internal/ant/AntModelResolver.java: Recompile with -Xlint:deprecation for details.
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/aether/internal/ant/AntSecDispatcher.java:[30,9] exception org.sonatype.plexus.components.cipher.PlexusCipherException is never thrown in body of corresponding try statement
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  1.691 s
> [INFO] Finished at: 2022-05-25T21:16:35Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project aether-ant-tasks: Compilation failure
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/aether/internal/ant/AntSecDispatcher.java:[30,9] exception org.sonatype.plexus.components.cipher.PlexusCipherException is never thrown in body of corresponding try statement
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> dh_auto_build: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make: *** [debian/rules:4: build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/aether-ant-tasks_1.0.1-5_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-java-maintainers mailing list