Debian Bug report logs - #1097668
pymilter: ftbfs with GCC-15

version graph

Package: src:pymilter; Maintainer for src:pymilter is Debian Python Team <team+python@tracker.debian.org>;

Reported by: Matthias Klose <doko@debian.org>

Date: Mon, 17 Feb 2025 17:49:00 UTC

Severity: important

Tags: forky, sid

Found in version pymilter/1.0.6-2

Fixed in version pymilter/1.0.6-3

Done: Colin Watson <cjwatson@debian.org>

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Debian Python Team <team+python@tracker.debian.org>:
Bug#1097668; Package src:pymilter. (Mon, 17 Feb 2025 17:49:01 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Python Team <team+python@tracker.debian.org>. (Mon, 17 Feb 2025 17:49:01 GMT) (full text, mbox, link).


Message #5 received at maintonly@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: maintonly@bugs.debian.org
Subject: pymilter: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:46:29 +0000
Package: src:pymilter
Version: 1.0.6-2
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/pymilter_1.0.6-2_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

[...]
Generating member index...
Generating file index...
Generating file member index...
Generating example index...
finalizing index lists...
writing tag file...
Running plantuml with JAVA...
type lookup cache used 725/65536 hits=364 misses=790
symbol lookup cache used 717/65536 hits=3094 misses=717
finished...
make[1]: Leaving directory '/build/reproducible-path/pymilter-1.0.6'
   dh_auto_test
   create-stamp debian/debhelper-build-stamp
   dh_prep
   debian/rules override_dh_auto_install-arch
make[1]: Entering directory '/build/reproducible-path/pymilter-1.0.6'
py3versions: no X-Python3-Version in control file, using supported versions
set -e && for py3vers in 3.12 3.13; do \
  python$py3vers setup.py install --no-compile -O0 --install-layout=deb \
    --root /build/reproducible-path/pymilter-1.0.6/debian/python3-milter; \
done
running install
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
running build
running build_py
creating build/lib.linux-x86_64-cpython-312
copying mime.py -> build/lib.linux-x86_64-cpython-312
creating build/lib.linux-x86_64-cpython-312/Milter
copying Milter/policy.py -> build/lib.linux-x86_64-cpython-312/Milter
copying Milter/utils.py -> build/lib.linux-x86_64-cpython-312/Milter
copying Milter/cache.py -> build/lib.linux-x86_64-cpython-312/Milter
copying Milter/testctx.py -> build/lib.linux-x86_64-cpython-312/Milter
copying Milter/test.py -> build/lib.linux-x86_64-cpython-312/Milter
copying Milter/config.py -> build/lib.linux-x86_64-cpython-312/Milter
copying Milter/unsign.py -> build/lib.linux-x86_64-cpython-312/Milter
copying Milter/pyip6.py -> build/lib.linux-x86_64-cpython-312/Milter
copying Milter/sgmllib.py -> build/lib.linux-x86_64-cpython-312/Milter
copying Milter/dsn.py -> build/lib.linux-x86_64-cpython-312/Milter
copying Milter/__init__.py -> build/lib.linux-x86_64-cpython-312/Milter
copying Milter/dns.py -> build/lib.linux-x86_64-cpython-312/Milter
copying Milter/plock.py -> build/lib.linux-x86_64-cpython-312/Milter
copying Milter/dynip.py -> build/lib.linux-x86_64-cpython-312/Milter
copying Milter/greysql.py -> build/lib.linux-x86_64-cpython-312/Milter
copying Milter/greylist.py -> build/lib.linux-x86_64-cpython-312/Milter
running build_ext
building 'milter' extension
creating build/temp.linux-x86_64-cpython-312
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pymilter-1.0.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DMAX_ML_REPLY=32 -I/usr/include/python3.12 -c miltermodule.c -o build/temp.linux-x86_64-cpython-312/miltermodule.o -Werror=implicit-function-declaration
In file included from miltermodule.c:50:
/usr/include/libmilter/mfapi.h:98:17: error: ‘bool’ cannot be defined via ‘typedef’
   98 | typedef int     bool;
      |                 ^~~~
/usr/include/libmilter/mfapi.h:98:17: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
make[1]: *** [debian/rules:23: override_dh_auto_install-arch] Error 1
make[1]: Leaving directory '/build/reproducible-path/pymilter-1.0.6'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



Message sent on to Matthias Klose <doko@debian.org>:
Bug#1097668. (Mon, 24 Mar 2025 14:57:02 GMT) (full text, mbox, link).


