Re: python2->python3 mass rebuild and auto tools

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

 



On 02. 08. 19 10:57, Miro Hrončok wrote:
On 02. 08. 19 5:21, Steve Grubb wrote:
On Thursday, August 1, 2019 6:37:47 PM EDT Miro Hrončok wrote:
On 01. 08. 19 23:44, Steve Grubb wrote:
On Thursday, August 1, 2019 4:37:01 AM EDT Miro Hrončok wrote:
On 01. 08. 19 4:43, Steve Grubb wrote:
Audit. But is seems that autotools shoul hard code the old sematics so
that all packages do the right thing. It seems that python3 equivalents
have been introduced. They do the right thing with the python
migration.
But there are things that are expectd to defaulto python 2.

https://src.fedoraproject.org/rpms/audit/pull-request/4

Autotools usually already does the right thing, aka choosing python2 if
it
cannot find python. Using "python" in Fedora packages is forbidden
anyway.

I applied your patch. Thanks.

But I am concerned that this is a bandaid because it patches the spec
file and all distributions will have to do the same thing.

How does this Fedora impact other distributions?

Because eventually we all (distros) have to go through it. So, if autotools
handled this gracefully, I and everyone else would have a configure.ac file and
Makefile.am that just does the right thing. So, I am faced with making an
announcement on my project's mail list that maintainer on other distros have
to do this hack because autotools is incapable of doing the right thing.

Oh, now I understand. Sorry for the confusion.

I don't really understand autotools that much, but I'm quite confident that there is A Proper Way™ to have --with-python2 and --with-python3 (instead of --with-python). I've seen projects in Fedora have that.

Hopefully somebody more experienced in autotools can help here.

I've tried https://github.com/linux-audit/audit-userspace/pull/102 but honestly have no idea if I'm not reinventing the wheel.

--
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://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@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