Re: python2->python3 mass rebuild and auto tools

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

 



On Wednesday, July 31, 2019 7:08:57 PM EDT Miro Hrončok wrote:
> On 01. 08. 19 0:03, Steve Grubb wrote:
> > I have a package that fails to build because libraries aren't where they
> > are suposed to be. I looked at the project page
> > 
> > https://fedoraproject.org/wiki/Changes/Python_means_Python3
> > 
> > and there is no mention of the effect on autotools.
> 
> Sorry a about not mentioning autotools specifically.
> 
> > I have pyexec_PYTHON. What is supposed to be there? And since this is an
> > upstream package consumed by all distributions and old versions of
> > Fedora/  RHEL,  what is the portable thing to do?
> > 
> > There's other things out there like pybind_dir which are probably messed
> > up,  too.
> 
> Unfortunately, I don't know much about autoools, but I suspect that the
> same mechanics that were needed for Python 3 to work are now needed for
> Python 2. What package exactly is failing? Is it audit? I'll have a look.

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.


> > Should they be hardcoded to mean python2 in autotools and swig?
> 
> 
> No. That was kinda the point of this change: "python" means Python 3.
> 
> Python 2 is deprecated and will be retired.

Of course. But there is a legacy pyexec_PYTHON and there is a py3exec_PYTHON. 
What this change means is that they are one in the same. I do not think that 
is the intention. Because...is there a py2exec_PYTHON? I do not find it 
grepping my system. And this would need to have been advanced years ago, not 
today.

Thanks,
-Steve


_______________________________________________
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