#976521 jnr-ffi: FTBFS on arm64,ppc64el (arch:all-only src pkg): dh_auto_test: 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 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 test returned exit code 1

#976521#5
Date:
2020-12-05 13:24:42 UTC
From:
To:
Hi,

During a rebuild of all packages in sid, your package failed to build
on arm64 (I don't know if it also fails on amd64).

Relevant part (hopefully):
http://qa-logs.debian.net/2020/12/05/jnr-ffi_2.1.7-1_unstable.log

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 marking 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 me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

#976521#10
Date:
2020-12-05 20:45:34 UTC
From:
To:
Hi,

This package only builds Arch:all binary packages. Unfortunately, I
don't think that we have a way to indicate that such binary packages
must be built on a specific architecture, and thus avoid a failure on
arm64.

In those cases, building those packages on amd64 works fine, so the bug
is limited to building arch:all packages on specific architectures.

I pondered downgrading the severity of those bugs, but in some cases,
it could indicate severe bugs in other packages, or packaging bugs such
as confusing arch:any and arch:all.

However, I don't object to someone else downgrading them.

For reference, here are the packages I ran into in that category:
akuma 976548
backward-cpp 976582
bmagic 976517
dune-localfunctions 976552
golang-github-disintegration-imaging 976565
golang-github-labstack-gommon 976578
golang-github-linuxkit-virtsock 976564
golang-github-montanaflynn-stats 976562
golang-github-rcrowley-go-metrics 976543
golang-github-robertkrimen-otto 976549
golang-github-shirou-gopsutil 976509
golang-google-cloud 976507
jctools 976534
jnr-ffi 976521
libcereal 976585
libmiglayout-java 976546
multiboot 976502
nova 976590
python-fluids 976558
python-ptrace 976468
rapidjson 976536
xenium 976480
xfonts-100dpi 976571
xfonts-75dpi 976471
xfonts-cyrillic 976510

- Lucas

#976521#17
Date:
2021-01-09 12:11:59 UTC
From:
To:
Hi Lucas,

Thanks for al your QA work!

I'm doing so now.

Some of these are probably real bugs somewhere that should be fixed, but the
bugs doesn't need to be serious for that. These certainly aren't issues which
would merit delaying the release.

Note that if it turns out that some of these bugs are in fact caused by real
brokenness (other than not being able to build the arch: all packages on
arm64), the severity of those specific bugs can obviously be increased again
(with a note explaining what exactly is broken).

Cheers,

Ivo

#976521#26
Date:
2023-06-04 22:04:02 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
jnr-ffi, 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 976521@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
sun min <sunmin89@outlook.com> (supplier of updated jnr-ffi 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: Sun, 4 Jun 2023 23:35:38 +0200
Source: jnr-ffi
Architecture: source
Version: 2.2.13-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: sun min <sunmin89@outlook.com>
Closes: 923440 976521
Changes:
 jnr-ffi (2.2.13-1) experimental; urgency=medium
 .
   * Team upload.
   * New upstream release.
   * Fix build from source bugs (Closes: #976521,#923440)
   * Bump Standards-Version to 4.6.2, No changes were required.
 .
   [ Pierre Gruet ]
 .
   * Removing now unneeded debian/maven.properties file
Checksums-Sha1:
 459c13a7d5a5073eddba41ad90fd4ac46022327e 2315 jnr-ffi_2.2.13-1.dsc
 fa022621045e29062e17c50e4af8e9d8fb40f199 285542 jnr-ffi_2.2.13.orig.tar.gz
 9eb0564e4cad6521539231d23f0093e14137f332 8464 jnr-ffi_2.2.13-1.debian.tar.xz
 4f26830377363e02de619e6c0920e529957660cf 16952 jnr-ffi_2.2.13-1_source.buildinfo
Checksums-Sha256:
 c2fb40283f4046a361039429b6b1b47b731458c5b47bf3909ca92bd2795cd53e 2315 jnr-ffi_2.2.13-1.dsc
 5e7bc959b8307e0dc6b62ccb85b1a44c344f00fec0ba0e09b055719a596dec47 285542 jnr-ffi_2.2.13.orig.tar.gz
 cee704d764b5103c5788ec30a3593e8a287696d1f050125bfa0512baee6ad98a 8464 jnr-ffi_2.2.13-1.debian.tar.xz
 9a3893cbf3c7e6adf13da416350aef6c73801f1ea9472931e5fe4e16efe81530 16952 jnr-ffi_2.2.13-1_source.buildinfo
Files:
 93ad1785ee932504ce8fd2b1af676b22 2315 java optional jnr-ffi_2.2.13-1.dsc
 18a368306069564e90d709b0d4f45f61 285542 java optional jnr-ffi_2.2.13.orig.tar.gz
 e8fa9f4818267b7cb52b3359fd6bb1cf 8464 java optional jnr-ffi_2.2.13-1.debian.tar.xz
 d2c111dcb0641d6c8173c57417863470 16952 java optional jnr-ffi_2.2.13-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmR9BpIACgkQYAMWptwn
dHaUABAAjBV3rAGhVpQT+r7fjnvwAqCDZmUQSCKyHgRNu0qZEsfeHjOUM99a99hE
VhrrrzpK87UoveyI1RoAA1G/AZETJsyPKbL7OB5V9xvf6hujA9NS85CK+MtVJ/vw
PgCykbF0VFJa2VmU7frvraxqqHV8ZUFwjw1CJgTnu05awswQDkqjpQg93SUDKH9p
YDBsN0VrusvBs+hsbnwOeumr/uDrh+ulOIgjLxI8CkR/XjMwC2zEzqjksDY2c3GQ
gUTfQXlQCXIhjCnMoC3w/ZWUKykxftmBxDj0ongiSV316uSYC4itGOk+cHfQd77F
DcaKsG6VkNOfmR3f5Asu793T6WFLMm7+M9M4Q1c6jiMv8B39Msx3VUlgDK187te5
jvoeUT60Ppbn7LDlnVJAWDFTXX5Fs1QEqSbkR9aumZTzXYahajk41JogvfUHWER0
fY3AGf9ZJk/RaiqOYWIqQmXADmsQfX8GxSz/q603wp+4dbXGdD6VCwFZ4GfO5rGZ
lIdrYeY4N+iLyhXu/MGWyd58jEo/bcmO1AQ+PWf4ov/uiu/U4KhzUJ3dx/jjhdA8
t59Gf5LWCyYl0pD2GNvG9KA20tPZvFU8BCeY/iFBlppvwtKK23tiQ6V8X9FmKzDU
ZV+CMkXdvGLcI91xzxdGWF+zG1Ws3m9jymknCuflnj1XGeowFNM=
=gqRB
-----END PGP SIGNATURE-----