#1137569 pyacoustid: autopkgtest regression on s390x

Package:
src:pyacoustid
Source:
src:pyacoustid
Submitter:
Sebastian Ramacher
Date:
2026-06-29 10:37:02 UTC
Severity:
normal
Tags:
#1137569#5
Date:
2026-05-25 08:57:44 UTC
From:
To:
Source: pyacoustid
Version: 1.3.1-1
Severity: serious
X-Debbugs-Cc: debian-s390@lists.debian.org, sramacher@debian.org
User: debian-s390@lists.debian.org
Usertags: s390x

Dear maintainer,

the autopkgtest of pyacoustid regressed on s390x:

 53s autopkgtest [22:11:40]: test fingerprint-calculation: [-----------------------
 53s /usr/share/sounds/freedesktop/stereo/alarm-clock-elapsed.oga: OK
 54s Not all generated fingerprints match the expected fingerprint for example file (/usr/share/sounds/freedesktop/stereo/alarm-clock-elapsed.oga):
 54s   expected fingerprint  : AQAAHImSSEqSZFGiCLjxw9bxw8V9fMeJ-zhs4YeL48eJzzi8CSfM4DieAfcB5ZQ0QkgBjRLOCIegIeY5c5QA
 54s   calculated via python3: AQAAHEmiJEqUJUnCCMd72Cf0KMSfoTzECa2SZbg5nIOn42EIPcoM-UIDxsp2XEyO9ygat9Cz5bgEDUwq4tICndAPMYwRjEBElBLOGCGQUN5YZAA

See https://ci.debian.net/packages/p/pyacoustid/testing/s390x/71542011/
for details.

Cheers

#1137569#10
Date:
2026-06-01 06:01:38 UTC
From:
To:
Hi Sebastian,

I had provided a fix for this issue last year.
(https://github.com/beetbox/pyacoustid/pull/88)

But this was closed mentioning that audioread should be managing
this internally. But what I had read from the audioread documentation
was that:
```
Buffers in the file can be accessed by iterating over the object returned from audio_open. Each buffer is a bytes-like object (buffer, bytes, or bytearray) containing raw 16-bit little-endian signed integer PCM data. (Currently, these PCM format parameters are not configurable, but this could be added to most of the backends.)
```
(https://github.com/beetbox/audioread#audioread)

There has been a recent PR mentioning this (and making the necessary changes in my old
Pull Request)
https://github.com/beetbox/pyacoustid/pull/99

Can you please take a look at this and merge this in, if you feel it is the right fix?

Thanks,
Pranav

#1137569#15
Date:
2026-06-01 07:46:19 UTC
From:
To:
I don't know. I am only the messenger.

Cheers

#1137569#20
Date:
2026-06-07 04:56:03 UTC
From:
To:
Hi Sandro & Pranav,

I have prepared this github PR #99 because #88 was closed. I prepared
this patch in a salsa MR for the debian package already:
https://salsa.debian.org/morph/pyacoustid/-/merge_requests/1

Sandro, if you can review the MR and merge it if you think it is fine,
then that should fix this bug and get pyacoustid back into testing. Getting
pyacoustid back into testing is why I had a go at fixing this regression.

Best regards,

Pieter

#1137569#27
Date:
2026-06-25 17:01:27 UTC
From:
To:
Hi all,

barring any objections or sudden progress, I intend to upload an NMU
for this issue early next week, based on Pieter's patch.

#1137569#32
Date:
2026-06-29 10:35:02 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pyacoustid, 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 1137569@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pieter Lenaerts <plenae@disroot.org> (supplier of updated pyacoustid 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: Mon, 29 Jun 2026 06:03:49 +0000
Source: pyacoustid
Built-For-Profiles: noudeb
Architecture: source
Version: 1.3.1-1.1
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <morph@debian.org>
Changed-By: Pieter Lenaerts <plenae@disroot.org>
Closes: 1137569
Changes:
 pyacoustid (1.3.1-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Refresh PR88.patch (Closes: #1137569)
Checksums-Sha1:
 cd8a2a4a26b869e3b48f343f1b59fa54e3c2ce2b 2084 pyacoustid_1.3.1-1.1.dsc
 5850e49fd6be243a1db1508c13babf9d7865bf4b 5104 pyacoustid_1.3.1-1.1.debian.tar.xz
 7bb79d58308b3e3ccf26a95a7f8f4f2c9c1bd22f 8665 pyacoustid_1.3.1-1.1_source.buildinfo
Checksums-Sha256:
 3a95fbecb5aab55b3ffeda674dcbc75bbac9d6d1cde71984f3501bde16d36499 2084 pyacoustid_1.3.1-1.1.dsc
 a363b6adecea948e7d896b033abcb8cc6cb402d144311415cc8ae6e0a8930f3d 5104 pyacoustid_1.3.1-1.1.debian.tar.xz
 20e5519b8247d0e8aeb4343087deeb382fdc14999ed1ee29cd424ecac1c7c04b 8665 pyacoustid_1.3.1-1.1_source.buildinfo
Files:
 5b05affa355978eca5d0f7d6c419ad7a 2084 python optional pyacoustid_1.3.1-1.1.dsc
 b1d2315f463dfde9379442050b7855c2 5104 python optional pyacoustid_1.3.1-1.1.debian.tar.xz
 34b5ac2313bfcc73873e4c508bc3c417 8665 python optional pyacoustid_1.3.1-1.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmpCCuwACgkQQoMEoXSN
zHrcaRAAgRR6fOFRFvnK8D1btZCFTrCvYfLlzJa8Bevtk72Aefnt5MXD9eAm+M2x
N/6Qi+m/EgXFkkt2JmUUVaTjUbtMpjVf5FxxMtxoT0mEUqKqUj3dl2ebW1Flc7II
Mhu+g2CcSAY2bFBkYSu2On73XCsV0eV/KxowIYA3dUTQdrwYFRm3OPwpC0SPD4FN
15t7nhD5/zFvVneNRpSGqidWRMqalR+WHitDVz/tMxzcLlTHCAWiH1TDIDViePj5
akqK6MP2bve2j5WU/4Ka9U1DaXeUl4t/8Zv9IaxdX0qdF2NWxH8cpWq23ea7bE99
pWVtB/iyiCmq+Yb40JrAF3oSwVZ5IN11x8keBVQVuB7mShUVc1o5BjlovQ+5bfSm
iJhjgyatuphWAxmyh+v8lfVBkP+5HfiWq7lTFGAPv5OGXQShILrWj9zyoTxl7w4Z
WhWzOj7XRF1BXz8nlH7ZCA06psFgMPtK++96tgMIY5P0w/jzG3iT9KhOQM08aOVt
lyJ5d0067DKU62EkKz3Zw5FaXiehzKiBErQCDxt1GwsL2RFI21VVcIi8FI2UfnVE
P5Qpgx54eN95j/8S8eGu1N5Sg/Jb93/f+YGFFhqe+3FiOlum2QcEVIQqPthr4dQY
HjHspOfirIQOoYoTAVRypWlZ5G8iavykzTRBcBdOinzLKbClbnA=
=xLAU
-----END PGP SIGNATURE-----