Bug 1212112 - 'fedpkg mockbuild' fails when building for rawhide
Summary: 'fedpkg mockbuild' fails when building for rawhide
Keywords:
Status: CLOSED DUPLICATE of bug 1151956
Alias: None
Product: Fedora
Classification: Fedora
Component: fedpkg
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-15 14:56 UTC by Tim Waugh
Modified: 2015-04-15 15:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-15 15:29:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tim Waugh 2015-04-15 14:56:15 UTC
Description of problem:
When trying to run 'fedpkg mockbuild' on the master branch for a package, I get an error.

Version-Release number of selected component (if applicable):
fedpkg-1.19-2.fc22.noarch
mock-1.2.7-1.fc22.noarch
yum-3.4.3-505.fc22.noarch
dnf-0.6.5-1.fc22.noarch

How reproducible:
100%

Steps to Reproduce:
1.For any package, check out the master branch
2.fedpkg mockbuild

Actual results:
e.g.:

Wrote: /home/twaugh/devel/fedora/cups/cups-2.0.2-5.fc23.src.rpm
INFO: mock.py version 1.2.7 starting (python version = 3.4.2)...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
INFO: Start(/home/twaugh/devel/fedora/cups/cups-2.0.2-5.fc23.src.rpm)  Config(rawhide-x86_64)
Start: clean chroot
Finish: clean chroot
Start: chroot init
INFO: calling preinit hooks
Mock Version: 1.2.7
INFO: Mock Version: 1.2.7
Start: yum install
ERROR: Exception(/home/twaugh/devel/fedora/cups/cups-2.0.2-5.fc23.src.rpm) Config(rawhide-x86_64) 0 minutes 0 seconds
INFO: Results and/or logs in: /home/twaugh/devel/fedora/cups/results_cups/2.0.2/5.fc23
INFO: Cleaning up build root ('cleanup_on_failure=True')
Start: clean chroot
Finish: clean chroot
ERROR: Command failed. See logs for output.
 # /usr/bin/yum --installroot /var/lib/mock/rawhide-x86_64/root/ groupinstall build --setopt=tsflags=nocontexts
Yum command has been deprecated, use dnf instead.
See 'man dnf' and 'man yum2dnf' for more information.
To transfer transaction metadata from yum to DNF, run 'dnf migrate'Redirecting to '/usr/bin/dnf --installroot /var/lib/mock/rawhide-x86_64/root/ groupinstall build --setopt=tsflags=nocontexts'

Config error: releasever not given and can not be detected from the installroot.
Could not run mockbuild: Command '['mock', '--configdir', '/tmp/fedora-devel-x86_64.Vvshrbmockconfig', '-r', 'fedora-devel-x86_64', '--resultdir', '/home/twaugh/devel/fedora/cups/results_cups/2.0.2/5.fc23', '--rebuild', '/home/twaugh/devel/fedora/cups/cups-2.0.2-5.fc23.src.rpm']' returned non-zero exit status 1

Expected results:
Build root set up and mock build proceeds.

This is different from bug #1210398.

Comment 1 Pavol Babinčák 2015-04-15 15:29:32 UTC

*** This bug has been marked as a duplicate of bug 1151956 ***


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