GenericError: Unable to complete build: release mismatch (build: 4.P1.el5_4.2, rpm: 4.P1.el5.2)

James Cammarata jimi at sngx.net
Tue Jan 25 01:34:53 UTC 2011


On Mon, Jan 24, 2011 at 6:54 PM, Dennis Gilmore <dennis at ausil.us> wrote:
>
> >> GenericError: Unable to complete build: release mismatch (build:
> >> 4.P1.el5_4.2, rpm: 4.P1.el5.2)
>
>
> the resulting srpm from the build has a different n-v-r than the srpm feed
> into the build.
> they need to match
>
> Dennis
>
> >
> > NOTE: Some packages complete without this error.  This only happens with
> > about 1/2 of the packages that I build from SRPM that I pull from:
> > http://mirror.centos.org/centos/5/os/SRPMS/
> >
> > Here's my external-repo list:
> >
> > [swebb at bpbuild001 ~]$ koji list-external-repos
> > External repo name        URL
> > ------------------------- ----------------------------------------
> > dist-EL5-beatport-external-repo-centos-updates-x86_64
> > http://repo.beatportcorp.net/centos/5/updates/x86_64/
> > dist-EL5-beatport-external-repo-centos-epel-x86_64
> > http://repo.beatportcorp.net/epel/5/x86_64/
> > dist-EL5-beatport-external-repo-centos-php_new53-x86_64
> > http://repo.beatportcorp.net/php_new5.3/
> > dist-EL5-beatport-external-repo-centos-updates-i386
> > http://repo.beatportcorp.net/centos/5/updates/i386/
> > dist-EL5-beatport-external-repo-centos-epel-i386
> > http://repo.beatportcorp.net/epel/5/i386/
> > dist-EL5-beatport-official-x86_64
> > http://mirrors.kernel.org/centos/5/os/x86_64/
> > dist-EL5-beatport-official-i386
> > http://mirrors.kernel.org/centos/5/os/i386/
> > dist-EL5-beatport-external-repo-buildsys
> > http://buildsys.fedoraproject.org/buildgroups/rhel5/x86_64/

Is the buildsys-macros RPM in your build group? I just ran into this
today myself, and that was the solution.  Check the root log to make
sure it's being installed by yum.


More information about the buildsys mailing list