Message #8 received at 1097668-submitter@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: 1097668-submitter@bugs.debian.org
Subject: Bug#1097668 marked as pending in pymilter
Date: Mon, 24 Mar 2025 14:53:45 +0000
Control: tag -1 pending

Hello,

Bug #1097668 in pymilter reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/pymilter/-/commit/b3faadcd57a193e1c4bb16d9dd4c0f439f4957cb

------------------------------------------------------------------------
Set C standard to C17 explicitly

Closes: #1097668
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1097668



Added tag(s) pending. Request was from Colin Watson <cjwatson@debian.org> to 1097668-submitter@bugs.debian.org. (Mon, 24 Mar 2025 14:57:02 GMT) (full text, mbox, link).


Reply sent to Colin Watson <cjwatson@debian.org>:
You have taken responsibility. (Mon, 24 Mar 2025 16:03:02 GMT) (full text, mbox, link).


Notification sent to Matthias Klose <doko@debian.org>:
Bug acknowledged by developer. (Mon, 24 Mar 2025 16:03:03 GMT) (full text, mbox, link).


Message #15 received at 1097668-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1097668-close@bugs.debian.org
Subject: Bug#1097668: fixed in pymilter 1.0.6-3
Date: Mon, 24 Mar 2025 15:58:22 +0000
[Message part 1 (text/plain, inline)]
Source: pymilter
Source-Version: 1.0.6-3
Done: Colin Watson <cjwatson@debian.org>

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

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated pymilter 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: SHA512

Format: 1.8
Date: Mon, 24 Mar 2025 14:53:03 +0000
Source: pymilter
Architecture: source
Version: 1.0.6-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1097668
Changes:
 pymilter (1.0.6-3) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Bastian Germann ]
   * Remove Scott Kitterman from Uploaders (retired, thanks for your work).
 .
   [ Colin Watson ]
   * Set C standard to C17 explicitly (closes: #1097668).
Checksums-Sha1:
 1900204c7d1a567e98ebda649c90d840b989f3e1 2326 pymilter_1.0.6-3.dsc
 c84f14663909bff9c7655366e270c12659588046 7816 pymilter_1.0.6-3.debian.tar.xz
Checksums-Sha256:
 e29d6c1e99769b05470aa7a991fa54b091499155e1dc078aaff2d9439377e28e 2326 pymilter_1.0.6-3.dsc
 2812b13f2a415a33d11d909bdb5ec58974e316fed1cd33e0539082bed2025a8f 7816 pymilter_1.0.6-3.debian.tar.xz
Files:
 6381fb9b56cfbbb46b5a0da482ee2691 2326 python optional pymilter_1.0.6-3.dsc
 db35e3e3cc17f1953ab5c599cec5dc48 7816 python optional pymilter_1.0.6-3.debian.tar.xz


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

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmfhce8ACgkQOTWH2X2G
UAtJnQ//eehjLsB7zWbhdbO8lVVnXZNrfn1rTBynAkNbPuopivyaIzGv1WNNV41l
09fai7a7UgSXOpq+JHb8pACEZgYxnCgeMavIvqrMo7VZ1N8RPN3N8nlNAw1gv6ry
cDEOt4Lu9gwa4BtpqVCN/4WAO4ZBeHAKiujWgE1LDh0KX6pjL5Nx9ux1jGLgeamu
+73gkrQsW0e9ZM1rzwuKOok7+C7t3c7k7t6lMSC/NaofFOA7EY4bqTrSZviS1T/x
b3cCryMPxrZ9TBCLW1SsQON8FaGWAn1UyspgnWBGcIZU4Ot0pxoolOR/hDmachVR
zTfHpd0B0VtWoe6HopwY9SQu5Q2W1+mL6yn0kfgnlk5Fp4C8RmPcHwqhLkHVa1K2
ezrIxgu0lRwSMbeOE7hMs4cpKxM80qDEUn8IXvLM79yXwaHGd1Yjd9gzK4lErC+I
kYVKi2T07VjmiTCtzBu9pYGBCsVg6wWurUTkLxvaG66d8v6c16KNYAAjYL3t6XfN
oW3ewI4KywaTy32sAa0w3bB8veX27yMLWiBoXRvfSDqsHcFPcyExzyRQx+PWL8/V
5eeTaZV/bAXP/Or8npSEo8PRe3Tvs3kKKlsxtfO8pbNxjIhZeRmggawpriqdK7FZ
6RmkJrcP4H/oqNZ6899IxaWots+LCf/eFHj53bZOdKSwsWgnCXY=
=JTiJ
-----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 9 10:23:10 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.