Kig build failure

Jonathan Riddell <[email protected]> Wed, 24 Aug 2022 17:18:34 +0100
Newsgroups gmane.comp.kde.devel.education
Message-ID <CANX=XXPWffMW-OB6rYq6RLd0g2uDwnJcP5ae_5CectRD=L1JAw__15903.4900179662$1661357952$gmane$org@mail.gmail.com>
--0000000000000343ec05e6ff09e1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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
=E2=80=98static const ObjectImpType*
PythonCompiledScriptImp::stype()=E2=80=99:*16:02:57*
/workspace/build/scripting/python_type.cc:43:108: error: no matching
function for call to =E2=80=98ObjectImpType::ObjectImpType(const
ObjectImpType*, const char [27], int, int, int, int, int, int, int,
int, int)=E2=80=99*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/includ=
e/python3.8/object.h:190:23:
error: expected unqualified-id before =E2=80=98;=E2=80=99 token  190 |     =
PyType_Slot
*slots; /* terminated by slot=3D=3D0. */      |                       ^
*



*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/f7b35a099369f8d333e1e56=
6bc61840bb7c6c97c
<https://invent.kde.org/education/kig/-/commit/f7b35a099369f8d333e1e566bc61=
840bb7c6c97c>*



*Would you know what's going on?*



*Jonathan*

--0000000000000343ec05e6ff09e1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I&#39;m getting a build failure in Kig</div><div><a h=
ref=3D"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/12=
9/console</a></div><div><br></div><div><pre class=3D"gmail-console-output">=
<span class=3D"gmail-timestamp"><b>16:02:57</b> </span>[ 99%] Built target =
objdump-kcrash-kig
<span class=3D"gmail-timestamp"><b>16:02:57</b> </span>/workspace/build/scr=
ipting/python_type.cc: In static member function =E2=80=98static const Obje=
ctImpType* PythonCompiledScriptImp::stype()=E2=80=99:
<span class=3D"gmail-timestamp"><b>16:02:57</b> </span>/workspace/build/scr=
ipting/python_type.cc:43:108: error: no matching function for call to =E2=
=80=98ObjectImpType::ObjectImpType(const ObjectImpType*, const char [27], i=
nt, int, int, int, int, int, int, int, int)=E2=80=99
<span class=3D"gmail-timestamp"><b>16:02:57</b> </span>   43 |     static c=
onst ObjectImpType t(BogusImp::stype(), &quot;python-compiled-script-imp&qu=
ot;, 0, 0, 0, 0, 0, 0, 0, 0, 0);
<span class=3D"gmail-timestamp"><b><br></b></span></pre><pre class=3D"gmail=
-console-output"><span class=3D"gmail-timestamp"><b>building locally I get =
a different error:<br><br><span style=3D"font-family:monospace"><span style=
=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)">[ =C2=A02%] </span>=
<span style=3D"color:rgb(24,178,24);background-color:rgb(255,255,255)">Buil=
ding CXX object CMakeFiles/kigpart.dir/scripting/python_scripter.cc.o</span=
><br>In file included from <span style=3D"font-weight:bold;color:rgb(0,0,0)=
;background-color:rgb(255,255,255)">/usr/include/python3.8/pytime.h:6</span=
><span style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)">,</span=
><br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0from <span style=3D"font-weight:bold;color:rgb(0=
,0,0);background-color:rgb(255,255,255)">/usr/include/python3.8/Python.h:85=
</span><span style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)">,=
</span><br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0from <span style=3D"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=3D"color:rgb(0,0,0);b=
ackground-color:rgb(255,255,255)">:</span><br><span style=3D"font-weight:bo=
ld;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/include/python3=
.8/object.h:190:23:</span><span style=3D"color:rgb(0,0,0);background-color:=
rgb(255,255,255)"> </span><span style=3D"font-weight:bold;color:rgb(255,84,=
84);background-color:rgb(255,255,255)">error: </span><span style=3D"color:r=
gb(0,0,0);background-color:rgb(255,255,255)">expected unqualified-id before=
 =E2=80=98</span><span style=3D"font-weight:bold;color:rgb(0,0,0);backgroun=
d-color:rgb(255,255,255)">;</span><span style=3D"color:rgb(0,0,0);backgroun=
d-color:rgb(255,255,255)">=E2=80=99 token</span><br> =C2=A0190 | =C2=A0=C2=
=A0=C2=A0=C2=A0PyType_Slot *slots<span style=3D"font-weight:bold;color:rgb(=
255,84,84);background-color:rgb(255,255,255)">;</span><span style=3D"color:=
rgb(0,0,0);background-color:rgb(255,255,255)"> /* terminated by slot=3D=3D0=
. */</span><br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| =C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0<span style=3D"font-weight:bold;color:rgb(255=
,84,84);background-color:rgb(255,255,255)">^</span><br><span style=3D"color=
:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><br></span></b></span></pre><pre class=3D"gmail-console-output">=
<span class=3D"gmail-timestamp"><b><span style=3D"font-family:monospace">Th=
at&#39;s on Ubuntu 20.04 with Python 3.8.  I see both these errors happenin=
g when I compile on Ubuntu 22.04as well with python 3.10.<br><br></span></b=
></span></pre><pre class=3D"gmail-console-output"><span class=3D"gmail-time=
stamp"><b><span style=3D"font-family:monospace">Git bisect tells me the pro=
blem is this commit<br><a href=3D"https://invent.kde.org/education/kig/-/co=
mmit/f7b35a099369f8d333e1e566bc61840bb7c6c97c">https://invent.kde.org/educa=
tion/kig/-/commit/f7b35a099369f8d333e1e566bc61840bb7c6c97c</a><br><br></spa=
n></b></span></pre><pre class=3D"gmail-console-output"><span class=3D"gmail=
-timestamp"><b><span style=3D"font-family:monospace">Would you know what&#3=
9;s going on?<br><br></span></b></span></pre><pre class=3D"gmail-console-ou=
tput"><span class=3D"gmail-timestamp"><b><span style=3D"font-family:monospa=
ce">Jonathan<br><br></span></b></span></pre></div></div>

--0000000000000343ec05e6ff09e1--