Can't find any problems related to compilng kernel 2.6.8 in the forum so I guess its just me doing something weird.
Well, I upgraded to stock 2.6.8 last night and all went fine. Then I decided to recompile with ABS today and all went fine. Then I was messing around with iptables and realised I needed some other modules so I went for another recompile - for some reason this time it keeps borking out on me. All I've changed is the config and the md5s in the PKGBUILD - this is the output I get:
[root@sigma7 kernel26]# makepkg -f ==> Making package: kernel26 (Wed Sep 8 22:17:05 BST 2004) ==> Checking Runtime Dependencies... ==> Checking Buildtime Dependencies... ==> Retrieving Sources... ==> Using local copy of linux-184.108.40.206.tar.bz2 ==> Found config in build dir ==> Found cdburning.patch in build dir ==> Found logo_linux_clut224.ppm in build dir ==> Found bio_uncopy_user-mem-leak.patch in build dir ==> Found bio_uncopy_user-mem-leak-fix.patch in build dir ==> Using local copy of acpi-20040715-2.6.8.diff.bz2 ==> Validating source files with MD5sums linux-220.127.116.11.tar.bz2 ... Passed config ... Passed cdburning.patch ... Passed logo_linux_clut224.ppm ... Passed bio_uncopy_user-mem-leak.patch ... Passed bio_uncopy_user-mem-leak-fix.patch ... Passed acpi-20040715-2.6.8.diff.bz2 ... Passed ==> Extracting Sources... ==> tar --use-compress-program=bzip2 -xf linux-18.104.22.168.tar.bz2 ==> bunzip2 acpi-20040715-2.6.8.diff.bz2 ==> Removing existing pkg/ directory... ==> Starting build()... patching file fs/bio.c patching file fs/bio.c patching file drivers/block/scsi_ioctl.c patching file arch/i386/kernel/acpi/boot.c patching file arch/i386/kernel/acpi/sleep.c patching file arch/i386/kernel/cpu/cpufreq/acpi.c patching file arch/i386/kernel/dmi_scan.c patching file arch/i386/kernel/i8259.c patching file arch/i386/kernel/io_apic.c patching file arch/i386/kernel/setup.c patching file arch/i386/kernel/smpboot.c patching file arch/i386/mm/discontig.c patching file arch/ia64/kernel/acpi.c patching file arch/x86_64/kernel/i8259.c patching file arch/x86_64/kernel/setup.c patching file arch/x86_64/kernel/smpboot.c patching file drivers/acpi/Makefile patching file drivers/acpi/acpi_ksyms.c patching file drivers/acpi/asus_acpi.c patching file drivers/acpi/blacklist.c patching file drivers/acpi/bus.c patching file drivers/acpi/button.c patching file drivers/acpi/dispatcher/dsmethod.c patching file drivers/acpi/dispatcher/dsmthdat.c patching file drivers/acpi/dispatcher/dsopcode.c patching file drivers/acpi/dispatcher/dswload.c patching file drivers/acpi/dispatcher/dswstate.c patching file drivers/acpi/ec.c patching file drivers/acpi/events/evevent.c patching file drivers/acpi/events/evgpe.c patching file drivers/acpi/events/evgpeblk.c patching file drivers/acpi/events/evmisc.c patching file drivers/acpi/events/evregion.c patching file drivers/acpi/events/evxface.c patching file drivers/acpi/events/evxfevnt.c patching file drivers/acpi/events/evxfregn.c patching file drivers/acpi/executer/exconfig.c patching file drivers/acpi/executer/exfldio.c patching file drivers/acpi/executer/exmisc.c patching file drivers/acpi/executer/exmutex.c patching file drivers/acpi/executer/exoparg2.c patching file drivers/acpi/executer/exresolv.c patching file drivers/acpi/executer/exstore.c patching file drivers/acpi/hardware/hwgpe.c patching file drivers/acpi/hardware/hwregs.c patching file drivers/acpi/hardware/hwsleep.c The next patch would create the file drivers/acpi/motherboard.c, which already exists! Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file drivers/acpi/motherboard.c.rej patching file drivers/acpi/namespace/nsaccess.c patching file drivers/acpi/namespace/nsalloc.c patching file drivers/acpi/namespace/nseval.c patching file drivers/acpi/namespace/nsinit.c patching file drivers/acpi/namespace/nsparse.c patching file drivers/acpi/namespace/nsxfeval.c patching file drivers/acpi/namespace/nsxfname.c patching file drivers/acpi/osl.c patching file drivers/acpi/parser/psopcode.c patching file drivers/acpi/parser/psxface.c patching file drivers/acpi/pci_link.c patching file drivers/acpi/power.c patching file drivers/acpi/processor.c patching file drivers/acpi/resources/rsutils.c patching file drivers/acpi/resources/rsxface.c patching file drivers/acpi/scan.c patching file drivers/acpi/sleep/Makefile patching file drivers/acpi/sleep/main.c patching file drivers/acpi/sleep/proc.c patching file drivers/acpi/sleep/sleep.h The next patch would create the file drivers/acpi/sleep/wakeup.c, which already exists! Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file drivers/acpi/sleep/wakeup.c.rej patching file drivers/acpi/tables/tbxfroot.c patching file drivers/acpi/thermal.c patching file drivers/acpi/utilities/utalloc.c patching file drivers/acpi/utilities/uteval.c patching file drivers/acpi/utilities/utglobal.c patching file drivers/acpi/utilities/utxface.c patching file include/acpi/acconfig.h patching file include/acpi/acdebug.h patching file include/acpi/acdisasm.h patching file include/acpi/acdispat.h patching file include/acpi/acevents.h patching file include/acpi/acexcep.h patching file include/acpi/acglobal.h patching file include/acpi/achware.h patching file include/acpi/acinterp.h patching file include/acpi/aclocal.h patching file include/acpi/acmacros.h patching file include/acpi/acnamesp.h patching file include/acpi/acobject.h patching file include/acpi/acparser.h patching file include/acpi/acpi_bus.h patching file include/acpi/acpi_drivers.h patching file include/acpi/acpiosxf.h patching file include/acpi/acpixf.h patching file include/acpi/acstruct.h patching file include/acpi/actbl.h patching file include/acpi/actypes.h patching file include/acpi/platform/acenv.h patching file include/acpi/platform/aclinux.h patching file include/asm-i386/acpi.h patching file include/asm-i386/smp.h patching file include/asm-ia64/acpi.h patching file include/asm-x86_64/acpi.h patching file init/main.c ==> ERROR: Build Failed. Aborting...
Does anyone have any suggestions here?If I'd changed something major then it would give me a clue about what to fix.
Thanks in advance.
I had a thought that it might be a problem with my recompiled kernel so I reinstalled the stock 2.6.8 and booted into that...tried my edited config and the same thing happens. THen, I rerun ABS and though I would try to recompile the kernel just using the stock PKGBUILD and making no changes at all - still get the same error. Seems like for some reason now I can't get past this error at patching init/main.c....
IT seems like its the acpi file that the PKGBUILD needs that's causing the problem-I removed it from the PKGBUILD and it compiled fine (I have yet to load it and test it tho)...I can't find any news item or forum thread relating to what this file is and whether it's important or not, can anyone let me know?
On a side note, when I just ran makepkg the acpi.diff file wouldn't download - I had to go get it myself - is there an error in the url in the PKGBUILD?
nobody else seems to be having any trouble here, which is making me a bit paranoid!
I tried to use PKBUILD for 22.214.171.124 url for acpi patch was wrong!!!
grabbed patch myself built Ok....
edit take a look in ...
then edit PKGBUILD....
Ta Greeno, but I'm stuck...
I reverted back to a previous kernel version and everything's OK.
I'd sure like to know what the problem was tho.
I see a new version is out 126.96.36.199-4 give that a go
here I have acpi patch '#'ed out but just check yours ...