[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-edu-devel
Subject:    Kig build failure
From:       Jonathan Riddell <jr () jriddell ! org>
Date:       2022-08-24 16:18:34
Message-ID: CANX=XXPWffMW-OB6rYq6RLd0g2uDwnJcP5ae_5CectRD=L1JAw () mail ! gmail ! com
[Download RAW message or body]

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/f7b35a099369f8d333e1e566bc61840bb7c6c97c
<https://invent.kde.org/education/kig/-/commit/f7b35a099369f8d333e1e566bc61840bb7c6c97c>*



*Would you know what's going on?*



*Jonathan*

[Attachment #3 (text/html)]

<div dir="ltr"><div>I&#39;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">htt \
ps://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(), &quot;python-compiled-script-imp&quot;, 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&#39;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/f7b35a099369f8d333e1e566bc61840bb7 \
c6c97c">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&#39;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>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic