Something went wrong when epel-rpm-macros-5 was added to the EPEL5 buildroot such that it works fine in koji but isn't actually present when you build in mock. So if you were trying to de-cruft your specs and found that things weren't working as you expected when you did a mock build, that's why.
Unfortunately the issue has turned out to be complicated since before this comps hadn't changed since 2012 and something has probably broken in an odd way. The rel-eng folks are looking into things. Note that this also appears to break yom groupinfo and the like for any EPEL5-related things.
In the meantime, if you want to just work around this yourself, edit /etc/mock/epel-5-*.cfg and add "epel-rpm-macros" to config_opts['chroot_setup_cmd']. That will give you what koji has currently.
- J<
On Mon, Apr 4, 2016 at 11:32 AM, Jason L Tibbitts III tibbs@math.uh.edu wrote:
Something went wrong when epel-rpm-macros-5 was added to the EPEL5 buildroot such that it works fine in koji but isn't actually present when you build in mock. So if you were trying to de-cruft your specs and found that things weren't working as you expected when you did a mock build, that's why.
Unfortunately the issue has turned out to be complicated since before this comps hadn't changed since 2012 and something has probably broken in an odd way. The rel-eng folks are looking into things. Note that this also appears to break yom groupinfo and the like for any EPEL5-related things.
In the meantime, if you want to just work around this yourself, edit /etc/mock/epel-5-*.cfg and add "epel-rpm-macros" to config_opts['chroot_setup_cmd']. That will give you what koji has currently.
To my knowledge mock for EL 5 has been broken for several months now: https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject...
On Mon, 4 Apr 2016 11:47:42 -0700 Dave Johansen davejohansen@gmail.com wrote:
To my knowledge mock for EL 5 has been broken for several months now: https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject...
yet, there are el5 builds in koji that work fine. ;)
Builders in koji are f23, so could be some difference between that and rhel7.
kevin
"DJ" == Dave Johansen davejohansen@gmail.com writes:
DJ> To my knowledge mock for EL 5 has been broken for several months DJ> now:
I've had no problems using it. I did rebuild all of EPEL5 at least ten times recently and while there were plenty of failures I'm pretty sure those failures were due to broken packages, not mock.
- J<
The releng folks managed to get to the bottom of this and fix the underlying issue, so epel5 mock builds should now have the epel-rpm-macros package available for your specfile de-crufting needs.
And remember, epel-rpm-macros-5 with functioning %autosetup is now in testing. Should make it to stable in about nine days assuming it doesn't get karma.
- J<
epel-devel@lists.fedoraproject.org