#1146278 srecord: FTBFS: ./srecord/quit/normal.cc:102:(.text.startup+0x22): undefined reference to `__dso_handle'

#1146278#5
Date:
2026-08-30 22:57:24 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:srecord, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
cp script/test_prelude.sh bin/test_prelude
chmod a+rx bin/test_prelude
libtool: link: g++  -fPIC -DPIC -shared -nostdlib   srecord/ [too-long-redacted] ecord/.libs/libsrecord.so.0.0.0
/usr/bin/x86_64-linux-gnu-ld.bfd: srecord/quit/.libs/normal.o: in function `_GLOBAL__sub_I_normal.cc':
./srecord/quit/normal.cc:102:(.text.startup+0x22): undefined reference to `__dso_handle'
/usr/bin/x86_64-linux-gnu-ld.bfd: srecord/quit/.libs/normal.o: relocation R_X86_64_PC32 against undefined hidden symbol `__dso_handle' can not be used when making a shared object
/usr/bin/x86_64-linux-gnu-ld.bfd: final link failed: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:3866: srecord/libsrecord.la] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1146278#8
Date:
2026-09-20 12:51:17 UTC
From:
To:
Hello,

Bug #1146278 in srecord 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/debian/srecord/-/commit/223e58f7c4f5a4f1b662fac90f3ce97e9797b607

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1146278

#1146278#15
Date:
2026-09-20 13:49:06 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
srecord, 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 1146278@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jakob Haufe <sur5r@debian.org> (supplier of updated srecord 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, 20 Sep 2026 15:23:42 +0200
Source: srecord
Architecture: source
Version: 1.64-6
Distribution: unstable
Urgency: medium
Maintainer: Jakob Haufe <sur5r@debian.org>
Changed-By: Jakob Haufe <sur5r@debian.org>
Closes: 1146278
Changes:
 srecord (1.64-6) unstable; urgency=medium
 .
   * Patch buildsystem to work with libtool 2.6 (Closes: #1146278)
Checksums-Sha1:
 aadd029aee13de444ef27f1e65f4f6a701cf736c 2006 srecord_1.64-6.dsc
 647186232a174957734ca4088ebaa248fa75377c 8524 srecord_1.64-6.debian.tar.xz
 c36b56226b9672910890c3ee2013a505ad17b7e2 7355 srecord_1.64-6_source.buildinfo
Checksums-Sha256:
 c68f48a34f89d792fdd13f6ceb43f93eed031b5600183d23da2b17c74a553d68 2006 srecord_1.64-6.dsc
 e589b04498f5b5108af8652581b7532499b18b4a80ab6db1c5e7896a262bd88a 8524 srecord_1.64-6.debian.tar.xz
 ce2bd09f2d8f9b41e02ae998e373d442ee02f5462b6de13d082bf5de0b90ebda 7355 srecord_1.64-6_source.buildinfo
Files:
 1785fd5e6e7b8b96c5999173db281d5c 2006 utils optional srecord_1.64-6.dsc
 4bc69ab6b3a123bdcd54b63750e84dfd 8524 utils optional srecord_1.64-6.debian.tar.xz
 d31e2eca238e251cba19888d424fc407 7355 utils optional srecord_1.64-6_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEe/X2rDZDH11A3BN6TPKyGPVNrj0FAmqv3sUACgkQTPKyGPVN
rj1Mjg/5AcM5k88c4UEgoX5Kco2NtzjZN0NSZOHJ7rYASFFjOmoCKteG70M1Ob46
VP+fBQzcj9ppoNBf3+95NF3zjxGLdN1wf5rt7eh4ybQYoErmhH3fne7BnGqwzqnL
hPVcsobZVuBhPnEMbLqLqRiaXYhs74glgsLiO1kLF4r127RXYRuKgHmLDAEDzDvj
0CdJ0Ceon3bWCmGaCuD8YtF1wZvY2uH7q4ICv7IY+9FpExBRmOxapL7+17tZJQ9m
QHx5KcB7yrD1rYpiAuLId5n5cpfNEmutwWUWzuIOw/SRVJCVpCo9jcniN3P9/YLN
n8OUstKSsRb/7eehEqnbhYrXJavp7op6B1EN0XOoYPUAjOHODlyeYP23b/vMvWLQ
ReGLAPCR/IWrMU9TjEpA3HnkdZU+hhzkbyQasxy5S3Fi1TPv1GWwAUwHlxRzSg4m
6q/4UOMvIM+9O+G45UwgehkUnpDtHkeUnPCyoGZzkXR9R4t3YBU9bL8BDKVN+03l
/8W3XKOOrvPYh+L77DvtpaGYkwtFe+I+Ir0eCVkGBKZ12o5iwe5VGugvKvrswIWf
e/6EDDhHM1pfw/Mmv02hEIsZ2I3+s7up8MnP3ZprOLG+uPzdHUvh48CRODLNBubB
6pcw8Izvu/dl6l1HVzIbeWwM0IeDWpFRA9sGk3mjuczPmwBDvpU=
=OGNa
-----END PGP SIGNATURE-----