Bug#1028805: netty: FTBFS: [ERROR] Failed to execute goal on project netty-common: Could not resolve dependencies for project io.netty:netty-common:jar:4.1.48.Final: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact log4j:log4j:jar:1.2.x has not been downloaded from it before. -> [Help 1]
Lucas Nussbaum
lucas at debian.org
Sat Jan 14 12:48:21 GMT 2023
Source: netty
Version: 1:4.1.48-6
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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # Replace the missing groovy-maven-plugin
> mkdir -p common/target
> groovy -Dcollection.template.dir=common/src/main/templates \
> -Dcollection.template.test.dir=common/src/test/templates \
> -Dcollection.src.dir=common/target/generated-sources/collections/java \
> -Dcollection.testsrc.dir=common/target/generated-test-sources/collections/java \
> common/src/main/script/codegen.groovy
> [copy] Copying 3 files to /<<PKGBUILDDIR>>/common/target/generated-sources/collections/java
> [copy] Copying 3 files to /<<PKGBUILDDIR>>/common/target/generated-sources/collections/java
> [copy] Copying 3 files to /<<PKGBUILDDIR>>/common/target/generated-sources/collections/java
> [copy] Copying 3 files to /<<PKGBUILDDIR>>/common/target/generated-sources/collections/java
> [copy] Copying 3 files to /<<PKGBUILDDIR>>/common/target/generated-sources/collections/java
> [copy] Copying 1 file to /<<PKGBUILDDIR>>/common/target/generated-test-sources/collections/java
> [copy] Copying 1 file to /<<PKGBUILDDIR>>/common/target/generated-test-sources/collections/java
> [copy] Copying 1 file to /<<PKGBUILDDIR>>/common/target/generated-test-sources/collections/java
> [copy] Copying 1 file to /<<PKGBUILDDIR>>/common/target/generated-test-sources/collections/java
> [copy] Copying 1 file to /<<PKGBUILDDIR>>/common/target/generated-test-sources/collections/java
> dh_auto_build -- package -Dbuild.date='2023-01-01 18:17:21'
> /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 "-Dbuild.date=2023-01-01 18:17:21" -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] Reactor Build Order:
> [INFO]
> [INFO] Netty [pom]
> [INFO] Netty/Common [jar]
> [INFO] Netty/Buffer [jar]
> [INFO] Netty/Resolver [jar]
> [INFO] Netty/Transport [jar]
> [INFO] Netty/Transport/Native/Unix/Common [jar]
> [INFO] Netty/Transport/Native/Epoll [jar]
> [INFO] Netty/Codec [jar]
> [INFO] Netty/Codec/DNS [jar]
> [INFO] Netty/Codec/HAProxy [jar]
> [INFO] Netty/Handler [jar]
> [INFO] Netty/Codec/HTTP [jar]
> [INFO] Netty/Codec/HTTP2 [jar]
> [INFO] Netty/Codec/Memcache [jar]
> [INFO] Netty/Codec/MQTT [jar]
> [INFO] Netty/Codec/Redis [jar]
> [INFO] Netty/Codec/SMTP [jar]
> [INFO] Netty/Codec/Socks [jar]
> [INFO] Netty/Codec/Stomp [jar]
> [INFO] Netty/Handler/Proxy [jar]
> [INFO] Netty/Resolver/DNS [jar]
> [INFO] Netty/Transport/SCTP [jar]
> [INFO] Netty/All-in-One [jar]
> [INFO] Netty/Resolver/DNS/MacOS [jar]
> [INFO] Netty/Transport/Native/KQueue [jar]
> [INFO] Netty/BOM [pom]
> [INFO]
> [INFO] -----------------------< io.netty:netty-parent >------------------------
> [INFO] Building Netty 4.1.48.Final [1/26]
> [INFO] --------------------------------[ pom ]---------------------------------
> [WARNING] The artifact javassist:javassist:jar:debian has been relocated to org.javassist:javassist:jar:debian
> [WARNING] The artifact org.hamcrest:hamcrest-library:jar:debian has been relocated to org.hamcrest:hamcrest:jar:debian
> [INFO]
> [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ netty-parent ---
> [INFO]
> [INFO] --- maven-antrun-plugin:3.1.0:run (write-version-properties) @ netty-parent ---
> [WARNING] The POM for ant-contrib:ant-contrib:jar:debian is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [INFO] Executing tasks
> [ERROR] [exec] Execute failed: java.io.IOException: Cannot run program "git" (in directory "/<<PKGBUILDDIR>>"): error=2, No such file or directory
> [ERROR] [exec] Execute failed: java.io.IOException: Cannot run program "git" (in directory "/<<PKGBUILDDIR>>"): error=2, No such file or directory
> [WARNING] [echo] Current commit: 0 on 1970-01-01 00:00:00 +0000
> [INFO] [mkdir] Created dir: /<<PKGBUILDDIR>>/target/classes/META-INF
> [INFO] [propertyfile] Creating new property file: /<<PKGBUILDDIR>>/target/classes/META-INF/io.netty.versions.properties
> [INFO] Executed tasks
> [INFO]
> [INFO] --- maven-bundle-plugin:3.5.1:manifest (generate-manifest) @ netty-parent ---
> [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle]
> [INFO]
> [INFO] -----------------------< io.netty:netty-common >------------------------
> [INFO] Building Netty/Common 4.1.48.Final [2/26]
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The artifact org.apache.maven.plugins:maven-surefire-plugin:jar:2.12.4 has been relocated to org.apache.maven.plugins:maven-surefire-plugin:jar:2.22.3
> [WARNING] The POM for log4j:log4j:jar:1.2.x is missing, no dependency information available
> [WARNING] The artifact javassist:javassist:jar:debian has been relocated to org.javassist:javassist:jar:debian
> [WARNING] The artifact org.hamcrest:hamcrest-library:jar:debian has been relocated to org.hamcrest:hamcrest:jar:debian
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Netty 4.1.48.Final:
> [INFO]
> [INFO] Netty .............................................. SUCCESS [ 0.813 s]
> [INFO] Netty/Common ....................................... FAILURE [ 0.086 s]
> [INFO] Netty/Buffer ....................................... SKIPPED
> [INFO] Netty/Resolver ..................................... SKIPPED
> [INFO] Netty/Transport .................................... SKIPPED
> [INFO] Netty/Transport/Native/Unix/Common ................. SKIPPED
> [INFO] Netty/Transport/Native/Epoll ....................... SKIPPED
> [INFO] Netty/Codec ........................................ SKIPPED
> [INFO] Netty/Codec/DNS .................................... SKIPPED
> [INFO] Netty/Codec/HAProxy ................................ SKIPPED
> [INFO] Netty/Handler ...................................... SKIPPED
> [INFO] Netty/Codec/HTTP ................................... SKIPPED
> [INFO] Netty/Codec/HTTP2 .................................. SKIPPED
> [INFO] Netty/Codec/Memcache ............................... SKIPPED
> [INFO] Netty/Codec/MQTT ................................... SKIPPED
> [INFO] Netty/Codec/Redis .................................. SKIPPED
> [INFO] Netty/Codec/SMTP ................................... SKIPPED
> [INFO] Netty/Codec/Socks .................................. SKIPPED
> [INFO] Netty/Codec/Stomp .................................. SKIPPED
> [INFO] Netty/Handler/Proxy ................................ SKIPPED
> [INFO] Netty/Resolver/DNS ................................. SKIPPED
> [INFO] Netty/Transport/SCTP ............................... SKIPPED
> [INFO] Netty/All-in-One ................................... SKIPPED
> [INFO] Netty/Resolver/DNS/MacOS ........................... SKIPPED
> [INFO] Netty/Transport/Native/KQueue ...................... SKIPPED
> [INFO] Netty/BOM .......................................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.098 s
> [INFO] Finished at: 2023-01-13T20:26:40Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project netty-common: Could not resolve dependencies for project io.netty:netty-common:jar:4.1.48.Final: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact log4j:log4j:jar:1.2.x has not been downloaded from it before. -> [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/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <args> -rf :netty-common
> [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 "-Dbuild.date=2023-01-01 18:17:21" -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make[1]: *** [debian/rules:13: override_dh_auto_build] Error 25
The full build log is available from:
http://qa-logs.debian.net/2023/01/13/netty_4.1.48-6_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