• Bug#1103003: gdb-mingw-w64: FTBFS in testing/arm64: configure: error: i

    From Lucas Nussbaum@21:1/5 to All on Sun Apr 13 18:50:01 2025
    Source: gdb-mingw-w64
    Version: 13.2
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20250413 ftbfs-trixie

    Hi,

    During a rebuild of all packages in testing (trixie), your package failed
    to build on arm64.


    Relevant part (hopefully):
    mkdir -p -- target/.deps
    configure: WARNING: unrecognized options: --disable-werror
    checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-w64-mingw32ucrt-gcc... x86_64-w64-mingw32ucrt-gcc checking whether the C compiler works... no
    configure: error: in `/build/reproducible-path/gdb-mingw-w64-13.2/build-gdbserver/x86_64-w64-mingw32ucrt/gnulib'
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    configure: WARNING: unrecognized options: --disable-werror
    checking whether to enable maintainer-specific portions of Makefiles... no checking for makeinfo... makeinfo
    checking for perl... perl
    checking build system type... aarch64-unknown-linux-gnu
    checking host system type... x86_64-w64-mingw32ucrt
    checking for x86_64-w64-mingw32ucrt-ar... x86_64-w64-mingw32ucrt-ar
    checking for x86_64-w64-mingw32ucrt-ranlib... x86_64-w64-mingw32ucrt-ranlib checking for -plugin option... checking for x86_64-w64-mingw32ucrt-ar... (cached) x86_64-w64-mingw32ucrt-ar
    --plugin /usr/lib/gcc/x86_64-w64-mingw32ucrt/14/liblto_plugin.so
    checking whether to install libiberty headers and static library... no configure: target_header_dir =
    checking for x86_64-w64-mingw32ucrt-gcc... x86_64-w64-mingw32ucrt-gcc checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether x86_64-w64-mingw32ucrt-gcc accepts -g... yes
    checking for x86_64-w64-mingw32ucrt-gcc option to accept ISO C89... none needed
    checking how to run the C preprocessor... x86_64-w64-mingw32ucrt-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/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
    checking for string.h... yes
    checking for memory.h... yes
    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 special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... 64
    checking whether x86_64-w64-mingw32ucrt-gcc supports -W... yes
    checking whether x86_64-w64-mingw32ucrt-gcc supports -Wall... yes
    checking whether x86_64-w64-mingw32ucrt-gcc supports -Wwrite-strings... yes checking whether x86_64-w64-mingw32ucrt-gcc supports -Wc++-compat... yes checking whether x86_64-w64-mingw32ucrt-gcc supports -Wstrict-prototypes... yes
    checking whether x86_64-w64-mingw32ucrt-gcc supports -Wshadow=local... yes checking whether x86_64-w64-mingw32ucrt-gcc supports -pedantic ... yes checking whether x86_64-w64-mingw32ucrt-gcc and cc understand -c and -o together... yes
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking whether byte ordering is bigendian... no
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for CET support... no
    checking target system type... x86_64-w64-mingw32ucrt
    checking for sys/file.h... yes
    checking for sys/param.h... yes
    checking for limits.h... yes
    checking for stdlib.h... (cached) yes
    checking for malloc.h... yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for sys/time.h... yes
    checking for time.h... yes
    checking for sys/resource.h... no
    checking for sys/stat.h... (cached) yes
    checking for sys/mman.h... no
    checking for fcntl.h... yes
    checking for alloca.h... no
    checking for sys/pstat.h... no
    checking for sys/sysmp.h... no
    checking for sys/sysinfo.h... no
    checking for machine/hal_sysinfo.h... no
    checking for sys/table.h... no
    checking for sys/sysctl.h... no
    checking for sys/systemcfg.h... no
    checking for stdint.h... (cached) yes
    checking for stdio_ext.h... no
    checking for process.h... yes
    checking for sys/prctl.h... no
    checking for spawn.h... no
    checking for sys/wait.h that is POSIX.1 compatible... no
    checking whether time.h and sys/time.h may both be included... yes
    checking whether errno must be declared... no
    checking size of int... 4
    checking size of long... 4
    checking size of size_t... 8
    checking for long long... yes
    checking size of long long... 8
    checking for a 64-bit type... uint64_t
    checking for intptr_t... yes
    checking for uintptr_t... yes
    checking for ssize_t... yes
    checking for pid_t... yes
    checking for library containing strerror... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
    checking build system type... aarch64-unknown-linux-gnu
    checking host system type... x86_64-w64-mingw32ucrt
    checking target system type... x86_64-w64-mingw32ucrt
    checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for x86_64-w64-mingw32ucrt-strip... x86_64-w64-mingw32ucrt-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether make supports nested variables... (cached) yes
    checking for x86_64-w64-mingw32ucrt-gcc... x86_64-w64-mingw32ucrt-gcc checking whether the C compiler works... no
    configure: error: in `/build/reproducible-path/gdb-mingw-w64-13.2/build-gdbserver/x86_64-w64-mingw32ucrt/gdbsupport':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-w64-mingw32ucrt-gcc... x86_64-w64-mingw32ucrt-gcc checking whether the C compiler works... no
    configure: error: in `/build/reproducible-path/gdb-mingw-w64-13.2/build-gdbserver/x86_64-w64-mingw32ucrt/gdbserver':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    make[1]: *** [debian/rules:93: override_dh_auto_configure-indep] Error 77 make[1]: Leaving directory '/build/reproducible-path/gdb-mingw-w64-13.2'


    The full build log is available from: http://qa-logs.debian.net/2025/04/13/gdb-mingw-w64_13.2_testing.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250413;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250413&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    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!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)