<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Re: Is koji the right build tool for me? and some newbie questions</title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks for the response Jitesh.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>When I look to see what koji requires for
install I get:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[zsethna@einstein koji-packages]$ rpm -q
--requires -p koji-1.2.0-3.fc7.noarch.rpm<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>warning: koji-1.2.0-3.fc7.noarch.rpm: V3
DSA signature: NOKEY, key ID 4f2a6fd2<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>/bin/bash<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>/usr/bin/python<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>config(koji) = 1.2.0-3.fc7<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>pyOpenSSL<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>python(abi) = 2.5<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>python-krbV >= 1.0.13<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>rpm-python<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>rpmlib(CompressedFileNames) <= 3.0.4-1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>rpmlib(PayloadFilesHavePrefix) <= 4.0-1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>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.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Also what is python(abi)? Do I have to
install a full python 2.5 RPM to satisfy this dependency?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Zubin<o:p></o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> fedora-buildsys-list-bounces@redhat.com
[mailto:fedora-buildsys-list-bounces@redhat.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Jitesh Shah<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, 24 February 2009
3:32 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Discussion of Fedora build
system<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: Is koji the right
build tool for me? and some newbie questions</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>Hi Zubin,<br>
<br>
><br>
> Reading the ServerBootstrap document on the Fedora wiki has me<br>
> confused. How do I set up koji to build a set of RPMs from CVS?<br>
<br>
Well, it doesn't require anything special, if you have a working<br>
instance of koji. You have to add an entry in the kojibuilder config<br>
file under "allowedSCMs", to allow the CVS checkout. and you can run
a<br>
build as "koji build <Tag-name> <CVS-SCM>"<br>
<br>
You can also check out the chain builds feature. I have a feeling it<br>
might be of help to you :)<br>
<br>
> Our build target is RHEL 4 but so far I have not found any installable<br>
> RPMs to run kojibuilder on this platform. Does anyone know where I<br>
> could get a suitable RPM?<br>
<br>
Koji is a noarch pacakge. You can pick the fedora RPMs.<br>
<br>
<br>
> To build our project we need to install a set of RPMs into the build<br>
> environment that setup the libraries and header files used during the<br>
> build process. How does koji handle this?<br>
<br>
Koji will build a SRPM from the CVS checkout. Make sure you have the<br>
right entries in BuildRequires and Requires in the spec file and koji<br>
will do the rest. (Also, make sure that those RPMs are built and tagged<br>
appropriately so that koji can make a repo which can be of use to you)<br>
<br>
<br>
<br>
Jitesh</span></font><o:p></o:p></p>

</div>

</body>

</html>