Your message dated Thu, 14 Mar 2024 21:37:20 +0000
with message-id <[email protected]>
and subject line Bug#1066478: fixed in readseq 1-15
has caused the Debian Bug report #1066478,
regarding readseq: FTBFS: readseq.c:801:5: error: implicit declaration of 
function ‘gets’; did you mean ‘fgets’? [-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 [email protected]
immediately.)


-- 
1066478: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066478
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: readseq
Version: 1-14
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
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   -o readseq -I/usr/include/ncbi  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -g -O2 -DNCBI -I/usr/include/ncbi 
> -DARB readseq.c ureadseq.c ureadasn.c -lncbi -lncbiobj -lncbicdr -lncbiacc 
> -lncbitool -lncbimmdb -lncbiid1 -lnetcli -lm -Wl,-z,relro -Wl,-z,now
> readseq.c: In function ‘formatstr’:
> readseq.c:267:41: warning: return discards ‘const’ qualifier from pointer 
> target type [-Wdiscarded-qualifiers]
>   267 |       case kASNseqset   : return formats[kASN1-1];
>       |                                  ~~~~~~~^~~~~~~~~
> readseq.c:269:45: warning: return discards ‘const’ qualifier from pointer 
> target type [-Wdiscarded-qualifiers]
>   269 |       case kPhylipSequential: return formats[kPhylip-1];
>       |                                      ~~~~~~~^~~~~~~~~~~
> readseq.c:273:22: warning: return discards ‘const’ qualifier from pointer 
> target type [-Wdiscarded-qualifiers]
>   273 |   else return formats[format-1];
>       |               ~~~~~~~^~~~~~~~~~
> readseq.c: In function ‘Nlm_Main’:
> readseq.c:801:5: error: implicit declaration of function ‘gets’; did you mean 
> ‘fgets’? [-Werror=implicit-function-declaration]
>   801 |     gets(oname= onamestore);
>       |     ^~~~
>       |     fgets
> readseq.c:936:33: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>   936 |             sprintf( stemp,"%s_%d", oname, whichSeq);
>       |                                ~^          ~~~~~~~~
>       |                                 |          |
>       |                                 int        long int
>       |                                %ld
> readseq.c:938:48: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘long int’ [-Wformat=]
>   938 |             fprintf( stderr,"Writing sequence %d to file %s\n", 
> whichSeq, stemp);
>       |                                               ~^                
> ~~~~~~~~
>       |                                                |                |
>       |                                                int              long 
> int
>       |                                               %ld
> readseq.c:980:39: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘long int’ [-Wformat=]
>   980 |           fprintf( stderr, "Sequence %d, length= %d, checksum= %X, 
> format= %s, id= %s\n",
>       |                                      ~^
>       |                                       |
>       |                                       int
>       |                                      %ld
>   981 |                 whichSeq, seqlen, checksum, formatstr(format), 
> seqidptr);
>       |                 ~~~~~~~~               
>       |                 |
>       |                 long int
> readseq.c:980:51: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>   980 |           fprintf( stderr, "Sequence %d, length= %d, checksum= %X, 
> format= %s, id= %s\n",
>       |                                                  ~^
>       |                                                   |
>       |                                                   int
>       |                                                  %ld
>   981 |                 whichSeq, seqlen, checksum, formatstr(format), 
> seqidptr);
>       |                           ~~~~~~                   
>       |                           |
>       |                           long int
> readseq.c:980:65: warning: format ‘%X’ expects argument of type ‘unsigned 
> int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
>   980 |           fprintf( stderr, "Sequence %d, length= %d, checksum= %X, 
> format= %s, id= %s\n",
>       |                                                                ~^
>       |                                                                 |
>       |                                                                 
> unsigned int
>       |                                                                %lX
>   981 |                 whichSeq, seqlen, checksum, formatstr(format), 
> seqidptr);
>       |                                   ~~~~~~~~                       
>       |                                   |
>       |                                   long unsigned int
> readseq.c:998:53: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘long int’ [-Wformat=]
>   998 |                   if (phylvers >= 4) fprintf(foo," %d %d\n", i, 
> seqlen);
>       |                                                    ~^        ~
>       |                                                     |        |
>       |                                                     int      long int
>       |                                                    %ld
> readseq.c:998:56: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>   998 |                   if (phylvers >= 4) fprintf(foo," %d %d\n", i, 
> seqlen);
>       |                                                       ~^        ~~~~~~
>       |                                                        |        |
>       |                                                        int      long 
> int
>       |                                                       %ld
> readseq.c:999:39: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘long int’ [-Wformat=]
>   999 |                   else fprintf(foo," %d %d YF\n", i, seqlen);
>       |                                      ~^           ~
>       |                                       |           |
>       |                                       int         long int
>       |                                      %ld
> readseq.c:999:42: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>   999 |                   else fprintf(foo," %d %d YF\n", i, seqlen);
>       |                                         ~^           ~~~~~~
>       |                                          |           |
>       |                                          int         long int
>       |                                         %ld
> readseq.c:1117:31: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1117 |     fprintf(foo,"\n %s  MSF: %d  Type: N  %s  Check: %d ..\n\n",      
>           /* GSt + RL */
>       |                              ~^
>       |                               |
>       |                               int
>       |                              %ld
>  1118 |                   cp, seqlen, timestr, checkall);
>       |                       ~~~~~~   
>       |                       |
>       |                       long int
> readseq.c:1117:55: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 6 has type ‘long unsigned int’ [-Wformat=]
>  1117 |     fprintf(foo,"\n %s  MSF: %d  Type: N  %s  Check: %d ..\n\n",      
>           /* GSt + RL */
>       |                                                      ~^
>       |                                                       |
>       |                                                       int
>       |                                                      %ld
>  1118 |                   cp, seqlen, timestr, checkall);
>       |                                        ~~~~~~~~        
>       |                                        |
>       |                                        long unsigned int
> readseq.c:1133:42: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1133 |     if (phylvers >= 4) fprintf(foo," %d %d\n", seqout, seqlen);
>       |                                         ~^             ~~~~~~
>       |                                          |             |
>       |                                          int           long int
>       |                                         %ld
> readseq.c:1134:28: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1134 |     else fprintf(foo," %d %d YF\n", seqout, seqlen);
>       |                           ~^                ~~~~~~
>       |                            |                |
>       |                            int              long int
>       |                           %ld
> readseq.c:1158:49: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1158 |         fprintf(foo," dimensions ntax=%d nchar=%d;\n", seqout, 
> seqlen);
>       |                                                ~^              ~~~~~~
>       |                                                 |              |
>       |                                                 int            long 
> int
>       |                                                %ld
> cc1: some warnings being treated as errors
> ureadseq.c: In function ‘seqFileFormatFp’:
> ureadseq.c:1535:19: warning: format ‘%d’ expects argument of type ‘int *’, 
> but argument 3 has type ‘long int *’ [-Wformat=]
>  1535 |     sscanf( sp, "%d%d", &nspp, &nlen);
>       |                  ~^     ~~~~~
>       |                   |     |
>       |                   int * long int *
>       |                  %ld
> ureadseq.c:1535:21: warning: format ‘%d’ expects argument of type ‘int *’, 
> but argument 4 has type ‘long int *’ [-Wformat=]
>  1535 |     sscanf( sp, "%d%d", &nspp, &nlen);
>       |                    ~^          ~~~~~
>       |                     |          |
>       |                     int *      long int *
>       |                    %ld
> ureadseq.c: In function ‘writeSeq’:
> ureadseq.c:1784:22: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘long int’ [-Wformat=]
>  1784 |   sprintf(numform, "%d", seqlen);
>       |                     ~^   ~~~~~~
>       |                      |   |
>       |                      int long int
>       |                     %ld
> ureadseq.c:1813:43: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1813 |       fprintf(outf,"LOCUS       %s       %d bp\n", idword, seqlen);
>       |                                          ~^                ~~~~~~
>       |                                           |                |
>       |                                           int              long int
>       |                                          %ld
> ureadseq.c:1814:38: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1814 |       fprintf(outf,"DEFINITION  %s, %d bases, %X checksum.\n", 
> seqname, seqlen, checksum);
>       |                                     ~^                                
>   ~~~~~~
>       |                                      |                                
>   |
>       |                                      int                              
>   long int
>       |                                     %ld
> ureadseq.c:1814:48: warning: format ‘%X’ expects argument of type ‘unsigned 
> int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
>  1814 |       fprintf(outf,"DEFINITION  %s, %d bases, %X checksum.\n", 
> seqname, seqlen, checksum);
>       |                                               ~^                      
>           ~~~~~~~~
>       |                                                |                      
>           |
>       |                                                unsigned int           
>           long unsigned int
>       |                                               %lX
> ureadseq.c:1828:42: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1828 |       fprintf(outf,"TITLE           %s, %d bases, %X checksum.\n", 
> seqname, seqlen, checksum);
>       |                                         ~^                            
>       ~~~~~~
>       |                                          |                            
>       |
>       |                                          int                          
>       long int
>       |                                         %ld
> ureadseq.c:1828:52: warning: format ‘%X’ expects argument of type ‘unsigned 
> int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
>  1828 |       fprintf(outf,"TITLE           %s, %d bases, %X checksum.\n", 
> seqname, seqlen, checksum);
>       |                                                   ~^                  
>               ~~~~~~~~
>       |                                                    |                  
>               |
>       |                                                    unsigned int       
>               long unsigned int
>       |                                                   %lX
> ureadseq.c:1838:53: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘long int’ [-Wformat=]
>  1838 |       for (j= 5; j<=width; j += 5) fprintf(outf,"%10d",j);
>       |                                                  ~~~^  ~
>       |                                                     |  |
>       |                                                     |  long int
>       |                                                     int
>       |                                                  %10ld
> ureadseq.c:1848:26: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1848 |       fprintf(outf,"%s, %d bases, %X checksum.\n", seqname, seqlen, 
> checksum);
>       |                         ~^                                  ~~~~~~
>       |                          |                                  |
>       |                          int                                long int
>       |                         %ld
> ureadseq.c:1848:36: warning: format ‘%X’ expects argument of type ‘unsigned 
> int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
>  1848 |       fprintf(outf,"%s, %d bases, %X checksum.\n", seqname, seqlen, 
> checksum);
>       |                                   ~^                                
> ~~~~~~~~
>       |                                    |                                |
>       |                                    unsigned int                     
> long unsigned int
>       |                                   %lX
> ureadseq.c:1857:31: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1857 |       fprintf(outf,"DE   %s, %d bases, %X checksum.\n", seqname, 
> seqlen, checksum);
>       |                              ~^                                  
> ~~~~~~
>       |                               |                                  |
>       |                               int                                long 
> int
>       |                              %ld
> ureadseq.c:1857:41: warning: format ‘%X’ expects argument of type ‘unsigned 
> int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
>  1857 |       fprintf(outf,"DE   %s, %d bases, %X checksum.\n", seqname, 
> seqlen, checksum);
>       |                                        ~^                             
>    ~~~~~~~~
>       |                                         |                             
>    |
>       |                                         unsigned int                  
>    long unsigned int
>       |                                        %lX
> ureadseq.c:1858:37: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘long int’ [-Wformat=]
>  1858 |       fprintf(outf,"SQ             %d BP\n", seqlen);
>       |                                    ~^        ~~~~~~
>       |                                     |        |
>       |                                     int      long int
>       |                                    %ld
> ureadseq.c:1869:38: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1869 |       fprintf(outf,"    %s  Length: %d  (today)  Check: %d  ..\n", 
> idword, seqlen, checksum);
>       |                                     ~^                                
>      ~~~~~~
>       |                                      |                                
>      |
>       |                                      int                              
>      long int
>       |                                     %ld
> ureadseq.c:1869:58: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 5 has type ‘long unsigned int’ [-Wformat=]
>  1869 |       fprintf(outf,"    %s  Length: %d  (today)  Check: %d  ..\n", 
> idword, seqlen, checksum);
>       |                                                         ~^            
>              ~~~~~~~~
>       |                                                          |            
>              |
>       |                                                          int          
>              long unsigned int
>       |                                                         %ld
> ureadseq.c:1878:42: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1878 |       fprintf(outf,"; DNA sequence  %s, %d bases, %X checksum.\n;\n", 
> seqname, seqlen, checksum);
>       |                                         ~^                            
>          ~~~~~~
>       |                                          |                            
>          |
>       |                                          int                          
>          long int
>       |                                         %ld
> ureadseq.c:1878:52: warning: format ‘%X’ expects argument of type ‘unsigned 
> int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
>  1878 |       fprintf(outf,"; DNA sequence  %s, %d bases, %X checksum.\n;\n", 
> seqname, seqlen, checksum);
>       |                                                   ~^                  
>                  ~~~~~~~~
>       |                                                    |                  
>                  |
>       |                                                    unsigned int       
>                  long unsigned int
>       |                                                   %lX
> ureadseq.c:1884:26: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1884 |       fprintf(outf,"%s, %d bases, %X checksum.\n", seqname, seqlen, 
> checksum);
>       |                         ~^                                  ~~~~~~
>       |                          |                                  |
>       |                          int                                long int
>       |                         %ld
> ureadseq.c:1884:36: warning: format ‘%X’ expects argument of type ‘unsigned 
> int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
>  1884 |       fprintf(outf,"%s, %d bases, %X checksum.\n", seqname, seqlen, 
> checksum);
>       |                                   ~^                                
> ~~~~~~~~
>       |                                    |                                |
>       |                                    unsigned int                     
> long unsigned int
>       |                                   %lX
> ureadseq.c:1915:53: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1915 |       fprintf(outf,"      repr raw, mol %s, length %d, topology 
> linear,\n", cp, seqlen);
>       |                                                    ~^                 
>           ~~~~~~
>       |                                                     |                 
>           |
>       |                                                     int               
>           long int
>       |                                                    %ld
> ureadseq.c:1937:41: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1937 |       fprintf(outf,"[Name: %-16s  Len:%6d  Check: %8X]\n", idword, 
> seqlen, checksum);
>       |                                       ~~^                          
> ~~~~~~
>       |                                         |                          |
>       |                                         int                        
> long int
>       |                                       %6ld
> ureadseq.c:1937:53: warning: format ‘%X’ expects argument of type ‘unsigned 
> int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
>  1937 |       fprintf(outf,"[Name: %-16s  Len:%6d  Check: %8X]\n", idword, 
> seqlen, checksum);
>       |                                                   ~~^                 
>      ~~~~~~~~
>       |                                                     |                 
>      |
>       |                                                     unsigned int      
>      long unsigned int
>       |                                                   %8lX
> ureadseq.c:1954:42: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1954 |         fprintf(outf,"Name: %-16s  Len:%6d  Check: %8X\n", idword, 
> seqlen, checksum);
>       |                                        ~~^                         
> ~~~~~~
>       |                                          |                         |
>       |                                          int                       
> long int
>       |                                        %6ld
> ureadseq.c:1954:54: warning: format ‘%X’ expects argument of type ‘unsigned 
> int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
>  1954 |         fprintf(outf,"Name: %-16s  Len:%6d  Check: %8X\n", idword, 
> seqlen, checksum);
>       |                                                    ~~^                
>      ~~~~~~~~
>       |                                                      |                
>      |
>       |                                                      unsigned int     
>      long unsigned int
>       |                                                    %8lX
> ureadseq.c:1960:40: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1960 |       fprintf(outf," Name: %-16s Len:%6d  Check: %5d  Weight:  
> 1.00\n",
>       |                                      ~~^
>       |                                        |
>       |                                        int
>       |                                      %6ld
>  1961 |                     idword, seqlen, checksum);
>       |                             ~~~~~~      
>       |                             |
>       |                             long int
> ureadseq.c:1960:52: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 5 has type ‘long unsigned int’ [-Wformat=]
>  1960 |       fprintf(outf," Name: %-16s Len:%6d  Check: %5d  Weight:  
> 1.00\n",
>       |                                                  ~~^
>       |                                                    |
>       |                                                    int
>       |                                                  %5ld
>  1961 |                     idword, seqlen, checksum);
>       |                                     ~~~~~~~~        
>       |                                     |
>       |                                     long unsigned int
> ureadseq.c:1972:27: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  1972 |       fprintf(outf,";%s, %d bases, %X checksum.\n", seqname, seqlen, 
> checksum);
>       |                          ~^                                  ~~~~~~
>       |                           |                                  |
>       |                           int                                long int
>       |                          %ld
> ureadseq.c:1972:37: warning: format ‘%X’ expects argument of type ‘unsigned 
> int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
>  1972 |       fprintf(outf,";%s, %d bases, %X checksum.\n", seqname, seqlen, 
> checksum);
>       |                                    ~^                                
> ~~~~~~~~
>       |                                     |                                |
>       |                                     unsigned int                     
> long unsigned int
>       |                                    %lX
> ureadseq.c:1979:25: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘long int’ [-Wformat=]
>  1979 |         fprintf(outf,"%4d %-60s\n",seqlen,seqname);
>       |                       ~~^          ~~~~~~
>       |                         |          |
>       |                         int        long int
>       |                       %4ld
> ureadseq.c:2002:27: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘long int’ [-Wformat=]
>  2002 |       fprintf(outf,">%s, %d bases, %X checksum.\n", seqname, seqlen, 
> checksum);
>       |                          ~^                                  ~~~~~~
>       |                           |                                  |
>       |                           int                                long int
>       |                          %ld
> ureadseq.c:2002:37: warning: format ‘%X’ expects argument of type ‘unsigned 
> int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
>  2002 |       fprintf(outf,">%s, %d bases, %X checksum.\n", seqname, seqlen, 
> checksum);
>       |                                    ~^                                
> ~~~~~~~~
>       |                                     |                                |
>       |                                     unsigned int                     
> long unsigned int
>       |                                    %lX
> ureadseq.c:2043:42: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘long int’ [-Wformat=]
>  2043 |         if (numline==1) fprintf(outf,"%-9d ",i+1);
>       |                                       ~~~^   ~~~
>       |                                          |    |
>       |                                          int  long int
>       |                                       %-9ld
> ureadseq.c: In function ‘readPAUPinterleaved’:
> ureadseq.c:213:22: warning: ‘%s’ directive writing up to 255 bytes into a 
> region of size between 246 and 251 [-Wformat-overflow=]
>   213 |   sprintf(si, " %d)  %s\n", V->nseq, s);
>       |                      ^~
> In function ‘addinfo’,
>     inlined from ‘readPAUPinterleaved’ at ureadseq.c:813:13:
> ureadseq.c:213:3: note: ‘sprintf’ output between 7 and 267 bytes into a 
> destination of size 256
>   213 |   sprintf(si, " %d)  %s\n", V->nseq, s);
>       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ureadseq.c: In function ‘writeSeq’:
> ureadseq.c:2007:45: warning: ‘%d’ directive writing between 1 and 6 bytes 
> into a region of size between 2 and 7 [-Wformat-overflow=]
>  2007 |   if (*nameform==0) sprintf(nameform, "%%%d.%ds 
> ",namewidth,namewidth);
>       |                                             ^~
> ureadseq.c:2007:39: note: directive argument in the range [-32768, 32767]
>  2007 |   if (*nameform==0) sprintf(nameform, "%%%d.%ds 
> ",namewidth,namewidth);
>       |                                       ^~~~~~~~~~~
> ureadseq.c:2007:21: note: ‘sprintf’ output between 7 and 17 bytes into a 
> destination of size 10
>  2007 |   if (*nameform==0) sprintf(nameform, "%%%d.%ds 
> ",namewidth,namewidth);
>       |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ureadasn.c: In function ‘listASNSeqs’:
> ureadasn.c:189:24: warning: passing argument 1 of ‘AsnIoOpen’ discards 
> ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>   189 |   if ((aip = AsnIoOpen(filename, inIsBinary?"rb":"r")) == NULL) goto 
> errxit;
>       |                        ^~~~~~~~
> In file included from /usr/include/ncbi/ncbi.h:57,
>                  from ureadasn.c:13:
> /usr/include/ncbi/asn.h:384:54: note: expected ‘Nlm_CharPtr’ {aka ‘char *’} 
> but argument is of type ‘const char *’
>   384 | NLM_EXTERN AsnIoPtr LIBCALL AsnIoOpen PROTO((CharPtr file_name, 
> CharPtr mode));
> /usr/include/ncbi/ncbilcl.h:192:18: note: in definition of macro ‘PROTO’
>   192 | #define PROTO(x) x      /* Prototypes are acceptable */
>       |                  ^
> ureadasn.c: In function ‘readASNSeq’:
> ureadasn.c:261:24: warning: passing argument 1 of ‘AsnIoOpen’ discards 
> ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>   261 |   if ((aip = AsnIoOpen(filename, inIsBinary?"rb":"r")) == NULL) goto 
> errxit;
>       |                        ^~~~~~~~
> /usr/include/ncbi/asn.h:384:54: note: expected ‘Nlm_CharPtr’ {aka ‘char *’} 
> but argument is of type ‘const char *’
>   384 | NLM_EXTERN AsnIoPtr LIBCALL AsnIoOpen PROTO((CharPtr file_name, 
> CharPtr mode));
> /usr/include/ncbi/ncbilcl.h:192:18: note: in definition of macro ‘PROTO’
>   192 | #define PROTO(x) x      /* Prototypes are acceptable */
>       |                  ^
> ureadasn.c:262:31: warning: ‘fgets’ writing 255 bytes into a region of size 
> 200 overflows the destination [-Wstringop-overflow=]
>   262 |   for (i=0; i<skiplines; i++) fgets( stemp, 255, aip->fp);  /* this 
> may mess up asn routines... */
>       |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> ureadasn.c:241:15: note: destination object ‘stemp’ of size 200
>   241 |   char  *seq, stemp[200];
>       |               ^~~~~
> In file included from ureadasn.c:8:
> /usr/include/stdio.h:592:14: note: in a call to function ‘fgets’ declared 
> with attribute ‘access (write_only, 1, 2)’
>   592 | extern char *fgets (char *__restrict __s, int __n, FILE *__restrict 
> __stream)
>       |              ^~~~~
> make[1]: *** [Makefile:51: build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/readseq_1-14_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&[email protected]&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 ---
Source: readseq
Source-Version: 1-15
Done: Étienne Mollier <[email protected]>

We believe that the bug you reported is fixed in the latest version of
readseq, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Étienne Mollier <[email protected]> (supplier of updated readseq package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 14 Mar 2024 22:07:41 +0100
Source: readseq
Architecture: source
Version: 1-15
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<[email protected]>
Changed-By: Étienne Mollier <[email protected]>
Closes: 1066478
Changes:
 readseq (1-15) unstable; urgency=medium
 .
   * Team upload.
   * fix-gets.patch: new: replace gets by fgets. (Closes: #1066478)
   * Remove unnecessary get-orig-source-target.
   * Update standards version to 4.6.2, no changes needed.
Checksums-Sha1:
 07b539060f63e150d32b5fad868e6a527001d4cc 2069 readseq_1-15.dsc
 05bd01a71c6861ae69ab5ac0a1d50d05da31b4e6 18120 readseq_1-15.debian.tar.xz
Checksums-Sha256:
 50b84b5d85e13e59426b98837eb941593644883330b032b3b592d079b196e8d7 2069 
readseq_1-15.dsc
 bef33c029eb0de6a7ea7d4844a2c8dee0acdc3562b8d74b830d84a73d3156226 18120 
readseq_1-15.debian.tar.xz
Files:
 65c160f3e4092fed640924fbed6b6398 2069 science optional readseq_1-15.dsc
 d9f89d7ecb8cfc662de77713a983685b 18120 science optional 
readseq_1-15.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmXzav0UHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdpL8g/+K/ayV9lB5CIDaDOogGiU8eM1sLo/
2qd7BHoN4rw4GUPga0rtc6YiWqS0dMenC1V1JEWhv6SYZ/+whnDx/x7XOLLYAz0D
xJ9Il+zlJbQZpAphyH8NIUJS2H1P3MyGMgSrRZEi2v1xPINYM5jGW0px0CM7hxfu
m22dVaSSLYsIOSZcKD0Dr2OkjeUFm37cgepT+I1cEw6+wwysin6eeMK5N3gQigtF
BsJ3c/RBV9rMvhAOZymPsQt/+AGCh4D/VUCPSlSHhz4kVODquWdO6G/NsoyDsnQo
imFyQJBKHRBJfS5m2ulajtWFZP+QvfW6SXQNsGMq++EufGZRW50KyhKgd8IszV4H
GakWzBgnq1r9rrn3VoXXiYN0yIjILwODQEPAKZie0LYaVuxXh8qp8SRicFiAKb32
g5we1JrD7UmQ3BYP+Z8P0FT1VkG12J4TkgY67qSniQwE/Ngv0ciw3j9iUTXzw3V5
6bUKhnFn4zYVI2oDI6+ILT/177GgAGLyGfliLNBfUDBlfsj9cRkym+6iYuhszgih
ZMX7aUP0brnQFrRhJ4klJrGmG9rv6Wfum8pzG0Is0W3QT0IkkBGDpWOFdhxtQ3lE
dU0+wvf26YWY657XEtUJVfc17bJW/RMoG/BhYOYhwXo50noOTvBWNFu2yoVCEZnk
Gz4k2ZrZeu2uVJI=
=CDTS
-----END PGP SIGNATURE-----

Attachment: pgp8xLD6TLUTd.pgp
Description: PGP signature


--- End Message ---

Reply via email to