Red Hat Bugzilla – Bug 618417
wrong requires in mock
Last modified: 2013-01-10 01:05:28 EST
if you try to build this src.rpm:
with mock-1.1.1 it's not build while the current epel builder 1.0.8 built it. the reason is somewhere between mock and yum. while running with 1.1.1 it's install java-1.5.0-gcj-devel even if the
BuildRequires: java-devel >= 1:1.6.0
and even if the system install java-1.6.0-openjdk.i686. so why it's install gcj too? the strange thing that this bug do not exists in 1.0.8 (just see my epel build's log).
*** This bug has been marked as a duplicate of bug 618427 ***
it seems to be a bug in mock and not yum and also happened with mock-1.0.8 too but only on rhel-6 beta2 update 1.
What command line are you using to build the above SRPM?
Also, are you saying that this only happens if the build host is a RHEL6 beta2 update1 system?
so the setup:
- install the latest rhel6
- install mock (either 1.0.8 or 1.1.1) and ccache from epel
- try to simple new mock cfg file for the new build (see the attached one)
and build the attached empty src.rpm.
Created attachment 434869 [details]
empty test rpm
Created attachment 434870 [details]
mock config file
edit the groups repo to point to a repo which contain a good comps.xml
anyway it can be another bug why rhel-6 still not contain buildsys-build in it's comps.xml....
sorry it seems i try to build on rhel-6 beta1. after i update to rhel-6 beta2 update1 everything is working again.