Re: Error building kernel for CentOS 5.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 5/21/07, Mark Hull-Richter <mhullrich@xxxxxxxxx> wrote:

> 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?

Your rpmmacros file may not be the only thing affecting it. This is
why it was recommended that you compare the output. If you're lazy,
learn to use diff.

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?

You have to make the rpmmacros file from scratch since it doesn't
exist by default. This begs the question: Why are you including things
if you have no idea what they are? When you added the lines you have,
did you not check to make sure that the files actually exist?

--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux