os
os copied to clipboard
python-3.13 fails to build with GCC 15 on amd64
The package python-3.13 with version 3.13.3 and epoch 2 fails to build from source on amd64 with the following error:
2025-06-02 07:50:34.086593298 +0000 UTC /usr/include/curses.h:993:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.086599876 +0000 UTC /usr/include/curses.h:994:8: error: unknown type name 'bool'
2025-06-02 07:50:34.08661737 +0000 UTC 994 | extern NCURSES_EXPORT(bool) is_notimeout (const WINDOW *); /* generated */
2025-06-02 07:50:34.0866252 +0000 UTC | ^~~~~~~~~~~~~~
2025-06-02 07:50:34.086631399 +0000 UTC /usr/include/curses.h:994:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.08664588 +0000 UTC /usr/include/curses.h:995:8: error: unknown type name 'bool'
2025-06-02 07:50:34.086651475 +0000 UTC 995 | extern NCURSES_EXPORT(bool) is_pad (const WINDOW *); /* generated */
2025-06-02 07:50:34.086657768 +0000 UTC | ^~~~~~~~~~~~~~
2025-06-02 07:50:34.086665172 +0000 UTC /usr/include/curses.h:995:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.086671422 +0000 UTC /usr/include/curses.h:996:8: error: unknown type name 'bool'
2025-06-02 07:50:34.086676391 +0000 UTC 996 | extern NCURSES_EXPORT(bool) is_scrollok (const WINDOW *); /* generated */
2025-06-02 07:50:34.086681419 +0000 UTC | ^~~~~~~~~~~~~~
2025-06-02 07:50:34.086686538 +0000 UTC /usr/include/curses.h:996:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.086692025 +0000 UTC /usr/include/curses.h:997:8: error: unknown type name 'bool'
2025-06-02 07:50:34.086696905 +0000 UTC 997 | extern NCURSES_EXPORT(bool) is_subwin (const WINDOW *); /* generated */
2025-06-02 07:50:34.086701797 +0000 UTC | ^~~~~~~~~~~~~~
2025-06-02 07:50:34.086707613 +0000 UTC /usr/include/curses.h:997:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.086712945 +0000 UTC /usr/include/curses.h:998:8: error: unknown type name 'bool'
2025-06-02 07:50:34.086717905 +0000 UTC 998 | extern NCURSES_EXPORT(bool) is_syncok (const WINDOW *); /* generated */
2025-06-02 07:50:34.086723789 +0000 UTC | ^~~~~~~~~~~~~~
2025-06-02 07:50:34.086728725 +0000 UTC /usr/include/curses.h:998:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.086734697 +0000 UTC /usr/include/curses.h:1023:8: error: unknown type name 'bool'
2025-06-02 07:50:34.086740697 +0000 UTC 1023 | extern NCURSES_EXPORT(bool) NCURSES_SP_NAME(can_change_color) (SCREEN*); /* implemented:SP_FUNC */
2025-06-02 07:50:34.086745816 +0000 UTC | ^~~~~~~~~~~~~~
2025-06-02 07:50:34.086750743 +0000 UTC /usr/include/curses.h:1023:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.089352244 +0000 UTC /usr/include/curses.h:1039:8: error: unknown type name 'bool'
2025-06-02 07:50:34.089408604 +0000 UTC 1039 | extern NCURSES_EXPORT(bool) NCURSES_SP_NAME(has_colors) (SCREEN*); /* implemented:SP_FUNC */
2025-06-02 07:50:34.089418714 +0000 UTC | ^~~~~~~~~~~~~~
2025-06-02 07:50:34.089471344 +0000 UTC /usr/include/curses.h:1039:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.089597638 +0000 UTC /usr/include/curses.h:1040:8: error: unknown type name 'bool'
2025-06-02 07:50:34.089672634 +0000 UTC 1040 | extern NCURSES_EXPORT(bool) NCURSES_SP_NAME(has_ic) (SCREEN*); /* implemented:SP_FUNC */
2025-06-02 07:50:34.089779749 +0000 UTC | ^~~~~~~~~~~~~~
2025-06-02 07:50:34.089843669 +0000 UTC /usr/include/curses.h:1040:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.089946998 +0000 UTC /usr/include/curses.h:1041:8: error: unknown type name 'bool'
2025-06-02 07:50:34.090015885 +0000 UTC 1041 | extern NCURSES_EXPORT(bool) NCURSES_SP_NAME(has_il) (SCREEN*); /* implemented:SP_FUNC */
2025-06-02 07:50:34.090042799 +0000 UTC | ^~~~~~~~~~~~~~
2025-06-02 07:50:34.090090904 +0000 UTC /usr/include/curses.h:1041:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.090265049 +0000 UTC /usr/include/curses.h:1044:74: error: unknown type name 'bool'
2025-06-02 07:50:34.090306819 +0000 UTC 1044 | extern NCURSES_EXPORT(int) NCURSES_SP_NAME(intrflush) (SCREEN*, WINDOW*, bool); /* implemented:SP_FUNC */
2025-06-02 07:50:34.09032621 +0000 UTC | ^~~~
2025-06-02 07:50:34.090385495 +0000 UTC /usr/include/curses.h:1044:74: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.090490005 +0000 UTC /usr/include/curses.h:1045:8: error: unknown type name 'bool'
2025-06-02 07:50:34.090523368 +0000 UTC 1045 | extern NCURSES_EXPORT(bool) NCURSES_SP_NAME(isendwin) (SCREEN*); /* implemented:SP_FUNC */
2025-06-02 07:50:34.090541801 +0000 UTC | ^~~~~~~~~~~~~~
2025-06-02 07:50:34.090587286 +0000 UTC /usr/include/curses.h:1045:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.104056132 +0000 UTC /usr/include/curses.h:1090:64: error: unknown type name 'bool'
2025-06-02 07:50:34.104191284 +0000 UTC 1090 | extern NCURSES_EXPORT(void) NCURSES_SP_NAME(use_env) (SCREEN*, bool); /* implemented:SP_FUNC */
2025-06-02 07:50:34.104219016 +0000 UTC | ^~~~
2025-06-02 07:50:34.104236457 +0000 UTC /usr/include/curses.h:1090:64: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.104252982 +0000 UTC /usr/include/curses.h:1091:67: error: unknown type name 'bool'
2025-06-02 07:50:34.104268358 +0000 UTC 1091 | extern NCURSES_EXPORT(void) NCURSES_SP_NAME(use_tioctl) (SCREEN*, bool); /* implemented:SP_FUNC */
2025-06-02 07:50:34.104284198 +0000 UTC | ^~~~
2025-06-02 07:50:34.10429953 +0000 UTC /usr/include/curses.h:1091:67: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.10431699 +0000 UTC /usr/include/curses.h:1110:8: error: unknown type name 'bool'
2025-06-02 07:50:34.10433507 +0000 UTC 1110 | extern NCURSES_EXPORT(bool) NCURSES_SP_NAME(is_term_resized) (SCREEN*, int, int); /* implemented:EXT_SP_FUNC */
2025-06-02 07:50:34.104353118 +0000 UTC | ^~~~~~~~~~~~~~
2025-06-02 07:50:34.104373237 +0000 UTC /usr/include/curses.h:1110:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.104395124 +0000 UTC /usr/include/curses.h:1113:66: error: unknown type name 'bool'
2025-06-02 07:50:34.10441238 +0000 UTC 1113 | extern NCURSES_EXPORT(int) NCURSES_SP_NAME(keyok) (SCREEN*, int, bool); /* implemented:EXT_SP_FUNC */
2025-06-02 07:50:34.104439323 +0000 UTC | ^~~~
2025-06-02 07:50:34.104461287 +0000 UTC /usr/include/curses.h:1113:66: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.107066138 +0000 UTC /usr/include/curses.h:2043:8: error: unknown type name 'bool'
2025-06-02 07:50:34.10718315 +0000 UTC 2043 | extern NCURSES_EXPORT(bool) has_mouse(void);
2025-06-02 07:50:34.107208627 +0000 UTC | ^~~~~~~~~~~~~~
2025-06-02 07:50:34.118055286 +0000 UTC /usr/include/curses.h:2043:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.118195558 +0000 UTC /usr/include/curses.h:2047:8: error: unknown type name 'bool'
2025-06-02 07:50:34.118231191 +0000 UTC 2047 | extern NCURSES_EXPORT(bool) wenclose (const WINDOW *, int, int);
2025-06-02 07:50:34.118267604 +0000 UTC | ^~~~~~~~~~~~~~
2025-06-02 07:50:34.118307114 +0000 UTC /usr/include/curses.h:2047:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.118333584 +0000 UTC /usr/include/curses.h:2049:8: error: unknown type name 'bool'
2025-06-02 07:50:34.118355632 +0000 UTC 2049 | extern NCURSES_EXPORT(bool) wmouse_trafo (const WINDOW*, int*, int*, bool);
2025-06-02 07:50:34.118394829 +0000 UTC | ^~~~~~~~~~~~~~
2025-06-02 07:50:34.118423935 +0000 UTC /usr/include/curses.h:2049:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.118446261 +0000 UTC /usr/include/curses.h:2049:73: error: unknown type name 'bool'
2025-06-02 07:50:34.11845455 +0000 UTC 2049 | extern NCURSES_EXPORT(bool) wmouse_trafo (const WINDOW*, int*, int*, bool);
2025-06-02 07:50:34.118471988 +0000 UTC | ^~~~
2025-06-02 07:50:34.118478379 +0000 UTC /usr/include/curses.h:2049:73: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.118484382 +0000 UTC /usr/include/curses.h:2050:8: error: unknown type name 'bool'
2025-06-02 07:50:34.118489839 +0000 UTC 2050 | extern NCURSES_EXPORT(bool) mouse_trafo (int*, int*, bool); /* generated */
2025-06-02 07:50:34.118495364 +0000 UTC | ^~~~~~~~~~~~~~
2025-06-02 07:50:34.11850062 +0000 UTC /usr/include/curses.h:2050:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.11850611 +0000 UTC /usr/include/curses.h:2050:57: error: unknown type name 'bool'
2025-06-02 07:50:34.118511702 +0000 UTC 2050 | extern NCURSES_EXPORT(bool) mouse_trafo (int*, int*, bool); /* generated */
2025-06-02 07:50:34.118517068 +0000 UTC | ^~~~
2025-06-02 07:50:34.118522625 +0000 UTC /usr/include/curses.h:2050:57: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.118531488 +0000 UTC /usr/include/curses.h:2053:8: error: unknown type name 'bool'
2025-06-02 07:50:34.118536671 +0000 UTC 2053 | extern NCURSES_EXPORT(bool) NCURSES_SP_NAME(has_mouse) (SCREEN*);
2025-06-02 07:50:34.118541869 +0000 UTC | ^~~~~~~~~~~~~~
2025-06-02 07:50:34.118546807 +0000 UTC /usr/include/curses.h:2053:8: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
2025-06-02 07:50:34.450071987 +0000 UTC x86_64-pc-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fno-semantic-interposition -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -fprofile-generate -I./Include/internal -I./Include/internal/mimalloc -I. -I./Include -fPIC -fPIC -c ./Modules/_hashopenssl.c -o Modules/_hashopenssl.o
2025-06-02 07:50:34.456965189 +0000 UTC make[2]: *** [Makefile:3398: Modules/_curses_panel.o] Error 1
2025-06-02 07:50:34.457122712 +0000 UTC make[2]: *** Waiting for unfinished jobs....
2025-06-02 07:51:19.476746113 +0000 UTC make[2]: Leaving directory '/home/build'
2025-06-02 07:51:19.478156633 +0000 UTC make[1]: *** [Makefile:884: profile-gen-stamp] Error 2
2025-06-02 07:51:19.47821121 +0000 UTC make[1]: Leaving directory '/home/build'
2025-06-02 07:51:19.479092202 +0000 UTC make: *** [Makefile:896: profile-run-stamp] Error 2
2025-06-02 07:51:19.479217858 +0000 UTC make: Leaving directory '/home/build'
2025-06-02 07:51:29.210184347 +0000 UTC failed to build package: unable to run package python-3.13 pipeline: unable to run pipeline: unable to run pipeline: exit status 2
2025-06-02 07:51:29.246676109 +0000 UTC failed to build: command melange failed: exit status 1
2025-06-02 07:51:29.246890936 +0000 UTC build failed: command melange failed: exit status 1
looks like our ncurses version stopped updating, currently stuck at 6.5_p20241228
latest is 6.5-20250614
https://release-monitoring.org/project/2057/