Your message dated Sun, 26 Oct 2025 20:45:15 +0000
with message-id <[email protected]>
and subject line Bug#1097680: fixed in python-pyahocorasick 1.4.1-2.1
has caused the Debian Bug report #1097680,
regarding python-pyahocorasick: ftbfs with GCC-15
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.)


-- 
1097680: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097680
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-pyahocorasick
Version: 1.4.1-1
Severity: important
Tags: sid forky
User: [email protected]
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/python-pyahocorasick_1.4.1-1_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

[...]
I: pybuild base:311: python3.12 setup.py config 
running config
I: pybuild base:311: python3.13 setup.py config 
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3.12 setup.py build 
running build
running build_ext
building 'ahocorasick' 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/python-pyahocorasick-1.4.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-DAHOCORASICK_UNICODE= -I/usr/include/python3.12 -c pyahocorasick.c -o 
build/temp.linux-x86_64-cpython-312/pyahocorasick.o
In file included from pyahocorasick.c:13:
common.h:93:17: error: ‘bool’ cannot be defined via ‘typedef’
   93 | typedef char    bool;
      |                 ^~~~
common.h:93:17: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
common.h:93:1: warning: useless type name in empty declaration
   93 | typedef char    bool;
      | ^~~~~~~
In file included from Automaton.c:1201,
                 from pyahocorasick.c:29:
