Your message dated Thu, 21 Mar 2024 09:23:15 +0000
with message-id <[email protected]>
and subject line Bug#1066697: fixed in pmars 0.9.4-1
has caused the Debian Bug report #1066697,
regarding pmars: FTBFS: xwindisp.c:1284:9: error: implicit declaration of 
function ‘sighandler’; did you mean ‘sa_handler’? 
[-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.)


-- 
1066697: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066697
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pmars
Version: 0.9.2-1
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):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> Making pmars with compiler flags -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O 
> -DEXT94 -DXWINGRAPHX -DPERMUTATE
> Compiling pmars.o
> Compiling asm.o
> Compiling eval.o
> Compiling disasm.o
> Compiling cdb.o
> Compiling sim.o
> Compiling pos.o
> Compiling clparse.o
> In file included from disasm.c:26:
> sim.h:92:12: warning: built-in function ‘round’ declared as non-function 
> [-Wbuiltin-declaration-mismatch]
>    92 | extern int round;
>       |            ^~~~~
> In file included from cdb.c:30:
> sim.h:92:12: warning: built-in function ‘round’ declared as non-function 
> [-Wbuiltin-declaration-mismatch]
>    92 | extern int round;
>       |            ^~~~~
> In file included from pos.c:24:
> sim.h:92:12: warning: built-in function ‘round’ declared as non-function 
> [-Wbuiltin-declaration-mismatch]
>    92 | extern int round;
>       |            ^~~~~
> In file included from sim.c:29:
> sim.h:92:12: warning: built-in function ‘round’ declared as non-function 
> [-Wbuiltin-declaration-mismatch]
>    92 | extern int round;
>       |            ^~~~~
> cdb.c: In function ‘subst_eval’:
> cdb.c:1550:23: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘long int’ [-Wformat=]
>  1550 |       sprintf(outs, "%d", (targetID == QUEUE || targetID == PSP ?
>       |                      ~^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                       |
>       |                       int
>       |                      %ld
>  1551 |                            0 : (targetID == WARRIOR ?
>       |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                              |
>       |                              long int
>  1552 |                                 W - warrior : progCnt)));
>       |                                 ~~~~~~~~~~~~~~~~~~~~~~~
> cdb.c:1558:21: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘long int’ [-Wformat=]
>  1558 |     sprintf(outs, "%d", (targetID == QUEUE || targetID == PSP ?
>       |                    ~^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                     |
>       |                     int
>       |                    %ld
>  1559 |                          0 : (targetID == WARRIOR ?
>       |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                            |
>       |                            long int
>  1560 |                               W - warrior : progCnt)));
>       |                               ~~~~~~~~~~~~~~~~~~~~~~~
> cdb.c:1563:21: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘long int’ [-Wformat=]
>  1563 |     sprintf(outs, "%d", (cycle + (warriorsLeft ? warriorsLeft : 1) - 
> 1) /
>       |                    ~^   
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                     |                                                 
>   |
>       |                     int                                               
>   long int
>       |                    %ld
>  1564 |             (warriorsLeft ? warriorsLeft : 1));
>       |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> clparse.c: In function ‘next_input’:
> clparse.c:227:5: warning: ignoring return value of ‘fscanf’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   227 |     fscanf(filep, "%s", inputs);
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> clparse.c:234:9: warning: ignoring return value of ‘fscanf’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   234 |         fscanf(filep, "%[^\"]%*[\"]", inputs + i);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> clparse.c:237:7: warning: ignoring return value of ‘fgets’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   237 |       fgets(inputs, 100, filep);
>       |       ^~~~~~~~~~~~~~~~~~~~~~~~~
> clparse.c:239:7: warning: ignoring return value of ‘fscanf’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   239 |       fscanf(filep, "%s", inputs);
>       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> Compiling global.o
> Compiling token.o
> In file included from sim.c:92:
> xwindisp.c: In function ‘xWin_display_cycle’:
> xwindisp.c:1284:9: error: implicit declaration of function ‘sighandler’; did 
> you mean ‘sa_handler’? [-Werror=implicit-function-declaration]
>  1284 |         sighandler(0);                /* ??? debugState = STEP; *//* 
> stepping =
>       |         ^~~~~~~~~~
>       |         sa_handler
> Compiling str_eng.o
> asm.c: In function ‘errprn’:
> asm.c:895:28: warning: ‘%s’ directive writing up to 255 bytes into a region 
> of size 248 [-Wformat-overflow=]
>   895 |     sprintf(outs, "        %s\n", abuf);
>       |                            ^~     ~~~~
> In file included from /usr/include/stdio.h:906,
>                  from asm.c:41:
> In function ‘sprintf’,
>     inlined from ‘errprn’ at asm.c:895:5:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 10 and 265 bytes into a destination 
> of size 256
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> asm.c: In function ‘errprn’:
> asm.c:866:32: warning: ‘%s’ directive writing up to 255 bytes into a region 
> of size 248 [-Wformat-overflow=]
>   866 |         sprintf(outs, "        %s\n", abuf);
>       |                                ^~     ~~~~
> In function ‘sprintf’,
>     inlined from ‘errprn’ at asm.c:866:9:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 10 and 265 bytes into a destination 
> of size 256
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> cdb.c: In function ‘load_macros’:
> cdb.c:2234:47: warning: ‘%s’ directive writing up to 255 bytes into a region 
> of size 244 [-Wformat-overflow=]
>  2234 |         sprintf(buffer1 + j + 1, " echo Macro %s is too long (>= %d 
> chars)~reset",
>       |                                               ^~
>  2235 |                 buffer1, MAXSTR);
>       |                 ~~~~~~~                        
> In file included from /usr/include/stdio.h:906,
>                  from global.h:29,
>                  from cdb.c:29:
> In function ‘sprintf’,
>     inlined from ‘load_macros’ at cdb.c:2234:9:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 46 and 301 bytes into a destination 
> of size 256
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[2]: *** [Makefile:57: sim.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/pmars_0.9.2-1_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: pmars
Source-Version: 0.9.4-1
Done: Andrius Merkys <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pmars, 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.
Andrius Merkys <[email protected]> (supplier of updated pmars 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, 21 Mar 2024 05:07:26 -0400
Source: pmars
Architecture: source
Version: 0.9.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Andrius Merkys <[email protected]>
Closes: 1066697
Changes:
 pmars (0.9.4-1) unstable; urgency=medium
 .
   * New upstream version 0.9.4
   * Watch upstream website for new releases.
   * Enable verbose builds.
   * Fix FTBFS due to implicit sighandler definition (Closes: #1066697)
   * Refresh debian/copyright.
Checksums-Sha1:
 3e817c2236741207d710fe19c78b117dcd3e9869 1891 pmars_0.9.4-1.dsc
 5a226c9a96d44091ddb49932750a6db6f26a4ed8 136288 pmars_0.9.4.orig.tar.xz
 1f48cde2bdeade6d50f22e35b89b931b7366db91 4100 pmars_0.9.4-1.debian.tar.xz
 9592ff988fb3d5fb45d77d76669311498164d921 6945 pmars_0.9.4-1_source.buildinfo
Checksums-Sha256:
 086f191d145a98d7bce648dcba5bed17a429d110c4a5c7ea6724bd6e3e65d5f2 1891 
pmars_0.9.4-1.dsc
 d0467d602c37af6e887ac81f4cbb812d090224411196d3401023843630fdd00d 136288 
pmars_0.9.4.orig.tar.xz
 ca468a97c0fd603e59e0e7c48ef7c9f24a8ac66b5d8c6d5061c4567ccedabfe1 4100 
pmars_0.9.4-1.debian.tar.xz
 0bd2ac40e53e64947b36ba0017dcc26c4683e1f35b883efd2cc346c7c955cf2c 6945 
pmars_0.9.4-1_source.buildinfo
Files:
 7419750a360126444722c1f4ee12610f 1891 games optional pmars_0.9.4-1.dsc
 e69c3f00afc8db23e69ea36dff9f4cb5 136288 games optional pmars_0.9.4.orig.tar.xz
 c15ea530702bb1f7e6907b748db7e693 4100 games optional 
pmars_0.9.4-1.debian.tar.xz
 3f12b06c1584b2c6ab34ce644d525942 6945 games optional 
pmars_0.9.4-1_source.buildinfo

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

iQJGBAEBCgAwFiEEdyKS9veshfrgQdQe5fQ/nCc08ocFAmX7+S8SHG1lcmt5c0Bk
ZWJpYW4ub3JnAAoJEOX0P5wnNPKHZtkQAJ/htlAkAs4hRw3bawD0u7gEEcBWEUGN
OQ/wFF16PLFb2LOD4jhC+yM9kjAPvQduD30z80FD4TNTe4wIKCCuM6/1kwmKkILk
z9+l87RMtQfcXaTlLp6P//In+JtPG/lrFMcStMQ/CraZo50pzcYzkUSqpxoT/RVk
F0r21Wd/DO7s7ZME+xsiOHzoF11KeFwqnOAtE1F1/ms5jTldLl9O2pO2zUM3xpCF
xzMaFeLN8M4Eoj0XKcYqOb2aQOn7Aq1UAGyUd7oVzmgu1aKktUSO1TKRN7y166f3
xfDfkDa/NVa9tWLzECnrC8pLWuolIa07nEWeBQW3XszT7oGb9gRTiY4UN6EV7xwH
drBNPPoU9RLnkEOUlWFrqB4zVpiTRNouMH2Zg9Lr1+lIeS5zKpWg+L3X6AH5wqPJ
PI66QeCqS9P2mriut967VJn0tUFCQkZ7Vtdm0lE2r/FJl9m5a7comknGRuOQW1YD
eCky96jKKFXQjz32hay6mX+hA72QyC1oVU6ymd2cXfMsV3yNu9QRMwUCmmTcwefS
2xwsror82AlaxF+xClDmrO3aT4HCqlJlVVlA9MOtMZJhlcShi0UAowmIcbP652U6
F1tdsA/8RqqKkN6Q0D/vg2nIJMF7bhr3UFcPioip4hY9a1iarRa2H9KyXwC242ej
zh47znDDdeOS
=Z3MS
-----END PGP SIGNATURE-----

Attachment: pgplbkZGde9Qr.pgp
Description: PGP signature


--- End Message ---

Reply via email to