Source: gnat-mingw-w64
Version: 19.3
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20170418 qa-ftbfs
Justification: FTBFS in stretch on amd64

Hi,

During a rebuild of all packages in stretch (in a stretch chroot, not a
sid chroot), your package failed to build on amd64.

Relevant part (hopefully):
> make[3]: Entering directory 
> '/<<PKGBUILDDIR>>/build/i686-w64-mingw32-posix/gcc'
> TARGET_CPU_DEFAULT="" \
> HEADERS="auto-host.h ansidecl.h" DEFINES="" \
> /bin/bash ../../../src/gcc/mkconfig.sh config.h
> TARGET_CPU_DEFAULT="" \
> HEADERS="options.h insn-constants.h config/vxworks-dummy.h config/i386/i386.h 
> config/i386/unix.h config/i386/bsd.h config/i386/gas.h config/dbxcoff.h 
> config/i386/cygming.h config/i386/mingw-pthread.h config/i386/mingw32.h 
> config/i386/mingw-w64.h config/i386/mingw-stdint.h config/initfini-array.h 
> defaults.h" DEFINES="LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3 LIBC_MUSL=4" \
> /bin/bash ../../../src/gcc/mkconfig.sh tm.h
> TARGET_CPU_DEFAULT="" \
> HEADERS="config/i386/i386-protos.h tm-preds.h" DEFINES="" \
> /bin/bash ../../../src/gcc/mkconfig.sh tm_p.h
> configure: creating cache ./config.cache
> TARGET_CPU_DEFAULT="" \
> HEADERS="auto-host.h ansidecl.h" DEFINES="" \
> /bin/bash ../../../src/gcc/mkconfig.sh bconfig.h
> g++-6 -c   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wall 
> -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti 
> -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings 
> -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic 
> -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H 
> -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../../src/gcc 
> -I../../../src/gcc/build -I../../../src/gcc/../include  
> -I../../../src/gcc/../libcpp/include -Wdate-time -D_FORTIFY_SOURCE=2 \
> -DBASEVER="\"6.3.0\"" -DDATESTAMP="\" 20170406\"" \
> -DREVISION="\"\"" \
> -DDEVPHASE="\"\"" -DPKGVERSION="\"(GCC) \"" \
> -DBUGURL="\"<http://gcc.gnu.org/bugs.html>\"" -o build/version.o 
> ../../../src/gcc/version.c
> gawk -f ../../../src/gcc/opt-gather.awk 
> ../../../src/gcc/ada/gcc-interface/lang.opt ../../../src/gcc/c-family/c.opt 
> ../../../src/gcc/common.opt ../../../src/gcc/fortran/lang.opt 
> ../../../src/gcc/go/lang.opt ../../../src/gcc/java/lang.opt 
> ../../../src/gcc/lto/lang.opt ../../../src/gcc/config/fused-madd.opt 
> ../../../src/gcc/config/i386/i386.opt 
> ../../../src/gcc/config/i386/cygming.opt 
> ../../../src/gcc/config/i386/mingw.opt 
> ../../../src/gcc/config/i386/mingw-w64.opt > tmp-optionlist
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking target system type... i686-w64-mingw32
> checking for x86_64-linux-gnu-gcc... gcc-6
> /bin/bash ../../../src/gcc/../move-if-change tmp-gi.list gtyp-input.list
> echo "#define BUILDING_GCC_MAJOR `echo 6.3.0 | sed -e 
> 's/^\([0-9]*\).*$/\1/'`" > bversion.h
> if test no = yes \
>    || test -n "../lib64 ../lib"; then \
>   /bin/bash ../../../src/gcc/genmultilib \
>     "m64/m32" \
>     "64 32" \
>     "" \
>     "" \
>     "" \
>     "" \
>     "../lib64 ../lib" \
>     "" \
>     "" \
>     "" \
>     "no" \
>     > tmp-mlib.h; \
> else \
>   /bin/bash ../../../src/gcc/genmultilib '' '' '' '' '' '' '' '' \
>     "" '' no \
>     > tmp-mlib.h; \
> fi
> echo "#define BUILDING_GCC_MINOR `echo 6.3.0 | sed -e 
> 's/^[0-9]*\.\([0-9]*\).*$/\1/'`" >> bversion.h
> lsf="../../../src/gcc/ada/gcc-interface/lang-specs.h 
> ../../../src/gcc/lto/lang-specs.h"; for f in $lsf; do \
>     echo "#include \"$f\""; \
> done | sed 's|../../../src/gcc/||' > tmp-specs.h
> rm -f tmp-all-tree.def
> echo timestamp > s-gtyp-input
> echo "#define BUILDING_GCC_PATCHLEVEL `echo 6.3.0 | sed -e 
> 's/^[0-9]*\.[0-9]*\.\([0-9]*\)$/\1/'`" >> bversion.h
> /bin/bash ../../../src/gcc/../move-if-change tmp-specs.h specs.h
> echo '#include "tree.def"' > tmp-all-tree.def
> gawk -f ../../../src/gcc/gen-pass-instances.awk \
>   ../../../src/gcc/passes.def > pass-instances.def
> gcc-6 -E ../../../src/gcc/params-list.h | sed 's/^#.*//;/^$/d' > 
> tmp-params.list
> echo "#define BUILDING_GCC_VERSION (BUILDING_GCC_MAJOR * 1000 + 
> BUILDING_GCC_MINOR)" >> bversion.h
> echo timestamp > s-specs
> echo 'END_OF_BASE_TREE_CODES' >> tmp-all-tree.def
> echo "g++-6 -no-pie   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wall 
> -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti 
> -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings 
> -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic 
> -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H 
> -static-libstdc++ -static-libgcc -specs=/usr/share/dpkg/no-pie-link.specs 
> -Wl,-z,relro -Wl,-z,now -Wl,--as-needed" > checksum-options.tmp \
> && ../../../src/gcc/../move-if-change checksum-options.tmp checksum-options
> checking for C compiler default output file name... /bin/bash 
> ../../../src/gcc/../move-if-change tmp-params.list params.list
> echo timestamp > s-bversion
> echo '#include "c-family/c-common.def"' >> tmp-all-tree.def
> gawk -f ../../../src/gcc/config/i386/i386-builtin-types.awk 
> ../../../src/gcc/config/i386/i386-builtin-types.def > tmp-bt.inc
> echo timestamp > s-params.list
> ltf="../../../src/gcc/ada/gcc-interface/ada-tree.def 
> ../../../src/gcc/cp/cp-tree.def ../../../src/gcc/java/java-tree.def 
> ../../../src/gcc/objc/objc-tree.def"; for f in $ltf; do \
>   echo "#include \"$f\""; \
> done | sed 's|../../../src/gcc/||' >> tmp-all-tree.def
> mkdir -p ada/bldtools/sinfo
> mkdir -p ada/bldtools/einfo
> /bin/bash ../../../src/gcc/../move-if-change tmp-all-tree.def all-tree.def
> rm -f ada/bldtools/sinfo/sinfo.ads ada/bldtools/sinfo/sinfo.adb 
> ada/bldtools/sinfo/xsinfo.adb ada/bldtools/sinfo/csinfo.adb
> rm -f ada/bldtools/einfo/einfo.ads ada/bldtools/einfo/einfo.adb 
> ada/bldtools/einfo/xeinfo.adb ada/bldtools/einfo/ceinfo.adb
> mkdir -p ada/bldtools/nmake
> mkdir -p ada/bldtools/treeprs
> mkdir -p ada/bldtools/snamest
> cp -p ../../../src/gcc/ada/sinfo.ads ../../../src/gcc/ada/sinfo.adb 
> ../../../src/gcc/ada/xsinfo.adb ../../../src/gcc/ada/csinfo.adb 
> ada/bldtools/sinfo
> cp -p ../../../src/gcc/ada/einfo.ads ../../../src/gcc/ada/einfo.adb 
> ../../../src/gcc/ada/xeinfo.adb ../../../src/gcc/ada/ceinfo.adb 
> ada/bldtools/einfo
> rm -f ada/bldtools/nmake/sinfo.ads ada/bldtools/nmake/nmake.adt 
> ada/bldtools/nmake/xnmake.adb ada/bldtools/nmake/xutil.ads 
> ada/bldtools/nmake/xutil.adb
> rm -f ada/bldtools/treeprs/treeprs.adt ada/bldtools/treeprs/sinfo.ads 
> ada/bldtools/treeprs/xtreeprs.adb
> touch ada/GNAT_DATE
> /bin/bash ../../../src/gcc/../move-if-change tmp-bt.inc i386-builtin-types.inc
> echo timestamp > s-alltree
> rm -f ada/bldtools/snamest/snames.ads-tmpl 
> ada/bldtools/snamest/snames.adb-tmpl ada/bldtools/snamest/snames.h-tmpl 
> ada/bldtools/snamest/xsnamest.adb ada/bldtools/snamest/xutil.ads 
> ada/bldtools/snamest/xutil.adb
> (cd ada/bldtools/sinfo; gnatmake -q xsinfo ; ./xsinfo sinfo.h )
> (cd ada/bldtools/einfo; gnatmake -q xeinfo ; ./xeinfo einfo.h )
> cp -p ../../../src/gcc/ada/sinfo.ads ../../../src/gcc/ada/nmake.adt 
> ../../../src/gcc/ada/xnmake.adb ../../../src/gcc/ada/xutil.ads 
> ../../../src/gcc/ada/xutil.adb ada/bldtools/nmake
> cp -p ../../../src/gcc/ada/treeprs.adt ../../../src/gcc/ada/sinfo.ads 
> ../../../src/gcc/ada/xtreeprs.adb ada/bldtools/treeprs
> echo "pragma Style_Checks (Off);" >tmp-sdefault.adb
> cp -p ../../../src/gcc/ada/snames.ads-tmpl 
> ../../../src/gcc/ada/snames.adb-tmpl ../../../src/gcc/ada/snames.h-tmpl 
> ../../../src/gcc/ada/xsnamest.adb ../../../src/gcc/ada/xutil.ads 
> ../../../src/gcc/ada/xutil.adb ada/bldtools/snamest
> (cd ada/bldtools/nmake; gnatmake -q xnmake ; ./xnmake -b nmake.adb ; ./xnmake 
> -s nmake.ads)
> a.out
> (cd ada/bldtools/treeprs; gnatmake -q xtreeprs ; ./xtreeprs treeprs.ads )
> checking whether the C compiler works... echo "with Osint; use Osint;" 
> >>tmp-sdefault.adb
> echo timestamp > s-i386-bt
> cp ../../../src/gcc/gcc-ar.c gcc-nm.c
> cp ../../../src/gcc/gcc-ar.c gcc-ranlib.c
> yes
> checking whether we are cross compiling... no
> checking for suffix of executables... /bin/bash 
> ../../../src/gcc/../move-if-change tmp-mlib.h multilib.h
> (cd ada/bldtools/snamest; gnatmake -q xsnamest ; ./xsnamest )
> echo "package body Sdefault is" >>tmp-sdefault.adb
> rm -f mm_malloc.h
> TARGET_CPU_DEFAULT="" \
> HEADERS="auto-host.h ansidecl.h config/i386/xm-mingw32.h" 
> DEFINES="USED_FOR_TARGET " \
> /bin/bash ../../../src/gcc/mkconfig.sh tconfig.h
> for tool in gnatbind gnatchop gnat gnatkr gnatlink gnatls gnatmake gnatname 
> gnatprep gnatxref gnatfind gnatclean ; do \
>   if [ -f $tool ] ; \
>   then \
>     mv $tool $tool-cross; \
>   fi; \
> done
> echo "   S0 : constant String := \"/usr/\";" >>tmp-sdefault.adb
> cat ../../../src/gcc/config/i386/gmm_malloc.h > mm_malloc.h
> (echo "@set version-GCC 6.3.0"; \
>  if [ "" = "experimental" ]; \
>  then echo "@set DEVELOPMENT"; \
>  else echo "@clear DEVELOPMENT"; \
>  fi) > gcc-vers.texiT
> make[3]: *** No rule to make target 'gcov-dump.texi', needed by 
> 'gcov-dump.pod'.  Stop.
> make[3]: *** Waiting for unfinished jobs....
> echo "   S1 : constant String := 
> \"/usr/lib/gcc/i686-w64-mingw32/6.3-posix/adainclude/\";" >>tmp-sdefault.adb
> echo timestamp > s-mlib
> echo "   S2 : constant String := 
> \"/usr/lib/gcc/i686-w64-mingw32/6.3-posix/adalib/\";" >>tmp-sdefault.adb
> echo @set srcdir 
> /<<PKGBUILDDIR>>/build/i686-w64-mingw32-posix/gcc/../../../src/gcc >> 
> gcc-vers.texiT
> echo "   S3 : constant String := \"i686-w64-mingw32/\";" >>tmp-sdefault.adb
> if [ -n "(GCC) " ]; then \
>   echo "@set VERSION_PACKAGE (GCC) " >> gcc-vers.texiT; \
> fi
> echo "   S4 : constant String := 
> \"/usr/lib/gcc/i686-w64-mingw32/6.3-posix/\";" >>tmp-sdefault.adb
> echo "@set BUGURL @uref{http://gcc.gnu.org/bugs.html}"; >> gcc-vers.texiT; \
> mv -f gcc-vers.texiT gcc-vers.texi
> echo "   function Include_Dir_Default_Name return String_Ptr is" 
> >>tmp-sdefault.adb
> echo "   begin" >>tmp-sdefault.adb
> echo "      return Relocate_Path (S0, S1);" >>tmp-sdefault.adb
> echo "   end Include_Dir_Default_Name;" >>tmp-sdefault.adb
> echo "   function Object_Dir_Default_Name return String_Ptr is" 
> >>tmp-sdefault.adb
> echo "   begin" >>tmp-sdefault.adb
> echo "      return Relocate_Path (S0, S2);" >>tmp-sdefault.adb
> echo "   end Object_Dir_Default_Name;" >>tmp-sdefault.adb
> echo "   function Target_Name return String_Ptr is" >>tmp-sdefault.adb
> echo "   begin" >>tmp-sdefault.adb
> echo "      return new String'(S3);" >>tmp-sdefault.adb
> echo "   end Target_Name;" >>tmp-sdefault.adb
> echo "   function Search_Dir_Prefix return String_Ptr is" >>tmp-sdefault.adb
> echo "   begin" >>tmp-sdefault.adb
> echo "      return Relocate_Path (S0, S4);" >>tmp-sdefault.adb
> echo "   end Search_Dir_Prefix;" >>tmp-sdefault.adb
> 
> echo "end Sdefault;" >> tmp-sdefault.adb
> checking for suffix of object files... mv -f tmp-sdefault.adb ada/sdefault.adb
> touch ada/stamp-sdefault
> o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc-6 accepts -g... /bin/bash 
> ../../../src/gcc/../move-if-change tmp-optionlist optionlist
> echo timestamp > s-options
> yes
> checking for gcc-6 option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc-6 -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> mv -f ada/bldtools/treeprs/treeprs.ads ada/treeprs.ads
> checking for string.h... yes
> checking for memory.h... mv -f ada/bldtools/snamest/snames.ns ada/snames.ads
> mv -f ada/bldtools/snamest/snames.nb ada/snames.adb
> yes
> mv -f ada/bldtools/snamest/snames.nh ada/snames.h
> touch ada/stamp-snames
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... mv -f 
> ada/bldtools/nmake/nmake.ads ada/nmake.ads
> mv -f ada/bldtools/nmake/nmake.adb ada/nmake.adb
> touch ada/stamp-nmake
> 
> Acquiring field names from spec
> Checking consistent references in spec
> Check listing of fields in body
> Check references in access routines in body
> Check references in set routines in body
> All tests completed successfully, no errors detected
> mv -f ada/bldtools/einfo/einfo.h ada/einfo.h
> 
> Check for field name consistency
>      OK
> 
> Check for function consistency
>      OK
> 
> Check for missing functions
>      OK
> 
> Check for set procedure consistency
>      OK
> 
> Check for missing set procedures
>      OK
> 
> Check pragma Inlines are all for existing subprograms
>      OK
> 
> Check no pragma Inlines were omitted
>      OK
> 
> Check references in functions in body
>      OK
> 
> Check for missing functions in body
>      OK
> 
> Check Set procedures in body
>      OK
> 
> Check for missing set procedures in body
>      OK
> 
> All tests completed successfully, no errors detected
> yes
> mv -f ada/bldtools/sinfo/sinfo.h ada/sinfo.h
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/i686-w64-mingw32-posix/gcc'
> checking for gawk... gawk
> checking whether /usr/bin/make sets $(MAKE)... Makefile:4112: recipe for 
> target 'all-gcc' failed
> make[2]: *** [all-gcc] Error 2

The full build log is available from:
   http://aws-logs.debian.net/2017/04/18/gnat-mingw-w64_19.3_testing.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to