Bug#1078399: plexus-compiler: FTBFS: [ERROR] /<<PKGBUILDDIR>>/plexus-compilers/plexus-compiler-eclipse/src/main/java/org/codehaus/plexus/compiler/eclipse/EclipseJavaCompiler.java:[55, 37] cannot find symbol
Lucas Nussbaum
lucas at debian.org
Sat Aug 10 07:07:39 BST 2024
Source: plexus-compiler
Version: 2.12.1-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240809 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure
> mh_patchpoms -plibplexus-compiler-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
> OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] Plexus Compiler [pom]
> [INFO] Plexus Compiler Api [jar]
> [INFO] Plexus Compiler Manager [jar]
> [INFO] Plexus Compiler Test Harness [jar]
> [INFO] Plexus Compilers [pom]
> [INFO] Plexus C# Compiler [jar]
> [INFO] Plexus Eclipse Compiler [jar]
> [INFO] Plexus Javac Component [jar]
> [INFO] Plexus J2ObjC Compiler [jar]
> [INFO]
> [INFO] ----------------< org.codehaus.plexus:plexus-compiler >-----------------
> [INFO] Building Plexus Compiler 2.12.1 [1/9]
> [INFO] from pom.xml
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO]
> [INFO] --- plexus-component-metadata:2.1.1:generate-metadata (default) @ plexus-compiler ---
> [INFO]
> [INFO] --- plexus-component-metadata:2.1.1:merge-metadata (default) @ plexus-compiler ---
> [INFO]
> [INFO] --------------< org.codehaus.plexus:plexus-compiler-api >---------------
> [INFO] Building Plexus Compiler Api 2.12.1 [2/9]
> [INFO] from plexus-compiler-api/pom.xml
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 has been relocated to org.apache.maven.plugins:maven-resources-plugin:jar:3.3.1
> [WARNING] The artifact org.apache.maven.plugins:maven-compiler-plugin:jar:3.1 has been relocated to org.apache.maven.plugins:maven-compiler-plugin:jar:3.10.1
> [WARNING] The artifact org.apache.maven.plugins:maven-jar-plugin:jar:2.4 has been relocated to org.apache.maven.plugins:maven-jar-plugin:jar:3.3.0
> [INFO]
> [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ plexus-compiler-api ---
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/plexus-compiler-api/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ plexus-compiler-api ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 18 source files to /<<PKGBUILDDIR>>/plexus-compiler-api/target/classes
> [INFO]
> [INFO] --- plexus-component-metadata:2.1.1:generate-metadata (default) @ plexus-compiler-api ---
> [INFO]
> [INFO] --- plexus-component-metadata:2.1.1:merge-metadata (default) @ plexus-compiler-api ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ plexus-compiler-api ---
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ plexus-compiler-api ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 5 source files to /<<PKGBUILDDIR>>/plexus-compiler-api/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ plexus-compiler-api ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ plexus-compiler-api ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/plexus-compiler-api/target/plexus-compiler-api-2.12.1.jar
> [INFO]
> [INFO] ------------< org.codehaus.plexus:plexus-compiler-manager >-------------
> [INFO] Building Plexus Compiler Manager 2.12.1 [3/9]
> [INFO] from plexus-compiler-manager/pom.xml
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ plexus-compiler-manager ---
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/plexus-compiler-manager/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ plexus-compiler-manager ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 3 source files to /<<PKGBUILDDIR>>/plexus-compiler-manager/target/classes
> [INFO]
> [INFO] --- plexus-component-metadata:2.1.1:generate-metadata (default) @ plexus-compiler-manager ---
> [INFO] Discovered 1 component descriptors(s)
> [INFO]
> [INFO] --- plexus-component-metadata:2.1.1:merge-metadata (default) @ plexus-compiler-manager ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ plexus-compiler-manager ---
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/plexus-compiler-manager/src/test/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ plexus-compiler-manager ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 1 source file to /<<PKGBUILDDIR>>/plexus-compiler-manager/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ plexus-compiler-manager ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ plexus-compiler-manager ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/plexus-compiler-manager/target/plexus-compiler-manager-2.12.1.jar
> [INFO]
> [INFO] --------------< org.codehaus.plexus:plexus-compiler-test >--------------
> [INFO] Building Plexus Compiler Test Harness 2.12.1 [4/9]
> [INFO] from plexus-compiler-test/pom.xml
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ plexus-compiler-test ---
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/plexus-compiler-test/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ plexus-compiler-test ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 2 source files to /<<PKGBUILDDIR>>/plexus-compiler-test/target/classes
> [INFO] /<<PKGBUILDDIR>>/plexus-compiler-test/src/main/java/org/codehaus/plexus/compiler/AbstractCompilerTest.java: /<<PKGBUILDDIR>>/plexus-compiler-test/src/main/java/org/codehaus/plexus/compiler/AbstractCompilerTest.java uses or overrides a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/plexus-compiler-test/src/main/java/org/codehaus/plexus/compiler/AbstractCompilerTest.java: Recompile with -Xlint:deprecation for details.
> [INFO]
> [INFO] --- plexus-component-metadata:2.1.1:generate-metadata (default) @ plexus-compiler-test ---
> [INFO]
> [INFO] --- plexus-component-metadata:2.1.1:merge-metadata (default) @ plexus-compiler-test ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ plexus-compiler-test ---
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/plexus-compiler-test/src/test/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ plexus-compiler-test ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ plexus-compiler-test ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ plexus-compiler-test ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/plexus-compiler-test/target/plexus-compiler-test-2.12.1.jar
> [INFO]
> [INFO] ----------------< org.codehaus.plexus:plexus-compilers >----------------
> [INFO] Building Plexus Compilers 2.12.1 [5/9]
> [INFO] from plexus-compilers/pom.xml
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO]
> [INFO] --- plexus-component-metadata:2.1.1:generate-metadata (default) @ plexus-compilers ---
> [INFO]
> [INFO] --- plexus-component-metadata:2.1.1:merge-metadata (default) @ plexus-compilers ---
> [INFO]
> [INFO] -------------< org.codehaus.plexus:plexus-compiler-csharp >-------------
> [INFO] Building Plexus C# Compiler 2.12.1 [6/9]
> [INFO] from plexus-compilers/plexus-compiler-csharp/pom.xml
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ plexus-compiler-csharp ---
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/plexus-compilers/plexus-compiler-csharp/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ plexus-compiler-csharp ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 3 source files to /<<PKGBUILDDIR>>/plexus-compilers/plexus-compiler-csharp/target/classes
> [INFO] /<<PKGBUILDDIR>>/plexus-compilers/plexus-compiler-csharp/src/main/java/org/codehaus/plexus/compiler/csharp/DefaultCSharpCompilerParser.java: /<<PKGBUILDDIR>>/plexus-compilers/plexus-compiler-csharp/src/main/java/org/codehaus/plexus/compiler/csharp/DefaultCSharpCompilerParser.java uses or overrides a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/plexus-compilers/plexus-compiler-csharp/src/main/java/org/codehaus/plexus/compiler/csharp/DefaultCSharpCompilerParser.java: Recompile with -Xlint:deprecation for details.
> [INFO]
> [INFO] --- plexus-component-metadata:2.1.1:generate-metadata (default) @ plexus-compiler-csharp ---
> [INFO] Discovered 1 component descriptors(s)
> [INFO]
> [INFO] --- plexus-component-metadata:2.1.1:merge-metadata (default) @ plexus-compiler-csharp ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ plexus-compiler-csharp ---
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/plexus-compilers/plexus-compiler-csharp/src/test/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ plexus-compiler-csharp ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 1 source file to /<<PKGBUILDDIR>>/plexus-compilers/plexus-compiler-csharp/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ plexus-compiler-csharp ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ plexus-compiler-csharp ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/plexus-compilers/plexus-compiler-csharp/target/plexus-compiler-csharp-2.12.1.jar
> [INFO]
> [INFO] ------------< org.codehaus.plexus:plexus-compiler-eclipse >-------------
> [INFO] Building Plexus Eclipse Compiler 2.12.1 [7/9]
> [INFO] from plexus-compilers/plexus-compiler-eclipse/pom.xml
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ plexus-compiler-eclipse ---
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/plexus-compilers/plexus-compiler-eclipse/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ plexus-compiler-eclipse ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 4 source files to /<<PKGBUILDDIR>>/plexus-compilers/plexus-compiler-eclipse/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/plexus-compilers/plexus-compiler-eclipse/src/main/java/org/codehaus/plexus/compiler/eclipse/EclipseJavaCompiler.java:[55,37] cannot find symbol
> symbol: class CompilationProgress
> location: package org.eclipse.jdt.core.compiler
> [ERROR] /<<PKGBUILDDIR>>/plexus-compilers/plexus-compiler-eclipse/src/main/java/org/codehaus/plexus/compiler/eclipse/EclipseJavaCompiler.java:[56,43] package org.eclipse.jdt.core.compiler.batch does not exist
> [INFO] 2 errors
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Plexus Compiler 2.12.1:
> [INFO]
> [INFO] Plexus Compiler .................................... SUCCESS [ 0.185 s]
> [INFO] Plexus Compiler Api ................................ SUCCESS [ 2.215 s]
> [INFO] Plexus Compiler Manager ............................ SUCCESS [ 0.509 s]
> [INFO] Plexus Compiler Test Harness ....................... SUCCESS [ 0.319 s]
> [INFO] Plexus Compilers ................................... SUCCESS [ 0.015 s]
> [INFO] Plexus C# Compiler ................................. SUCCESS [ 0.319 s]
> [INFO] Plexus Eclipse Compiler ............................ FAILURE [ 0.170 s]
> [INFO] Plexus Javac Component ............................. SKIPPED
> [INFO] Plexus J2ObjC Compiler ............................. SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3.997 s
> [INFO] Finished at: 2024-08-09T18:27:37Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project plexus-compiler-eclipse: Compilation failure: Compilation failure:
> [ERROR] /<<PKGBUILDDIR>>/plexus-compilers/plexus-compiler-eclipse/src/main/java/org/codehaus/plexus/compiler/eclipse/EclipseJavaCompiler.java:[55,37] cannot find symbol
> [ERROR] symbol: class CompilationProgress
> [ERROR] location: package org.eclipse.jdt.core.compiler
> [ERROR] /<<PKGBUILDDIR>>/plexus-compilers/plexus-compiler-eclipse/src/main/java/org/codehaus/plexus/compiler/eclipse/EclipseJavaCompiler.java:[56,43] package org.eclipse.jdt.core.compiler.batch does not exist
> [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
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <args> -rf :plexus-compiler-eclipse
> 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: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2024/08/09/plexus-compiler_2.12.1-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240809;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240809&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 mark 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