[Pkg-geany-team] Bug#1096690: geany: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:15:13 GMT 2025


Package: src:geany
Version: 2.0-2
Severity: important
Tags: sid forky
User: debian-gcc at 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/geany_2.0-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

[...]
./include/ScintillaTypes.h:682:16: note: 'uintptr_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
./include/ScintillaTypes.h:683:16: error: 'intptr_t' does not name a type
  683 | using sptr_t = intptr_t;
      |                ^~~~~~~~
./include/ScintillaTypes.h:683:16: note: 'intptr_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
./include/ScintillaTypes.h:687:11: error: 'Position' does not name a type
  687 | constexpr Position InvalidPosition = -1;
      |           ^~~~~~~~
make[3]: *** [Makefile:1756: src/libscintilla_la-CallTip.lo] Error 1
src/CellBuffer.cxx: In member function 'void Scintilla::Internal::CellBuffer::BasicInsertString(Sci::Position, const char*, Sci::Position)':
src/CellBuffer.cxx:1094:17: error: 'uint8_t' was not declared in this scope
 1094 |                 uint8_t eolTable[256]{};
      |                 ^~~~~~~
src/CellBuffer.cxx:35:1: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   34 | #include "UniConversion.h"
  +++ |+#include <cstdint>
   35 | 
src/CellBuffer.cxx:1095:17: error: 'eolTable' was not declared in this scope
 1095 |                 eolTable[static_cast<uint8_t>('\n')] = 1;
      |                 ^~~~~~~~
src/CellBuffer.cxx:1095:38: error: 'uint8_t' does not name a type
 1095 |                 eolTable[static_cast<uint8_t>('\n')] = 1;
      |                                      ^~~~~~~
src/CellBuffer.cxx:1095:38: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
src/CellBuffer.cxx:1096:38: error: 'uint8_t' does not name a type
 1096 |                 eolTable[static_cast<uint8_t>('\r')] = 2;
      |                                      ^~~~~~~
src/CellBuffer.cxx:1096:38: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
src/CellBuffer.cxx:1107:32: error: expected ';' before 'type'
 1107 |                         uint8_t type;
      |                                ^~~~~
      |                                ;
src/CellBuffer.cxx:1108:33: error: 'type' was not declared in this scope
 1108 |                         while ((type = eolTable[ch]) == 0 && ptr < end) {
      |                                 ^~~~
src/CellBuffer.cxx:1113:33: error: 'type' was not declared in this scope
 1113 |                         switch (type) {
      |                                 ^~~~
In file included from src/ChangeHistory.cxx:18:
./include/ScintillaTypes.h:678:18: error: 'intptr_t' does not name a type
  678 | using Position = intptr_t;
      |                  ^~~~~~~~
./include/ScintillaTypes.h:1:1: note: 'intptr_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
  +++ |+#include <cstdint>
    1 | // Scintilla source code edit control
./include/ScintillaTypes.h:679:14: error: 'intptr_t' does not name a type
  679 | using Line = intptr_t;
      |              ^~~~~~~~
./include/ScintillaTypes.h:679:14: note: 'intptr_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
./include/ScintillaTypes.h:682:16: error: 'uintptr_t' does not name a type
  682 | using uptr_t = uintptr_t;
      |                ^~~~~~~~~
./include/ScintillaTypes.h:682:16: note: 'uintptr_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
./include/ScintillaTypes.h:683:16: error: 'intptr_t' does not name a type
  683 | using sptr_t = intptr_t;
      |                ^~~~~~~~
./include/ScintillaTypes.h:683:16: note: 'intptr_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
./include/ScintillaTypes.h:687:11: error: 'Position' does not name a type
  687 | constexpr Position InvalidPosition = -1;
      |           ^~~~~~~~
make[3]: *** [Makefile:1777: src/libscintilla_la-CellBuffer.lo] Error 1
make[3]: *** [Makefile:1784: src/libscintilla_la-ChangeHistory.lo] Error 1
make[3]: Leaving directory '/build/reproducible-path/geany-2.0/scintilla'
make[2]: *** [Makefile:596: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/geany-2.0'
make[1]: *** [Makefile:480: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/geany-2.0'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-geany-team mailing list