[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1066368: marked as done (filter: FTBFS: actions.c:255:21: error: implicit declaration of function ‘wait’ [-Werror=implicit-function-declaration])



Your message dated Mon, 15 Apr 2024 08:49:14 +0000
with message-id <E1rwI1a-003QG4-KI@fasolo.debian.org>
and subject line Bug#1066368: fixed in filter 2.6.3+ds1-4
has caused the Debian Bug report #1066368,
regarding filter: FTBFS: actions.c:255:21: error: implicit declaration of function ‘wait’ [-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 owner@bugs.debian.org
immediately.)


-- 
1066368: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066368
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: filter
Version: 2.6.3+ds1-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c -o actions.o actions.c
> actions.c:200:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   200 | mail_message(address, fptr,resendflag)
>       | ^~~~~~~~~~~~
> actions.c: In function ‘mail_message’:
> actions.c:255:21: error: implicit declaration of function ‘wait’ [-Werror=implicit-function-declaration]
>   255 |                     wait(&statusp);
>       |                     ^~~~
> actions.c:292:14: error: implicit declaration of function ‘lock’; did you mean ‘lockf’? [-Werror=implicit-function-declaration]
>   292 |         if (!lock()) {
>       |              ^~~~
>       |              lockf
> actions.c:336:9: error: implicit declaration of function ‘unlock’; did you mean ‘unlink’? [-Werror=implicit-function-declaration]
>   336 |         unlock();               /* blamo or not?  Let it decide! */
>       |         ^~~~~~
>       |         unlink
> actions.c: In function ‘save_message’:
> actions.c:393:27: error: implicit declaration of function ‘save_to_folder’ [-Werror=implicit-function-declaration]
>   393 |                     ret = save_to_folder(foldername,tmpfptr);
>       |                           ^~~~~~~~~~~~~~
> actions.c: In function ‘mail_message’:
> actions.c:269:21: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   269 |                     setuid(user_uid);
>       |                     ^~~~~~~~~~~~~~~~
> actions.c:270:21: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   270 |                     setgid(user_gid);
>       |                     ^~~~~~~~~~~~~~~~
> actions.c: In function ‘execute’:
> actions.c:544:17: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   544 |                 setgid(user_gid);
>       |                 ^~~~~~~~~~~~~~~~
> actions.c:545:17: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   545 |                 setuid(user_uid);
>       |                 ^~~~~~~~~~~~~~~~
> actions.c:549:17: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   549 |                 dup(tmpfd);
>       |                 ^~~~~~~~~~
> cc1: some warnings being treated as errors
> make[1]: *** [<builtin>: actions.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/filter_2.6.3+ds1-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@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.

--- End Message ---
--- Begin Message ---
Source: filter
Source-Version: 2.6.3+ds1-4
Done: Andreas Beckmann <anbe@debian.org>

We believe that the bug you reported is fixed in the latest version of
filter, 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 1066368@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated filter 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 15 Apr 2024 10:18:17 +0200
Source: filter
Architecture: source
Version: 2.6.3+ds1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 1044588 1066368
Changes:
 filter (2.6.3+ds1-4) unstable; urgency=medium
 .
   * QA upload.
   * Migrate GIT repository from alioth to salsa.
   * Fix building with -Werror=implicit-function-declaration.
     (Closes: #1066368)
   * Fix building with -Werror=format-security.
   * Declare Rules-Requires-Root: binary-targets.
   * Fix building twice in a row.  (Closes: #1044588)
Checksums-Sha1:
 e5b4e6998b1aafdf0ed59fc451662d7399d8112e 1852 filter_2.6.3+ds1-4.dsc
 ade1bf6f387160ed147015208990224558c739ef 11904 filter_2.6.3+ds1-4.debian.tar.xz
 b7d24da3eb1bd2b8482b38f188361fbce2c12df3 5639 filter_2.6.3+ds1-4_source.buildinfo
Checksums-Sha256:
 38c9cf0e28418e4cccce40b5dff81e12d276c06377121aa62d5358820b312e89 1852 filter_2.6.3+ds1-4.dsc
 b98424d3398e874c9d869b49cc56d68fb232550ea9fb882ccadec34aa56afb03 11904 filter_2.6.3+ds1-4.debian.tar.xz
 8b1d6faa98b26ec351c83c042af3c8d0222e57cb9acb3c7af79466d36dc0bfdc 5639 filter_2.6.3+ds1-4_source.buildinfo
Files:
 dc0e9e9ca1782e9148dc8f8872e6b773 1852 mail optional filter_2.6.3+ds1-4.dsc
 cb131e2f6b592923ddbb9230cb3748b2 11904 mail optional filter_2.6.3+ds1-4.debian.tar.xz
 8ba89160c94e0ec404e304a68e349e7a 5639 mail optional filter_2.6.3+ds1-4_source.buildinfo

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

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmYc5MYQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCAdBD/4vbuI2ubbQPgGeYPUbRHd9yzEHl6ycWwIE
ttx2b4mCpeZBtyFAAeIixCrnBtn0BQW+50Xs1RtUb65oB3ojEfQ5ShPH2M7AOLbU
aSSWNZxSFs8/FfGy+t4inw3ZXX3/VnPGf1l46EYg5W/2ZFdxEtGsaMKCig7vNSNU
H1aS07eVIGPsUBL/t1k3CuuA8eVc32EB4r8RxLFpT+b+b8Agd0cx17XSLusE3QmY
DslEA16MEwgOLxcEiDNBw9Fixx16HA/3GN/6kZHzf8XJH4N/+7ZUaDauFxZDd8RI
zg5cyGheWrivphuW7T3HcxMaHxDvPfHLnYCu2ZVb2MvuEIKnRaos74WGblrk/LrX
X179UGSp2PvbG/hELZHwOoV3VualRnCjJzgVO9XlWXPdLbe4G1jY2AYAXEwP3Ax4
ZjpBKfkdo4zuFMmuLPjD4L1U/fwPvZIb4mCYHcrD3FAf32kSmf+UhHPRvvjkx5E1
MoFrVWqEUuWWlvbuavkWTkBVBFV627zOr/uIVuQsVc9shECQ5v/Pt8WsFd/Fpjcc
DvyzN6KFK4O+fu+omcR0IiJ0JosVW7yT9fiVGyzyIVu5mQ6xzXyq7W/5njlkH0vH
8jTnPLYP1QZW2TVDZBOOG1Mk8ubQYLbLW6f/Iqj0FjYhP79ajjyFTiw04Zw0huuQ
gyFBY/gEiw==
=qzbW
-----END PGP SIGNATURE-----

Attachment: pgpK0luPCsOh7.pgp
Description: PGP signature


--- End Message ---

Reply to: