dh_strip and Python Extensions
Hello,
I'm not quite sure when this started, but dh_strip is placing my Python
.so extensions into /usr/lib/debug/..., which makes Lintian complain:
$ dpkg-buildpackage
[...]
dh_strip -v -a -ppython-llfuse --dbg-package=python-llfuse-dbg;
install -d debian/python-llfuse-dbg/usr/lib/debug//usr/lib/pyshared/python2.6
objcopy --only-keep-debug debian/python-llfuse/usr/lib/pyshared/python2.6/llfuse.so debian/python-llfuse-dbg/usr/lib/debug//usr/lib/pyshared/python2.6/llfuse.so
chmod 644 debian/python-llfuse-dbg/usr/lib/debug//usr/lib/pyshared/python2.6/llfuse.so
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/python-llfuse/usr/lib/pyshared/python2.6/llfuse.so
objcopy --add-gnu-debuglink debian/python-llfuse-dbg/usr/lib/debug//usr/lib/pyshared/python2.6/llfuse.so debian/python-llfuse/usr/lib/pyshared/python2.6/llfuse.so
[...]
$ lintian ../python-llfuse-dbg_0.31-1_amd64.deb
W: python-llfuse-dbg: python-debug-in-wrong-location usr/lib/debug/usr/lib/pyshared/python2.6/llfuse.so /usr/lib/debug/usr/lib/pymodules/python2.6/llfuse.so
W: python-llfuse-dbg: python-debug-in-wrong-location usr/lib/debug/usr/lib/pyshared/python2.6/llfuse_d.so /usr/lib/debug/usr/lib/pymodules/python2.6/llfuse_d.so
Did I accidentally change something? Has dh_strip's behaviour changed?
Thanks,
-Nikolaus
--
»Time flies like an arrow, fruit flies like a Banana.«
PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C
Reply to: