Your message dated Tue, 17 Jun 2025 16:14:09 +0200
with message-id <[email protected]>
and subject line Re: Bug#1097661: psqlodbc: ftbfs with GCC-15
has caused the Debian Bug report #1097661,
regarding psqlodbc: 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.)


-- 
1097661: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097661
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:psqlodbc
Version: 1:16.00.0005-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/psqlodbc_16.00.0005-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

[...]
      | ^~~~~~~
In file included from bind.h:12,
                 from bind.c:19:
psqlodbc.h:300:23: error: 'bool' cannot be defined via 'typedef'
  300 | typedef unsigned char bool;
      |                       ^~~~
psqlodbc.h:300:23: note: 'bool' is a keyword with '-std=c23' onwards
psqlodbc.h:300:1: warning: useless type name in empty declaration
  300 | typedef unsigned char bool;
      | ^~~~~~~
In file included from environ.h:16,
                 from environ.c:16:
psqlodbc.h:300:23: error: 'bool' cannot be defined via 'typedef'
  300 | typedef unsigned char bool;
      |                       ^~~~
psqlodbc.h:300:23: note: 'bool' is a keyword with '-std=c23' onwards
psqlodbc.h:300:1: warning: useless type name in empty declaration
  300 | typedef unsigned char bool;
      | ^~~~~~~
In file included from convert.h:12,
                 from convert.c:20:
psqlodbc.h:300:23: error: 'bool' cannot be defined via 'typedef'
  300 | typedef unsigned char bool;
      |                       ^~~~
psqlodbc.h:300:23: note: 'bool' is a keyword with '-std=c23' onwards
psqlodbc.h:300:1: warning: useless type name in empty declaration
  300 | typedef unsigned char bool;
      | ^~~~~~~
In file included from info.c:19:
psqlodbc.h:300:23: error: 'bool' cannot be defined via 'typedef'
  300 | typedef unsigned char bool;
      |                       ^~~~
psqlodbc.h:300:23: note: 'bool' is a keyword with '-std=c23' onwards
psqlodbc.h:300:1: warning: useless type name in empty declaration
  300 | typedef unsigned char bool;
      | ^~~~~~~
In file included from execute.c:16:
psqlodbc.h:300:23: error: 'bool' cannot be defined via 'typedef'
  300 | typedef unsigned char bool;
      |                       ^~~~
psqlodbc.h:300:23: note: 'bool' is a keyword with '-std=c23' onwards
psqlodbc.h:300:1: warning: useless type name in empty declaration
  300 | typedef unsigned char bool;
      | ^~~~~~~
make[3]: *** [Makefile:728: psqlodbcw_la-columninfo.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from connection.h:12,
                 from connection.c:22:
psqlodbc.h:300:23: error: 'bool' cannot be defined via 'typedef'
  300 | typedef unsigned char bool;
      |                       ^~~~
psqlodbc.h:300:23: note: 'bool' is a keyword with '-std=c23' onwards
psqlodbc.h:300:1: warning: useless type name in empty declaration
  300 | typedef unsigned char bool;
      | ^~~~~~~
make[3]: *** [Makefile:749: psqlodbcw_la-drvconn.lo] Error 1
make[3]: *** [Makefile:756: psqlodbcw_la-environ.lo] Error 1
make[3]: *** [Makefile:721: psqlodbcw_la-bind.lo] Error 1
make[3]: *** [Makefile:763: psqlodbcw_la-execute.lo] Error 1
make[3]: *** [Makefile:735: psqlodbcw_la-connection.lo] Error 1
make[3]: *** [Makefile:742: psqlodbcw_la-convert.lo] Error 1
make[3]: *** [Makefile:714: psqlodbcw_la-info.lo] Error 1
make[3]: Leaving directory '/build/reproducible-path/psqlodbc-16.00.0005'
make[2]: *** [Makefile:528: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/psqlodbc-16.00.0005'
dh_auto_build: error: make -j8 returned exit code 2
make[1]: *** [debian/rules:9: override_dh_auto_configure] Error 25
make[1]: Leaving directory '/build/reproducible-path/psqlodbc-16.00.0005'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Version: 1:17.00.0005-1

Re: Matthias Klose
> psqlodbc.h:300:23: error: 'bool' cannot be defined via 'typedef'

Fixed upstream: https://github.com/postgresql-interfaces/psqlodbc/issues/94

Christoph

--- End Message ---

Reply via email to