[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#982443: marked as done (adequate autopkgtests do not work with toolchains defaulting to --as-needed)



Your message dated Fri, 26 Feb 2021 09:33:26 +0000
with message-id <E1lFZV0-0001uV-9j@fasolo.debian.org>
and subject line Bug#982443: fixed in adequate 0.15.6
has caused the Debian Bug report #982443,
regarding adequate autopkgtests do not work with toolchains defaulting to --as-needed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
982443: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982443
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc6
Version: 2.31-9
Severity: important
Control: block 981899 with -1

One of the adequate autopkg tests now triggers an assertion in libc6,
which is a regression from buster.
I've extracted that test to build the attached self-contained reproducer.

sid$ make
mkdir -p tmp
# missing-version-information
cc -shared -Wl,--soname=libadequate-test-versionless.so.0 -Wl,--version-script=verscript-global lib.c -o tmp/libadequate-test-versionless.so.0
ln -sf libadequate-test-versionless.so.0 tmp/libadequate-test-versionless.so
cc undef.c -Ltmp -o tmp/adequate-test-msvi -ladequate-test-versionless
cc -shared -Wl,--soname=libadequate-test-versionless.so.0 lib.c -o tmp/libadequate-test-versionless.so.0
LD_LIBRARY_PATH=tmp ldd -r tmp/adequate-test-msvi
tmp/adequate-test-msvi: tmp/libadequate-test-versionless.so.0: no version information available (required by tmp/adequate-test-msvi)
        linux-vdso.so.1 (0x00007ffd73deb000)
        libadequate-test-versionless.so.0 => tmp/libadequate-test-versionless.so.0 (0x00007f6c563b1000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6c561e8000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f6c563bd000)
Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!
make: *** [Makefile:13: all] Error 1

The test builds a binary that is linked against a shared library with
versioned symbols, but at runtime only a library with unversioned symbols
is available.
adequate then looks for the "no version information available" output, but
nevertheless expects ldd to not fail.


buster$ make
mkdir -p tmp
# missing-version-information
cc -shared -Wl,--soname=libadequate-test-versionless.so.0 -Wl,--version-script=verscript-global lib.c -o tmp/libadequate-test-versionless.so.0
ln -sf libadequate-test-versionless.so.0 tmp/libadequate-test-versionless.so
cc undef.c -Ltmp -o tmp/adequate-test-msvi -ladequate-test-versionless
cc -shared -Wl,--soname=libadequate-test-versionless.so.0 lib.c -o tmp/libadequate-test-versionless.so.0
LD_LIBRARY_PATH=tmp ldd -r tmp/adequate-test-msvi
tmp/adequate-test-msvi: tmp/libadequate-test-versionless.so.0: no version information available (required by tmp/adequate-test-msvi)
        linux-vdso.so.1 (0x00007ffdd3520000)
        libadequate-test-versionless.so.0 => tmp/libadequate-test-versionless.so.0 (0x00007f32e0977000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f32e07b2000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f32e0983000)
buster$ echo $?
0


Andreas

Attachment: libc6assertion.tar.gz
Description: Unix tar archive


--- End Message ---
--- Begin Message ---
Source: adequate
Source-Version: 0.15.6
Done: Andreas Beckmann <anbe@debian.org>

We believe that the bug you reported is fixed in the latest version of
adequate, 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 982443@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated adequate 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 26 Feb 2021 10:18:20 +0100
Source: adequate
Architecture: source
Version: 0.15.6
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 982443
Changes:
 adequate (0.15.6) unstable; urgency=medium
 .
   * QA upload.
   * Build libadequate-test-versionless.so.0 with -Wl,--no-as-needed.
     (Closes: #982443)
Checksums-Sha1:
 ced9001f6d97e1d1be7b45ab63c769ce410fa38c 1734 adequate_0.15.6.dsc
 742638d538723a77ff61914e44e8baeeb17a3d2d 27384 adequate_0.15.6.tar.xz
 8e806ac6596ffcb605f8983571418f16ad126ea8 6044 adequate_0.15.6_source.buildinfo
Checksums-Sha256:
 c86bea4d9476e5807f2cf581d432564a1a01b722b5d4b5937822b120cf2fb6db 1734 adequate_0.15.6.dsc
 89757b928f67e5f5105b6d5668d8d75d5e1379580d67684d0f3a33a58fe16f63 27384 adequate_0.15.6.tar.xz
 7644cdd6cb8f8cbc69274f5a3cb324ef2c7b6b3ac1714dbbe8ac9863dfa58513 6044 adequate_0.15.6_source.buildinfo
Files:
 e0cfdc24af8cf64738a2a10e3dcc6c8b 1734 utils optional adequate_0.15.6.dsc
 a5e626e8a1283b839f24ce6d9f98c0dc 27384 utils optional adequate_0.15.6.tar.xz
 40e7d7224fe8d4e5e1c3ede2be978be2 6044 utils optional adequate_0.15.6_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmA4vUEQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCFQkEACNHLPwvlYfFnC+xa0ecQaJJ6DKlIeTcsGs
LtMz+GmnXwujLnG6W5gL4mhUGaBbNOGavut0BVq81CQ7+aNeEAF4yOFHqJq9ZBAo
Hgq0K1TGaYnHi9TPCTDYfRWDREJok0lxS6k7NZ3sR0BWyF3m+gTm6EuNHSL+TgPU
0ZyOQ/Og8T1tGM2/7SqnXpoxQbuFw0IAu/JKz0WbVZasn8rfklkcin/kToR3Qnfi
8Gw5QMMwMauETfAwrpYwstQfiLaSY/SZtVQe8RUTzI3iE9vksj2DnyiWmPREBNgQ
n8G6pNPCRZwz87hE/av7/WgbmbFaA1WvR9Xle/H9aekd6UwW3pdb1VgVSUwKGeDe
lRmPhXtdwwAcz1wcDubrioqr3Roh130rbOX23cVC6CLny0ospt0JVmmXUIVKGmMc
7I0nQtHVL4pBcU21spBVj9RuJ1iiVOCMrOYNk2qZ776YBVSZ+If3KSlPdCDNPVJZ
8WWst3pskaNKNHq3jXk/XHza6pvGf2gcO4jF4pbEW2I/tEcj3xqLUJ59rhnfItnu
0EkXKA/xyhcLMu9KWhuPsTdDgalBg7qCNC7nMJf6uuCAEF6Rsphyxq2hebCaI6qC
KxWXrQ/TQxYJFgsVguXMsHK4xewx6y+4AY11LSTc4F2wAY+BgeIFzFJ4MEXiU7YQ
mVm0fE7/1Q==
=rn+V
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: