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 03-31-2010, 06:33 AM
Eric Zhong
 
Default GenericError: Unable to complete build: release mismatch

GenericError: Unable to complete build: release mismatch (build: 46.se01.el5, rpm: 46.se01)


i build it in my own koji server.
it looks like the %{dist} is NULL.
It doesn't work when i modify /etc/mock/*.cfg.

What* config file should be* modified ?


=================================================
Parent

build (dist-foo, gdm-2.16.0-46.se01.el5.src.rpm)

Output

build.log
(tail)


root.log
(tail)


state.log
(tail)


gdm-2.16.0-46.se01.i386.rpm


gdm-2.16.0-46.se01.src.rpm


gdm-debuginfo-2.16.0-46.se01.i386.rpm



--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 03-31-2010, 02:19 PM
Mike McLean
 
Default GenericError: Unable to complete build: release mismatch

On 03/31/2010 02:33 AM, Eric Zhong wrote:
> GenericError: Unable to complete build: release mismatch (build:
> 46.se01.el5, rpm: 46.se01)
>
> i build it in my own koji server.
> it looks like the %{dist} is NULL.
> It doesn't work when i modify /etc/mock/*.cfg.
> What config file should be modified ?

Koji writes out its own mock config for each buildroot. However, that is
not really the right place for setting %{dist} in koji.

Generally, to set %{dist} in a buildroot you'll want to ensure that the
buildroot contains a package that places a macros file in /etc/rpm. For
example, the fedora-release package includes the file /etc/rpm/macros.dist.

I don't know if RHEL5 contains such a file (the RHEL5 redhat-release
does not), but I'm sure something available in epel does. OTOH, it's
easy to create your own.

So
1) make sure the necessary rpm is available in the buildroot tag
2) make sure that rpm is listed in the build and srpm-build groups for
the build tag

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 

Thread Tools




All times are GMT. The time now is 07:06 PM.

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