Geany package fails to build
Description:
Been a long while since Geany 2.0 release.
I've been carrying a patch for about a year, but need to rebuild to test another change.
Build errors these days. I did not try git master yet.
note: 'uintptr_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
Possibly related to recent gcc update.
Additional info:
Build log
==> Starting build()...
configure: WARNING: unrecognized options: --enable-gtk3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for a sed that does not truncate output... /usr/bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking whether make supports nested variables... (cached) yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
/usr/bin/grep: warning: stray \ before -
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether the C++ compiler works... yes
checking whether g++ supports C++17 features by default... yes
checking whether ln -s works... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for sys/time.h... yes
checking for errno.h... yes
checking for limits.h... yes
checking for dirent.h... yes
checking for fnmatch.h... yes
checking for direct.h... no
checking for io.h... no
checking for sys/dir.h... yes
checking for size_t... yes
checking for regcomp... yes
checking for fnmatch... yes
checking for off_t... yes
checking for size_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for realpath... yes
checking for strerror... yes
checking for strstr... yes
checking for asprintf... yes
checking for mkstemp... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for truncate... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether __environ is declared... yes
checking whether _NSGetEnviron is declared... no
checking for Git revision... none
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk+-3.0 >= 3.24 glib-2.0 >= 2.32 gio-2.0 >= 2.32 gmodule-no-export-2.0 gthread-2.0... yes
checking for g_strv_equal... yes
checking whether binary relocation support should be enabled... no
checking for library containing connect... none required
checking whether the force is with you... no
checking for rst2html... no
checking for rst2html.py... no
checking for rst2pdf... no
checking for rst2pdf.py... no
checking for doxygen... /usr/bin/doxygen
checking for a Python interpreter with version >= 3... python
checking for python... /usr/bin/python
checking for python version... 3.13
checking for python platform... linux
checking for GNU default python prefix... ${prefix}
checking for GNU default python exec_prefix... ${exec_prefix}
checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.13/site-packages
checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.13/site-packages
checking for python lxml package... yes
checking whether compiler supports GCC4-style visibility... yes
checking for sort... /usr/bin/sort
checking for uniq... /usr/bin/uniq
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating icons/Makefile
config.status: creating icons/16x16/Makefile
config.status: creating icons/24x24/Makefile
config.status: creating icons/32x32/Makefile
config.status: creating icons/48x48/Makefile
config.status: creating icons/scalable/Makefile
config.status: creating icons/tango/Makefile
config.status: creating icons/tango/16x16/Makefile
config.status: creating icons/tango/24x24/Makefile
config.status: creating icons/tango/32x32/Makefile
config.status: creating icons/tango/48x48/Makefile
config.status: creating icons/tango/scalable/Makefile
config.status: creating ctags/Makefile
config.status: creating scintilla/Makefile
config.status: creating src/Makefile
config.status: creating src/tagmanager/Makefile
config.status: creating plugins/Makefile
config.status: creating po/Makefile.in
config.status: creating data/Makefile
config.status: creating data/filedefs/filetypes.python
config.status: creating doc/Makefile
config.status: creating doc/geany.1
config.status: creating geany.pc
config.status: creating geany.nsi
config.status: creating tests/Makefile
config.status: creating tests/ctags/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing libtool commands
configure: WARNING: unrecognized options: --enable-gtk3
--------------------------------------------
Install Geany in : /usr
Using GTK version : 3.24.49
Enable binary relocation : no
Build with plugin support : yes
Use (UNIX domain) socket support : yes
Use virtual terminal support (VTE) : yes
Build HTML documentation : no
Build PDF documentation : no
Build API documentation : yes
Generate GtkDoc header : yes
Configuration is done OK.
make all-recursive
make[1]: Entering directory '/build/geany/src/geany-2.0'
Making all in ctags
make[2]: Entering directory '/build/geany/src/geany-2.0/ctags'
CC main/args.lo
CC main/colprint.lo
CC main/debug.lo
CC main/dependency.lo
CC main/entry.lo
CC main/entry_private.lo
CC main/CommonPrelude.lo
CC main/error.lo
CC main/keyword.lo
CC main/field.lo
CC main/kind.lo
CC main/flags.lo
CC main/fmt.lo
CC main/lregex-default.lo
CC main/htable.lo
CC main/lxpath.lo
CC main/main.lo
CC main/mbcs.lo
CC main/mio.lo
CC main/numarray.lo
CC main/nestlevel.lo
CC main/objpool.lo
CC main/lregex.lo
CC main/options.lo
CC main/param.lo
CC main/parse.lo
CC main/portable-scandir.lo
CC main/promise.lo
CC main/ptag.lo
CC main/ptrarray.lo
CC main/rbtree.lo
CC main/read.lo
CC main/routines.lo
CC main/repoinfo.lo
CC main/script.lo
CC main/seccomp.lo
CC main/selectors.lo
CC main/sort.lo
CC main/stats.lo
CC main/strlist.lo
CC main/tokeninfo.lo
CC main/trace.lo
CC main/trashbox.lo
CC main/unwindi.lo
CC main/writer-ctags.lo
CC main/vstring.lo
CC main/writer-etags.lo
CC main/writer-json.lo
CC main/writer-xref.lo
CC main/writer.lo
CC main/xtag.lo
CC parsers/cxx/cxx.lo
CC parsers/cxx/cxx_debug.lo
CC parsers/cxx/cxx_debug_type.lo
CC parsers/cxx/cxx_keyword.lo
CC parsers/cxx/cxx_parser_block.lo
CC parsers/cxx/cxx_parser.lo
CC parsers/cxx/cxx_parser_function.lo
CC parsers/cxx/cxx_parser_lambda.lo
CC parsers/cxx/cxx_parser_namespace.lo
CC parsers/cxx/cxx_parser_tokenizer.lo
CC parsers/cxx/cxx_parser_template.lo
CC parsers/cxx/cxx_parser_typedef.lo
CC parsers/cxx/cxx_parser_using.lo
CC parsers/cxx/cxx_parser_variable.lo
CC parsers/cxx/cxx_qtmoc.lo
CC parsers/cxx/cxx_scope.lo
CC parsers/cxx/cxx_subparser.lo
CC parsers/cxx/cxx_tag.lo
CC parsers/cxx/cxx_token.lo
CC parsers/cxx/cxx_token_chain.lo
CC parsers/cpreprocessor.lo
CC parsers/abaqus.lo
CC parsers/abc.lo
CC parsers/ada.lo
CC parsers/asciidoc.lo
CC parsers/asm.lo
CC parsers/autoit.lo
CC parsers/basic.lo
CC parsers/bibtex.lo
CC parsers/geany_c.lo
CC parsers/clojure.lo
CC parsers/cobol.lo
CC parsers/iniconf.lo
CC parsers/css.lo
CC parsers/diff.lo
CC parsers/geany_docbook.lo
CC parsers/dosbatch.lo
CC parsers/erlang.lo
CC parsers/flex.lo
CC parsers/fortran.lo
CC parsers/gdscript.lo
CC parsers/go.lo
CC parsers/haskell.lo
CC parsers/haxe.lo
CC parsers/html.lo
CC parsers/jscript.lo
CC parsers/json.lo
CC parsers/julia.lo
CC parsers/lua.lo
CC parsers/lisp.lo
CC parsers/geany_lcpp.lo
CC parsers/make.lo
CC parsers/geany_matlab.lo
CC parsers/markdown.lo
CC parsers/nsis.lo
CC parsers/objc.lo
CC parsers/pascal.lo
CC parsers/perl.lo
CC parsers/php.lo
CC parsers/powershell.lo
CC parsers/python.lo
CC parsers/r.lo
CC parsers/rst.lo
CC parsers/ruby.lo
CC parsers/sh.lo
CC parsers/rust.lo
CC parsers/sql.lo
CC parsers/tcl.lo
CC parsers/tcloo.lo
CC parsers/tex.lo
CC parsers/typescript.lo
CC parsers/txt2tags.lo
CC parsers/verilog.lo
CC parsers/vhdl.lo
CC dsl/optscript.lo
CC dsl/es.lo
CC libreadtags/readtags.lo
CCLD libctags.la
make[2]: Leaving directory '/build/geany/src/geany-2.0/ctags'
Making all in scintilla
make[2]: Entering directory '/build/geany/src/geany-2.0/scintilla'
CXX lexilla/src/liblexilla_la-Lexilla.lo
CXX lexilla/lexers/liblexilla_la-LexAU3.lo
CXX lexilla/lexers/liblexilla_la-LexBash.lo
CXX lexilla/lexers/liblexilla_la-LexBasic.lo
CXX lexilla/lexers/liblexilla_la-LexAbaqus.lo
CXX lexilla/lexers/liblexilla_la-LexCOBOL.lo
CXX lexilla/lexers/liblexilla_la-LexBatch.lo
CXX lexilla/lexers/liblexilla_la-LexAda.lo
CXX lexilla/lexers/liblexilla_la-LexAsciidoc.lo
CXX lexilla/lexers/liblexilla_la-LexAsm.lo
CXX lexilla/lexers/liblexilla_la-LexCaml.lo
CXX lexilla/lexers/liblexilla_la-LexCmake.lo
CXX lexilla/lexers/liblexilla_la-LexCPP.lo
CXX lexilla/lexers/liblexilla_la-LexCSS.lo
CXX lexilla/lexers/liblexilla_la-LexD.lo
CXX lexilla/lexers/liblexilla_la-LexDiff.lo
CXX lexilla/lexers/liblexilla_la-LexCoffeeScript.lo
CXX lexilla/lexers/liblexilla_la-LexForth.lo
CXX lexilla/lexers/liblexilla_la-LexErlang.lo
CXX lexilla/lexers/liblexilla_la-LexGDScript.lo
CXX lexilla/lexers/liblexilla_la-LexHTML.lo
CXX lexilla/lexers/liblexilla_la-LexFortran.lo
CXX lexilla/lexers/liblexilla_la-LexHaskell.lo
CXX lexilla/lexers/liblexilla_la-LexJulia.lo
CXX lexilla/lexers/liblexilla_la-LexLaTeX.lo
CXX lexilla/lexers/liblexilla_la-LexLisp.lo
CXX lexilla/lexers/liblexilla_la-LexMake.lo
CXX lexilla/lexers/liblexilla_la-LexLua.lo
CXX lexilla/lexers/liblexilla_la-LexMarkdown.lo
CXX lexilla/lexers/liblexilla_la-LexMatlab.lo
CXX lexilla/lexers/liblexilla_la-LexNsis.lo
CXX lexilla/lexers/liblexilla_la-LexNull.lo
CXX lexilla/lexers/liblexilla_la-LexPerl.lo
CXX lexilla/lexers/liblexilla_la-LexPascal.lo
CXX lexilla/lexers/liblexilla_la-LexPowerShell.lo
CXX lexilla/lexers/liblexilla_la-LexProps.lo
CXX lexilla/lexers/liblexilla_la-LexPython.lo
CXX lexilla/lexers/liblexilla_la-LexPO.lo
CXX lexilla/lexers/liblexilla_la-LexR.lo
CXX lexilla/lexers/liblexilla_la-LexRuby.lo
CXX lexilla/lexers/liblexilla_la-LexRust.lo
CXX lexilla/lexers/liblexilla_la-LexSmalltalk.lo
CXX lexilla/lexers/liblexilla_la-LexSQL.lo
CXX lexilla/lexers/liblexilla_la-LexTCL.lo
CXX lexilla/lexers/liblexilla_la-LexTxt2tags.lo
CXX lexilla/lexers/liblexilla_la-LexVHDL.lo
CXX lexilla/lexers/liblexilla_la-LexVerilog.lo
CXX lexilla/lexers/liblexilla_la-LexYAML.lo
CXX gtk/libscintilla_la-PlatGTK.lo
CXX gtk/libscintilla_la-ScintillaGTK.lo
CXX gtk/libscintilla_la-ScintillaGTKAccessible.lo
CC gtk/libscintilla_la-scintilla-marshal.lo
CXX src/libscintilla_la-AutoComplete.lo
CXX src/libscintilla_la-CallTip.lo
CXX src/libscintilla_la-CaseConvert.lo
CXX src/libscintilla_la-CaseFolder.lo
CXX src/libscintilla_la-CellBuffer.lo
CXX src/libscintilla_la-ChangeHistory.lo
CXX src/libscintilla_la-CharacterCategoryMap.lo
CXX src/libscintilla_la-CharacterType.lo
CXX src/libscintilla_la-CharClassify.lo
CXX src/libscintilla_la-ContractionState.lo
CXX src/libscintilla_la-DBCS.lo
CXX src/libscintilla_la-Decoration.lo
CXX src/libscintilla_la-Document.lo
CXX src/libscintilla_la-Editor.lo
CXX src/libscintilla_la-EditModel.lo
In file included from src/AutoComplete.cxx:22:
./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;
| ^~~~~~~~
CXX src/libscintilla_la-EditView.lo
In file included from src/AutoComplete.cxx:26:
src/Geometry.h:193:47: error: 'intptr_t' has not been declared
193 | static constexpr ColourRGBA FromIpRGB(intptr_t co_) noexcept {
| ^~~~~~~~
src/Geometry.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
CXX src/libscintilla_la-Geometry.lo
CXX src/libscintilla_la-Indicator.lo
make[2]: *** [Makefile:1744: src/libscintilla_la-AutoComplete.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from src/CallTip.cxx:23:
./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;
| ^~~~~~~~
In file included from src/CellBuffer.cxx:23:
./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>'
In file included from src/CallTip.cxx:27:
src/Geometry.h:193:47: error: 'intptr_t' has not been declared
193 | static constexpr ColourRGBA FromIpRGB(intptr_t co_) noexcept {
| ^~~~~~~~
src/Geometry.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:687:11: error: 'Position' does not name a type
687 | constexpr Position InvalidPosition = -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 |
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;
| ^~~~~~~~
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) {
| ^~~~
make[2]: *** [Makefile:1751: src/libscintilla_la-CallTip.lo] Error 1
make[2]: *** [Makefile:1779: src/libscintilla_la-ChangeHistory.lo] Error 1
In file included from src/Decoration.cxx:20:
./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;
| ^~~~~~~~
In file included from src/Indicator.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;
| ^~~~~~~~
In file included from src/Indicator.cxx:21:
src/Geometry.h:193:47: error: 'intptr_t' has not been declared
193 | static constexpr ColourRGBA FromIpRGB(intptr_t co_) noexcept {
| ^~~~~~~~
src/Geometry.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
make[2]: *** [Makefile:1772: src/libscintilla_la-CellBuffer.lo] Error 1
make[2]: *** [Makefile:1863: src/libscintilla_la-Indicator.lo] Error 1
make[2]: *** [Makefile:1821: src/libscintilla_la-Decoration.lo] Error 1
make[2]: Leaving directory '/build/geany/src/geany-2.0/scintilla'
make[1]: *** [Makefile:591: all-recursive] Error 1
make[1]: Leaving directory '/build/geany/src/geany-2.0'
make: *** [Makefile:475: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check /tmp/ramdisk/chroot/tekstryder/build
Also, this seems superfluous in the PKGBUILD:
configure: WARNING: unrecognized options: --enable-gtk3
Steps to reproduce:
- Build Geany in a clean chroot