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