Package: libc6-dev-amd64-cross Version: 2.39-4cross1 Severity: serious X-Debbugs-Cc: debian-cr...@lists.debian.org
Hi, while trying to cross-build the next upload of my source package pico-sdk for amd64 on my arm64 box in a clean unstable chroot with sbuild, I ran into the following problem: Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... Execute external solver... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libc6-dev:amd64 : Breaks: libc6-dev-amd64-cross (< 2.40~) but 2.39-4cross1 is to be installed E: Broken packages apt-get failed. E: Package installation failed On salsa-ci, the problem is even more weird. The test-crossbuild-arm64 job ends up installing the native architecture compilers: The following NEW packages will be installed: binutils-aarch64-linux-gnu:arm64 binutils-common:arm64 cpp-14-aarch64-linux-gnu:arm64 cpp-aarch64-linux-gnu cross-config crossbuild-essential-arm64 dpkg-cross file g++-14-aarch64-linux-gnu:arm64 g++-aarch64-linux-gnu gcc-14-aarch64-linux-gnu:arm64 gcc-14-base:arm64 gcc-aarch64-linux-gnu libasan8:arm64 libatomic1:arm64 libbinutils:arm64 libc6:arm64 libc6-dev:arm64 libcc1-0:arm64 libconfig-auto-perl libconfig-inifiles-perl libcrypt-dev:arm64 libcrypt1:arm64 libctf-nobfd0:arm64 libctf0:arm64 libdebian-dpkgcross-perl libfile-homedir-perl libfile-which-perl libgcc-14-dev:arm64 libgcc-s1:arm64 libgmp10:arm64 libgomp1:arm64 libgprofng0:arm64 libhwasan0:arm64 libicu72 libio-string-perl libisl23:arm64 libitm1:arm64 libjansson4:arm64 liblocale-gettext-perl liblsan0:arm64 libmagic-mgc libmagic1t64 libmpc3:arm64 libmpfr6:arm64 libsframe1:arm64 libstdc++-14-dev:arm64 libstdc++6:arm64 libtsan2:arm64 libubsan1:arm64 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml-simple-perl libxml2 libyaml-perl libzstd1:arm64 sensible-utils ucf zlib1g:arm64 This means that the build later fails with: /usr/lib/ccache/aarch64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/builds/debian/pico-sdk/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/cmTC_e5da0.dir/testCXXCompiler.cxx.o -c /builds/debian/pico-sdk/debian/output/source_dir/pioasm-obj-aarch64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-fi0q8w/testCXXCompiler.cxx ccache: error: execute_noreturn of /usr/bin/aarch64-linux-gnu-g++ failed: Exec format error Because obviously, the compiler binary from g++-14-aarch64-linux-gnu:arm64 cannot be executed on amd64. Full log here: https://salsa.debian.org/debian/pico-sdk/-/jobs/6250227/raw The problem does not seem to be limited to my package pico-sdk, hence the severity. Thanks! cheers, josch