Source: zstd-jni-java
Version: 1.5.2-5+ds-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
Control: found -1 1.5.4-2+ds-1

Hi,

zstd-jni-java FTBFS during a binary-arch build (as it is done on the
buildd network), while binary-indep and combined binary-arch and
binary-indep builds succeed. Reproducible in bookworm, sid and
experimental.

...
   dh_auto_build -a -O--buildsystem=maven
        /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=/build/zstd-jni-java-1.5.2-5\+ds 
-Dclassworlds.conf=/etc/maven/m2-debian.conf 
-Dproperties.file.manual=/build/zstd-jni-java-1.5.2-5\+ds/debian/maven.properties
 org.codehaus.plexus.classworlds.launcher.Launcher 
-s/etc/maven/settings-debian.xml 
-Ddebian.dir=/build/zstd-jni-java-1.5.2-5\+ds/debian 
-Dmaven.repo.local=/build/zstd-jni-java-1.5.2-5\+ds/debian/maven-repo 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] ---------------------< com.github.luben:zstd-jni >----------------------
[INFO] Building zstd-jni 1.5.2-5
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for org.apache.maven.plugins:maven-resources-plugin:jar:3.1.0 
is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.093 s
[INFO] Finished at: 2023-04-07T17:09:36Z
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:3.1.0 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-resources-plugin:jar:3.1.0 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/PluginResolutionException
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=/build/zstd-jni-java-1.5.2-5\+ds 
-Dclassworlds.conf=/etc/maven/m2-debian.conf 
-Dproperties.file.manual=/build/zstd-jni-java-1.5.2-5\+ds/debian/maven.properties
 org.codehaus.plexus.classworlds.launcher.Launcher 
-s/etc/maven/settings-debian.xml 
-Ddebian.dir=/build/zstd-jni-java-1.5.2-5\+ds/debian 
-Dmaven.repo.local=/build/zstd-jni-java-1.5.2-5\+ds/debian/maven-repo package 
-DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:8: binary-arch] Error 25

Note that maven-resources-plugin 3.3.0 was uploaded in December,
i.e. after the last zstd-jni-java upload to sid in November.

maven-resources-plugin | 3.1.0-1       | stable       | source
maven-resources-plugin | 3.3.0-1       | testing      | source
maven-resources-plugin | 3.3.0-1       | unstable     | source

The last zstd-jni-java upload to experimental in March does FTBFS on all 
buildds:
https://buildd.debian.org/status/package.php?p=zstd-jni-java&suite=experimental


Andreas

Attachment: zstd-jni-java.bookworm.build.gz
Description: application/gzip

Reply via email to