Source: glide
Version: 2002.04.10ds1-21
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):
> /bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
> -I/<<PKGBUILDDIR>>/glide3x/h3/minihwc -I../../swlibs/include  -DX11    
> -I/<<PKGBUILDDIR>>/glide3x/cinit -I/<<PKGBUILDDIR>>/glide3x/h3/glide3/src 
> -I/<<PKGBUILDDIR>>/glide3x/h3/incsrc -I/<<PKGBUILDDIR>>/glide3x/h3/minihwc  
> -I. -I/<<PKGBUILDDIR>>/glide3x/swlibs/fxmemmap 
> -I/<<PKGBUILDDIR>>/glide3x/swlibs/fxmisc 
> -I/<<PKGBUILDDIR>>/glide3x/swlibs/newpci/pcilib 
> -I/<<PKGBUILDDIR>>/glide3x/swlibs/texus2/lib -Wdate-time -D_FORTIFY_SOURCE=2  
> -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wall -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DBIG_OPT 
> -MT linhwc.lo -MD -MP -MF .deps/linhwc.Tpo -c -o linhwc.lo linhwc.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. 
> -I/<<PKGBUILDDIR>>/glide3x/h3/minihwc -I../../swlibs/include -DX11 
> -I/<<PKGBUILDDIR>>/glide3x/cinit -I/<<PKGBUILDDIR>>/glide3x/h3/glide3/src 
> -I/<<PKGBUILDDIR>>/glide3x/h3/incsrc -I/<<PKGBUILDDIR>>/glide3x/h3/minihwc 
> -I. -I/<<PKGBUILDDIR>>/glide3x/swlibs/fxmemmap 
> -I/<<PKGBUILDDIR>>/glide3x/swlibs/fxmisc 
> -I/<<PKGBUILDDIR>>/glide3x/swlibs/newpci/pcilib 
> -I/<<PKGBUILDDIR>>/glide3x/swlibs/texus2/lib -Wdate-time -D_FORTIFY_SOURCE=2 
> -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wall -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DBIG_OPT 
> -MT linhwc.lo -MD -MP -MF .deps/linhwc.Tpo -c linhwc.c  -fPIC -DPIC -o 
> .libs/linhwc.o
> linhwc.c: In function ‘hwcInitVideo’:
> linhwc.c:435:9: warning: variable ‘stride’ set but not used 
> [-Wunused-but-set-variable]
>   435 |   FxU32 stride, dramInit1, miscInit0;
>       |         ^~~~~~
> linhwc.c: In function ‘grDRIImportFifo’:
> linhwc.c:844:3: error: implicit declaration of function ‘_grImportFifo’; did 
> you mean ‘_grDRIImportFifo’? [-Werror=implicit-function-declaration]
>   844 |   _grImportFifo(fifoPtr, fifoRead);
>       |   ^~~~~~~~~~~~~
>       |   _grDRIImportFifo
> linhwc.c: In function ‘grDRIInvalidateAll’:
> linhwc.c:848:3: error: implicit declaration of function ‘_grInvalidateAll’; 
> did you mean ‘_grDRIInvalidateAll’? [-Werror=implicit-function-declaration]
>   848 |   _grInvalidateAll();
>       |   ^~~~~~~~~~~~~~~~
>       |   _grDRIInvalidateAll
> linhwc.c: In function ‘grDRIResetSAREA’:
> linhwc.c:853:3: error: implicit declaration of function ‘_grExportFifo’; did 
> you mean ‘_grDRIExportFifo’? [-Werror=implicit-function-declaration]
>   853 |   _grExportFifo((FxU32*)driInfo.fifoPtr, (FxU32*)driInfo.fifoRead);
>       |   ^~~~~~~~~~~~~
>       |   _grDRIExportFifo
> linhwc.c: At top level:
> linhwc.c:588:1: warning: ‘calculateLfbStride’ defined but not used 
> [-Wunused-function]
>   588 | calculateLfbStride(FxU32 screenWidth)
>       | ^~~~~~~~~~~~~~~~~~
> linhwc.c:183:13: warning: ‘deleteEnvData’ defined but not used 
> [-Wunused-function]
>   183 | static void deleteEnvData() {
>       |             ^~~~~~~~~~~~~
> linhwc.c:139:1: warning: ‘pow2Round’ defined but not used [-Wunused-function]
>   139 | pow2Round(FxU32 val, FxU32 pow2Const)
>       | ^~~~~~~~~
> cc1: some warnings being treated as errors
> make[4]: *** [makefile.autoconf:404: linhwc.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/glide_2002.04.10ds1-21_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