Bug#961299: FTBFS: debhelper compatibility level 12 breaks linux kernel build on hppa/parisc
Package: linux
Version: 5.6.7-1
Severity: important
Tags: ftbfs
The Debian Linux kernel fails to build from source for all kernels > 5.5.17-1, as can be seen here:
https://buildd.debian.org/status/logs.php?pkg=linux&arch=hppa
During build a 32-bit Linux kernel and a 64-bit Linux kernel is built.
The 32-build builds succeeds, the 64-bit build fails.
The 64bit build fails like this:
make[3]: Leaving directory '/home/deller/build/linux/linux-5.6.7'
dh_strip --no-automatic-dbgsym -Xvmlinux
strip: debian/linux-image-5.6.0-1-parisc64/boot/vmlinuz-5.6.0-1-parisc64: file format not recognized
dh_strip: error: strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/linux-image-5.6.0-1-parisc64/boot/vmlinuz-5.6.0-1-parisc64 returned exit code 1
dh_strip: error: Aborting due to earlier error
Reverting this debian commit fixes the build again:
commit 59a5af36cbf1cc01ef48b91719f999a699d99fab
Author: Ben Hutchings <ben@decadent.org.uk>
Date: Sun Apr 19 19:49:03 2020 +0100
Use debhelper compatibility level 12
debhelper started complaining about level 9, so it's time to upgrade
again.
* Build-Depend on debhelper-compat and remove debian/compat
(also in the signed package template)
...
So, apparently something changed how debhelper starts the strip command.
Please note, that for a 64-bit vmlinux file,
hppa64-linux-gnu-strip
is needed instead of
hppa-linux-gnu-strip
although I'm not sure if this is the problem.
Any idea?
Helge
Reply to: