Source: glimpse
Version: 4.18.7-7
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):
> gcc -I../index -I../agrep -I../libtemplate/include -O2 -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c 
> -o quick.o quick.c
> quick.c: In function ‘quick_tcompress’:
> quick.c:63:25: error: implicit declaration of function 
> ‘uninitialize_tcompress’ [-Werror=implicit-function-declaration]
>    63 |                         uninitialize_tcompress();
>       |                         ^~~~~~~~~~~~~~~~~~~~~~
> quick.c:68:22: error: implicit declaration of function ‘initialize_common’ 
> [-Werror=implicit-function-declaration]
>    68 |                 if (!initialize_common(freq_file, flags)) return 0;   
>   /* don't call initialize_tcompress since that will load the FULL hash table 
> */
>       |                      ^~~~~~~~~~~~~~~~~
> quick.c:127:9: error: implicit declaration of function ‘build_partial_hash’ 
> [-Werror=implicit-function-declaration]
>   127 |         build_partial_hash(compress_hash_table, hashfp, hashindexbuf, 
> hashindexsize, pattern, len, blocksize, loaded_hash_table);
>       |         ^~~~~~~~~~~~~~~~~~
> quick.c:128:18: error: implicit declaration of function ‘tcompress’ 
> [-Werror=implicit-function-declaration]
>   128 |         newlen = tcompress(pattern, len, newpattern, maxnewlen, 
> flags);
>       |                  ^~~~~~~~~
> quick.c: In function ‘quick_tuncompress’:
> quick.c:165:25: error: implicit declaration of function 
> ‘uninitialize_tuncompress’ [-Werror=implicit-function-declaration]
>   165 |                         uninitialize_tuncompress();
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~
> quick.c:223:9: error: implicit declaration of function ‘build_partial_string’ 
> [-Werror=implicit-function-declaration]
>   223 |         build_partial_string(compress_string_table, stringfp, 
> stringindexbuf, stringindexsize, pattern, len, blocksize, 
> loaded_string_table);
>       |         ^~~~~~~~~~~~~~~~~~~~
> quick.c:224:18: error: implicit declaration of function ‘tuncompress’; did 
> you mean ‘quick_tuncompress’? [-Werror=implicit-function-declaration]
>   224 |         newlen = tuncompress(pattern, len, newpattern, maxnewlen, 
> flags);
>       |                  ^~~~~~~~~~~
>       |                  quick_tuncompress
> quick.c: In function ‘quick_tcompress’:
> quick.c:87:17: warning: ignoring return value of ‘fscanf’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>    87 |                 fscanf(hashindexfp, "%d\n", &blocksize);
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> quick.c: In function ‘quick_tuncompress’:
> quick.c:189:17: warning: ignoring return value of ‘fscanf’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   189 |                 fscanf(stringindexfp, "%d\n", &blocksize);
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[3]: *** [<builtin>: quick.o] Error 1


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