Source: gcc-mingw-w64
Version: 24.3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220412 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> /bin/bash ./libtool  --tag=CC   --mode=compile 
> /<<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    
> -DHAVE_CONFIG_H -I. -I../../../../src/libgfortran  
> -iquote../../../../src/libgfortran/io -I../../../../src/libgfortran/../gcc 
> -I../../../../src/libgfortran/../gcc/config 
> -I../../../../src/libgfortran/../libquadmath -I../.././gcc 
> -I../../../../src/libgfortran/../libgcc -I../libgcc 
> -I../../../../src/libgfortran/../libbacktrace -I../libbacktrace 
> -I../libbacktrace -Wdate-time -std=gnu11 -Wall -Wstrict-prototypes 
> -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings 
> -Werror=implicit-function-declaration -Werror=vla  -fcx-fortran-rules 
> -ffunction-sections -fdata-sections   -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -specs=/usr/share/dpkg/no-pie-compile.specs -Wall -MT pause.lo -MD -MP -MF 
> .deps/pause.Tpo -c -o pause.lo `test -f 'runtime/pause.c' || echo 
> '../../../../src/libgfortran/'`runtime/pause.c
> ../../../../src/libgfortran/runtime/error.c: In function ‘gf_vsnprintf’:
> ../../../../src/libgfortran/runtime/error.c:145:22: error: ‘buffer’ 
> undeclared (first use in this function)
>   145 |   written = vsprintf(buffer, format, ap);
>       |                      ^~~~~~
> ../../../../src/libgfortran/runtime/error.c:145:22: note: each undeclared 
> identifier is reported only once for each function it appears in
> ../../../../src/libgfortran/runtime/error.c:147:15: warning: comparison of 
> integer expressions of different signedness: ‘int’ and ‘size_t’ {aka 
> ‘unsigned int’} [-Wsign-compare]
>   147 |   if (written >= size - 1)
>       |               ^~
> ../../../../src/libgfortran/runtime/error.c:141:21: warning: unused parameter 
> ‘str’ [-Wunused-parameter]
>   141 | gf_vsnprintf (char *str, size_t size, const char *format, va_list ap)
>       |               ~~~~~~^~~
> libtool: compile:  /<<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 
> -DHAVE_CONFIG_H -I. -I../../../../src/libgfortran 
> -iquote../../../../src/libgfortran/io -I../../../../src/libgfortran/../gcc 
> -I../../../../src/libgfortran/../gcc/config 
> -I../../../../src/libgfortran/../libquadmath -I../.././gcc 
> -I../../../../src/libgfortran/../libgcc -I../libgcc 
> -I../../../../src/libgfortran/../libbacktrace -I../libbacktrace 
> -I../libbacktrace -Wdate-time -std=gnu11 -Wall -Wstrict-prototypes 
> -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings 
> -Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules 
> -ffunction-sections -fdata-sections -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -specs=/usr/share/dpkg/no-pie-compile.specs -Wall -MT pause.lo -MD -MP -MF 
> .deps/pause.Tpo -c ../../../../src/libgfortran/runtime/pause.c  -DDLL_EXPORT 
> -DPIC -o .libs/pause.o
> make[4]: *** [Makefile:2802: error.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/04/12/gcc-mingw-w64_24.3_unstable.log

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