You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I fixed it by adding the following option to the rpmbuild command in uhal/config/mfPythonRPMRules.mk (line 58): --define '_unpackaged_files_terminate_build 0'
Also, since I have installed python 3.9 from source instead of using yum, python39 is not installed as an rpm package therefore I had to remove ${PYTHON_RPM_CAPABILITY} from line 49 in the same file.
The text was updated successfully, but these errors were encountered:
Do the __init__.pyc and __init__.pyo files exist under uhal/python/pkg/uhal before the make rpm command is run? If not, I suspect this might be tricky to solve, and since Python 3.9 RPMs aren't available for CentOS7, it might take me a while to be able to reproduce the setup.
Overall though, since Python itself is not RPM, in this case rather than build RPMs it might make most sense just to directly install the Python bindings; this can be done as follows:
When I tried to create rpm files for uhal-python on centos 7 I got this error:
I fixed it by adding the following option to the
rpmbuild
command inuhal/config/mfPythonRPMRules.mk
(line 58):--define '_unpackaged_files_terminate_build 0'
Also, since I have installed python 3.9 from source instead of using yum, python39 is not installed as an rpm package therefore I had to remove
${PYTHON_RPM_CAPABILITY}
from line 49 in the same file.The text was updated successfully, but these errors were encountered: