#1034059 zstd-jni-java: FTBFS during binary-arch build: Plugin org.apache.maven.plugins:maven-resources-plugin:3.1.0 or one of its dependencies could not be resolved

#1034059#5
Date:
2023-04-07 17:26:32 UTC
From:
To:
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

#1034059#10
Date:
2023-04-08 20:58:00 UTC
From:
To:
Hello,

Bug #1034059 in zstd-jni-java reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/java-team/zstd-jni-java/-/commit/67b4cbfab56dc775db01963cae87ca223b969b4a
------------------------------------------------------------------------
Depend on maven-resources-plugin 3.3.0 instead of version 3.1.0.

Fixes FTBFS when building zstd-jni-java for binary-arch only.

Thanks: Andreas Beckmann for the report.
Closes: #1034059
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1034059

#1034059#15
Date:
2023-04-08 21:13:00 UTC
From:
To:
Hello,

Bug #1034059 in zstd-jni-java reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/java-team/zstd-jni-java/-/commit/67b4cbfab56dc775db01963cae87ca223b969b4a
------------------------------------------------------------------------
Depend on maven-resources-plugin 3.3.0 instead of version 3.1.0.

Fixes FTBFS when building zstd-jni-java for binary-arch only.

Thanks: Andreas Beckmann for the report.
Closes: #1034059
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1034059

#1034059#20
Date:
2023-04-08 21:19:37 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
zstd-jni-java, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1034059@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Koschany <apo@debian.org> (supplier of updated zstd-jni-java package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 08 Apr 2023 22:46:57 +0200
Source: zstd-jni-java
Architecture: source
Version: 1.5.2-5+ds-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Markus Koschany <apo@debian.org>
Closes: 1034059
Changes:
 zstd-jni-java (1.5.2-5+ds-3) unstable; urgency=medium
 .
   * Team upload.
   * Depend on maven-resources-plugin 3.3.0 and maven-compiler-plugin 3.10.1.
     Fixes FTBFS when building zstd-jni-java for binary-arch only.
     Thanks to Andreas Beckmann for the report. (Closes: #1034059)
Checksums-Sha1:
 47dd6a47dc7e999fed0bb661ea1972e2abe24f6e 2368 zstd-jni-java_1.5.2-5+ds-3.dsc
 a5d6875627c7f2731cbc944f3b60b701a0e95794 7020 zstd-jni-java_1.5.2-5+ds-3.debian.tar.xz
 19940a70f6863e24db3b4246395ea7b79a376330 17475 zstd-jni-java_1.5.2-5+ds-3_amd64.buildinfo
Checksums-Sha256:
 6f1342a68f13c78e2f08810f7d60cb2fa7e7dd08e2ebf9dddf1018bff642a7be 2368 zstd-jni-java_1.5.2-5+ds-3.dsc
 eb3e98608689340f1607e2f5d3f6fc649c7a72b08edb665ffc648242126394c4 7020 zstd-jni-java_1.5.2-5+ds-3.debian.tar.xz
 0f47c911a22b30f62f6972961a01b3c1772f69bf74ccf891b84d2b9b2509475d 17475 zstd-jni-java_1.5.2-5+ds-3_amd64.buildinfo
Files:
 9cd69e67dcbc82bafd8515602656bf8a 2368 java optional zstd-jni-java_1.5.2-5+ds-3.dsc
 aa9a5654e9d622f1019deec636b84669 7020 java optional zstd-jni-java_1.5.2-5+ds-3.debian.tar.xz
 b51f4794796db30744a9e5d8bb156211 17475 java optional zstd-jni-java_1.5.2-5+ds-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAmQx1RdfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1Hk5s8QAMIIT0MdUNZtSV2s8CadmW3W+7zCZbCmkArr
Vcz4rUh5lie3Ab7+LsNfF1X/pHR2WPH/6aDdW1FQ8Wq5ktTdsCX8mjThldTr83eS
RKu8j/dXwqB9IQoDNMFDSxU1041dun4/CXVzb+x64wcoSTXZ5O794TWjEtVVrIev
Rwg93I/6OaFfWm80k1ZMAS71Y/027ySbmWs7LJrmdd8O/wordMWknmbPpkc1HCOp
d7mDTTjFj/y2HguzDBn/AcCiOWKxq1ArfqlKPyjq0m9gHp3BPpXvWa63wWUDpgfJ
CpPUp2IzdEgHR1Qp8+bzajnBaAWdkFiuFZA6VsrRuso+LvRn3cXlHmhu5R/56Cgp
bakL3CWkJ/CoA8hyZ1WT0l4EmUh2/kNyOyynmQA6H3DEr2aMRpb1VqF9tYFM8xMK
lgkDsvNJkI07uaIv/a/VyvtGQYksPA/1nYvFqFQfRWLiizfNDJwzmj88AXdvLQlP
LcsdLJy5xGGy7i0KoN7LlVDE7TEQNFGhQhqVQBEMUe8wAC9bwjhKfnAMdSlnyiw9
o4wK3GIFMkoHgYk0IF/HYt8t8tc+ANC8+5XLegKOqXIh46e128haMDVDoOjBTaP5
hxpW4UGx5S4SRLTbWJ6opLCUC7/k/Ra5u2Ne/kRrXgxhqJAJyv418QiV8+8uUANh
PB8MuN56
=w8eY
-----END PGP SIGNATURE-----

#1034059#25
Date:
2023-04-08 21:33:59 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
zstd-jni-java, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1034059@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Koschany <apo@debian.org> (supplier of updated zstd-jni-java package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat,  8 Apr 2023 23:08:50 CEST
Source: zstd-jni-java
Architecture: source
Version: 1.5.4-2+ds-2
Distribution: experimental
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Markus Koschany <apo@debian.org>
Checksums-Sha1:
 512e3f874b7609e6830a82039a12e3220b2e32a4 2368 zstd-jni-java_1.5.4-2+ds-2.dsc
 36b2dc0fd664e5913760aab5858bf8a5be98a66d 7236 zstd-jni-java_1.5.4-2+ds-2.debian.tar.xz
 4458fa64aac75dcd78fae7eac4de3c779596ff3d 17475 zstd-jni-java_1.5.4-2+ds-2_amd64.buildinfo
Checksums-Sha256:
 e2fff22662620e4b7ccc22529d4db2a823bc119a6ea2a1e4a4e118da47951a9c 2368 zstd-jni-java_1.5.4-2+ds-2.dsc
 d90db10324f15283be080eb89a84cf92aa71c8363e94a486b32b8f9bd238f566 7236 zstd-jni-java_1.5.4-2+ds-2.debian.tar.xz
 4460f0d9df49eec28b4546be7c8b6328ea5a5d013e886a4e4eac34c3c9c66ac8 17475 zstd-jni-java_1.5.4-2+ds-2_amd64.buildinfo
Closes: 1034059
Changes:
 zstd-jni-java (1.5.4-2+ds-2) experimental; urgency=medium
 .
   * Team upload.
   * Depend on maven-resources-plugin 3.3.0 and maven-compiler-plugin 3.10.1.
     Fixes FTBFS when building zstd-jni-java for binary-arch only.
     Thanks to Andreas Beckmann for the report. (Closes: #1034059)
Files:
 2fb5ec6b73029cbfe5e06bb8988be081 2368 java optional zstd-jni-java_1.5.4-2+ds-2.dsc
 37f61bd5f7a51b931295dbb359b817ce 7236 java optional zstd-jni-java_1.5.4-2+ds-2.debian.tar.xz
 356d1f746cfc9382958c60f6a39ba037 17475 java optional zstd-jni-java_1.5.4-2+ds-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAmQx1+ZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1HkMgcQAJ5tt3fAKr3o9deRlVnz9zNTzUSS7W/qbPys
ir/HfMyKDjdz2KtoE9hGFlS2Umi/+2ryj2BoWuOWTPtVF4R0FG+cygnFyxU7I7ii
4mMvn4hYG+R07976jZKHertgHGhxMrAz10lI7sGg3tAg7fJFjilumF+FSknSm4f4
RuW3TduRxCvbG6hwlx3P+c2psBsoaEU6VY5gnQKt/mWM7l3Ex1QGCa+O9KMJXzPI
fHfQPWnUlUUdRxgwuMZET6Tmg21nGQL9K0XkxbtND4M7wc7fMK0bY4o8/tODquoU
EqaPAp0AYAd90oGlj/+Up5IMS31e5j/g85bM4ZQBx1ZdLfrS9aA1SrKWLvelvaQ7
FWAmd5wwzWfG+pvgFEqUsHltPM5NPtRHFSrunCchB6xF7IgL7u2eCZqJpfPh2u2z
PlrbgeXiIWEt06+fJ90hLS5fQd5YyMjzEEKScPrYwhUrO1FsoyCXpelnu+Wdzg+w
F5akbtqhTFpmPHlh9nJP6QdLQDDB9LNvRpR6Qldp5rV1AKO+XGCGuzfqPleZOz8e
DwpPZnxb52Prjhc4I4Wwx8PLZ6M817PX4d19xt1nsrXVsCE4e78jJn1DyTh90hL1
wOOWL9j7vbeZ59HYZ1fcjrTx48YUB5rNdowAoG9ULer8a90ii+eRJyLHkWqlEgcL
j6hAh2qC
=rcog
-----END PGP SIGNATURE-----