You are not logged in.
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
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
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
PS Built fine here.
thanks
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
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