ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] kernel build failure


From: Kurt Mahan
Subject: Re: [Ltib] kernel build failure
Date: Tue, 29 Jul 2008 20:45:48 -0600
User-agent: Thunderbird 1.5.0.12 (X11/20060911)

The issue you're running into is a safety measure built into ltib.

You've got a kernel prep'd in ltib/rpm/BUILD/linux* -- ltib recognizes
that and won't blow it away. If you don't have any local changes in it
you can just remove that kernel (rm -rf ltib/rpm/BUILD/linux*) and then
attempt this again.

--Kurt

Frank Wei wrote:
>
> Hi,
>
> I’ve added Patch49 : linux-2.6.20-m5445x_i2c-1.patch" to the
> /dist/lfs-5.1/kernel/kernel-2.6.23-m5445x.spec.in
> <http://kernel-2.6.23-m5445x.spec.in> as instructed by Kurt Mahan and
> try to start rebuild the kernel and I got the error:
>
> Processing: kernel-2.6.23-m5445x
>
> ==================================
>
> Cowardly refusing to clobber existing directory:
>
> /home/fw/ltib/ltib-mcf5445x-20071214//rpm/BUILD/linux-2.6.23
>
> Remove this by hand if you really want to rebuild this package from
> scratch
>
> scbuild/scdeploy already unpacked package
>
> Processing: kernel-2.6.23-m5445x
>
> ==================================
>
> rpmbuild --dbpath /home/fw/ltib/ltib-mcf5445x-20071214//rpmdb --define
> '_unpackaged_files_terminate_build 0' --define '_target_cpu m68k'
> --define '__strip strip' --define '_topdir
> /home/fw/ltib/ltib-mcf5445x-20071214//rpm' --define '_prefix /usr'
> --define '_tmppath /home/fw/ltib/ltib-mcf5445x-20071214//tmp' --define
> '_mandir /usr/share/man' --define '_sysconfdir /etc' --define
> '_localstatedir /var' -bc --short-circuit
> /home/fw/ltib/ltib-mcf5445x-20071214//tmp/kernel-2.6.23-m5445x.spec
>
> error: line 229: Bad arg to %patch -p: %Install
>
> Build time for kernel-2.6.23-m5445x: 0 seconds
>
> Failed building kernel-2.6.23-m5445x
>
> f_buildrpms() returned an error, exiting
>
> Started: Wed Jul 30 16:31:01 2008
>
> Ended: Wed Jul 30 16:31:18 2008
>
> Elapsed: 17 seconds
>
> These packages failed to build:
>
> kernel-2.6.23-m5445x
>
> Build Failed
>
> How to remove this error and build the kernel successfully?
>
> Regards
>
> Frank
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> LTIB home page: http://bitshrine.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib
>   





reply via email to

[Prev in Thread] Current Thread [Next in Thread]