[CentOS] Error building kernel for CentOS 5.0

Mark Hull-Richter mhullrich at gmail.com
Mon May 21 16:48:00 UTC 2007


On 5/20/07, Karanbir Singh <mail-lists at karan.org> wrote:
>
> you have something broken in your rpm macros, the check-rpaths is not
> used / called or required on CentOS-5 at all.
>
> I've posted the buildlog for this kernel at :
> http://dev.centos.org/~z00dax/misc/kernel-2.6.18-8.el5-build_log take a
> look and see how that is different from your own results.
>

Forgive my audacity, but would it not be simpler to post a sample of .rpmmacros?

Here's mine:

$ cat .rpmmacros
%_topdir      %(echo $HOME)/rpmbuild
%_smp_mflags  -j3
%__arch_install_post   /usr/lib/rpm/check-rpaths   /usr/lib/rpm/check-buildroot
%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}

Clearly the __arch_install_post line is wrong, but what should this contain?

Thanks!

-- 
Mark Hull-Richter
DATAllegro (www.datallegro.com)
85 Enterprise, Second Floor, Aliso Viejo, CA  92656
949-680-3082 - Office     949-680-3001 - fax



More information about the CentOS mailing list