Package: src:binutils-avr Version: 2.26.20160125+Atmel3.6.1-2 Severity: serious Tags: ftbfs
Dear maintainer: I tried to build this package in buster but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-arch dh_testdir # Add here commands to configure the package. #cd binutils/ld && aclocal-1.9 && automake-1.9 #cd binutils && env CC="gcc" CFLAGS="-Wno-error=unused-but-set-variable -Wno-error=unused-but-set-parameter" ./configure --prefix=/usr --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=avr --with-gnu-ld --with-gnu-as --with-system-zlib --enable-install-libbfd --with-dwarf2 --disable-static --disable-gdb --disable-libdecnumber --disable-readline --disable-sim CFLAGS="-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-implicit-fallthrough -Wno-format-overflow -Wno-pointer-compare" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security" FCFLAGS="-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1=. -fstack-protector-strong" FFLAGS="-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1=. -fstack-protector-s trong" GCJFLAGS="-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1=. -fstack-protector-strong" LDFLAGS="-Wl,-z,relro" OBJCFLAGS="-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security" OBJCXXFLAGS="-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security" cd binutils && ./configure --prefix=/usr --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=avr --with-gnu-ld --with-gnu-as --with-system-zlib --enable-install-libbfd --with-dwarf2 --disable-static --disable-gdb --disable-libdecnumber --disable-readline --disable-sim CFLAGS="-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-implicit-fallthrough -Wno-format-overflow -Wno-pointer-compare" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security" FCFLAGS="-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1=. -fstack-protector-strong" FFLAGS="-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1=. -fstack-protector-strong" GCJFLAGS="-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1 =. -fstack-protector-strong" LDFLAGS="-Wl,-z,relro" OBJCFLAGS="-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security" OBJCXXFLAGS="-g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security" checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... avr-unknown-none checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed checking for gawk... no [... snipped ...] ^ bfd.h:7352:3: note: in expansion of macro '_bfd_norelocs_bfd_reloc_name_lookup' NAME##_bfd_reloc_name_lookup ^~~~ binary.c:362:3: note: in expansion of macro 'BFD_JUMP_TABLE_RELOCS' BFD_JUMP_TABLE_RELOCS (_bfd_norelocs), ^~~~~~~~~~~~~~~~~~~~~ libbfd.h:514:4: error: cast between incompatible function types from 'long int (*)(bfd *)' {aka 'long int (*)(struct bfd *)'} to 'long int (*)(bfd *, asymbol **)' {aka 'long int (*)(struct bfd *, struct bfd_symbol **)'} [-Werror=cast-function-type] ((long (*) (bfd *, asymbol **)) _bfd_n1) ^ bfd.h:7455:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_symtab' NAME##_canonicalize_dynamic_symtab, \ ^~~~ binary.c:365:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:516:4: error: cast between incompatible function types from 'long int (*)(bfd *)' {aka 'long int (*)(struct bfd *)'} to 'long int (*)(bfd *, long int, asymbol **, long int, asymbol **, asymbol **)' {aka 'long int (*)(struct bfd *, long int, struct bfd_symbol **, long int, struct bfd_symbol **, struct bfd_symbol **)'} [-Werror=cast-function-type] ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1) ^ bfd.h:7456:3: note: in expansion of macro '_bfd_nodynamic_get_synthetic_symtab' NAME##_get_synthetic_symtab, \ ^~~~ binary.c:365:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), ^~~~~~~~~~~~~~~~~~~~~~ libbfd.h:519:4: error: cast between incompatible function types from 'long int (*)(bfd *)' {aka 'long int (*)(struct bfd *)'} to 'long int (*)(bfd *, arelent **, asymbol **)' {aka 'long int (*)(struct bfd *, struct reloc_cache_entry **, struct bfd_symbol **)'} [-Werror=cast-function-type] ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1) ^ bfd.h:7458:3: note: in expansion of macro '_bfd_nodynamic_canonicalize_dynamic_reloc' NAME##_canonicalize_dynamic_reloc ^~~~ binary.c:365:3: note: in expansion of macro 'BFD_JUMP_TABLE_DYNAMIC' BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[5]: *** [Makefile:1631: binary.lo] Error 1 make[5]: Leaving directory '/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1/binutils/bfd' make[4]: *** [Makefile:1673: all-recursive] Error 1 make[4]: Leaving directory '/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1/binutils/bfd' make[3]: *** [Makefile:1152: all] Error 2 make[3]: Leaving directory '/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1/binutils/bfd' make[2]: *** [Makefile:2709: all-bfd] Error 2 make[2]: Leaving directory '/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1/binutils' make[1]: *** [Makefile:845: all] Error 2 make[1]: Leaving directory '/<<BUILDDIR>>/binutils-avr-2.26.20160125+Atmel3.6.1/binutils' make: *** [debian/rules:56: build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- The build was made with "dpkg-buildpackage -B" in my autobuilder. Most probably, it also fails here in reproducible builds: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/binutils-avr.html where you can get a full build log if you need it. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.