Bug 1546966

Summary: ming-0.4.8-7.fc28 FTBFS: configure: error: cannot import Python module "distutils".
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: mingAssignee: Dominik 'Rathann' Mierzejewski <dominik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://apps.fedoraproject.org/koschei/package/ming
Whiteboard:
Fixed In Version: ming-0.4.8-2.fc26 ming-0.4.8-5.fc27 ming-0.4.8-8.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-20 17:30:56 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 Petr Pisar 2018-02-20 08:14:22 UTC
ming-0.4.8-7.fc28 fails to build in F28:

checking for python... /usr/bin/python
checking for python... (cached) /usr/bin/python
checking for a version of Python >= '2.1.0'... DEPRECATION WARNING: python2 invoked with /usr/bin/python.
    Use /usr/bin/python3 or /usr/bin/python2
    /usr/bin/python will be removed or switched to Python 3 in the future.
    If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out
yes
checking for the distutils Python package... no
configure: error: cannot import Python module "distutils".
Please check your Python installation. The error was:
DEPRECATION WARNING: python2 invoked with /usr/bin/python.
    Use /usr/bin/python3 or /usr/bin/python2
    /usr/bin/python will be removed or switched to Python 3 in the future.
    If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out
error: Bad exit status from /var/tmp/rpm-tmp.qzcZjH (%build)

This happens since this build root change <https://apps.fedoraproject.org/koschei/build/4205008>. I think you should migrate to Python3.

Comment 1 Fedora Update System 2018-03-07 12:38:14 UTC
ming-0.4.8-8.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-5f31e1002a

Comment 2 Fedora Update System 2018-03-07 12:38:38 UTC
ming-0.4.8-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-8be89d9ad6

Comment 3 Fedora Update System 2018-03-07 12:39:00 UTC
ming-0.4.8-5.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-38a0e1e6f5

Comment 4 Fedora Update System 2018-03-07 15:01:40 UTC
ming-0.4.8-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-8be89d9ad6

Comment 5 Fedora Update System 2018-03-07 15:36:35 UTC
ming-0.4.8-5.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-38a0e1e6f5

Comment 6 Fedora Update System 2018-03-08 15:27:53 UTC
ming-0.4.8-8.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-5f31e1002a

Comment 7 Fedora Update System 2018-03-20 17:30:56 UTC
ming-0.4.8-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2018-03-20 18:14:15 UTC
ming-0.4.8-5.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2018-03-30 12:44:47 UTC
ming-0.4.8-8.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.