You are not logged in.

#1 2004-11-05 06:58:02

Comete
Member
From: France
Registered: 2003-08-03
Posts: 46

Problem on rebuild with kernel 2.6.9

Hello,

since the package is out, i tried many times to rebuild it with abs with no success. I got this error at the end of the build:
if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b /var/abs/kernels/kernel26/pkg -r 2.6.9; fi
./PKGBUILD: line 65: cd: /var/abs/kernels/kernel26/pkg/lib/modules/2.6.9-ARCH: No such file or directory
==> ERROR: Build Failed.  Aborting...


Any idea ?

thank you

Comete

Offline

#2 2004-11-20 13:09:24

smarcher
Member
From: Calcutta
Registered: 2003-12-12
Posts: 41
Website

Re: Problem on rebuild with kernel 2.6.9

Hi

When I do makepkg in the /var/abs/kernel26 directory I get a http page not found error while downlaoding acpi from www.kernel.org

Is this a bug?

:cry:

Bob

Offline

#3 2004-11-20 13:26:23

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,750

Re: Problem on rebuild with kernel 2.6.9

The Url is wrong ....

maybe submit a bug report ...

you could change it to 20041105 but I cannot be sure that it will work ...


Mr Green

Offline

#4 2004-11-21 14:19:51

smarcher
Member
From: Calcutta
Registered: 2003-12-12
Posts: 41
Website

Re: Problem on rebuild with kernel 2.6.9

Hi

Yes I changed it to 20041105 but then it fails on the md5 check sum. I could not figure out how to change the check sum.

So I am stuck at the moment. I wonder how come nobody has noticed this problem? Reading the forums it seems that a lot of people have gone the ABS route in compiling kernel 2.6.9.

Anyways, thanks for your attention.

Offline

#5 2004-11-21 16:33:39

Stanislav
Member
Registered: 2004-10-16
Posts: 82

Re: Problem on rebuild with kernel 2.6.9

simply remove the md5sum for acpi in the PKGUILD & it should work. i rebuild the kernel 2.6.9 , because i needed another acpi patch for my laptop, but now i get a message at start up , that /proc/bus/usb is missing. although my USB modem, USB mouse & USB hard drive are working. i wonder how Judd made the package with the old acpi?


[URL=http://imageshack.us][img]http://img360.imageshack.us/img360/481/imbulgarian6ph.gif[/img][/URL]

Offline

#6 2004-11-22 20:51:14

Atriqus
Member
From: Oscoda or Melbourne
Registered: 2004-02-15
Posts: 24

Re: Problem on rebuild with kernel 2.6.9

They must have done some work on the PKGBUILD because the removal of the md5sums no longer works; now all I had to do was change the patch line to

patch -Np1 -i ../acpi-20041105-26-latest-release.diff || return 1 

but now it fails here when patching:

==> Starting build()...
patching file drivers/block/scsi_ioctl.c
Hunk #1 succeeded at 220 (offset 27 lines).
patching file arch/i386/kernel/acpi/Makefile
patching file arch/i386/kernel/acpi/boot.c
Hunk #1 succeeded at 823 (offset 5 lines).
patching file arch/i386/kernel/acpi/earlyquirk.c
patching file arch/i386/kernel/apic.c
Hunk #1 succeeded at 514 (offset -22 lines).
Hunk #3 succeeded at 598 (offset -22 lines).
patching file arch/i386/kernel/mpparse.c
Hunk #2 succeeded at 1049 with fuzz 2 (offset -6 lines).
patching file arch/i386/mach-es7000/es7000plat.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/i386/mach-es7000/es7000pl at.c.rej
patching file drivers/acpi/battery.c
patching file drivers/acpi/ec.c
patching file drivers/acpi/fan.c
patching file drivers/acpi/pci_irq.c
patching file drivers/acpi/pci_link.c
patching file drivers/acpi/system.c
patching file include/asm-i386/acpi.h
patching file include/asm-i386/pci-direct.h
==> ERROR: Build Failed.  Aborting...

The patch I'm using matched the md5sum in the PKGBUILD so I'm assuming I'm using the right patch.  But there seems to be some ambiguity in the PKGBUILD as to which version of the patch should be used.


=> Now known as jb

Offline

#7 2004-11-23 08:00:19

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,750

Re: Problem on rebuild with kernel 2.6.9

clear out pkg & src directory from dir. you are working in

rm -rf pkg src

Note do not do rm -rf /pkg /src

then

makepkg

let us know how you get on  wink


Mr Green

Offline

#8 2004-11-27 07:54:03

Atriqus
Member
From: Oscoda or Melbourne
Registered: 2004-02-15
Posts: 24

Re: Problem on rebuild with kernel 2.6.9

I make sure src and pkg are gone every time I do a makepkg; besides, the way that PKGBUILD is written it can't even start building unless src is gone (or at least one of the untarred -diff files is missing, can't remember which off-hand).

...I additionally do a makepkg -C just before as well.

I'm about 1200 miles away from my computer right now so I won't be able to work on it more until monday.  I'll let you know then what stupid mistake I was overlooking.


=> Now known as jb

Offline

#9 2004-11-28 10:05:48

robot5x
Member
Registered: 2004-01-26
Posts: 266

Re: Problem on rebuild with kernel 2.6.9

I'm getting the same error as atriqus - I ran abs today and the acpi patch version in the build section of PKGBUILD is STILL the old one despite having the new one in the sources section, which is pretty bad to be honest....

Offline

Board footer

Powered by FluxBB