Bug#1028855: sisu-mojos: FTBFS: [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/sisu/mojos/MainIndexMojo.java:[37, 13] cannot find symbol
Lucas Nussbaum
lucas at debian.org
Sat Jan 14 13:04:56 GMT 2023
Source: sisu-mojos
Version: 0.3.4-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230113 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
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure
> mh_patchpoms -plibeclipse-sisu-maven-plugin-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.
> [0m[0m[INFO] Scanning for projects...
> [INFO]
> [INFO] -----------------< org.eclipse.sisu:sisu-maven-plugin >-----------------
> [INFO] Building Sisu Maven Plugin 0.3.4
> [INFO] ----------------------------[ maven-plugin ]----------------------------
> [INFO]
> [INFO] --- maven-plugin-plugin:3.7.0:helpmojo (generated-helpmojo) @ sisu-maven-plugin ---
> [INFO]
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ sisu-maven-plugin ---
> [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.10.1:compile (default-compile) @ sisu-maven-plugin ---
> [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.6 is no longer supported, switching to 7
> Use of source 1.6 is no longer supported, switching to 7
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/sisu/mojos/TestIndexMojo.java:[20,32] package org.apache.maven.project does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/sisu/mojos/TestIndexMojo.java:[37,13] cannot find symbol
> symbol: class MavenProject
> location: class org.eclipse.sisu.mojos.TestIndexMojo
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/sisu/mojos/IndexMojo.java:[25,32] package org.apache.maven.project does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/sisu/mojos/IndexMojo.java:[135,13] cannot find symbol
> symbol: class MavenProject
> location: class org.eclipse.sisu.mojos.IndexMojo
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/sisu/mojos/IndexMojo.java:[141,35] cannot find symbol
> symbol: class MavenProject
> location: class org.eclipse.sisu.mojos.IndexMojo
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/sisu/mojos/MainIndexMojo.java:[20,32] package org.apache.maven.project does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/sisu/mojos/MainIndexMojo.java:[37,13] cannot find symbol
> symbol: class MavenProject
> location: class org.eclipse.sisu.mojos.MainIndexMojo
> [INFO] 7 errors
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.235 s
> [INFO] Finished at: 2023-01-13T20:35:45Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project sisu-maven-plugin: Compilation failure: Compilation failure:
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/sisu/mojos/TestIndexMojo.java:[20,32] package org.apache.maven.project does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/sisu/mojos/TestIndexMojo.java:[37,13] cannot find symbol
> [ERROR] symbol: class MavenProject
> [ERROR] location: class org.eclipse.sisu.mojos.TestIndexMojo
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/sisu/mojos/IndexMojo.java:[25,32] package org.apache.maven.project does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/sisu/mojos/IndexMojo.java:[135,13] cannot find symbol
> [ERROR] symbol: class MavenProject
> [ERROR] location: class org.eclipse.sisu.mojos.IndexMojo
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/sisu/mojos/IndexMojo.java:[141,35] cannot find symbol
> [ERROR] symbol: class MavenProject
> [ERROR] location: class org.eclipse.sisu.mojos.IndexMojo
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/sisu/mojos/MainIndexMojo.java:[20,32] package org.apache.maven.project does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/main/java/org/eclipse/sisu/mojos/MainIndexMojo.java:[37,13] cannot find symbol
> [ERROR] symbol: class MavenProject
> [ERROR] location: class org.eclipse.sisu.mojos.MainIndexMojo
> [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
> [0m[0mdh_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/2023/01/13/sisu-mojos_0.3.4-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&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