On 06. 02. 19 15:04, Miro Hrončok wrote:
due to https://fedoraproject.org/wiki/Changes/Python_Extension_Flags
it is no
longer correct to just call `python3 setup.py build` or `python3 setup.py
build_ext` in spec without setting the proper flags (for arched builds with
Python extension modules at least).
That is without setting both CFLAGS **and** LDFLAGS.
I've grepped the usage and skimmed trough specs, destining the following list of
packages that fail to properly set both flags.
I intend to fix the packages using my provenpackager rights during next week. I
plan to push directly. There is no automated script, I'll do the changes by hand.
1) use %py3_build if possible
2) use %set_build_flags otherwise if possible
3) add the missing CFLAGS and/or LDFLAGS variables manually otherwise
If you prefer to fix your package yourself, please do (I would appreciate this).
If you need more time, let me know.
If you prefer a Pull Request over a direct push, let me know.
The change in python3 package did not yet happen, no rebuild is needed and I
will not bump release or add a changelog entry for this.
I will check if the package builds and I will not introduce a new FTBFS.
I will not try to fix nontrivial already existing FTBFS.
All packages that explicitly called "python3 setup.py build/build_ext" without
proper flags are fixed now. We will proceed with Python itself this week.
If you have troubles, block our tracking bug: