Source: surf-alggeo
Version: 1.0.6+ds-6
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 -DPACKAGE_NAME=\"surf\" -DPACKAGE_TARNAME=\"surf\" 
> -DPACKAGE_VERSION=\"1.0.6\" -DPACKAGE_STRING=\"surf\ 1.0.6\" 
> -DPACKAGE_BUGREPORT=\"endr...@mathematik.uni-mainz.de\" -DPACKAGE_URL=\"\" 
> -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 
> -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 
> -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 
> -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 
> -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 
> -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 
> -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 
> -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 
> -DPACKAGE=\"surf\" -DVERSION=\"1.0.6\" -DYYTEXT_POINTER=1 -DHAVE_DLFCN_H=1 
> -DLT_OBJDIR=\".libs/\" -DHAVE_INSTANTIATIONS=/\*\*/ 
> -DHAVE_FUNCTION_NONTYPE_PARAMETERS=/\*\*/ -DHAVE_PTHREAD_PRIO_INHERIT=1 
> -D_REENTRANT=1 -DNO_GUI=1 -DHAVE_PROGRAM_INVOCATION_SHORT_NAME=1 -I. 
> -I../../../yaccsrc  -I../../../src -I../../../curve -I../../../drawfunc 
> -I../../../draw -I../../../dither -I../../../image-formats -I../../../yaccsrc 
> -I../../../mt -I../../../misc -I../../../debug -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 -O3 
> -Wall -W -Wwrite-strings -Wpointer-arith -Wconversion -Wno-unused 
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
> -Wnested-externs -c -o libsurf_parser_a-polyyacc.o `test -f 'polyyacc.c' || 
> echo '../../../yaccsrc/'`polyyacc.c
> polyyacc.c: In function ‘yyparse’:
> polyyacc.c:1703:16: error: implicit declaration of function ‘yylex’ 
> [-Werror=implicit-function-declaration]
>  1703 |       yychar = yylex ();
>       |                ^~~~~
> polyyacc.c:1703:16: warning: nested extern declaration of ‘yylex’ 
> [-Wnested-externs]
> ../../../yaccsrc/polyyacc.y:474:57: warning: conversion from ‘size_t’ {aka 
> ‘long unsigned int’} to ‘int’ may change value [-Wconversion]
>   474 |                             $$ = new_char( len + 1 );
>       |                                                     ~   ^  
> ../../../yaccsrc/polyyacc.y:495:60: warning: conversion from ‘size_t’ {aka 
> ‘long unsigned int’} to ‘int’ may change value [-Wconversion]
>   495 |                             $$ = new_char( length + 1 );
>       |                                                     ~~~~   ^  
> ../../../yaccsrc/polyyacc.y:506:60: warning: conversion from ‘size_t’ {aka 
> ‘long unsigned int’} to ‘int’ may change value [-Wconversion]
>   506 |                             $$ = new_char( length + 1 );
>       |                                                     ~~~~   ^  
> ../../../yaccsrc/polyyacc.y:518:75: warning: comparison of integer 
> expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned 
> int’} [-Wsign-compare]
>   518 |                             if( $3 > 50 || $3 < length )
>       |                                                                       
>     ^
> ../../../yaccsrc/polyyacc.y:525:59: warning: conversion to ‘size_t’ {aka 
> ‘long unsigned int’} from ‘int’ may change the sign of the result 
> [-Wsign-conversion]
>   525 |                                 zeroes = $3 - length;
>       |                                                           ^
> ../../../yaccsrc/polyyacc.y:525:42: warning: conversion from ‘size_t’ {aka 
> ‘long unsigned int’} to ‘int’ may change value [-Wconversion]
>   525 |                                 zeroes = $3 - length;
>       |                                          ^
> ../../../yaccsrc/polyyacc.y:545:75: warning: comparison of integer 
> expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned 
> int’} [-Wsign-compare]
>   545 |                             if( $3 > 50 || $3 < length )
>       |                                                                       
>     ^
> ../../../yaccsrc/polyyacc.y:552:59: warning: conversion to ‘size_t’ {aka 
> ‘long unsigned int’} from ‘int’ may change the sign of the result 
> [-Wsign-conversion]
>   552 |                                 zeroes = $3 - length;
>       |                                                           ^
> ../../../yaccsrc/polyyacc.y:552:42: warning: conversion from ‘size_t’ {aka 
> ‘long unsigned int’} to ‘int’ may change value [-Wconversion]
>   552 |                                 zeroes = $3 - length;
>       |                                          ^
> ../../../yaccsrc/polyyacc.y:167:41: warning: ignoring return value of 
> ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   167 |                                         system ($2);
>       |                                         ^~~~~~~~~~~~           
> ../../../yaccsrc/polyyacc.y:560:33: warning: ‘__builtin_strncpy’ output 
> truncated before terminating nul copying as many bytes from a string as its 
> length [-Wstringop-truncation]
>   560 |                                 strncpy( &($$[zeroes]),buf,length );
>       |                                 ^
> ../../../yaccsrc/polyyacc.y:543:38: note: length computed here
>   543 |                             length = strlen( buf );
>       |                                      ^~~~~~~~~~~~~
> ../../../yaccsrc/polyyacc.y:533:33: warning: ‘__builtin_strncpy’ output 
> truncated before terminating nul copying as many bytes from a string as its 
> length [-Wstringop-truncation]
>   533 |                                 strncpy( &($$[zeroes]),buf,length );
>       |                                 ^
> ../../../yaccsrc/polyyacc.y:516:38: note: length computed here
>   516 |                             length = strlen( buf );
>       |                                      ^~~~~~~~~~~~~
> ../../../yaccsrc/polyyacc.y:507:29: warning: ‘__builtin_strncpy’ output 
> truncated before terminating nul copying as many bytes from a string as its 
> length [-Wstringop-truncation]
>   507 |                             strncpy( $$,buf,length );
>       |                             ^
> ../../../yaccsrc/polyyacc.y:505:38: note: length computed here
>   505 |                             length = strlen( buf );
>       |                                      ^~~~~~~~~~~~~
> ../../../yaccsrc/polyyacc.y:496:29: warning: ‘__builtin_strncpy’ output 
> truncated before terminating nul copying as many bytes from a string as its 
> length [-Wstringop-truncation]
>   496 |                             strncpy( $$,buf,length );
>       |                             ^
> ../../../yaccsrc/polyyacc.y:494:38: note: length computed here
>   494 |                             length = strlen( buf );
>       |                                      ^~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:534: libsurf_parser_a-polyyacc.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/surf-alggeo_1.0.6+ds-6_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.

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to