Automaton_pickle.c: In function ‘automaton_unpickle’:
Automaton_pickle.c:363:17: warning: comparison of integer expressions of 
different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Py_ssize_t’ {aka 
‘long int’} [-Wsign-compare]
  363 |     for (k=0; k < PyList_GET_SIZE(bytes_list); k++) {
      |                 ^
Automaton_pickle.c:422:17: warning: comparison of integer expressions of 
different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long 
unsigned int’} [-Wsign-compare]
  422 |     for (i=1; i < id; i++) {
      |                 ^
Automaton_pickle.c:473:21: warning: comparison of integer expressions of 
different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long 
unsigned int’} [-Wsign-compare]
  473 |         for (i=1; i < id; i++) {
      |                     ^
Automaton_pickle.c:483:21: warning: comparison of integer expressions of 
different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long 
unsigned int’} [-Wsign-compare]
  483 |         for (i=0; i < object_idx; i++) {
      |                     ^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: 
/usr/bin/python3.12 setup.py build 
I: pybuild base:311: /usr/bin/python3 setup.py build 
running build
running build_ext
building 'ahocorasick' extension
creating build/temp.linux-x86_64-cpython-313
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/python-pyahocorasick-1.4.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-DAHOCORASICK_UNICODE= -I/usr/include/python3.13 -c pyahocorasick.c -o 
build/temp.linux-x86_64-cpython-313/pyahocorasick.o
In file included from pyahocorasick.c:13:
common.h:93:17: error: ‘bool’ cannot be defined via ‘typedef’
   93 | typedef char    bool;
      |                 ^~~~
common.h:93:17: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
common.h:93:1: warning: useless type name in empty declaration
   93 | typedef char    bool;
      | ^~~~~~~
In file included from Automaton.c:1201,
                 from pyahocorasick.c:29:
Automaton_pickle.c: In function ‘automaton_unpickle’:
Automaton_pickle.c:363:17: warning: comparison of integer expressions of 
different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Py_ssize_t’ {aka 
‘long int’} [-Wsign-compare]
  363 |     for (k=0; k < PyList_GET_SIZE(bytes_list); k++) {
      |                 ^
Automaton_pickle.c:422:17: warning: comparison of integer expressions of 
different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long 
unsigned int’} [-Wsign-compare]
  422 |     for (i=1; i < id; i++) {
      |                 ^
Automaton_pickle.c:473:21: warning: comparison of integer expressions of 
different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long 
unsigned int’} [-Wsign-compare]
  473 |         for (i=1; i < id; i++) {
      |                     ^
Automaton_pickle.c:483:21: warning: comparison of integer expressions of 
different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long 
unsigned int’} [-Wsign-compare]
  483 |         for (i=0; i < object_idx; i++) {
      |                     ^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: 
/usr/bin/python3 setup.py build 
dh_auto_build: error: pybuild --build -i python{version} -p "3.12 3.13" 
returned exit code 13
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: python-pyahocorasick
Source-Version: 1.4.1-2.1
Done: Adrian Bunk <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-pyahocorasick, 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.
Adrian Bunk <[email protected]> (supplier of updated python-pyahocorasick 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, 24 Oct 2025 19:40:58 +0300
Source: python-pyahocorasick
Architecture: source
Version: 1.4.1-2.1
Distribution: unstable
Urgency: medium
Maintainer: Jelmer Vernooij <[email protected]>
Changed-By: Adrian Bunk <[email protected]>
Closes: 1097680
Changes:
 python-pyahocorasick (1.4.1-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Backport upstream fix for FTBFS with GCC 15. (Closes: #1097680)
Checksums-Sha1:
 117cda9e7a7cbdecd84d49ed46330fa87b057331 2077 
python-pyahocorasick_1.4.1-2.1.dsc
 f20a0b349b71a8eb725f282f14bc82e91057aea3 2872 
python-pyahocorasick_1.4.1-2.1.debian.tar.xz
Checksums-Sha256:
 0a41179ea825ea1381876e3c9f25d7910219c3100fa2c31b4cacb85feea9988e 2077 
python-pyahocorasick_1.4.1-2.1.dsc
 75c0466cf660f55032b8623561d08ee6025aea724b3a2ebc3fa1b6623825573e 2872 
python-pyahocorasick_1.4.1-2.1.debian.tar.xz
Files:
 d12b2cd080668049123e60b554908eae 2077 python optional 
python-pyahocorasick_1.4.1-2.1.dsc
 7b29c9eba2b87538845e52d15d16963f 2872 python optional 
python-pyahocorasick_1.4.1-2.1.debian.tar.xz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmj719AACgkQiNJCh6LY
mLEU1BAAwd0EvrkCDLL/XCq2bG8qFbDloPTDDUT1K3Jl9cHK8E/RfHYr6sMZFHu7
VDXNQXpkhZ2tKOquO/P/SgYXEGLjnGaMw1lRobEakgbk1sPITbdLwtkV/Lrbe1QB
MQFLuP/xOmGe+1VnhRgKfaj+Lj6wKmXXTbwFtDtDzK1m2ALWpZBGjU5l3mFn6Hwg
9WKM5uNVmBfInKT2HDHAR00FzyWIVBwWpQrVeHDOGAEBVflpd0/Lea19F08nLbUM
JDrg9trjmQVXrf1a26GblIcsa2IQcfhPzQVoha4lcCeGcjQMwhDhdnEt4oHZPZ73
6cNB8ODzuAM87HcHeQjMXgC+/G1lJYrHPMYwmH7HBmsAOM5GUIMjYIlcdorYzI3q
k0iZXeT76fosnXnbGITLMcw5idQJA7anqlyI8R2PD5l3XV6Xe0cHTWT2OdO2Y7h+
trBxYjwyFqdIeiqfZPEcv+xTJfGoJ0cAWGmG9GAiEdBxXcycx4XN0+gBMzUTJThn
W/b/Y7UpOhl/PPH67vik7dYpSNQYwjPcwuAht9Qv5S93P2w/O6DnljbJjpAegUye
jqJFv1Ohj8XRe04FDCS40ae6oJYA0QoAf39DbG8QZhvfWExVA38VViBe9vEfN18u
0ssxJLZpdwNrhE24zRa/XLfQJnr/chPRRtGwNtEF3zxiwALoiAU=
=4u7g
-----END PGP SIGNATURE-----

Attachment: pgpRTct0hXJNP.pgp
Description: PGP signature


--- End Message ---

Reply via email to