On 5/18/20 9:59 AM, Simon McVittie wrote: > Source: gcc-10 > Version: 10.1.0-2 > Severity: serious > Tags: ftbfs > Justification: fails to build from source (but built successfully in the past) > > I'm not sure exactly what is going on here, but in gcc-10_10.1.0-2 > building the Architecture: all packages on the buildds, the stage2 > build seems to have failed to run ${build_directory}/build/./gcc/xgcc. > The stage1 build was fine: > > https://buildd.debian.org/status/fetch.php?pkg=gcc-10&arch=all&ver=10.1.0-2&stamp=1589559884&raw=0 >> /<<PKGBUILDDIR>>/build/./gcc/xgcc -B/<<PKGBUILDDIR>>/build/./gcc/ -xc >> -nostdinc /dev/null -S -o /dev/null >> -fself-test=../../src/gcc/testsuite/selftests >> cc1: note: self-tests are not enabled in this build >> echo timestamp > s-selftest-c > ... >> /<<PKGBUILDDIR>>/build/./gcc/xgcc -B/<<PKGBUILDDIR>>/build/./gcc/ -xc++ >> -nostdinc /dev/null -S -o /dev/null >> -fself-test=../../src/gcc/testsuite/selftests >> cc1plus: note: self-tests are not enabled in this build >> echo timestamp > s-selftest-c++ > > but then during the stage2 build, the same thing failed: > >> /<<PKGBUILDDIR>>/build/./gcc/xgcc -B/<<PKGBUILDDIR>>/build/./gcc/ -xc++ >> -nostdinc /dev/null -S -o /dev/null >> -fself-test=../../src/gcc/testsuite/selftests >> /bin/bash: /<<PKGBUILDDIR>>/build/./gcc/xgcc: No such file or directory >> make[5]: *** [../../src/gcc/cp/Make-lang.in:178: s-selftest-c++] Error 127 >> make[5]: *** Waiting for unfinished jobs.... >> rm gccbrig.pod lto-dump.pod gcc.pod gdc.pod gfortran.pod >> make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/gcc' >> make[4]: *** [Makefile:4837: all-stage2-gcc] Error 2 >> make[4]: Leaving directory '/<<PKGBUILDDIR>>/build' >> make[3]: *** [Makefile:27207: stage2-bubble] Error 2 >> make[3]: Leaving directory '/<<PKGBUILDDIR>>/build' >> make[2]: *** [Makefile:27411: bootstrap] Error 2 >> make[2]: Leaving directory '/<<PKGBUILDDIR>>/build' >> make[1]: *** [debian/rules2:1234: stamps/05-build-stamp] Error 2 >> make[1]: Leaving directory '/<<PKGBUILDDIR>>' >> make: *** [debian/rules:44: build-indep] Error 2 > > I've given this back to try to confirm whether this is a race condition > in the build system, or a reproducible regression since 10.1.0-1.
I don't think this is an issue in the package. https://buildd.debian.org/status/fetch.php?pkg=gcc-10&arch=amd64&ver=10-20200425-1&stamp=1587834664&raw=0 is an example where it failed before, but then succeeded in a follow-up version. I've never seen that locally, on the Launchpad buildds, or on the porter box (tried last weekend). I still suspect some issue with the buildds.