<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 25, 2024 at 10:16 PM Manuel Alcaraz Zambrano <<a href="mailto:manuelalcarazzam@gmail.com">manuelalcarazzam@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
> I have been getting errors while generating the python bindings for the kde<br>
> frameworks for a few days / weeks. the mirror message I have is similar for<br>
> every single project that fails:<br>
> <br>
> Building Python Wheel<br>
> /usr/bin/python3.12: No module named build.__main__; 'build' is a package<br>
> and cannot be directly executed<br>
> make[2]: *** [python/CMakeFiles/KUnitConversion.dir/build.make:251:<br>
> python/KUnitConversion/<br>
> <br>
> I am not sure (nor know anything about shiboken) - is there a missing<br>
> package I need to install? if so, why cmake didn't stop there?<br>
<br>
You need the python-build package[1]. Maybe we need to check for it before enabling building the Python bindings.<br></blockquote><div><br></div><div>yes please :)</div><div>it's easier to understand why a build fails if there's a warning on cmake about missing packages.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Regards.<br>
<br>
[1]: <a href="https://pypi.org/project/build/" rel="noreferrer" target="_blank">https://pypi.org/project/build/</a><br>
<br>
</blockquote></div></div>