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

Bug#1097398: milter-greylist: ftbfs with GCC-15



Package: src:milter-greylist
Version: 4.6.4-3
Severity: important
Tags: sid forky
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/milter-greylist_4.6.4-3_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html

[...]
milter-greylist.c: In function ‘smtp_reply_free’:
milter-greylist.c:2534:1: warning: old-style function definition [-Wold-style-definition]
 2534 | smtp_reply_free(sr)
      | ^~~~~~~~~~~~~~~
milter-greylist.c: In function ‘reset_acl_values’:
milter-greylist.c:2563:1: warning: old-style function definition [-Wold-style-definition]
 2563 | reset_acl_values(priv)
      | ^~~~~~~~~~~~~~~~
milter-greylist.c: In function ‘add_recipient’:
milter-greylist.c:2653:1: warning: old-style function definition [-Wold-style-definition]
 2653 | add_recipient(priv, rcpt)
      | ^~~~~~~~~~~~~
milter-greylist.c: In function ‘mystrncat’:
milter-greylist.c:2673:1: warning: old-style function definition [-Wold-style-definition]
 2673 | mystrncat(s, append, slenmax, cv)
      | ^~~~~~~~~
milter-greylist.c: In function ‘strip_brackets’:
milter-greylist.c:2716:1: warning: old-style function definition [-Wold-style-definition]
 2716 | strip_brackets(out, in, len)
      | ^~~~~~~~~~~~~~
milter-greylist.c: In function ‘mbox_only’:
milter-greylist.c:2741:1: warning: old-style function definition [-Wold-style-definition]
 2741 | mbox_only(out, in, len)
      | ^~~~~~~~~
milter-greylist.c: In function ‘site_only’:
milter-greylist.c:2757:1: warning: old-style function definition [-Wold-style-definition]
 2757 | site_only(out, in, len)
      | ^~~~~~~~~
milter-greylist.c: In function ‘machine_only’:
milter-greylist.c:2773:1: warning: old-style function definition [-Wold-style-definition]
 2773 | machine_only(out, in, len)
      | ^~~~~~~~~~~~
milter-greylist.c: In function ‘domain_only’:
milter-greylist.c:2789:1: warning: old-style function definition [-Wold-style-definition]
 2789 | domain_only(out, in, len)
      | ^~~~~~~~~~~
milter-greylist.c: In function ‘fstring_expand’:
milter-greylist.c:2816:1: warning: old-style function definition [-Wold-style-definition]
 2816 | fstring_expand(priv, rcpt, fstring, cv)
      | ^~~~~~~~~~~~~~
milter-greylist.c: In function ‘fstring_escape’:
milter-greylist.c:3741:1: warning: old-style function definition [-Wold-style-definition]
 3741 | fstring_escape(fstring)
      | ^~~~~~~~~~~~~~
milter-greylist.c: In function ‘local_ipstr’:
milter-greylist.c:3873:1: warning: old-style function definition [-Wold-style-definition]
 3873 | local_ipstr(priv)
      | ^~~~~~~~~~~
milter-greylist.c: In function ‘set_sr_defaults’:
milter-greylist.c:3914:1: warning: old-style function definition [-Wold-style-definition]
 3914 | set_sr_defaults(priv, code, ecode, msg)
      | ^~~~~~~~~~~~~~~
milter-greylist.c: In function ‘stat_from_code’:
milter-greylist.c:3951:1: warning: old-style function definition [-Wold-style-definition]
 3951 | stat_from_code(code)
      | ^~~~~~~~~~~~~~
milter-greylist.c: In function ‘mg_setreply’:
milter-greylist.c:3973:1: warning: old-style function definition [-Wold-style-definition]
 3973 | mg_setreply(ctx, priv, rcpt)
      | ^~~~~~~~~~~
milter-greylist.c: In function ‘resolve_bracketed’:
milter-greylist.c:4040:1: warning: old-style function definition [-Wold-style-definition]
 4040 | resolve_bracketed(addr)
      | ^~~~~~~~~~~~~~~~~
make[1]: *** [<builtin>: pending.o] Error 1
make[1]: *** [<builtin>: milter-greylist.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/milter-greylist-4.6.4'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:3: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: