Public bug reported:
the rules file post-processes
debian/python3-shasta/usr/lib/python3/dist-
packages/shasta.cpython-314-x86_64-linux-gnu.so with patchelf, and this
crashes in dh_strip.
[ quickly reproduce ]
edit debian/rules to contain (instead of the patchelf call):
execute_after_dh_python3-arch:
exit 1
to quickly rebuild and test again, start here:
$ rm -f
debian/python3-shasta/usr/lib/python3/dist-packages/shasta.cpython-314-x86_64-linux-gnu.so
$ fakeroot ./debian/rules binary
[...] exits after the .so file was built.
$ patchelf --set-soname shasta.cpython-314-x86_64-linux-gnu.so
debian/python3-shasta/usr/lib/python3/dist-
packages/shasta.cpython-314-x86_64-linux-gnu.so
$ dh_strip -a
Dpkg::Changelog::Parse::changelog_parse() option file is deprecated, switch to
use filename, or pass file alongside it at
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1279.
strip: warning:
debian/python3-shasta/usr/lib/python3/dist-packages/shasta.cpython-314-x86_64-linux-gnu.so
has a corrupt string table index
strip: unable to modify
'debian/python3-shasta/usr/lib/python3/dist-packages/shasta.cpython-314-x86_64-linux-gnu.so'
due to errors
dh_strip: error: strip --remove-section=.comment --remove-section=.note
--strip-unneeded
debian/python3-shasta/usr/lib/python3/dist-packages/shasta.cpython-314-x86_64-linux-gnu.so
returned exit code 1
dh_strip: error: Aborting due to earlier error
if we skip the patchelf invocation, dh_strip remains happy.
** Affects: shasta (Ubuntu)
Importance: Undecided
Status: New
** Tags: ftbfs update-excuse
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2141755
Title:
shasta: ftbfs due to elf library corruption after patchelf
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shasta/+bug/2141755/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs