Re: Problem with cmake's PythonInterp in F29 and F28

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24. 02. 19 16:05, Charalampos Stratakis wrote:
This is an issue with the build dependencies. python3 should be replaced with python3-devel.

 From the SPEC on the build section: %cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=%{__python3} ..

The %{__python3} macro will be defined when python3-devel is present in the build environment (to /usr/bin/python3).

In your build logs, it evaluates correctly on F30 but it stays like that in F29 and F28, so my guess would be that
something pulls python3-devel in the buildroot of F30, either one of the other dependencies or something else,
which is not the case for the other releases.

We've moved the macro to the python-srpm-macros, so you can use it even without python3-devel. We've done it in F30.

https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/13

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux