Kig build failure

Laurent Montel montel at kde.org
Wed Aug 24 19:18:03 BST 2022


Hi,
Which package we need for building it ?
I installed libboost_python3-devel but it seems not enough.
(not good that Cmake file doesn’t provide enough informations.
Regards

On mercredi 24 août 2022 18:18:34 CEST Jonathan Riddell wrote:
> I'm getting a build failure in Kig
> https://build.neon.kde.org/job/focal_unstable_kde_kig_bin_amd64/129/console
> 
> *16:02:57* [ 99%] Built target objdump-kcrash-kig*16:02:57*
> /workspace/build/scripting/python_type.cc: In static member function
> ‘static const ObjectImpType*
> PythonCompiledScriptImp::stype()’:*16:02:57*
> /workspace/build/scripting/python_type.cc:43:108: error: no matching
> function for call to ‘ObjectImpType::ObjectImpType(const
> ObjectImpType*, const char [27], int, int, int, int, int, int, int,
> int, int)’*16:02:57*    43 |     static const ObjectImpType
> t(BogusImp::stype(), "python-compiled-script-imp", 0, 0, 0, 0, 0, 0,
> 0, 0, 0);
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> *building locally I get a different error:[  2%] Building CXX object
> CMakeFiles/kigpart.dir/scripting/python_scripter.cc.oIn file included
> from /usr/include/python3.8/pytime.h:6,                 from
> /usr/include/python3.8/Python.h:85,                 from
> /home/jr/src/kde/kig/kdegit/kig/scripting/python_scripter.cc:11:/usr/include
> /python3.8/object.h:190:23: error: expected unqualified-id before ‘;’ token 
> 190 |     PyType_Slot *slots; /* terminated by slot==0. */      |          
>             ^ *
> 
> 
> 
> *That's on Ubuntu 20.04 with Python 3.8.  I see both these errors
> happening when I compile on Ubuntu 22.04as well with python 3.10.*
> 
> 
> 
> 
> *Git bisect tells me the problem is this
> commithttps://invent.kde.org/education/kig/-/commit/f7b35a099369f8d333e1e566
> bc61840bb7c6c97c
> <https://invent.kde.org/education/kig/-/commit/f7b35a099369f8d333e1e566bc61
> 840bb7c6c97c>*
> 
> 
> 
> *Would you know what's going on?*
> 
> 
> 
> *Jonathan*


-- 
Laurent Montel | laurent.montel at kdab.com | KDE/Qt Senior Software Engineer 
KDAB (France) S.A.S., a KDAB Group company
Tel: France +33 (0)4 90 84 08 53, http://www.kdab.fr
KDAB - The Qt, C++ and OpenGL Experts




More information about the kde-edu mailing list