Package: src:linux Version: 4.17.3-1 Severity: normal Several powerpc platforms require 'wrapper' tools to post-process the kernel image for use with the platform's boot loader. For historical reasons the source for these is included in the kernel tree and we include the tools in linux-image packages.
The upstream build system always builds the tools as native code, since they can optionally be used at build time. As a result, a cross-build puts wrong-architecture executables into the linux-image packages. dh_strip treats this as a fatal error (quite reasonably) and the build fails. We should build the tools again using the proper compiler. We could also move them into a separate package - this would reduce code duplication between different kernel flavours, and would allow cross-building kernel packages without libc-dev for the target architecture. Ben. -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled