You are not logged in.

#1 2009-11-13 21:51:51

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Can't get Zen kernel to build (Solved)

So i've been trying on and off to build zen-git from the aur, and it always stops compiling at the same point. No matter if i customize the config or not. Here's where it stops...

 CC [M]  fs/xfs/linux-2.6/xfs_xattr.o
  CC [M]  fs/xfs/support/debug.o
  CC [M]  fs/xfs/support/uuid.o
  LD [M]  fs/xfs/xfs.o
  LD      fs/built-in.o
==> ERROR: Failed... Your source tree might be broken. Run 'make mrproper' in src/kernel26zen-stable to clean it up
==> ERROR: Build Failed.
    Aborting...

I can't pinpoint which module is causing it. I have talked to the guys in #zen-sources but they told me to rebase the tree as it was bugged. First off, i'm not sure if they just meant to fetch it again, since i have done that and keep getting the same issue. And i've been really wanting to try this kernel as there was talk on Gentoo foums of it solving i/o issues.

Can anybody help? I'm still a bit of a noob at building kernels, well the ones from aur anyway...

Oh, and i am using the stable branch.

Last edited by Mountainjew (2009-11-14 00:15:48)

Offline

#2 2009-11-13 22:11:46

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: Can't get Zen kernel to build (Solved)

If you have -j2 or higher in your MAKEFLAGS in /etc/mkinitcpio.conf, the actual error could be much higher up.  It doesn't look like an error is being reported for those lines.

Offline

#3 2009-11-13 22:38:46

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Can't get Zen kernel to build (Solved)

Hmm i don't have any makeflags set in mkinitcpio.conf. Only in makepkg.conf, which are:

CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"

#-- Exclusive: will only run on x86_64
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CFLAGS="-march=athlon64 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
#LDFLAGS=""
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j3"

I'll try rebuilding again to see if there are any errors further up.

Offline

#4 2009-11-13 22:42:16

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: Can't get Zen kernel to build (Solved)

Oops, /etc/makepkg.conf was what I meant.  ><
Anyway, the error will be easier to spot if you do something like makepkg >/dev/null, so that only standard error is shown.

Offline

#5 2009-11-14 00:15:26

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Can't get Zen kernel to build (Solved)

I couldn't get that command to work, it would just freeze when i got prompted to do anything...Though i did search through the code and found the culprit, some stupid braille driver.

Thanks for the help smile

Offline

#6 2009-11-14 00:55:35

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Can't get Zen kernel to build (Solved)

I've got the same error this morning -- can you give me some more info about this annoying braille driver and how to fix it? smile

Offline

#7 2009-11-14 01:07:15

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Can't get Zen kernel to build (Solved)

fukawi2 wrote:

I've got the same error this morning -- can you give me some more info about this annoying braille driver and how to fix it? smile

I just unchecked the module in "drivers/accessibility/braille_console" and it compiles fine now smile

Offline

#8 2009-11-14 02:08:34

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Can't get Zen kernel to build (Solved)

Thanks, I'll give that a try smile

Offline

Board footer

Powered by FluxBB