Bug#1053551: ftbfs on amd64 when building binary-arch
Package: gcc-12
Version: 12.3.0-9
Severity: normal
Tags: ftbfs
X-Debbugs-Cc: sjr@debian.org
Hi,
I just built arch:all and arch:amd64 packages separately in pbuilder,
and got a reproducible build failure while building amd64 with
--binary-arch. Normal severity because building both arch-dependent and
arch-independent packages together works fine.
/build/gcc-12-12.3.0/build/./prev-gcc/xg++ -B/build/gcc-12-12.3.0/build/./prev-gcc/ -B/usr/x86_64-linux-gnu/bin/ -nostdinc++ -B/build/gc
c-12-12.3.0/build/prev-x86_64-linux-gnu/libstdc++-v3/src/.libs -B/build/gcc-12-12.3.0/build/prev-x86_64-linux-gnu/libstdc++-v3/libsupc++
/.libs -I/build/gcc-12-12.3.0/build/prev-x86_64-linux-gnu/libstdc++-v3/include/x86_64-linux-gnu -I/build/gcc-12-12.3.0/build/prev-x86_
64-linux-gnu/libstdc++-v3/include -I/build/gcc-12-12.3.0/src/libstdc++-v3/libsupc++ -L/build/gcc-12-12.3.0/build/prev-x86_64-linux-gnu/
libstdc++-v3/src/.libs -L/build/gcc-12-12.3.0/build/prev-x86_64-linux-gnu/libstdc++-v3/libsupc++/.libs -fno-PIE -c -g -g -O2 -fno-che
cking -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-DHAVE_CONFIG_H -I. -Im2/gm2-gcc -I../../src/gcc -I../../src/gcc/m2/gm2-gcc -I../../src/gcc/../include -I../../src/gcc/../libcpp/inclu
de -I../../src/gcc/../libcody -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/bid -I../libdecnumber -I../../src/gcc/../
libbacktrace -I. -Im2/gm2-gcc -I../../src/gcc -I../../src/gcc/m2/gm2-gcc -I../../src/gcc/../include -I../../src/gcc/../libcpp/include
-I../../src/gcc/../libcody -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/bid -I../libdecnumber -I../../src/gcc/../lib
backtrace ../../src/gcc/m2/gm2-gcc/m2type.cc -o m2/gm2-gcc/m2type.o
[...]
In file included from ./tm.h:26,
from ../../src/gcc/backend.h:28,
from ../../src/gcc/m2/gm2-gcc/gcc-consolidation.h:26,
from ../../src/gcc/m2/gm2-gcc/m2type.cc:22:
../../src/gcc/config/i386/i386.h:2374:10: fatal error: insn-attr-common.h: No such file or directory
2374 | #include "insn-attr-common.h"
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
A lot of the other M2 sources are also affected.
Simon
-- System Information:
Debian Release: 12.1
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-12-amd64 (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gcc-12 depends on:
ii binutils 2.40-2
ii cpp-12 12.2.0-14
ii gcc-12-base 12.2.0-14
ii libc6 2.36-9+deb12u3
ii libcc1-0 12.2.0-14
ii libgcc-12-dev 12.2.0-14
ii libgcc-s1 12.2.0-14
ii libgmp10 2:6.2.1+dfsg1-1.1
ii libisl23 0.25-1
ii libmpc3 1.3.1-1
ii libmpfr6 4.2.0-1
ii libstdc++6 12.2.0-14
ii libzstd1 1.5.4+dfsg2-5
ii zlib1g 1:1.2.13.dfsg-1
Versions of packages gcc-12 recommends:
ii libc6-dev 2.36-9+deb12u3
Versions of packages gcc-12 suggests:
pn gcc-12-doc <none>
pn gcc-12-locales <none>
pn gcc-12-multilib <none>
-- no debconf information
Reply to: