FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 01-24-2011, 11:54 PM
"Dennis Gilmore"
 
Default GenericError: Unable to complete build: release mismatch (build: 4.P1.el5_4.2, rpm: 4.P1.el5.2)

>> 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
>

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 01-26-2011, 08:38 PM
"Dennis Gilmore"
 
Default 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
>
> 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 mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 

Thread Tools




All times are GMT. The time now is 09:48 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org