Your message dated Sat, 18 Jan 2025 12:07:40 +0000
with message-id <[email protected]>
and subject line Bug#1066666: fixed in postmark 1.53-2.2
has caused the Debian Bug report #1066666,
regarding postmark: FTBFS: postmark-1.53.c:622:7: error: implicit declaration 
of function ‘write’; did you mean ‘fwrite’? 
[-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.)


-- 
1066666: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066666
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: postmark
Version: 1.53-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):
> gcc -O2 -g -Wall -pipe -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> postmark-1.53.c  -o postmark 
> postmark-1.53.c:113:20: warning: missing braces around initializer 
> [-Wmissing-braces]
>   113 | cmd command_list[]={ /* table of CLI commands */
>       |                    ^
> postmark-1.53.c: In function ‘parse_weight’:
> postmark-1.53.c:287:8: warning: suggest parentheses around assignment used as 
> truth value [-Wparentheses]
>   287 |    if (split=strrchr(params,' '))
>       |        ^~~~~
> postmark-1.53.c: In function ‘add_location’:
> postmark-1.53.c:306:8: warning: suggest parentheses around assignment used as 
> truth value [-Wparentheses]
>   306 |    if (new_file_system=(file_system *)calloc(1,sizeof(file_system)))
>       |        ^~~~~~~~~~~~~~~
> postmark-1.53.c: In function ‘verbose_report’:
> postmark-1.53.c:535:19: warning: format ‘%d’ expects argument of type ‘int’, 
> but argument 3 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
>   535 |    fprintf(fp,"\t%d seconds total\n",elapsed);
>       |                  ~^                  ~~~~~~~
>       |                   |                  |
>       |                   int                time_t {aka long int}
>       |                  %ld
> postmark-1.53.c:536:19: warning: format ‘%d’ expects argument of type ‘int’, 
> but argument 3 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
>   536 |    fprintf(fp,"\t%d seconds of transactions (%d per 
> second)\n",t_elapsed,
>       |                  ~^                                            
> ~~~~~~~~~
>       |                   |                                            |
>       |                   int                                          time_t 
> {aka long int}
>       |                  %ld
> postmark-1.53.c:536:47: warning: format ‘%d’ expects argument of type ‘int’, 
> but argument 4 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
>   536 |    fprintf(fp,"\t%d seconds of transactions (%d per 
> second)\n",t_elapsed,
>       |                                              ~^
>       |                                               |
>       |                                               int
>       |                                              %ld
>   537 |       transactions/t_elapsed);
>       |       ~~~~~~~~~~~~~~~~~~~~~~                   
>       |                   |
>       |                   time_t {aka long int}
> postmark-1.53.c:540:31: warning: format ‘%d’ expects argument of type ‘int’, 
> but argument 4 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
>   540 |    fprintf(fp,"\t%d created (%d per second)\n",files_created,
>       |                              ~^
>       |                               |
>       |                               int
>       |                              %ld
>   541 |       files_created/elapsed);
>       |       ~~~~~~~~~~~~~~~~~~~~~    
>       |                    |
>       |                    time_t {aka long int}
> postmark-1.53.c:546:56: warning: format ‘%d’ expects argument of type ‘int’, 
> but argument 4 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
>   546 |    fprintf(fp,"\t\tMixed with transactions: %d files (%d per 
> second)\n",
>       |                                                       ~^
>       |                                                        |
>       |                                                        int
>       |                                                       %ld
>   547 |       
> files_created-simultaneous,(files_created-simultaneous)/t_elapsed);
>       |                                  
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                                              |
>       |                                                              time_t 
> {aka long int}
> postmark-1.53.c:548:28: warning: format ‘%d’ expects argument of type ‘int’, 
> but argument 4 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
>   548 |    fprintf(fp,"\t%d read (%d per 
> second)\n",files_read,files_read/t_elapsed);
>       |                           ~^                           
> ~~~~~~~~~~~~~~~~~~~~
>       |                            |                                     |
>       |                            int                                   
> time_t {aka long int}
>       |                           %ld
> postmark-1.53.c:549:32: warning: format ‘%d’ expects argument of type ‘int’, 
> but argument 4 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
>   549 |    fprintf(fp,"\t%d appended (%d per second)\n",files_appended,
>       |                               ~^
>       |                                |
>       |                                int
>       |                               %ld
>   550 |       files_appended/t_elapsed);
>       |       ~~~~~~~~~~~~~~~~~~~~~~~~  
>       |                     |
>       |                     time_t {aka long int}
> postmark-1.53.c:551:31: warning: format ‘%d’ expects argument of type ‘int’, 
> but argument 4 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
>   551 |    fprintf(fp,"\t%d deleted (%d per second)\n",files_deleted,
>       |                              ~^
>       |                               |
>       |                               int
>       |                              %ld
>   552 |       files_deleted/elapsed);
>       |       ~~~~~~~~~~~~~~~~~~~~~    
>       |                    |
>       |                    time_t {aka long int}
> postmark-1.53.c:557:56: warning: format ‘%d’ expects argument of type ‘int’, 
> but argument 4 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
>   557 |    fprintf(fp,"\t\tMixed with transactions: %d files (%d per 
> second)\n",
>       |                                                       ~^
>       |                                                        |
>       |                                                        int
>       |                                                       %ld
>   558 |       files_deleted-deleted,(files_deleted-deleted)/t_elapsed);
>       |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                                    |
>       |                                                    time_t {aka long 
> int}
> postmark-1.53.c: In function ‘terse_report’:
> postmark-1.53.c:577:17: warning: format ‘%d’ expects argument of type ‘int’, 
> but argument 3 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
>   577 |    fprintf(fp,"%d %d %.2f ", elapsed, t_elapsed,
>       |                ~^            ~~~~~~~
>       |                 |            |
>       |                 int          time_t {aka long int}
>       |                %ld
> postmark-1.53.c:577:20: warning: format ‘%d’ expects argument of type ‘int’, 
> but argument 4 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
>   577 |    fprintf(fp,"%d %d %.2f ", elapsed, t_elapsed,
>       |                   ~^                  ~~~~~~~~~
>       |                    |                  |
>       |                    int                time_t {aka long int}
>       |                   %ld
> postmark-1.53.c: In function ‘write_blocks’:
> postmark-1.53.c:622:7: error: implicit declaration of function ‘write’; did 
> you mean ‘fwrite’? [-Werror=implicit-function-declaration]
>   622 |       write(fd,file_source+offset,write_block_size);
>       |       ^~~~~
>       |       fwrite
> postmark-1.53.c:628:4: error: implicit declaration of function ‘close’; did 
> you mean ‘pclose’? [-Werror=implicit-function-declaration]
>   628 |    close(fd);
>       |    ^~~~~
>       |    pclose
> postmark-1.53.c: In function ‘create_file_name’:
> postmark-1.53.c:666:29: warning: format ‘%d’ expects argument of type ‘int’, 
> but argument 3 has type ‘long unsigned int’ [-Wformat=]
>   666 |       sprintf(conversion,"s%d%s",RND(subdirectories),SEPARATOR);
>       |                            ~^
>       |                             |
>       |                             int
>       |                            %ld
> postmark-1.53.c: In function ‘read_file’:
> postmark-1.53.c:751:13: error: implicit declaration of function ‘read’; did 
> you mean ‘fread’? [-Werror=implicit-function-declaration]
>   751 |             read(fd,read_buffer,read_block_size);
>       |             ^~~~
>       |             fread
> postmark-1.53.c: In function ‘create_subdirectories’:
> postmark-1.53.c:76:18: error: implicit declaration of function ‘mkdir’ 
> [-Werror=implicit-function-declaration]
>    76 | #define MKDIR(x) mkdir(x,0700)
>       |                  ^~~~~
> postmark-1.53.c:911:10: note: in expansion of macro ‘MKDIR’
>   911 |          MKDIR(dir_name);
>       |          ^~~~~
> postmark-1.53.c: In function ‘delete_subdirectories’:
> postmark-1.53.c:940:10: error: implicit declaration of function ‘rmdir’ 
> [-Werror=implicit-function-declaration]
>   940 |          rmdir(dir_name);
>       |          ^~~~~
> postmark-1.53.c: In function ‘cli_load’:
> postmark-1.53.c:1056:7: error: implicit declaration of function 
> ‘read_config_file’ [-Werror=implicit-function-declaration]
>  1056 |       read_config_file(param,buffer,0);
>       |       ^~~~~~~~~~~~~~~~
> postmark-1.53.c: In function ‘cli_read_line’:
> postmark-1.53.c:1154:8: warning: suggest parentheses around assignment used 
> as truth value [-Wparentheses]
>  1154 |    if (result=fgets(buffer,size,stdin)) /* read line safely */
>       |        ^~~~~~
> postmark-1.53.c: In function ‘read_config_file’:
> postmark-1.53.c:1204:8: warning: suggest parentheses around assignment used 
> as truth value [-Wparentheses]
>  1204 |    if (fp=fopen(filename,"r")) /* open config file */
>       |        ^~
> postmark-1.53.c: At top level:
> postmark-1.53.c:1224:1: warning: return type defaults to ‘int’ 
> [-Wimplicit-int]
>  1224 | main(argc,argv)
>       | ^~~~
> cc1: some warnings being treated as errors
> make[1]: *** [Makefile:11: postmark] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/postmark_1.53-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: postmark
Source-Version: 1.53-2.2
Done: наб <[email protected]>

We believe that the bug you reported is fixed in the latest version of
postmark, 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.
наб <[email protected]> (supplier of updated postmark 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: Fri, 17 Jan 2025 17:51:23 +0100
Source: postmark
Architecture: source
Version: 1.53-2.2
Distribution: unstable
Urgency: medium
Maintainer: Noël Köthe <[email protected]>
Changed-By: наб <[email protected]>
Closes: 1066666
Changes:
 postmark (1.53-2.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * d/p/: Closes: #1066666
     + 0002: fix -Wformat
     + 0003: add and include prototypes to fix GCC 14
Checksums-Sha1:
 2420636a791d5e9bf95531fae76f876c1e622598 1658 postmark_1.53-2.2.dsc
 50a68b838bac1566934982b145130581523c806b 6416 postmark_1.53-2.2.debian.tar.xz
 17e356ac9870d77faa311ebfd1bfc1ebc154a95d 6365 
postmark_1.53-2.2_source.buildinfo
Checksums-Sha256:
 c5312e1c8fce2ec34140aab19d87ef93946ba21831b80079bb5a860d7e4851d6 1658 
postmark_1.53-2.2.dsc
 9f5b750361646f18bcf1b04f8de5342d3591f7f91da29e416fca303822434b61 6416 
postmark_1.53-2.2.debian.tar.xz
 aafd6aff4f9370ae13b26ef012526861e2d6106ff0d78aca705d6d196f3f4698 6365 
postmark_1.53-2.2_source.buildinfo
Files:
 0f83cb6c696964365377dc8a7cea336f 1658 utils extra postmark_1.53-2.2.dsc
 13c40ec5d9b319d4b4404268f48abd5c 6416 utils extra 
postmark_1.53-2.2.debian.tar.xz
 80b847dd77749685d9529cd30bb876b5 6365 utils extra 
postmark_1.53-2.2_source.buildinfo

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

iQIzBAEBCgAdFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmeLkPcACgkQMfMURUSh
dBrPKQ//af66QD0tHOGPHlM3S8gUGkBgq9CPElpfuzuTEot1/+jtqrvxQzDeDAM/
lLLSCNhykT5DzX/Lkt5KrCfzjb18Ryf4L4jE4GdxIqc+zko3cNrMD6Py9tkIrR7P
39gcdhfBzTFpm6akEiGLCUO0RUfvLFd7p0COr59QfmcPRnFUAnbW+sqEp4XZNG2U
RKCZpthoN3oWTWGvZXrnGhdrNBe2VouOM76LJH8fWvoxHIacW5sYWpRS68hZ1A/o
a6DX2wzvUR4ft/y5j2nd7qk5x+vKEUbXKc3/7ZMIQNtvB02rx3+jQUVFlItAsQQj
FkFr1TXaLFBneNz7UJny/Zae7bCfcJSQ8yKg+tY7coxBp0Eslxl7tDMv/TEmcBt8
+WvftESgwk3TmJeGiP6QPFoPDlYVdNKLGdC2yOezls21GisDkx4nRRJCTiYwiZnt
OAEmBvlS1+szjb/3QHFDMY8WI2iTLBU+bHCcIV7B8gjXM31F2sb+GO3vSNvZQVIX
p027gqeOz6VLm7Mg3y7m3owqlIQ2TPga93EmGW8I5JKdIl4K9joKPABadKAZCQC+
n1AkiBDQ+u+C7FI/dLnvmUq6QsmhwaCi8EkCuQ8tYIeCntaYjaPfX5WJjCHNIg4S
71wXKrIgubhtxmnA4gVymL6/mn9LfJ5n4osC0+/MIwngeo2XR6E=
=cfbV
-----END PGP SIGNATURE-----

Attachment: pgpfM9tJE_R8J.pgp
Description: PGP signature


--- End Message ---

Reply via email to