Contained binaries are not executable
Description:
I've just ran into the following build error when building m64py
:
* Building wheel...
validate_pyproject.api.load_builtin_plugin defines `tool.distutils` schema
validate_pyproject.api.load_builtin_plugin defines `tool.setuptools` schema
running bdist_wheel
running build
running build_qt
Updating '/build/m64py/src/m64py-0.3.0/src/m64py/ui/i18n/m64py_de_DE.qm'...
Generated 103 translation(s) (0 finished and 103 unfinished)
Ignored 60 untranslated source text(s)
Updating '/build/m64py/src/m64py-0.3.0/src/m64py/ui/i18n/m64py_en.qm'...
Generated 0 translation(s) (0 finished and 0 unfinished)
Ignored 163 untranslated source text(s)
warning: BuildQt: Unable to find Qt User Interface Compiler (pyuic6)
ERROR Backend subprocess exited when trying to invoke build_wheel
==> ERROR: A failure occurred in build().
Other users pointed out that this is a permission issue and it is probably caused by
# fix permissions
find "$pkgdir" -type f -exec chmod 644 {} \;
which unsets the executable bit of all files. It should probably not do this for binaries like pyuic6
.
Additional info:
- package version(s): python-pyqt6-6.8.0dev2410211537-1