Bug#976548: akuma: FTBFS: dh_auto_test: 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 test returned exit code 1

Lucas Nussbaum lucas at debian.org
Sat Dec 5 13:18:15 GMT 2020


Source: akuma
Version: 1.10-2
Severity: serious
Justification: FTBFS on arm64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201205 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on arm64 (I don't know if it also fails on amd64).

Relevant part (hopefully):
>  debian/rules build
> dh build
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	mh_patchpoms -plibakuma-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>    dh_auto_build
> 	/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 javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> [INFO] Scanning for projects...
> [WARNING] The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.4 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-install-plugin:jar:2.4 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-site-plugin:jar:3.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.3: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.4 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-install-plugin:jar:2.4 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-site-plugin:jar:3.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.3: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 has not been downloaded from it before.
> [INFO] 
> [INFO] -------------------------< org.kohsuke:akuma >--------------------------
> [INFO] Building Embeddable daemonization library 1.10
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.4 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-install-plugin:jar:2.4 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-site-plugin:jar:3.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.3: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 has not been downloaded from it before.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ akuma ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ akuma ---
> [INFO] Changes detected - recompiling the module!
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 5 source files to /<<PKGBUILDDIR>>/target/classes
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java:[42,16] sun.misc.Signal is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java:[43,16] sun.misc.SignalHandler is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java:[166,27] sun.misc.Signal is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java:[167,17] sun.misc.SignalHandler is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java:[168,36] sun.misc.Signal is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java:[166,9] sun.misc.Signal is internal proprietary API and may be removed in a future release
> [INFO] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/CLibrary.java: /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/CLibrary.java uses or overrides a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/CLibrary.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java: /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java uses unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ akuma ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/test/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ akuma ---
> [INFO] Changes detected - recompiling the module!
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 1 source file to /<<PKGBUILDDIR>>/target/test-classes
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ akuma ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ akuma ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/akuma-1.10.jar
> [INFO] 
> [INFO] --- maven-javadoc-plugin:3.0.1:jar (default-cli) @ akuma ---
> [WARNING] Source files encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Adding the --ignore-source-errors option
> [INFO] 
> Loading source files for package com.sun.akuma...
> Constructing Javadoc information...
> Standard Doclet version 11.0.9.1
> Building tree for all the packages and classes...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/CLibrary.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/CLibrary.FILE.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/Daemon.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/Daemon.WithoutChdir.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/EchoServer.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/JavaVMArguments.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/NetworkServer.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/package-summary.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/package-tree.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/constant-values.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/serialized-form.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/class-use/Daemon.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/class-use/Daemon.WithoutChdir.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/class-use/EchoServer.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/class-use/NetworkServer.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/class-use/JavaVMArguments.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/class-use/CLibrary.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/class-use/CLibrary.FILE.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/com/sun/akuma/package-use.html...
> Building index for all the packages and classes...
> Generating /<<PKGBUILDDIR>>/target/apidocs/overview-tree.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/index-all.html...
> Building index for all classes...
> Generating /<<PKGBUILDDIR>>/target/apidocs/allclasses-index.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/allpackages-index.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/deprecated-list.html...
> Building index for all classes...
> Generating /<<PKGBUILDDIR>>/target/apidocs/allclasses.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/allclasses.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/index.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/help-doc.html...
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/akuma-1.10-javadoc.jar
> [INFO] 
> [INFO] -------------------------< org.kohsuke:akuma >--------------------------
> [INFO] Building Embeddable daemonization library 1.10
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.4 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-install-plugin:jar:2.4 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-site-plugin:jar:3.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.3: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 has not been downloaded from it before.
> [INFO] 
> [INFO] >>> maven-javadoc-plugin:3.0.1:aggregate (default-cli) > compile @ akuma >>>
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ akuma ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ akuma ---
> [INFO] Changes detected - recompiling the module!
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 5 source files to /<<PKGBUILDDIR>>/target/classes
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java:[42,16] sun.misc.Signal is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java:[43,16] sun.misc.SignalHandler is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java:[166,27] sun.misc.Signal is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java:[167,17] sun.misc.SignalHandler is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java:[168,36] sun.misc.Signal is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java:[166,9] sun.misc.Signal is internal proprietary API and may be removed in a future release
> [INFO] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/CLibrary.java: /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/CLibrary.java uses or overrides a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/CLibrary.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java: /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java uses unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/src/main/java/com/sun/akuma/NetworkServer.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] <<< maven-javadoc-plugin:3.0.1:aggregate (default-cli) < compile @ akuma <<<
> [INFO] 
> [INFO] 
> [INFO] --- maven-javadoc-plugin:3.0.1:aggregate (default-cli) @ akuma ---
> [WARNING] Source files encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Adding the --ignore-source-errors option
> [INFO] 
> Loading source files for package com.sun.akuma...
> Constructing Javadoc information...
> Standard Doclet version 11.0.9.1
> Building tree for all the packages and classes...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/CLibrary.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/CLibrary.FILE.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/Daemon.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/Daemon.WithoutChdir.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/EchoServer.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/JavaVMArguments.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/NetworkServer.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/package-summary.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/package-tree.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/constant-values.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/serialized-form.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/class-use/Daemon.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/class-use/Daemon.WithoutChdir.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/class-use/EchoServer.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/class-use/NetworkServer.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/class-use/JavaVMArguments.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/class-use/CLibrary.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/class-use/CLibrary.FILE.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/com/sun/akuma/package-use.html...
> Building index for all the packages and classes...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/overview-tree.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/index-all.html...
> Building index for all classes...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/allclasses-index.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/allpackages-index.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/deprecated-list.html...
> Building index for all classes...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/allclasses.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/allclasses.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/index.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/help-doc.html...
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  5.068 s
> [INFO] Finished at: 2020-12-05T01:41:29Z
> [INFO] ------------------------------------------------------------------------
>    dh_auto_test
> 	/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 test
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] -------------------------< org.kohsuke:akuma >--------------------------
> [INFO] Building Embeddable daemonization library 1.10
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ akuma ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ akuma ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ akuma ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/test/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ akuma ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ akuma ---
> [INFO] 
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running com.sun.akuma.test.ArgvTest
> [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.061 s <<< FAILURE! - in com.sun.akuma.test.ArgvTest
> [ERROR] testJavaIsFirstArg(com.sun.akuma.test.ArgvTest)  Time elapsed: 0.042 s  <<< ERROR!
> java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-aarch64/libjnidispatch.so) not found in resource path (/<<PKGBUILDDIR>>/target/test-classes:/<<PKGBUILDDIR>>/target/classes:/<<PKGBUILDDIR>>/debian/maven-repo/net/java/dev/jna/jna/debian/jna-debian.jar:/<<PKGBUILDDIR>>/debian/maven-repo/junit/junit/4.x/junit-4.x.jar:/<<PKGBUILDDIR>>/debian/maven-repo/org/hamcrest/hamcrest-core/debian/hamcrest-core-debian.jar:)
> 	at com.sun.akuma.test.ArgvTest.testJavaIsFirstArg(ArgvTest.java:22)
> 
> [ERROR] testSupportByOS(com.sun.akuma.test.ArgvTest)  Time elapsed: 0 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class com.sun.akuma.CLibrary
> 	at com.sun.akuma.test.ArgvTest.testSupportByOS(ArgvTest.java:14)
> 
> [INFO] 
> [INFO] Results:
> [INFO] 
> [ERROR] Errors: 
> [ERROR]   ArgvTest.testJavaIsFirstArg:22 » UnsatisfiedLink Native library (com/sun/jna/l...
> [ERROR]   ArgvTest.testSupportByOS:14 » NoClassDefFound Could not initialize class com.s...
> [INFO] 
> [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  10.692 s
> [INFO] Finished at: 2020-12-05T01:41:40Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project akuma: There are test failures.
> [ERROR] 
> [ERROR] Please refer to /<<PKGBUILDDIR>>/target/surefire-reports for the individual test results.
> [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
> [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_test: 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 test returned exit code 1

The full build log is available from:
   http://qa-logs.debian.net/2020/12/05/akuma_1.10-2_unstable.log

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 me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-java-maintainers mailing list