Bug 1217700 - f22 mock broken
Summary: f22 mock broken
Keywords:
Status: CLOSED DUPLICATE of bug 1211978
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Clark Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-01 05:27 UTC by Ralf Corsepius
Modified: 2015-05-01 09:37 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-01 09:37:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ralf Corsepius 2015-05-01 05:27:54 UTC
Description of problem:

$ ls -l /var/*/mock/ 
/var/cache/mock/:
total 0

/var/lib/mock/:
total 0

$ mock -r fedora-22-x86_64 --init
INFO: mock.py version 1.2.7 starting (python version = 3.4.2)...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
Start: clean chroot
Finish: clean chroot
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled yum cache
Start: cleaning yum metadata
Finish: cleaning yum metadata
INFO: enabled ccache
Mock Version: 1.2.7
INFO: Mock Version: 1.2.7
Start: yum install
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/fedora-22-x86_64/root/ --releasever 22 install @buildsys-build --setopt=tsflags=nocontexts'


You have enabled checking of packages via GPG keys. This is a good thing.
However, you do not have any GPG public keys installed. You need to download
the keys for packages you wish to install and install them.
You can do that by running the command:
    rpm --import public.gpg.key


Alternatively you can specify the url to the key you would like to use
for a repository in the 'gpgkey' option in a repository section and yum
will install it for you.

For more information contact your distribution or package provider.

ERROR: Command failed. See logs for output.
 # /usr/bin/yum --installroot /var/lib/mock/fedora-22-x86_64/root/ --releasever 22 install @buildsys-build --setopt=tsflags=nocontexts
Problem repository: [google-chrome]
ip_resolve: None
proxy_password: None
deltarpm: True
bandwidth: 0
cost: 1000
exclude: []
repo_gpgcheck: False
sslverify: True
gpgkey: []
minrate: 0
fastestmirror: False
priority: 99
mirrorlist: None
gpgcheck: True
include: []
sslcacert: None
username: None
metadata_expire: 172800
sslclientcert: None
baseurl: [u'http://dl.google.com/linux/chrome/rpm/stable/x86_64']
proxy: None
throttle: 0
password: None
mediaid: None
name: u'google-chrome'
sslclientkey: None
metalink: None
enabled: True
skip_if_unavailable: True
proxy_username: None
timeout: 120
enablegroups: True

Version-Release number of selected component (if applicable):
mock-1.2.7-1.fc22.noarch
dnf-0.6.5-1.fc22.noarch

How reproducible:
Always, for when targeting (mock -r <target>) a fedora-release < rawhide 

Steps to Reproduce:
see above.

Actual results:
see above.

Expected results:
Function.

Additional info:
There seem to be 2 bugs interacting
a) yum vs. dnf screwups.
b) mock/dnf mixing up host and target.
It's the only explanation I have, why mock/dnf are complaining about google-chrome. Though Googls' google-chrome-stable repo is enabled on the host, this should not interest mock.

Comment 1 Michael Simacek 2015-05-01 09:37:19 UTC

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


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