Description of problem: The mock chroot configs for EPEL 6 enable the "beta" repo, which no longer has any active mirrors, so EPEL 6 package builds fail. Version-Release number of selected component (if applicable): mock-1.1.9-1.fc14 How reproducible: Always Steps to Reproduce: 1. mock -r epel-6-i386 something.src.rpm Actual results: ERROR: Command failed: # /usr/bin/yum --installroot /var/lib/mock/epel-6-i386/root/ groupinstall buildsys-build Error: Cannot retrieve repository metadata (repomd.xml) for repository: beta. Please verify its path and try again Expected results: Package builds.
Created attachment 482631 [details] /etc/mock/sl-6-i386.cfg Dear Benjamin, the problem is that the epel 6 configuration files of mock will use centos 6 repositories, which are currently disabled because centos 6 doesn't exist. Scientific Linux is released a few days ago. I built my package in mock with sl in the config-file since sl6 beta released. I attached my /etc/mock/sl-6-i386.cfg to this bug. Feel free to use it Regards Simon
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Bug is still present in 1.1.10-1.fc14, with the same result. Clark, how can this WORKFORYOU when the chroot config points to a nonexistent repo? I have been successfully using Scientific Linux for EPEL builds on my own system. Why not update the official mock configs to point to SL instead of CentOS?
Grrr. Apologies, I completely forgot that my regression test suite filtered out epel-6 from test consideration. I don't think that I can unilaterally declare that we use SL rather than CentOS. I think we would need to bring it up to the Fedora Board before we made that sort of decision.
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.
*** Bug 722533 has been marked as a duplicate of this bug. ***
@Sergio - As far as i known is the fraternization with the CentOS Project more important than a working epel6 branch for mock.
(In reply to comment #7) > @Sergio - As far as i known is the fraternization with the CentOS Project more > important than a working epel6 branch for mock. I understand that, but the CentOS 6 has been released and the configuration files are still broken. There is a beta repository that doesn't exist 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 and if I remove this repository from epel-6-x86_64.cfg I still get 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 when building.
It would have been nice to know that the CentOS 6 repos were going live before they actually did. Sigh... Has anyone removed the [beta] stanzas in the epel-6-* config files and seen if they build using the newly release mirrors?
That's what you get in that case 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
I'm at a loss as to what's going wrong after removing the beta stanza's. The mirror list lines *look* right and obviously they start the process of fetching packages. Either the epel-release package has something wacky with it, or there's some magic missing in the epel-6-* configs for the repos.
Try enabling the centos repos??? $ grep -A2 -e '\[base\]' -e '\[updates\]' /etc/mock/epel-6-x86_64.cfg [base] name=BaseOS enabled=0 -- [updates] name=updates enabled=0 Once I enabled them here, it seems happier, so the fix would seem to be. for each epel-6 file in /etc/mock ; do add enabled=0 for repos beta and beta-optional change enabled from =0 to =1 for repos base and update done (tested with mock-1.1.10-1.fc14.noarch)
I think this relates to https://bugzilla.redhat.com/show_bug.cgi?id=719740
(In reply to comment #12) > T > Once I enabled them here, it seems happier, so the fix would seem to be. > > for each epel-6 file in /etc/mock ; do > add enabled=0 for repos beta and beta-optional > change enabled from =0 to =1 for repos base and update > done > > (tested with mock-1.1.10-1.fc14.noarch) Agreed; works. Tested here on F14 also.
mock-1.1.12-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.12-1.el6
mock-1.1.12-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/mock-1.1.12-1.fc14
mock-1.0.19-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/mock-1.0.19-1.el5
mock-1.1.12-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/mock-1.1.12-1.fc15
Package mock-1.1.12-1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing mock-1.1.12-1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/mock-1.1.12-1.el6 then log in and leave karma (feedback).
mock-1.1.12-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.12-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.12-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.0.19-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.