Source: sctk
Version: 2.4.10-20151007-1312Z+dfsg2-3.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):
> gcc -c -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_LIBM=1 -DHAVE_UNISTD_H=1  -I. 
> -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wall align.c
> align.c: In function ‘remove_id’:
> align.c:29:17: warning: comparison between pointer and zero character 
> constant [-Wpointer-compare]
>    29 |     if (R_paren == NULL_TEXT && L_paren == NULL_TEXT)
>       |                 ^~
> align.c:29:9: note: did you mean to dereference the pointer?
>    29 |     if (R_paren == NULL_TEXT && L_paren == NULL_TEXT)
>       |         ^
> align.c:29:41: warning: comparison between pointer and zero character 
> constant [-Wpointer-compare]
>    29 |     if (R_paren == NULL_TEXT && L_paren == NULL_TEXT)
>       |                                         ^~
> align.c:29:33: note: did you mean to dereference the pointer?
>    29 |     if (R_paren == NULL_TEXT && L_paren == NULL_TEXT)
>       |                                 ^
> align.c:32:17: warning: comparison between pointer and zero character 
> constant [-Wpointer-compare]
>    32 |     if (R_paren == NULL_TEXT || L_paren == NULL_TEXT){
>       |                 ^~
> align.c:32:9: note: did you mean to dereference the pointer?
>    32 |     if (R_paren == NULL_TEXT || L_paren == NULL_TEXT){
>       |         ^
> align.c:32:41: warning: comparison between pointer and zero character 
> constant [-Wpointer-compare]
>    32 |     if (R_paren == NULL_TEXT || L_paren == NULL_TEXT){
>       |                                         ^~
> align.c:32:33: note: did you mean to dereference the pointer?
>    32 |     if (R_paren == NULL_TEXT || L_paren == NULL_TEXT){
>       |                                 ^
> align.c: In function ‘extract_speaker’:
> align.c:63:40: warning: comparison between pointer and zero character 
> constant [-Wpointer-compare]
>    63 |         if (((p = TEXT_strchr(id,'-')) == NULL_TEXT) &&
>       |                                        ^~
> align.c:63:14: note: did you mean to dereference the pointer?
>    63 |         if (((p = TEXT_strchr(id,'-')) == NULL_TEXT) &&
>       |              ^
> align.c:64:40: warning: comparison between pointer and zero character 
> constant [-Wpointer-compare]
>    64 |             ((p = TEXT_strchr(id,'_')) == NULL_TEXT)){
>       |                                        ^~
> align.c:64:14: note: did you mean to dereference the pointer?
>    64 |             ((p = TEXT_strchr(id,'_')) == NULL_TEXT)){
>       |              ^
> align.c: In function ‘set_temp_files’:
> align.c:933:15: error: implicit declaration of function ‘getpid’ 
> [-Werror=implicit-function-declaration]
>   933 |     int pid = getpid();
>       |               ^~~~~~
> align.c: In function ‘align_trans_mode_diff’:
> align.c:1070:5: error: implicit declaration of function ‘unlink’ 
> [-Werror=implicit-function-declaration]
>  1070 |     unlink(refwords);
>       |     ^~~~~~
> align.c: In function ‘align_ctm_to_stm_diff’:
> align.c:1261:63: warning: ‘?:’ using integer constants in boolean context 
> [-Wint-in-bool-context]
>  1260 |                              ((TEXT_strcmp(firsttoken,ctext) != 0) ||
>       |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  1261 |                               r== r_end + (r_end==stm->num)?-1:0));
>       |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
> align.c: In function ‘align_trans_mode_diff’:
> align.c:962:11: warning: ‘hyp_buff’ is used uninitialized [-Wuninitialized]
>   962 |     TEXT *ctext = hyp_buff;               /* current position is text 
> string */
>       |           ^~~~~
> align.c:953:11: note: ‘hyp_buff’ declared here
>   953 |     TEXT *hyp_buff, *hyp_id, *spkr_id, *diff_out;
>       |           ^~~~~~~~
> cc1: some warnings being treated as errors
> make[3]: *** [makefile:116: align.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/sctk_2.4.10-20151007-1312Z+dfsg2-3.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