Comment 8 for bug 1960608

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hello, there are also bugs in python.m4, the same fix as https://github.com/pybind/pybind11/pull/3764/files fixes the issue in m4 too

I patched locally my python.m4 with something like this:

- sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
- sitedir = sysconfig.get_path('purelib', scheme='posix_prefix', vars={'base':'$am_py_prefix'})

- sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
to
+ sitedir = sysconfig.get_path('platlib', scheme='posix_prefix', vars={'platbase':'$am_py_exec_prefix'})

And firewalld was building correctly again.