Bug 1730215 - mchange-commons: FTBFS in Fedora rawhide: Expects /usr/bin/python to be Python 2
Summary: mchange-commons: FTBFS in Fedora rawhide: Expects /usr/bin/python to be Python 2
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mchange-commons
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stewardship SIG
QA Contact: Fedora Extras Quality Assurance
URL: http://apps.fedoraproject.org/koschei...
Whiteboard:
Depends On:
Blocks: F31FailsToInstall PYTHONIS3
TreeView+ depends on / blocked
 
Reported: 2019-07-16 08:03 UTC by Miro Hrončok
Modified: 2019-08-13 21:18 UTC (History)
4 users (show)

Fixed In Version: mchange-commons-0.2.11-9.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-13 21:18:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2019-07-16 08:03:49 UTC
Description of problem:
Package mchange-commons fails to build from source in Fedora rawhide.

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NzY3ol
+ umask 022
+ cd /builddir/build/BUILD
+ cd mchange-commons-java-mchange-commons-java-0.2.11
+ ./climbing-nemesis.py com.typesafe config any ivy-local --version 1.2.1
BUILDSTDERR: Traceback (most recent call last):
BUILDSTDERR:   File "./climbing-nemesis.py", line 19, in <module>
BUILDSTDERR:     import StringIO
BUILDSTDERR: ModuleNotFoundError: No module named 'StringIO'
BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.NzY3ol (%build)
BUILDSTDERR:     Bad exit status from /var/tmp/rpm-tmp.NzY3ol (%build)

This is a result of https://fedoraproject.org/wiki/Changes/Python_means_Python3

The file should be executed by Python 2. Note that the package will eventually need to be retired or fixed before https://fedoraproject.org/wiki/Changes/RetirePython2

Version-Release number of selected component (if applicable):
0.2.11-8.fc31

Steps to Reproduce:
koji build --scratch f31 mchange-commons-0.2.11-8.fc31.src.rpm

Additional info:
This package is tracked by Koschei. See:
http://apps.fedoraproject.org/koschei/package/mchange-commons

Comment 2 Petr Viktorin (pviktori) 2019-07-16 10:06:30 UTC
Or, update to the upstream version of https://raw.github.com/willb/climbing-nemesis/master/climbing-nemesis.py instead. That supports Python 3, but has other changes as well.

Comment 3 Ben Cotton 2019-08-13 17:12:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 4 Ben Cotton 2019-08-13 19:01:57 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 5 Fabio Valentini 2019-08-13 21:18:46 UTC
Fixed for f31 and rawhide.


Note You need to log in before you can comment on or make changes to this bug.