libratbag fails to build with Python 3.8.0b1. The build no longer links to libpython, resulting in undefined references to Python API. Code that embeds Python (rather than building an extension module) needs to pass `--embed` to any `python3-config --libs` invocation to build with Python 3.8. More information: https://docs.python.org/3.8/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00924734-libratbag/ For all our attempts to build libratbag with Python 3.8, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/libratbag/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.8: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/ Let us know here if you have any questions.
Please respond.
Well, we have been trying to address the issue. But the root cause of the problem seems to be in meson, not in libratbag. Our code doesn't call `python3-config --libs` at all, we rely on meson to set up the correct parameters. So unless we are the only one meson package that makes use of `python3-config --libs`, we better fix meson to address all of the issues at once.
Could you report this to meson upstream then? Thank you.
> Could you report this to meson upstream then? Thank you. https://github.com/mesonbuild/meson/issues/5629 There you go
Thank you.
Looks like the new dependency to use is python-embed.pc. Fixed now with libratbag-0.9.905-3.fc31
Thank You.