Source: gcc-mingw-w64
Version: 26.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> /<<PKGBUILDDIR>>/build/i686-w64-mingw32-posix/./gcc/xgcc 
> -B/<<PKGBUILDDIR>>/build/i686-w64-mingw32-posix/./gcc/ 
> -L/usr/i686-w64-mingw32/lib -L/usr/mingw/lib -isystem 
> /usr/i686-w64-mingw32/include -isystem /usr/mingw/include 
> -B/usr/i686-w64-mingw32/bin/ -B/usr/i686-w64-mingw32/lib/ -isystem 
> /usr/i686-w64-mingw32/include -isystem /usr/i686-w64-mingw32/sys-include 
> -isystem /<<PKGBUILDDIR>>/build/i686-w64-mingw32-posix/sys-include    -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -specs=/usr/share/dpkg/no-pie-compile.specs -Wall -O2 
> -I../../../../src/libgcc/../winsup/w32api/include -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -specs=/usr/share/dpkg/no-pie-compile.specs -Wall -DIN_GCC  
> -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings 
> -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  
> -isystem ./include   -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   
> -I. -I. -I../.././gcc -I../../../../src/libgcc -I../../../../src/libgcc/. 
> -I../../../../src/libgcc/../gcc -I../../../../src/libgcc/../include 
> -I../../../../src/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT 
> -DHAVE_CC_TLS -DUSE_EMUTLS  -o _gcov_ior_profiler.o -MT _gcov_ior_profiler.o 
> -MD -MP -MF _gcov_ior_profiler.dep -DL_gcov_ior_profiler -c 
> ../../../../src/libgcc/libgcov-profiler.c
> enable-execute-stack.c: In function ‘__enable_execute_stack’:
> enable-execute-stack.c:36:5: error: implicit declaration of function ‘abort’ 
> [-Werror=implicit-function-declaration]
>    36 |     abort ();
>       |     ^~~~~
> enable-execute-stack.c:27:1: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘abort’
>    26 | #include <windows.h>
>   +++ |+#include <stdlib.h>
>    27 | 
> enable-execute-stack.c:36:5: warning: incompatible implicit declaration of 
> built-in function ‘abort’ [-Wbuiltin-declaration-mismatch]
>    36 |     abort ();
>       |     ^~~~~
> enable-execute-stack.c:36:5: note: include ‘<stdlib.h>’ or provide a 
> declaration of ‘abort’
> cc1: some warnings being treated as errors
> make[3]: *** [../../../../src/libgcc/shared-object.mk:14: 
> enable-execute-stack.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/gcc-mingw-w64_26.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@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.

Reply via email to