Source: llvm-toolchain-17 Version: 1:17.0.6-18 Severity: normal Tags: ftbfs Justification: FTBFS User: debian-pyt...@lists.debian.org Usertags: python3.13-default
This package failed build from source when test-built against a version of python3-defaults that has 3.13 as the default Python 3 version. To reproduce this issue, build against python3-defaults (python3-all-dev etc.) from Debian experimental. What's new in Python 3.13: https://docs.python.org/3.13/whatsnew/3.13.html Log snippet: FAILED: tools/lldb/source/Plugins/ScriptInterpreter/Python/CMakeFiles/lldbPluginScriptInterpreterPython.dir/ScriptInterpreterPython.cpp.o /<<PKGBUILDDIR>>/build-llvm/bin/clang++ -DHAVE_ROUND -DLLDB_PYTHON_EXE_RELATIVE_PATH=\"bin/python3\" -DLLDB_PYTHON_RELATIVE_LIBDIR=\"lib/python3.13/site-packages\" -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/tools/lldb/source/Plugins/ScriptInterpreter/Python -I/<<PKGBUILDDIR>>/lldb/source/Plugins/ScriptInterpreter/Python -I/<<PKGBUILDDIR>>/lldb/include -I/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/tools/lldb/include -I/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/include -I/<<PKGBUILDDIR>>/llvm/include -I/usr/include/python3.13 -I/<<PKGBUILDDIR>>/clang/include -I/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/tools/lldb/../clang/include -I/<<PKGBUILDDIR>>/lldb/source -I/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/tools/lldb/source -isystem /usr/include/libxml2 -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -ffile-prefix-map=/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins=build-llvm/tools/clang/stage2-bins -ffile-prefix-map=/<<PKGBUILDDIR>>/= -no-canonical-prefixes -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -O2 -DNDEBUG -g1 -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/lldb/source/Plugins/ScriptInterpreter/Python/CMakeFiles/lldbPluginScriptInterpreterPython.dir/ScriptInterpreterPython.cpp.o -MF tools/lldb/source/Plugins/ScriptInterpreter/Python/CMakeFiles/lldbPluginScriptInterpreterPython.dir/ScriptInterpreterPython.cpp.o.d -o tools/lldb/source/Plugins/ScriptInterpreter/Python/CMakeFiles/lldbPluginScriptInterpreterPython.dir/ScriptInterpreterPython.cpp.o -c /<<PKGBUILDDIR>>/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp /<<PKGBUILDDIR>>/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp:180:9: error: use of undeclared identifier 'PyEval_ThreadsInitialized' 180 | if (PyEval_ThreadsInitialized()) { | ^ 1 error generated. ninja: build stopped: subcommand failed. FAILED: tools/clang/stage2-stamps/stage2-build /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-stamps/stage2-build cd /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins && /usr/bin/cmake --build /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/ --config Release && /usr/bin/cmake -E touch /<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-stamps/stage2-build ninja: build stopped: subcommand failed. cat: build-llvm/tools/clang/stage2-bins/CMakeFiles/CMakeOutput.log: No such file or directory make[1]: *** [debian/rules:844: stamps/debian-full-build] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:563: binary-arch] Error 2 dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-12-25T23:44:31Z If required, the full build log is available here (for the next 30 days): https://debusine.debian.net/artifact/1125840/ This bug has been filed at "normal" severity, as we haven't started the transition to add 3.13 as default, yet. This will be raised to RC as soon as that happens, hopefully well before trixie. Thanks, Stefano