Bug#952351: plexus-build-api: FTBFS: [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/sonatype/plexus/build/incremental/EmptyScanner.java:[23, 8] org.sonatype.plexus.build.incremental.EmptyScanner is not abstract and does not override abstract method setFilenameComparator(java.util.Comparator<java.lang.String>) in org.codehaus.plexus.util.Scanner

Lucas Nussbaum lucas at debian.org
Sun Feb 23 13:54:59 GMT 2020


Source: plexus-build-api
Version: 0.0.7-3
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200222 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
>  debian/rules build
> dh build
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	mh_patchpoms -plibplexus-build-api-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 -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...
> [INFO] 
> [INFO] ----------------< org.sonatype.plexus:plexus-build-api >----------------
> [INFO] Building plexus-build-api 0.0.7
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The artifact org.codehaus.plexus:plexus-container-default:jar:1.5.5 has been relocated to org.codehaus.plexus:plexus-container-default:jar:debian
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ plexus-build-api ---
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [WARNING] Please take a look into the FAQ: https://maven.apache.org/general.html#encoding-warning
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ plexus-build-api ---
> [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 4 source files to /<<PKGBUILDDIR>>/target/classes
> Use of target 1.4 is no longer supported, switching to 1.7
> Use of source 1.4 is no longer supported, switching to 1.7
> [INFO] /<<PKGBUILDDIR>>/src/main/java/org/sonatype/plexus/build/incremental/ThreadBuildContext.java: /<<PKGBUILDDIR>>/src/main/java/org/sonatype/plexus/build/incremental/ThreadBuildContext.java uses unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/src/main/java/org/sonatype/plexus/build/incremental/ThreadBuildContext.java: Recompile with -Xlint:unchecked for details.
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/sonatype/plexus/build/incremental/EmptyScanner.java:[23,8] org.sonatype.plexus.build.incremental.EmptyScanner is not abstract and does not override abstract method setFilenameComparator(java.util.Comparator<java.lang.String>) in org.codehaus.plexus.util.Scanner
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  0.992 s
> [INFO] Finished at: 2020-02-23T02:45:24Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project plexus-build-api: Compilation failure
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/sonatype/plexus/build/incremental/EmptyScanner.java:[23,8] org.sonatype.plexus.build.incremental.EmptyScanner is not abstract and does not override abstract method setFilenameComparator(java.util.Comparator<java.lang.String>) in org.codehaus.plexus.util.Scanner
> [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/2020/02/22/plexus-build-api_0.0.7-3_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!

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