Sunday, April 10, 2011

Mock and Koji Lab

Mock
Build Log - rush
Build Log - httptunnel

I started off by running Mock against my Rush SRPM as it was more complicated to package compared to httptunnel. Used the following command in my SRPM build directory:
mock -r default rush-1.7-1.fc14.src.rpm
The -r default specifies the default fedora release, which was Fedora-14-i386 on my machine. Mock successful built the package without any adjustments needed to my spec's BuildRequires.

Next was httptunnel. The mock command above was repeated with httptunnel's SRPM. Just as with the rush Mock successfully built the package with no changes necessary.


Koji
Task Info - rush
Task Info - httptunnel

Using the command: koji build dist-f14 --scratch SRPM, both packages were submitted to the Koji system for building. Both packages successfully built for i686 and x86_64 architectures.

Reflections
I was pleasantly surprised both of my packages required no modification to build on Mock and Koji. The process was very quick, with both packages not taking more than a few minutes to build with both tools. 


The tools themselves are very handy and powerful. Without Mock for proper build testing a clean machine would be necessary, so obviously the tool is a handy replacement. Koji's ability to build test server-side across multiple architectures (especially ARM) is obviously something that would be different to replicate using your own local machines. Both tools have been a handy assist for my Project milestones. 

No comments:

Post a Comment