<div dir="ltr"><div>I'm getting a build failure in Kig</div><div><a href="https://build.neon.kde.org/job/focal_unstable_kde_kig_bin_amd64/129/console">https://build.neon.kde.org/job/focal_unstable_kde_kig_bin_amd64/129/console</a></div><div><br></div><div><pre class="gmail-console-output"><span class="gmail-timestamp"><b>16:02:57</b> </span>[ 99%] Built target objdump-kcrash-kig
<span class="gmail-timestamp"><b>16:02:57</b> </span>/workspace/build/scripting/python_type.cc: In static member function ‘static const ObjectImpType* PythonCompiledScriptImp::stype()’:
<span class="gmail-timestamp"><b>16:02:57</b> </span>/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)’
<span class="gmail-timestamp"><b>16:02:57</b> </span>   43 |     static const ObjectImpType t(BogusImp::stype(), "python-compiled-script-imp", 0, 0, 0, 0, 0, 0, 0, 0, 0);
<span class="gmail-timestamp"><b><br></b></span></pre><pre class="gmail-console-output"><span class="gmail-timestamp"><b>building locally I get a different error:<br><br><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">[  2%] </span><span style="color:rgb(24,178,24);background-color:rgb(255,255,255)">Building CXX object CMakeFiles/kigpart.dir/scripting/python_scripter.cc.o</span><br>In file included from <span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/include/python3.8/pytime.h:6</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">,</span><br>                 from <span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/include/python3.8/Python.h:85</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">,</span><br>                 from <span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/home/jr/src/kde/kig/kdegit/kig/scripting/python_scripter.cc:11</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">:</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/include/python3.8/object.h:190:23:</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">expected unqualified-id before ‘</span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">’ token</span><br>  190 |     PyType_Slot *slots<span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> /* terminated by slot==0. */</span><br>      |                       <span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">^</span><br><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><br></span></b></span></pre><pre class="gmail-console-output"><span class="gmail-timestamp"><b><span style="font-family:monospace">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.<br><br></span></b></span></pre><pre class="gmail-console-output"><span class="gmail-timestamp"><b><span style="font-family:monospace">Git bisect tells me the problem is this commit<br><a href="https://invent.kde.org/education/kig/-/commit/f7b35a099369f8d333e1e566bc61840bb7c6c97c">https://invent.kde.org/education/kig/-/commit/f7b35a099369f8d333e1e566bc61840bb7c6c97c</a><br><br></span></b></span></pre><pre class="gmail-console-output"><span class="gmail-timestamp"><b><span style="font-family:monospace">Would you know what's going on?<br><br></span></b></span></pre><pre class="gmail-console-output"><span class="gmail-timestamp"><b><span style="font-family:monospace">Jonathan<br><br></span></b></span></pre></div></div>