You are not logged in.
Hey everyone,
i tried the current /var/abs/core/kernel26/PKGBUILD with my own kernel config as well as the default files, both with and without patches.
In all cases it would finish the build as it's supposed to.
The created package, however, has only 360 bytes.
I'm building two new kernels right now, one with an older PKGBUILD which has worked for me before (# $Id: PKGBUILD 58629 2009-11-10 17:23:41Z thomas $).
But since that's going to take a while i'd still like to hear if you know what's wrong.
Any thoughts?
Last edited by demian (2010-02-12 11:36:48)
no place like /home
github
Offline
Offline
I just compiled a kernel with an older pkgbuild (id 58629) and it worked fine for me. The other kernel i was compiling parallely with the current pkgbuild (id 65444) got me a 358 byte big package file again.
I guess what patches i used is of no importance since compiling without patches gave me the same "error", being a 360 bytes big package file instead of the usual ~15 mb. The package isn't broken either, it can be installed, but it doesn't do anything.
I didn't get any error messages while compiling.
I made some changes at PKGBUILD and kernel26.install. Here are the files:
PKGBUILD (id 65444)
kernel26.install
Here's the PKGBUILD that worked for me (kernel26.install is the same):
PKGBUILD (id 58629)
P.S.:
It appears that a new PKGBUILD (# $Id: PKGBUILD 67906) got released yesterday just after i synched my ABS. The one i had was made for 2.6.32.7 while i used it for 2.6.32.8 (and newer). Maybe that's what caused my problems.
I will try the new PKGBUILD now and get back to you. I don't expect the result to change since the PKGBUILD itself didn't change apart from the update from 7 to 8 at pkgver.
When using 2.6.32.8 as basekernel and patching it to 2.6.33-rc7 i get the following error. I don't think that's related to my initial problem since building is working fine in other constellations. However, i found it notewothy.
HOSTCC scripts/bin2c
CC init/main.o
In file included from include/linux/tick.h:9,
from init/main.c:46:
include/linux/clockchips.h: In function 'clockevents_calc_mult_shift':
include/linux/clockchips.h:136: error: implicit declaration of function 'clocks_calc_mult_shift'
include/linux/clockchips.h:137: warning: 'return' with a value, in function returning void
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
==> ERROR: Build Failed.
Aborting...
Last edited by demian (2010-02-10 15:53:51)
no place like /home
github
Offline
You changed the pkgname and not the package_ker* functions.
The kernel26 package has been changed to split package. Please read up on it.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
You changed the pkgname and not the package_ker* functions.
The kernel26 package has been changed to split package. Please read up on it.
Thanks, i did. Changing the package_ker* functions idd did the trick.
If anyone encounters this problem, be sure to change the following lines in your PKGBUILD for a custom kernel:
pkgbase="kernel26-nb"
pkgname=('kernel26-nb' 'kernel26-nb-firmware' 'kernel26-nb-headers')
[...]
package_kernel26-nb() {
[...]
package_kernel26-nb-headers() {
[...]
package_kernel26-nb-firmware() {
[...]
Regards,
demian
Last edited by demian (2010-02-12 00:52:34)
no place like /home
github
Offline
Please mark [solved].
Also, a quick forum search would have solved this for you. Please do that next time.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline