Package: linux Tags: hppa, ftbfs Version: 6.6.8-1 Depends: 1059674
Kernel FTBFS on hppa. Problem is, that on hppa the 32-bit strip and 32-bit objdump binaries can't process hppa 64-bit objects. Log shows, e.g.: make[3]: Leaving directory '/home/deller/build/linux/linux-6.6.8' dh_strip --no-automatic-dbgsym -Xvmlinux -Xvmlinuz -Xvmlinuz-6.6.8-parisc64 dh_install dh_installdocs dh_installchangelogs dh_installexamples dh_installman dh_installudev dh_bugfiles dh_ucf dh_lintian dh_icons dh_link dh_compress dh_fixperms dh_missing dh_makeshlibs objdump: debian/linux-image-6.6.8-parisc64/boot/vmlinuz-6.6.8-parisc64: file format not recognized dh_makeshlibs: error: objdump -p debian/linux-image-6.6.8-parisc64/boot/vmlinuz-6.6.8-parisc64 returned exit code 1 make[2]: *** [debian/rules.real:406: binary_image] Error 25 The kernel commit e30336ff6519e31077b27210f595ea7fbd23a2c9 ("Don't run dh_strip on vmlinuz") worked around the issue once. But this patch can fix the issue too: diff -up ./templates/image.control.in.org ./templates/image.control.in --- ./templates/image.control.in.org 2023-12-29 20:32:43.138447385 +0100 +++ ./templates/image.control.in 2023-12-29 20:33:08.281814898 +0100 @@ -6,6 +6,7 @@ Build-Depends: kernel-wedge (>= 2.105~), # used by kernel-wedge (only on Linux, thus not declared as a dependency) kmod, + binutils-multiarch [hppa] Depends: kmod, linux-base (>= 4.3~), ${misc:Depends} Recommends: firmware-linux-free Suggests: linux-doc-@version@, debian-kernel-handbook The best solution is probably to fix binutils for hppa to cope with 32- and 64-bit hppa binaries. For that I opened ticket #1059674 Helge