Package: src:sqlitecpp
Version: 3.3.2-1
Severity: important
Tags: sid forky
User: debian-...@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/sqlitecpp_3.3.2-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 
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Column.h:14,
                 from 
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Database.h:14,
                 from 
/build/reproducible-path/sqlitecpp-3.3.2/src/Transaction.cpp:13:
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Statement.h:132:39: 
error: ‘uint32_t’ does not name a type
  132 |     void bind(const int aIndex, const uint32_t      aValue);
      |                                       ^~~~~~~~
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Statement.h:20:1: 
note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by 
adding ‘#include <cstdint>’
   19 | #include <memory>
  +++ |+#include <cstdint>
   20 | 
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Statement.h:132:10: 
error: ‘void SQLite::Statement::bind(int, int)’ cannot be overloaded with ‘void 
SQLite::Statement::bind(int, int32_t)’
  132 |     void bind(const int aIndex, const uint32_t      aValue);
      |          ^~~~
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Statement.h:128:10: 
note: previous declaration ‘void SQLite::Statement::bind(int, int32_t)’
  128 |     void bind(const int aIndex, const int32_t       aValue);
      |          ^~~~
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Statement.h:203:41: 
error: ‘uint32_t’ does not name a type
  203 |     void bind(const char* apName, const uint32_t        aValue)
      |                                         ^~~~~~~~
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Statement.h:203:41: 
note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by 
adding ‘#include <cstdint>’
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Statement.h:203:10: 
error: ‘void SQLite::Statement::bind(const char*, int)’ cannot be overloaded 
with ‘void SQLite::Statement::bind(const char*, int32_t)’
  203 |     void bind(const char* apName, const uint32_t        aValue)
      |          ^~~~
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Statement.h:196:10: 
note: previous declaration ‘void SQLite::Statement::bind(const char*, int32_t)’
  196 |     void bind(const char* apName, const int32_t         aValue)
      |          ^~~~
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Statement.h:304:47: 
error: ‘uint32_t’ does not name a type
  304 |     void bind(const std::string& aName, const uint32_t        aValue)
      |                                               ^~~~~~~~
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Statement.h:304:47: 
note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by 
adding ‘#include <cstdint>’
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Statement.h:304:10: 
error: ‘void SQLite::Statement::bind(const std::string&, int)’ cannot be 
overloaded with ‘void SQLite::Statement::bind(const std::string&, int32_t)’
  304 |     void bind(const std::string& aName, const uint32_t        aValue)
      |          ^~~~
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Statement.h:297:10: 
note: previous declaration ‘void SQLite::Statement::bind(const std::string&, 
int32_t)’
  297 |     void bind(const std::string& aName, const int32_t         aValue)
      |          ^~~~
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Column.h:80:5: 
error: ‘uint32_t’ does not name a type
   80 |     uint32_t    getUInt() const noexcept;
      |     ^~~~~~~~
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Column.h:15:1: note: 
‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding 
‘#include <cstdint>’
   14 | #include <SQLiteCpp/Statement.h>
  +++ |+#include <cstdint>
   15 | #include <SQLiteCpp/Exception.h>
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Column.h:171:14: 
error: expected type-specifier before ‘uint8_t’
  171 |     operator uint8_t() const
      |              ^~~~~~~
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Column.h:179:14: 
error: expected type-specifier before ‘uint16_t’
  179 |     operator uint16_t() const
      |              ^~~~~~~~
/build/reproducible-path/sqlitecpp-3.3.2/include/SQLiteCpp/Column.h:187:14: 
error: expected type-specifier before ‘uint32_t’
  187 |     operator uint32_t() const
      |              ^~~~~~~~
/build/reproducible-path/sqlitecpp-3.3.2/src/Column.cpp:59:1: error: ‘uint32_t’ 
does not name a type
   59 | uint32_t Column::getUInt() const noexcept
      | ^~~~~~~~
/build/reproducible-path/sqlitecpp-3.3.2/src/Column.cpp:16:1: note: ‘uint32_t’ 
is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include 
<cstdint>’
   15 | #include <iostream>
  +++ |+#include <cstdint>
   16 | 
make[3]: *** [CMakeFiles/SQLiteCpp.dir/build.make:96: 
CMakeFiles/SQLiteCpp.dir/src/Column.cpp.o] Error 1
make[3]: *** [CMakeFiles/SQLiteCpp.dir/build.make:166: 
CMakeFiles/SQLiteCpp.dir/src/Transaction.cpp.o] Error 1
make[3]: *** [CMakeFiles/SQLiteCpp.dir/build.make:110: 
CMakeFiles/SQLiteCpp.dir/src/Database.cpp.o] Error 1
make[3]: Leaving directory 
'/build/reproducible-path/sqlitecpp-3.3.2/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:99: CMakeFiles/SQLiteCpp.dir/all] Error 2
make[2]: Leaving directory 
'/build/reproducible-path/sqlitecpp-3.3.2/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory 
'/build/reproducible-path/sqlitecpp-3.3.2/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install 
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to