[debhelper-devel] Bug#886037: debhelper: dh_strip: do not try to strip ELF files in /usr/lib/debug/.build-id/
Mattia Rizzolo
mattia at debian.org
Mon Jan 1 21:20:56 UTC 2018
Package: debhelper
Version: 11
Severity: important
Discovered in the process of bumping compat level from 10 to 11 of
src:libxml2 (based of version 2.9.4+dfsg1-5.2).
Given the set of packages:
libxml2 libxml2-utils libxml2-dev libxml2-dbg libxml2-doc python-libxml2 python-libxml2-dbg python3-libxml2 python3-libxml2-dbg
This dh_strip calls:
dh_strip -a --dbg-package=libxml2-dbg -Nlibxml2-utils -Npython-libxml2 -Npython-libxml2-dbg -Npython3-libxml2 -Npython3-libxml2-dbg
ends up running the following code, that wasn't being run on c10:
chmod 0644 -- debian/libxml2-dbg/usr/lib/debug/.build-id/2f/b6e44e8b4e696dd4ed83c45706df481e084f08.debug
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/libxml2-dbg/usr/lib/debug/.build-id/2f/b6e44e8b4e696dd4ed83c45706df481e084f08.debug
objcopy --add-gnu-debuglink debian/libxml2-dbg/usr/lib/debug/.build-id/2f/b6e44e8b4e696dd4ed83c45706df481e084f08.debug debian/libxml2-dbg/usr/lib/debug/.build-id/2f/b6e44e8b4e696dd4ed83c45706df481e084f08.debug
Clearly it should try to process that file that it just created :)
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20180101/bfc56324/attachment-0003.sig>
More information about the debhelper-devel
mailing list