Re: Kig build failure
Laurent Montel <[email protected]> Wed, 24 Aug 2022 20:18:03 +0200
| Newsgroups | gmane.comp.kde.devel.education |
|---|---|
| Message-ID | <3966265.UddsVRgS7X__22701.7786049814$1661370174$gmane$org@localhost.localdomain> |
Hi,
Which package we need for building it ?
I installed libboost_python3-devel but it seems not enough.
(not good that Cmake file doesn=E2=80=99t provide enough informations.
Regards
On mercredi 24 ao=C3=BBt 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/conso=
le
>=20
> *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);
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> *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/incl=
ude
> /python3.8/object.h:190:23: error: expected unqualified-id before =E2=80=
=98;=E2=80=99 token=20
> 190 | PyType_Slot *slots; /* terminated by slot=3D=3D0. */ | =
=20
> ^ *
>=20
>=20
>=20
> *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.*
>=20
>=20
>=20
>=20
> *Git bisect tells me the problem is this
> commithttps://invent.kde.org/education/kig/-/commit/f7b35a099369f8d333e1e=
566
> bc61840bb7c6c97c
> <https://invent.kde.org/education/kig/-/commit/f7b35a099369f8d333e1e566bc=
61
> 840bb7c6c97c>*
>=20
>=20
>=20
> *Would you know what's going on?*
>=20
>=20
>=20
> *Jonathan*
=2D-=20
Laurent Montel | [email protected] | KDE/Qt Senior Software Engineer=
=20
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