#1151434 acedb: autopkgtest failure on s390x

#1151434#5
Date:
2026-10-20 16:56:29 UTC
From:
To:
https://tracker.debian.org/pkg/acedb

Migration status for acedb (- to 4.9.39+dfsg.02-11): BLOCKED: Rejected/violates migration policy/introduces a regression
Issues preventing migration:
∙ ∙ Autopkgtest for acedb/4.9.39+dfsg.02-11: amd64: Pass, arm64: Pass, armhf: Pass, i386: Pass, ppc64el: Pass, s390x: Failed ♻

...
 73s Processing triggers for libc-bin (2.43-7) ...
 74s autopkgtest [14:57:10]: test run-unit-test: [-----------------------
 74s FAIL: output of 'efetch -D /tmp/autopkgtest.JT2cCg/autopkgtest_tmp/ ALBU_HUMAN' does not contain 'P02768'
 74s ----- output -----
 74s *** buffer overflow detected ***: terminated
 74s ------------------
 74s autopkgtest [14:57:10]: test run-unit-test: -----------------------]
 75s autopkgtest [14:57:11]: test run-unit-test:  - - - - - - - - - - results - - - - - - - - - -
 75s run-unit-test        FAIL non-zero exit status 1
...

#1151434#10
Date:
2026-10-20 19:54:35 UTC
From:
To:
Hi,

can some s390x porter provide a patch?  Upstream is not active any more
and so we need help here.

Thanks a lot
    Andreas.

#1151434#17
Date:
2026-10-23 18:46:12 UTC
From:
To:
Hi,

The attached patch seems to fix the issue for me.
Since the upstream is no longer maintaining this, can you
please suggest on how to upload the changes?

Thanks,
Pranav

#1151434#22
Date:
2026-10-23 18:46:12 UTC
From:
To:
Hi,

The attached patch seems to fix the issue for me.
Since the upstream is no longer maintaining this, can you
please suggest on how to upload the changes?

Thanks,
Pranav

#1151434#25
Date:
2026-10-24 08:53:33 UTC
From:
To:
Hello,

Bug #1151434 in acedb 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/med-team/acedb/-/commit/c58f29118dfef2ced551d67801020c8299542be3

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1151434

#1151434#32
Date:
2026-10-24 08:55:35 UTC
From:
To:
Hi Pranav,

Am Fri, Oct 23, 2026 at 06:46:12PM +0000 schrieb Pranav P:

Thanks a lot.  We would not have been able to fix this without your
help.

I did a Debian Med team upload on behalf of yours.  Once you are a DM/DD
you can do this yourself. ;-)

Kind regards
    Andreas.

#1151434#37
Date:
2026-10-24 09:05:38 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
acedb, 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 1151434@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pranav P <pranav.p7@ibm.com> (supplier of updated acedb 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, 24 Oct 2026 10:43:38 +0200
Source: acedb
Architecture: source
Version: 4.9.39+dfsg.02-12
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Pranav P <pranav.p7@ibm.com>
Closes: 1151434
Changes:
 acedb (4.9.39+dfsg.02-12) unstable; urgency=medium
 .
   * Team upload.
   * Fix autopkgtest on s390x
     Closes: #1151434
Checksums-Sha1:
 66bbef4c872a2132d23e6eb8d7242faacd965c58 2148 acedb_4.9.39+dfsg.02-12.dsc
 b2767de0d73bad049de28773a3330bb2f314ab05 25976 acedb_4.9.39+dfsg.02-12.debian.tar.xz
 ceb341a01dd4a529680da952864d80fc8e6f1faf 8265 acedb_4.9.39+dfsg.02-12_amd64.buildinfo
Checksums-Sha256:
 0213ed4fe10fef2fb900e76524a8dccc88b400d8bda7e046d4e2a4e3f0f30abb 2148 acedb_4.9.39+dfsg.02-12.dsc
 c405be16f4c5474071357e7582a71f7758052ce811bc3a2fd5d53d019b0fd965 25976 acedb_4.9.39+dfsg.02-12.debian.tar.xz
 b946c6cf5d0bc09f735196dcb736dac5581b7e1f6e3f4c2f31b99b2a6b97bca9 8265 acedb_4.9.39+dfsg.02-12_amd64.buildinfo
Files:
 cea42ebd9307f4aaf5c85390eaf5d668 2148 science optional acedb_4.9.39+dfsg.02-12.dsc
 5d29c49ede26dad6cdbd140bd24884dd 25976 science optional acedb_4.9.39+dfsg.02-12.debian.tar.xz
 ed97600b020e4f8e322120af69e8e474 8265 science optional acedb_4.9.39+dfsg.02-12_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmrcchURHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtHGsg//bRT3BSw9aWFF3/6cepQ0TQoDb/oF1raX
fpmOl30dHJDeZivtHqDZD5sU+wlS92KVjyVn9KkCA0lSDR94RdQ3H+AZAb5NH72m
aPNjGb7/6BVty4uZK4haSBxvJndY5kuruEGEO5Zmd828J6ANJbr/6UB9WuJ+MIVw
Eg7RgWHZ+k2SIEI+zyOsI4LHKuvZ7HRG1q0YR64fnvVUEC1Bg7huP9vmEn4f5wLp
K43uH5n+WRWOrq3SSBePotSxr9zP/3LvRriMlvG55lEJvvw9sHlwK9C1oXygACBK
j6DWyIFFwVpV0ThaKbA76tpwh9n94C4TST+7CqaoKRpXbz/ecn6IAFlmpjSyAcv0
uWVGeSJBo29RtLhVp9Oyu2oiy6tIvOBU6q0vhtug6qlpigGDCVd+/jL2tqe5ZNx9
uafOj/gnr2jbL8n91tQg4B+SLVJGcFxasFyd7jFM+BvTgG2OFZluCKwJankx7FmX
bE652gzJIwZhi7ttsa21T/Qy804JmvqIjRCKXJvOn3BIAloz36Pj4a7GQR9xTGxn
muniQVsWB38HG3VQ/g+R/dsT1yPCTxxKQZmtIOZvwUArvlQuO2+7s/IbDhViee58
CGAmzWXIKCxV3vJm9ZcyJUFQdzzLxLP0jjv2ixle2okSbyaesbUZF/Mh3KEZNrat
6oa0T+k+5ok=
=6LXh
-----END PGP SIGNATURE-----

#1151434#42
Date:
2026-10-25 06:52:20 UTC
From:
To:
Hi Andreas,

I am extremely sorry. Looks like my patch breaks little-endian.
The check I added to test for BIG_ENDIAN was evaluating to true on
little-endian machines as well.
I have modified the patch (with some additional changes which I missed
in the previous patch). Can you please review this? I have only tested this
with gcc. This patch is tested on both s390x and x86 by running sbuild

Thanks,
Pranav