Package: src:gcc-6-cross Version: 21 Severity: serious Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A" but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep gcc: 6.3.0-14 / 6.3.0-12cross1 old gcc version: 6.3.0-12 / 1 new gcc version: 6.3.0-14cross1 START stamp-dir/init-gcc mkdir -p gcc set -ex; \ cd gcc ; \ ln -sf /usr/src/gcc-6/gcc-6.3.0.tar.xz gcc-6.3.0.tar.xz ;\ cp -a /usr/src/gcc-6/debian/ . ; \ if [ -n "$(grep -v '^\#' /<<PKGBUILDDIR>>/debian/patches/gcc-6/series)" ]; then \ QUILT_PATCHES=/<<PKGBUILDDIR>>/debian/patches/gcc-6 quilt push --quiltrc /dev/null -a ; \ [... snipped ...] #define HAVE_DECL_ABORT 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_BASENAME 1 #define HAVE_DECL_ERRNO 0 #define HAVE_DECL_GETOPT 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_DECL_CLEARERR_UNLOCKED 1 #define HAVE_DECL_FEOF_UNLOCKED 1 #define HAVE_DECL_FERROR_UNLOCKED 1 #define HAVE_DECL_FFLUSH_UNLOCKED 1 #define HAVE_DECL_FGETC_UNLOCKED 1 #define HAVE_DECL_FGETS_UNLOCKED 1 #define HAVE_DECL_FILENO_UNLOCKED 1 #define HAVE_DECL_FPRINTF_UNLOCKED 0 #define HAVE_DECL_FPUTC_UNLOCKED 1 #define HAVE_DECL_FPUTS_UNLOCKED 1 #define HAVE_DECL_FREAD_UNLOCKED 1 #define HAVE_DECL_FWRITE_UNLOCKED 1 #define HAVE_DECL_GETCHAR_UNLOCKED 1 #define HAVE_DECL_GETC_UNLOCKED 1 #define HAVE_DECL_PUTCHAR_UNLOCKED 1 #define HAVE_DECL_PUTC_UNLOCKED 1 #define HAVE_ALLOCA_H 1 #define HAVE_ALLOCA 1 #define STDC_HEADERS 1 #define HAVE_LANGINFO_CODESET 1 #define ENABLE_NLS 1 #define HAVE_ICONV 1 #define ICONV_CONST #define PACKAGE "cpplib" #define CHECKING_P 0 #define ENABLE_CANONICAL_SYSTEM_HEADERS 1 configure: exit 0 LOGFILE END /<<PKGBUILDDIR>>/gcc/build/libcpp/config.log debian/rules2:1224: recipe for target 'stamps/05-build-stamp' failed make[2]: *** [stamps/05-build-stamp] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>/gcc' debian/rules:40: recipe for target 'build' failed make[1]: *** [build] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>/gcc' dpkg-buildpackage: error: debian/rules build gave error exit status 2 debian/rules:240: recipe for target 'stamp-dir/build-gcc.armhf' failed make: *** [stamp-dir/build-gcc.armhf] Error 2 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- This is just how the build ends, not necessarily the relevant part. I've put the full build log here: https://people.debian.org/~sanvila/build-logs/gcc-6-cross/ I've also triggered a rebuild (for testing/amd64) in the reproducible builds autobuilders and it also fails: https://tests.reproducible-builds.org/debian/rb-pkg/testing/amd64/gcc-6-cross.html Thanks.