Wednesday, September 30, 2009

SBR600 - First Koji Build and it failed.

After not feeling sleepy for some reason, I decided to play with Koji to see if I can get it working. Again using the Fedora Wiki as a resource, I managed to upload my src rpm to koji.
The command I used was

koji build --scratch dist-f11 irssi-0.8.14-1.fc10.src.rpm

--koji = program
--scratch = Build Option
--dist-f11 = Target, machine you want to build on**
--irssi-0.8.14-1.fc10.src.rpm = Your Source RPM

** To get the list of machines your can build on you would use the command
koji list-targets

The build type I used was called a Scratch build. Here is the definition of a scratch build

"Scratch builds

Sometime it is useful to be able to build a package against the buildroot but without actually including it in the release. This is called a scratch build. "

Information grabbed from Fedora Wiki


Sadly for me, my first attempt failed, and it is all logged on the Koji Build System Site

Here is the results for my build :
Build Results

Looking at the output my script failed during the mock build on all architectures.

I'll catch up with my Teacher Chris on Thursday during class or even on IRC regarding this results.

1 comments:

Chris said...

Hi Boris, I think you sent the wong .src.rpm! You can see the error by clicking through on the web interface to see the build.log, and the error message is one that an earlier version of your spec file produced. Double-check that you're using the current .src.rpm and try again.

Post a Comment