Wednesday, September 30, 2009

SBR600 - Koji Build Successful

After reading the comment, my teacher left me on my last blog. I realized something, in all the build logs for every architecture, I was getting errors for the perl directories I hard coded in the spec file. Because of the different architectures of each system, they would require their own perl architecture.

i.e.
%{_libdir}/perl5/5.10.0/x86_64-linux-thread-multi/*
%{_libdir}/perl5/5.10.0/x86_64-linux-thread-multi/auto/Irssi/*

So, I removed those lines, and changed it back to

%{_libdir}/*

So I rebuilt my spec file, tested my src rpm with rpmlint and the next step was going on to koji and testing it out.

Using the same command as last time, I started mock building my src rpm file on the different architecture

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

It this time successfully passed all the mock builds on the other architecture.
Here are my results: Success

While talking to my teacher, he asked me if I have installed my RPM. And I have not, so I installed my package with the following command "rpm -i irssi-0.8.14-1.fc10.x86_64.rpm" and success no errors.

After the installation I tried using it, and bam I was running irssi



Now to verify if it was really my own package, I used "rpm -qi irssi" as advised by my teacher.

After looking at the information and checking my spec file, it was in fact my package I installed.



After all the troubleshooting, with my professor I finally have my finished package.

Kudos to my teacher for his help with all of this. Thanks Chris

0 comments:

Post a Comment