Re: KDE rebuild for RHEL8

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

 



On Mon, Jan 14, 2019 at 4:57 PM Rex Dieter <rdieter@xxxxxxxxx> wrote:
>
> Troy Dawson wrote:
>
> > But I've hit a package I'm having issues with, due to python vs
> > python2/python3. qt5-qtwebengine
> > For starters, it has a buildrequires for /usr/bin/python and is
> > running "python <command>" in the %prep section.
>
> Are you saying nothing in rhel8 provides /usr/bin/python ?
>

Nothing provides it. The reason given: nobody could agree what to do here[1].

The easy trick that I use for this is make a symlink to a custom path
and add it to the PATH in the package build.

Something like this:
mkdir -p .test-bin
ln -sf /usr/bin/python2 .link-bin/python
export PATH=$PWD/.link-bin:$PATH

This trick works if it's only a build-time requirement.

Alternatively, you can try to fix the shebangs everywhere...

[1]: https://developers.redhat.com/blog/2018/11/27/what-no-python-in-rhel-8-beta/



--
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kde-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/kde@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux