What does koji mean when I get this error?
GenericError: Unable to complete build: release mismatch (build: 4.P1.el5_4.2, rpm: 4.P1.el5.2)
The individual builds completed successfully, but the "Result" of the build ended up with that error.
- Steve
GenericError: Unable to complete build: release mismatch (build: 4.P1.el5_4.2, rpm: 4.P1.el5.2)
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@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/
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@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/
-- Steve Webb | System Administrator Beatport | Play With Music
2399 Blake Street, Suite 170 Denver, Colorado USA 80205 tel: +1.720.932.9103 fax: +1.720.932.9104 noc: +1.303.565.2710 mobile: +1.303.564.4269 -- buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys
On Mon, Jan 24, 2011 at 6:54 PM, Dennis Gilmore dennis@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@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.
the resulting srpm from the build has a different n-v-r than the srpm feed into the build. they need to match
I'm just using srpms from http://mirror.centos.org/centos/5/os/SRPMS/
Shouldn't they all build with the Centos epel repos?
I checked my build group package lists and they contain the buildsys-macros package.
- Steve
the resulting srpm from the build has a different n-v-r than the srpm feed into the build. they need to match
I'm just using srpms from http://mirror.centos.org/centos/5/os/SRPMS/
Shouldn't they all build with the Centos epel repos?
I checked my build group package lists and they contain the buildsys-macros package.
they will build but not have the same disttag version. Red Hat and centos redefine it to different values for the different point releases. the buildsys-macros package used by mock by default defines it to only .el5 not .el5_4 etc
so you would either need to setup different tags/targets for different disttags and modify the buildsys-macros package used or rebuild the srpm to have .el5
Dennis
buildsys@lists.fedoraproject.org