Thanks for the response Jitesh.

 

When I look to see what koji requires for install I get:

 

[zsethna@einstein koji-packages]$ rpm -q --requires -p koji-1.2.0-3.fc7.noarch.rpm

warning: koji-1.2.0-3.fc7.noarch.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2

/bin/bash

/usr/bin/python

config(koji) = 1.2.0-3.fc7

pyOpenSSL

python(abi) = 2.5

python-krbV >= 1.0.13

rpm-python

rpmlib(CompressedFileNames) <= 3.0.4-1

rpmlib(PayloadFilesHavePrefix) <= 4.0-1

 

 

The problem here is python 2.5 since my build machine runs on RedHat Enterprise Linux 4 (ES) which uses an older version of python and I can’t seem to find a python 2.5 RPM that will install on this OS.

 

Also what is python(abi)? Do I have to install a full python 2.5 RPM to satisfy this dependency?

 

Zubin


From: fedora-buildsys-list-bounces@redhat.com [mailto:fedora-buildsys-list-bounces@redhat.com] On Behalf Of Jitesh Shah
Sent: Tuesday, 24 February 2009 3:32 PM
To: Discussion of Fedora build system
Subject: Re: Is koji the right build tool for me? and some newbie questions

 

Hi Zubin,

>
> Reading the ServerBootstrap document on the Fedora wiki has me
> confused. How do I set up koji to build a set of RPMs from CVS?

Well, it doesn't require anything special, if you have a working
instance of koji. You have to add an entry in the kojibuilder config
file under "allowedSCMs", to allow the CVS checkout. and you can run a
build as "koji build <Tag-name> <CVS-SCM>"

You can also check out the chain builds feature. I have a feeling it
might be of help to you :)

> Our build target is RHEL 4 but so far I have not found any installable
> RPMs to run kojibuilder on this platform. Does anyone know where I
> could get a suitable RPM?

Koji is a noarch pacakge. You can pick the fedora RPMs.


> To build our project we need to install a set of RPMs into the build
> environment that setup the libraries and header files used during the
> build process. How does koji handle this?

Koji will build a SRPM from the CVS checkout. Make sure you have the
right entries in BuildRequires and Requires in the spec file and koji
will do the rest. (Also, make sure that those RPMs are built and tagged
appropriately so that koji can make a repo which can be of use to you)



Jitesh