Bug 1688173
Summary: | Cannot create src.rpm in epel-7-x86_64 chroot | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lukas Slebodnik <lslebodn> |
Component: | mock | Assignee: | Miroslav Suchý <msuchy> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | fozz, fweimer, jdisnard, jkeating, mebrown, msuchy, praiskup, sergio, williams |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-05-17 01:04:41 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
Lukas Slebodnik
2019-03-13 10:22:13 UTC
Hmm, I do not have python3-urlgrabber installed, but I can run mock --root epel-7-x86_64 --resultdir . --buildsrpm --sources=. --spec=mock.spec without any issue. (In reply to Miroslav Suchý from comment #1) > Hmm, I do not have python3-urlgrabber installed, but I can run > mock --root epel-7-x86_64 --resultdir . --buildsrpm --sources=. > --spec=mock.spec > without any issue. I cannot reproduce with following packages either. sh$ rpm -q python2-urlgrabber python3-urlgrabber mock yum dnf systemd python2-urlgrabber-4.0.0-1.fc31.noarch package python3-urlgrabber is not installed mock-1.4.14-1.fc31.noarch yum-4.2.2-2.fc31.noarch dnf-4.2.2-2.fc31.noarch systemd-241-2.gita09c170.fc31.x86_64 dnf was upgraded and yum (yum3 was replaced by dnf/yum4)) I am seeing the same behavior as Lukas on Fedora 30 trying to build EL6/EL7 packages with mock. Some help resolving this problem would be very helpful. (In reply to Doran Barton from comment #3) > I am seeing the same behavior as Lukas on Fedora 30 trying to build EL6/EL7 > packages with mock. Some help resolving this problem would be very helpful. I am already on rawhide. Please reopen BZ change version to f30 and provide version of following packages: rpm -q python2-urlgrabber python3-urlgrabber mock yum dnf systemd On Fedora 30 with mock-1.4.15-1.fc30.noarch I see the same error. I found the solution, we need add [1] to /etc/mock/epel-6-i386.cfg package_manager = yum seems that is the problem, the message [2] proves that mock try use yum . Reopening this bug ... [1] config_opts['package_manager'] = 'dnf' [2] Yum command has been deprecated, use dnf instead. See 'man dnf' and 'man yum2dnf' for more information. I bet the traceback should be fixed in python3-urlgrabber. I'm curious though who should in this case depend on python3-urlgrabber, mock or dnf-yum? python-urlgrabber-4.0.0-2.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-ef2f2050b6 python-urlgrabber-4.0.0-2.fc30 has been pushed to the Fedora 30 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-2019-ef2f2050b6 python-urlgrabber-4.0.0-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. |