Source: thesias
Version: 3.1.1-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):
> cc -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 -fPIC 
> -I/usr/lib/jvm/default-java/include 
> -I/usr/lib/jvm/default-java/include/linux/ -c src/*.c
> javac -d class java/*.java
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
> src/newthesias3d.c: In function ‘thesiasRun’:
> src/newthesias3d.c:6122:49: warning: too many arguments for format 
> [-Wformat-extra-args]
>  6122 |                                  
> fprintf(outres,"\t%f\t%f\n\n",effest[0],valse,effest[0]/valse);
>       |                                                 ^~~~~~~~~~~~~~
> src/newthesias3d.c:6268:50: warning: too many arguments for format 
> [-Wformat-extra-args]
>  6268 |                                   
> fprintf(outres,"\t%f\t%f\n\n",effest[nc],valse,effest[nc]/valse);
>       |                                                  ^~~~~~~~~~~~~~
> src/newthesias3d.c: In function ‘nbhapo0’:
> src/newthesias3d.c:4084:4: warning: ignoring return value of ‘scanf’ declared 
> with attribute ‘warn_unused_result’ [-Wunused-result]
>  4084 |    scanf("%c",&rep);
>       |    ^~~~~~~~~~~~~~~~
> src/newthesias3d.c: In function ‘lecteffe’:
> src/newthesias3d.c:4299:17: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4299 |                 fscanf(readParam,"%c",&rep);
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4312:25: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4312 |                         fscanf(readParam,"%c",&rep);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4318:25: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4318 |                         fscanf(readParam,"%d",&hypoth);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4327:33: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4327 |                                 fscanf(readParam,"%d %d",&v1,&v2);
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4336:25: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4336 |                         fscanf(readParam,"%c",&rep);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4345:33: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4345 |                                 fscanf(readParam,"%d",&nbhypor);
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4357:41: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4357 |                                         fscanf(readParam,"%d",&v1);
>       |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4369:41: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4369 |                                         fscanf(readParam,"%d 
> %d",&v1,&v2);
>       |                                         
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4392:25: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4392 |                         fscanf(readParam,"%c",&rep);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4400:33: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4400 |                                 fscanf(readParam,"%d",&nbadd);
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4408:33: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4408 |                                 fscanf(readParam,"%d %d",&v1,&v2);
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4418:33: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4418 |                                 fscanf(readParam,"%c",&rep);
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4425:41: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4425 |                                         
> fscanf(readParam,"%d",&intercov);
>       |                                         
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4433:41: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4433 |                                         fscanf(readParam,"%d 
> %d",&v1,&v2);
>       |                                         
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4474:9: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4474 |         fscanf(parfile,"%d\n",&nbhest);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4486:17: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4486 |                 fscanf(parfile,"%d %lf %d 
> %lf\n",&v2,&vv,&itp[i],&effest[i]);
>       |                 
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c: In function ‘lecteffe5’:
> src/newthesias3d.c:4652:17: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4652 |                 fscanf(readParam,"%c",&rep);
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4666:25: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4666 |                         fscanf(readParam,"%c",&rep);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4672:25: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4672 |                         fscanf(readParam,"%d",&hypoth);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4682:33: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4682 |                                 fscanf(readParam,"%d %d",&v1,&v2);
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4696:25: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4696 |                         fscanf(readParam,"%c",&rep);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4704:33: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4704 |                                 fscanf(readParam,"%d",&nbhypor);
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4715:41: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4715 |                                         fscanf(readParam,"%d",&v1);
>       |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4727:41: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4727 |                                         fscanf(readParam,"%d 
> %d",&v1,&v2);
>       |                                         
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4762:25: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4762 |                         fscanf(readParam,"%c",&rep);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4770:33: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4770 |                                 fscanf(readParam,"%d",&nbadd);
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4778:33: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4778 |                                 fscanf(readParam,"%d %d",&v1,&v2);
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4789:25: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4789 |                         fscanf(readParam,"%c",&rep);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4797:33: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4797 |                                 fscanf(readParam,"%d",&intercov);
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4806:33: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4806 |                                 fscanf(readParam,"%d %d",&v1,&v2);
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4821:3: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4821 |   fscanf(parfile,"%d\n",&nbhest);
>       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/newthesias3d.c:4828:4: warning: ignoring return value of ‘fscanf’ 
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  4828 |   {fscanf(parfile,"%d %lf %d %lf\n",&v2,&vv,&idc,&valf);
>       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> java/GraficT.java:1008: warning: [removal] Integer(int) in Integer has been 
> deprecated and marked for removal
>                                       coaverCols2[k] = (new 
> Integer(covarCols[k])).toString();
>                                                         ^
> java/ParamTable.java:125: warning: [removal] Boolean(boolean) in Boolean has 
> been deprecated and marked for removal
>                                       tableModel.data[k][2] = new 
> Boolean(false);
>                                                               ^
> java/ParamTable.java:126: warning: [removal] Boolean(boolean) in Boolean has 
> been deprecated and marked for removal
>                                       tableModel.data[k][3] = new 
> Boolean(false);
>                                                               ^
> java/ParamTable.java:141: warning: [removal] Boolean(boolean) in Boolean has 
> been deprecated and marked for removal
>                                               tableModel.data[i][2] = new 
> Boolean(false);
>                                                                       ^
> java/ParamTable.java:143: warning: [removal] Boolean(boolean) in Boolean has 
> been deprecated and marked for removal
>                                               tableModel.data[i][2] = new 
> Boolean(true);
>                                                                       ^
> java/ParamTable.java:146: warning: [removal] Boolean(boolean) in Boolean has 
> been deprecated and marked for removal
>                                               tableModel.data[i][3] = new 
> Boolean(false);
>                                                                       ^
> java/ParamTable.java:148: warning: [removal] Boolean(boolean) in Boolean has 
> been deprecated and marked for removal
>                                               tableModel.data[i][3] = new 
> Boolean(true);
>                                                                       ^
> java/ParamTable.java:201: warning: [removal] Boolean(boolean) in Boolean has 
> been deprecated and marked for removal
>                               data[i][j] = new Boolean(false);
>                                            ^
> java/Homogeneity.java:246: warning: [removal] Integer(int) in Integer has 
> been deprecated and marked for removal
>                       return (new Integer(visiblePair)).toString();
>                               ^
> java/OptionDialog.java:329: warning: [removal] Integer(int) in Integer has 
> been deprecated and marked for removal
>         private Object[][] data= {{new Integer(2)}};
>                                    ^
> java/OptionDialog.java:119: warning: [removal] Integer(int) in Integer has 
> been deprecated and marked for removal
>                                       dataTemp[i-1] = new Integer(i-1);
>                                                       ^
> java/OptionDialog.java:123: warning: [removal] Integer(int) in Integer has 
> been deprecated and marked for removal
>                               dataTemp[i-1] = new Integer(i);
>                                               ^
> java/OptionDialog.java:143: warning: [removal] Integer(int) in Integer has 
> been deprecated and marked for removal
>                               dataBun[j] = (Object)(new 
> Integer(((Integer)dataBun[j-1]).intValue()+ 1));
>                                                     ^
> java/OptionDialog.java:372: warning: [removal] Integer(int) in Integer has 
> been deprecated and marked for removal
>             {new Integer(1),"V5"},
>              ^
> java/OptionDialog.java:373: warning: [removal] Integer(int) in Integer has 
> been deprecated and marked for removal
>             {new Integer(2),"V6"},
>              ^
> java/OptionDialog.java:374: warning: [removal] Integer(int) in Integer has 
> been deprecated and marked for removal
>             {new Integer(3),""},
>              ^
> java/OptionDialog.java:375: warning: [removal] Integer(int) in Integer has 
> been deprecated and marked for removal
>             {new Integer(4),""},
>              ^
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 17 warnings
> jar cfe thesias.jar GraficT -C class . -C misc LogoThesias.png
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
> src/newthesias3d.c: In function ‘fishnull’:
> src/newthesias3d.c:795:19: warning: argument 1 value ‘18446744073709551608’ 
> exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
>   795 |  deriv=(double *) malloc((size_t) (dimf*sizeof(double)));
>       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from src/newthesias3d.c:25:
> /usr/include/stdlib.h:553:14: note: in a call to allocation function ‘malloc’ 
> declared here
>   553 | extern void *malloc (size_t __size) __THROW __attribute_malloc__
>       |              ^~~~~~
> src/newthesias3d.c: In function ‘Xfishnull’:
> src/newthesias3d.c:861:19: warning: argument 1 value ‘18446744073709551608’ 
> exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
>   861 |  deriv=(double *) malloc((size_t) (dimf*sizeof(double)));
>       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/stdlib.h:553:14: note: in a call to allocation function ‘malloc’ 
> declared here
>   553 | extern void *malloc (size_t __size) __THROW __attribute_malloc__
>       |              ^~~~~~
> src/thesiaslib.c: In function ‘Java_thesiaslib_thesiasRun’:
> src/thesiaslib.c:57:13: error: implicit declaration of function ‘thesiasRun’ 
> [-Werror=implicit-function-declaration]
>    57 |         i = thesiasRun(cFileName,
>       |             ^~~~~~~~~~
> cc1: some warnings being treated as errors
> make[1]: *** [Makefile:34: libthesiaslib.so] Error 1


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