Re: Fedora 30 Self-Contained Change proposal: Make ambiguous python shebangs error

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

 



Il giorno ven 31 ago 2018 alle ore 13:18 Miro Hrončok
<mhroncok@xxxxxxxxxx> ha scritto:
>
> On 31.8.2018 08:22, Guido Aulisi wrote:
> > Can we explicitly call python2?
> > Instead of calling
> > ./waf ...
> > which contains the unversioned shebang, we call
> > python2 waf ... ?
>
> You can. This has nothing to do with this change. What am I not getting?
>

waf script contains unversioned python shebangs, but it's usually
provided by upstream developer,so instead of patching it I prefer
calling python2 explicitly.
I don't know if the new f30 build system checks this too, I remember
some warnings about waf containing wrong shebangs in the past.
I usually fix this problem calling waf this way:

%{_python2} waf ...

other ways are calling

python2 waf

or patching waf

Ciao
Guido
_______________________________________________
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