You are not logged in.

#1 2010-07-07 13:53:17

kriz
Member
Registered: 2009-06-29
Posts: 96

[solved]can't compile custom kernel from abs PKGBUILD

hi
i'm trying to compile the newest kernel .34.1 with makepkg, but it aborts at kernel26-headers

==> Tidying install...
  -> Purging other files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> WARNING: Package contains reference to $srcdir
==> Creating package...
  -> Generating .PKGINFO file...
  -> Adding install script...
  -> Compressing package...
==> Starting package_kernel26-headers()...
cp: cannot stat `include/config/dvb/*.h': No such file or directory
    Aborting...

here's the makepkg-log http://paste.pocoo.org/show/234553/

also: why does the Package contain reference to $srcdir?

Last edited by kriz (2010-07-08 16:01:33)


„Je verdinglichter die Welt, je dichter das Netz, das der Natur überworfen wurde, desto mehr beansprucht ideologisch das Denken, das jenes Netz spinnt, seinerseits Natur, Urerfahrung zu sein." Theodor W. Adorno [aus: Wozu noch Philosopie]

Offline

#2 2010-07-07 23:30:00

jwbirdsong
Member
From: Western KS USA
Registered: 2006-11-25
Posts: 173

Re: [solved]can't compile custom kernel from abs PKGBUILD

Sound like you don't have kernel26-headers installed... Needed for building modules if you "roll your own" kernel.
As far as the Warning goes.  Pretty much what it says..  But it is refering to the finished package.. NOT the PKGBUILD.
Something in the package uses $srcdir, not always a bad thing.

To see what just grep for it grep -rl srcdir /path/to/pkg

PS Built fine here.

Last edited by jwbirdsong (2010-07-07 23:38:19)


PLEASE read and try to FIX/FILE BUGS instead of assuming other have/will.

Offline

#3 2010-07-08 13:11:48

kriz
Member
Registered: 2009-06-29
Posts: 96

Re: [solved]can't compile custom kernel from abs PKGBUILD

strange. i have kernel26-headers installed.

# grep -rl srcdir pkg/
pkg/kernel26-headers/usr/src/linux-2.6.34-ARCH/scripts/gen_initramfs_list.sh
pkg/kernel26-headers/lib/modules/2.6.34-ARCH/build/scripts/gen_initramfs_list.sh
jwbirdsong wrote:

PS Built fine here.

thanks smile

can i install the kernel26-headers from the repos?


„Je verdinglichter die Welt, je dichter das Netz, das der Natur überworfen wurde, desto mehr beansprucht ideologisch das Denken, das jenes Netz spinnt, seinerseits Natur, Urerfahrung zu sein." Theodor W. Adorno [aus: Wozu noch Philosopie]

Offline

#4 2010-07-08 13:39:43

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,835

Re: [solved]can't compile custom kernel from abs PKGBUILD

The stock PKGBUILD copies dvb headers during the kernel26-headers package() function. You have disabled the related config options for your custom kernel, so the dvb headers don't exist. Remove the cp line quoted in the error from your custom PKGBUILD.

Offline

Board footer

Powered by FluxBB