Sunday, October 3, 2010

Rpmlint test warnings

Unfortunately, I am not the bearer of good news tonight. I have been shuffling between different tasks to resolve a number of warning messages, served by rpmlint. The interesting thing is that one of the warnings clearly indicates that there is a hidden file in /usr/lib64 directory path. However, whenever I issue the  rm -f command to remove the hidden file, rpmbuild -ba command is not happy. So I am back to square one, aggressively designating some research time to finish this phase of the build. At this point I am a bit concern that I maybe falling behind in getting my assigned task completed...mayday...mayday. Below is a screenshot, which renders my current warning messages.


I will be devoting some more time to see this assigned task through. Stay tuned.

1 comment:

adrianp said...

hey kerry,

You can run the following command to find and remove all ".packlist" files from your source tarball before the configure is executed:

find %{_builddir}/%{name}-%{version}/ -type f -name ".packlist" -exec rm -rf '{}' \;

You can add this to the %prep section to be executed by rpmbuild every time you compile a new RPM.

Another method is to create a patch that will remove all the patch files using the %patch macro. The method for creating a patch is outlined in this post and applies here as well.

Also, the two warning: enchant-dictionary-not-found and unstripped-binary-or-object can be fixed by following this post

Hope this helps bro