On Tue, Sep 21, 2021 at 23:03:12 +0200,
 Miro Hrončok <mhron...@redhat.com> wrote:
On 21. 09. 21 19:19, Bruno Wolff III wrote:

If there is no Python version runtime dependency there, you could temporaily use the python3.9 package to build the bundled mozjs78.

I thought of that. I tried some naive ways to do that without success. I'm not sure if any extra python packages are needed. Probably not, but if so it won't work since those will be for 3.10. There doesn't seem to be a standard way to have an unversioned python call run 3.9. It might be worth trying a build requires for python3.9 and creating a symlink from /usr/bin/python to it during set up. I'll try that in a scratch build tonight and see if that works.

Another approach would be to find references to /usr/bin/python in the mozjs build and change them to run 3.9. This is still tricky since you can't use the normal patch process as the mozjs source is not unpacked until in the build part of the process.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to