Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1367567

Summary: Fails to build new package
Product: [Community] Copr Reporter: Irina Boverman <iboverma>
Component: backendAssignee: Miroslav Suchý <msuchy>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: clime, rbrantle
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-18 20:38:51 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:

Description Irina Boverman 2016-08-16 19:28:54 UTC
Description of problem:

Fails to build

Version-Release number of selected component (if applicable):

How reproducible:


Steps to Reproduce:

copr-cli build @qpid/qpid qpid-proton-0.13.1-1.el6.src.rpm

Actual results:

   Failed build

Expected results:

   Successful build

Additional info:

see this:

Comment 1 Irina Boverman 2016-08-16 19:33:19 UTC
It uses mock Mock Version: 1.2.19, which is still in "testing"

Information for build mock-1.2.19-2.el6
ID	790656
Package Name	mock
Version	1.2.19
Release	2.el6
Summary	Builds packages inside chroots
Description	Mock takes an SRPM and builds it in a chroot.
Built by	msuchy
State 	complete
Started	Wed, 10 Aug 2016 13:09:12 UTC
Completed	Wed, 10 Aug 2016 13:10:55 UTC
Task	build (el6-candidate, /rpms/mock:a77a9d78d1fff1f681d62914f131d0490e43366c)

Actual error is this:

DEBUG  Retrieving key from file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-6
DEBUG  Importing GPG key 0xC105B9DE:
DEBUG   Userid     : "CentOS-6 Key (CentOS 6 Official Signing Key) <>"
DEBUG   Fingerprint: c1da c52d 1664 e8a4 386d ba43 0946 fca2 c105 b9de
DEBUG   From       : /usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-6
DEBUG  warning: /var/lib/mock/epel-6-x86_64-mockbuilder-3528/root/var/cache/yum/epel/packages/epel-rpm-macros-6-11.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
DEBUG  Retrieving key from file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-6
DEBUG  The GPG keys listed for the "epel" repository are already installed but they are not correct for this package.
DEBUG  Check that the correct key URLs are configured for this repository.
DEBUG   Failing package is: epel-rpm-macros-6-11.noarch
DEBUG   GPG Keys are configured as: file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-6
DEBUG  Child return code was: 1

Comment 2 clime 2016-08-16 21:13:50 UTC
Thanks for that catch!

It is in testing for epel6 and epel7 but not for F24 and our builders use F24 so that's how it got there. This might be related to mock.

Comment 3 Miroslav Suchý 2016-08-17 10:20:09 UTC
This is due bug in mock, which I just fixed. Should be resolved soon in Copr.

Comment 4 clime 2016-08-18 20:35:05 UTC
*** Bug 1367859 has been marked as a duplicate of this bug. ***

Comment 5 clime 2016-08-18 20:38:51 UTC
Should be fixed in COPR now.