Bug 722533

Summary: Build for el6 still broken, CentOS 6 has been released
Product: [Fedora] Fedora Reporter: Sergio Pascual <sergio.pasra>
Component: mockAssignee: Clark Williams <williams>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mebrown, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-15 16:08:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Sergio Pascual 2011-07-15 15:28:44 UTC
mock-1.1.11 doesn't build packages for el6 out of the box, although CentOS 6 has been released and the its repositories are available

Comment 1 Sergio Pascual 2011-07-15 16:08:27 UTC

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

Comment 2 R P Herrold 2011-07-16 10:00:40 UTC
Sergio

What problem are you having with the released CentOS 6 archive?  The assertion of an inability to build, without a reproducer makes it hard to analyze this bug

-- Russ herrold

Comment 3 Sergio Pascual 2011-07-16 14:20:21 UTC
Building a package for el6:

$ mock -r -r epel-6-x86_64 somepackage.src.rpm
(snip)
ERROR: Command failed: 
 # ['/usr/bin/yum', '--installroot', '/var/lib/mock/epel-6-x86_64/root/', 'groupinstall', 'buildsys-build', '--setopt=tsflags=nocontexts']
Ignored option -c (probably due to merging -yc != -y -c)
Error: Cannot retrieve repository metadata (repomd.xml) for repository: beta. Please verify its path and try again

The configuration file for epel-6 still has some mentions to a "beta" repository.
If you remove them, the build still fails with:

ERROR: Command failed: 
 # ['/usr/bin/yum', '--installroot', '/var/lib/mock/epel-6-x86_64/root/', 'groupinstall', 'buildsys-build', '--setopt=tsflags=nocontexts']
Ignored option -c (probably due to merging -yc != -y -c)
Error: Package: epel-release-6-5.noarch (epel)
           Requires: /bin/sh
 You could try using --skip-broken to work around the problem
Error: Package: epel-release-6-5.noarch (epel)
           Requires: redhat-release >= 6
 You could try running: rpm -Va --nofiles --nodigest