FTBFS on Fedora 41 (Python 3.13) #46

Closed
opened 2 months ago by Francois · 1 comments
Collaborator

Basic information

  • TDE version: 14.1.2
  • Distribution: Fedora 41
  • Hardware: amd64

Description

FTBFS in kig/scripting because Python 3.13 .

Steps to reproduce

make

Screenshots

[ 18%] Building CXX object kig/scripting/CMakeFiles/kigscripting-static.dir/python_scripter.cpp.o
cd "/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/build/kig/scripting" && /usr/lib64/ccache/g++ -DBOOST_PYTHON_DYN_LINK -DBOOST_PYTHON_NO_LIB -DHAVE_CONFIG_H -I"/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/build" -I"/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/build/kig/scripting" -I"/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/kig/scripting" -I/opt/trinity/include/tde -I/usr/include/tqt3 -I/usr/include/tqt -I/usr/include/python3.13 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7=. -fmacro-prefix-map=/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7=. -fvisibility=hidden -fvisibility-inlines-hidden  -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/tqt3 -I/usr/include/tqt -include tqt.h -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -DNDEBUG -fPIC -MD -MT kig/scripting/CMakeFiles/kigscripting-static.dir/python_scripter.cpp.o -MF CMakeFiles/kigscripting-static.dir/python_scripter.cpp.o.d -o CMakeFiles/kigscripting-static.dir/python_scripter.cpp.o -c "/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/kig/scripting/python_scripter.cpp"
/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/kig/scripting/python_scripter.cpp: In member function ‘ObjectImp* PythonScripter::calc(CompiledPythonScript&, const Args&)’:
/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/kig/scripting/python_scripter.cpp:498:20: error: ‘PyEval_CallObject’ was not declared in this scope; did you mean ‘PyObject_CallObject’?
  498 |     handle<> reth( PyEval_CallObject( calcfunc.ptr(), argstup.ptr() ) );
      |                    ^~~~~~~~~~~~~~~~~
      |                    PyObject_CallObject
make[3]: *** [kig/scripting/CMakeFiles/kigscripting-static.dir/build.make:123: kig/scripting/CMakeFiles/kigscripting-static.dir/python_scripter.cpp.o] Error 1
make[3]: Leaving directory '/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/build'
make[2]: *** [CMakeFiles/Makefile2:5246: kig/scripting/CMakeFiles/kigscripting-static.dir/all] Error 2
make[2]: Leaving directory '/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/build'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/build'

<!-- This is a comment. Please fill in the required fields below. The comments provide instructions on how to do so. Note: You do not need to remove comments. --> ## Basic information - TDE version: 14.1.2 - Distribution: Fedora 41 - Hardware: amd64 <!-- Use SL/* labels to set the severity level. Please do not set a milestone. --> ## Description FTBFS in kig/scripting because Python 3.13 . ## Steps to reproduce make ## Screenshots ``` [ 18%] Building CXX object kig/scripting/CMakeFiles/kigscripting-static.dir/python_scripter.cpp.o cd "/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/build/kig/scripting" && /usr/lib64/ccache/g++ -DBOOST_PYTHON_DYN_LINK -DBOOST_PYTHON_NO_LIB -DHAVE_CONFIG_H -I"/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/build" -I"/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/build/kig/scripting" -I"/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/kig/scripting" -I/opt/trinity/include/tde -I/usr/include/tqt3 -I/usr/include/tqt -I/usr/include/python3.13 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7=. -fmacro-prefix-map=/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7=. -fvisibility=hidden -fvisibility-inlines-hidden -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/tqt3 -I/usr/include/tqt -include tqt.h -DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -DNDEBUG -fPIC -MD -MT kig/scripting/CMakeFiles/kigscripting-static.dir/python_scripter.cpp.o -MF CMakeFiles/kigscripting-static.dir/python_scripter.cpp.o.d -o CMakeFiles/kigscripting-static.dir/python_scripter.cpp.o -c "/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/kig/scripting/python_scripter.cpp" /tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/kig/scripting/python_scripter.cpp: In member function ‘ObjectImp* PythonScripter::calc(CompiledPythonScript&, const Args&)’: /tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/kig/scripting/python_scripter.cpp:498:20: error: ‘PyEval_CallObject’ was not declared in this scope; did you mean ‘PyObject_CallObject’? 498 | handle<> reth( PyEval_CallObject( calcfunc.ptr(), argstup.ptr() ) ); | ^~~~~~~~~~~~~~~~~ | PyObject_CallObject make[3]: *** [kig/scripting/CMakeFiles/kigscripting-static.dir/build.make:123: kig/scripting/CMakeFiles/kigscripting-static.dir/python_scripter.cpp.o] Error 1 make[3]: Leaving directory '/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/build' make[2]: *** [CMakeFiles/Makefile2:5246: kig/scripting/CMakeFiles/kigscripting-static.dir/all] Error 2 make[2]: Leaving directory '/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/build' make[1]: *** [Makefile:149: all] Error 2 make[1]: Leaving directory '/tmp/BUILD.fc41.x86_64/trinity-tdeedu-14.1.3-build/trinity-tdeedu-14.1.3~pre9+03236ff7/build' ```
Francois added the SL/critical label 2 months ago
Francois referenced this issue from a commit 2 months ago
MicheleC referenced this issue from a commit 2 months ago
MicheleC added this to the R14.1.3 release milestone 2 months ago
Owner

Solved by PR #47.

Solved by PR #47.
MicheleC closed this issue 2 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/tdeedu#46
Loading…
There is no content yet.