Debian Bug report logs - #1097576
pgpool2: ftbfs with GCC-15

version graph

Package: src:pgpool2; Maintainer for src:pgpool2 is Debian PostgreSQL Maintainers <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:44:30 UTC

Severity: important

Tags: forky, sid

Found in version pgpool2/4.5.5-1

Reply or subscribe to this bug.

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


Report forwarded to Debian PostgreSQL Maintainers <[email protected]>:
Bug#1097576; Package src:pgpool2. (Mon, 17 Feb 2025 17:44:30 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian PostgreSQL Maintainers <[email protected]>. (Mon, 17 Feb 2025 17:44:30 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: pgpool2: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:43:25 +0000
Package: src:pgpool2
Version: 4.5.5-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/pgpool2_4.5.5-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

[...]
checking for openssl/ssl.h... yes
checking for CRYPTO_new_ex_data in -lcrypto... yes
checking for SSL_new in -lssl... yes
checking for ldap_bind in -lldap... yes
checking for ldap.h... yes
checking for ldap_initialize... yes
checking for pam_start in -lpam... yes
checking for security/pam_appl.h... yes
checking for libmemcached/memcached.h... yes
checking for memcached_create in -lmemcached... yes
checking for PQexecPrepared in -lpq... yes
checking for PQprepare... yes
checking for PQpingParams... yes
checking whether to use row lock against the sequence table for insert_lock... no
checking whether to use table lock against the target table for insert_lock... no
enable cassert = no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/src/Makefile
config.status: creating doc/src/sgml/Makefile
config.status: creating doc.ja/Makefile
config.status: creating doc.ja/src/Makefile
config.status: creating doc.ja/src/sgml/Makefile
config.status: creating src/Makefile
config.status: creating src/include/Makefile
config.status: creating src/parser/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/pcp/Makefile
config.status: creating src/tools/Makefile
config.status: creating src/tools/pgmd5/Makefile
config.status: creating src/tools/pgenc/Makefile
config.status: creating src/tools/pcp/Makefile
config.status: creating src/tools/pgproto/Makefile
config.status: creating src/tools/watchdog/Makefile
config.status: creating src/watchdog/Makefile
config.status: creating src/include/config.h
config.status: executing libtool commands
# create directory here so we can unlink it in case autopkgtest leaves files owned by root behind
mkdir -p src/test/jdbc/result
make[1]: Leaving directory '/build/reproducible-path/pgpool2-4.5.5'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/pgpool2-4.5.5'
/usr/bin/make
make[2]: Entering directory '/build/reproducible-path/pgpool2-4.5.5'
Making all in src
make[3]: Entering directory '/build/reproducible-path/pgpool2-4.5.5/src'
Making all in parser
make[4]: Entering directory '/build/reproducible-path/pgpool2-4.5.5/src/parser'
gcc -DHAVE_CONFIG_H -I. -I../../src/include  -D_GNU_SOURCE -I ../../src/include/parser -I /usr/include/postgresql -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pgpool2-4.5.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o copyfuncs.o copyfuncs.c
In file included from ../../src/include/pool.h:28,
                 from copyfuncs.c:24:
../../src/include/pool_type.h:44:14: error: ‘bool’ cannot be defined via ‘typedef’
   44 | typedef char bool;
      |              ^~~~
../../src/include/pool_type.h:44:14: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
../../src/include/pool_type.h:44:1: warning: useless type name in empty declaration
   44 | typedef char bool;
      | ^~~~~~~
make[4]: *** [Makefile:439: copyfuncs.o] Error 1
make[4]: Leaving directory '/build/reproducible-path/pgpool2-4.5.5/src/parser'
make[3]: *** [Makefile:941: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/pgpool2-4.5.5/src'
make[2]: *** [Makefile:421: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/pgpool2-4.5.5'
make[1]: *** [debian/rules:35: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/pgpool2-4.5.5'
make: *** [debian/rules:70: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:02:43 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.