Bug 1152444

Summary: Broken executables in python-boto
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: python-botoAssignee: Garrett Holmstrom <gholms>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: gholms, lnie, orion, s, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-boto-2.34.0-4.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-27 18:08:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ville Skyttä 2014-10-14 08:06:38 UTC
All /usr/bin executables in python-boto-2.32.1-1.fc20.noarch have a python3 shebang which means they're broken in various ways, see:

$ rpm -ql python-boto | grep /usr/bin/ | xargs head -n 1


This comment in the specfile does not hold:

| # Must do the python3 install first because the scripts in /usr/bin are
| # overwritten with every setup.py install and they only work with python2.

As can be witnessed from the build log, they're NOT overwritten on every setup.py install, the python 2 one just changes the permissions (again):

https://kojipkgs.fedoraproject.org//packages/python-boto/2.32.1/1.fc20/data/logs/noarch/build.log


A simple "rm $RPM_BUILD_ROOT%{_bindir}/*" after the python 3 install and before the python 2 one (+ above commentary fixes) should fix it.

Comment 1 Fedora Update System 2014-11-08 01:50:33 UTC
python-boto-2.34.0-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/python-boto-2.34.0-3.fc21

Comment 2 Fedora Update System 2014-11-08 01:52:16 UTC
python-boto-2.34.0-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-boto-2.34.0-3.fc20

Comment 3 Fedora Update System 2014-11-08 01:54:03 UTC
python-boto-2.34.0-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/python-boto-2.34.0-3.fc19

Comment 4 Fedora Update System 2014-11-08 01:55:11 UTC
python-boto-2.34.0-3.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/python-boto-2.34.0-3.el7

Comment 5 Fedora Update System 2014-11-08 01:56:00 UTC
python-boto-2.34.0-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-boto-2.34.0-3.el6

Comment 6 Fedora Update System 2014-11-09 15:41:36 UTC
Package python-boto-2.34.0-3.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing python-boto-2.34.0-3.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-3881/python-boto-2.34.0-3.el6
then log in and leave karma (feedback).

Comment 7 lnie 2014-11-10 06:03:14 UTC
python-boto-2.34.0-3.fc20 works

Comment 8 Fedora Update System 2014-11-13 18:05:58 UTC
python-boto-2.34.0-4.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-11-27 18:08:52 UTC
python-boto-2.34.0-4.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2014-11-27 18:09:38 UTC
python-boto-2.34.0-4.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2014-12-01 18:55:32 UTC
python-boto-2.34.0-4.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2014-12-01 19:06:40 UTC
python-boto-2.34.0-4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.