You are not logged in.

#1 2007-11-13 02:08:55

chown
Member
Registered: 2007-11-11
Posts: 6

Kernel build fails

Maybe I am not doing something right. It fails during patching with no changes by me. I am wanting to compile a custom kernel but no go.
As far as an error message all I see is build failed and dumps me back to the CLI. Here is what I got:

patching file init/main.c
Hunk #1 succeeded at 97 with fuzz 1.
Hunk #2 succeeded at 648 (offset 11 lines).
==> ERROR: Build Failed.  Aborting...

Could somebody shed some light on this?
I know it is not a lot of info but I can't find any log.

KISS I don't see it.

Offline

#2 2007-11-13 03:38:43

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Kernel build fails

The message says that some patch doesn't apply cleanly and that's why the build fails but you know this.  Try deleting the /src folder before building - sometimes when there is an /src directory from a previous build attempt can running makepkg can produce an error like this.

Offline

#3 2007-11-13 03:50:14

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Kernel build fails

Your PKGBUILD probably has patch apply the patches with the -s (silent) option, remove that and you'll see where the patch breaks. -s is fancy when it all goes well (and you only get the messages that the patches applied), but once stuff starts to break it only gets in your way.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2007-11-13 15:01:26

chown
Member
Registered: 2007-11-11
Posts: 6

Re: Kernel build fails

I will try that. thanks for the reply

edit: removing the src dir and starting again salved it. go figure. Thanks fwojciec & B

Last edited by chown (2007-11-13 15:10:56)

Offline

#5 2007-11-13 16:17:47

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Kernel build fails

That is quite possible. After every try you should remove the 'src' directory. If you don't and run a new build, the old, patched sources get used which obviously causes patches to break.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB