Your message dated Wed, 13 Mar 2024 13:31:09 +0100
with message-id <zfgcjt_wxgyln...@thunder.hadrons.org>
and subject line Re: Bug#1066391: glide: FTBFS: linhwc.c:844:3: error: implicit 
declaration of function ‘_grImportFifo’; did you mean ‘_grDRIImportFifo’? 
[-Werror=implicit-function-declaration]
has caused the Debian Bug report #1066391,
regarding glide: FTBFS: linhwc.c:844:3: error: implicit declaration of function 
‘_grImportFifo’; did you mean ‘_grDRIImportFifo’? 
[-Werror=implicit-function-declaration]
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1066391: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066391
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
Version: 2002.04.10ds1-22

On Wed, 2024-03-13 at 12:50:40 +0100, Lucas Nussbaum wrote:
> 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

> 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

I had fixed this locally yesterday, but only uploaded it today, and
then I saw this bug report, :) in any case the upload fixed this with
the following changes:

 ,---
 Date: Wed, 13 Mar 2024 12:49:17 +0100
 Source: glide
 Architecture: source
 Version: 2002.04.10ds1-22
 Distribution: unstable
 Urgency: medium
 Maintainer: Guillem Jover <guil...@debian.org>
 Changed-By: Guillem Jover <guil...@debian.org>
 Changes:
  glide (2002.04.10ds1-22) unstable; urgency=medium
  .
    * Switch from future=+lfs to abi=+lfs build flags feature, and Build-Depends
      on dpkg-dev >= 1.22.0.
     * Take DPKG_ROOT into account in maintainer scripts.
    * Improve debconf config maintainer script:
      - Use warnings instead of passing -w to perl in the shebang.
      - Use qx() instead of backticks.
      - Remove unused variables.
      - Reduce variables scope.
    * Fix FTBFS due to implicit function declarations.
 `---

Closing.

Thanks,
Guillem

--- End Message ---

Reply via email to