Re: Fedora 29 Mass Rebuild

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

 



On 16.7.2018 20:05, Sérgio Basto wrote:
On Fri, 2018-07-13 at 10:42 +0200, Miro Hrončok wrote:
On 13.7.2018 10:38, Vascom wrote:
Hi.
As I see rebuild failed for all packages use %{__python} macro
because
it point to /usr/bin/python that removed from python2 package.

Need MassFix all these packages. Many of them not updated very long
time.

Please, only fix yours or those you care about.

Let the old cruft be FTBFS for a while to see if the maintainers care
or
not. We need to see how many legacy python stuff is in the distro
because it is needed and how many is there just because it
accidentally
works for 10 years without any changes.

Hello

After read this thread I think is about this scriptlet [1]
Please how I fixed this one [2] ?

Thanks

[1]
# Fix the shebangs so the package actually requires python2
sed -i -e 's@#! /usr/bin/env python@#!%{__python2}@g' \
gdesklets gdesklets-shell test-control.py ctrlinfo \
gdesklets-logview gdesklets-daemon


[2]
releng's gdesklets-0.36.3-32.fc29 failed to build
         http://koji.fedoraproject.org/koji/buildinfo?buildID=1108914


That is: ./configure: line 13869: python: command not found

You need to locate a place where ambiguous python is called in the build system.

I see:

configure
12316: for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
12505:PYTHON_PREFIX=`python -c "import sys; print sys.prefix"`

configure.ac.nopyorbit
60:PYTHON_PREFIX=`python -c "import sys; print sys.prefix"`


configure.ac
60:PYTHON_PREFIX=`python -c "import sys; print sys.prefix"`

configure.ac.m4
61:PYTHON_PREFIX=`python -c "import sys; print sys.prefix"`

configure.ac.179
62:PYTHON_PREFIX=`python -c "import sys; print sys.prefix"`


shell/plugins/PackageInstaller/__init__.py
139:            os.system("python %s --nomsg" % (s))



--
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/message/PHG7YPQEMG5LW5F3PVL4KPOHKR3D6BHS/




[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