Re: Building ppc64 2.6.12 the Debian way? (Was: Dual G5 turns off after a while)
On Fri, Aug 26, 2005 at 01:05:12PM -0700, Shyamal Prasad wrote: > > "Sven" == Sven Luther <[EMAIL PROTECTED]> writes: > Sven> Have a look at : > Sven> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323724 > > Hi Sven/all, > > I'm trying to build the ppc64 kernel using the toolchain in sid > (gcc-3.4 is biarch now, right?) to isolate my problem . But I get this > very cryptic error (in a sid chroot) when applying the debian patches > and it has really stumped me. Any hints? > > [EMAIL PROTECTED]:~/linux-source-2.6.12$ MAKEFLAGS="CC=gcc-3.4 CFLAGS=-m64" > make-kpkg --initrd --revision=custom.1.0 --added_patches debian kernel_image The debian patch is already included in the debian linux-source-2.6.12 package, so you don'ty need to re-apply them. BTW, gcc-4.0 is also biarch. And finally, you should try make-kpkg --subarch powerpc64, which should do the right thing as far as gcc and cflags is concerned. I would thus try : make-kpkg --subarch powerpc64 --initrd --revision=shyamal.1.0 kernel-image Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Building ppc64 2.6.12 the Debian way? (Was: Dual G5 turns off after a while)
"Sven" == Sven Luther <[EMAIL PROTECTED]> writes: Sven> Have a look at : Sven> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323724 Hi Sven/all, I'm trying to build the ppc64 kernel using the toolchain in sid (gcc-3.4 is biarch now, right?) to isolate my problem . But I get this very cryptic error (in a sid chroot) when applying the debian patches and it has really stumped me. Any hints? [EMAIL PROTECTED]:~/linux-source-2.6.12$ MAKEFLAGS="CC=gcc-3.4 CFLAGS=-m64" make-kpkg --initrd --revision=custom.1.0 --added_patches debian kernel_image # work around idiocy in recent kernel versions test ! -e scripts/package/builddeb || \ mv -f scripts/package/builddeb scripts/package/builddeb.dist test ! -e scripts/package/Makefile || \ (mv -f scripts/package/Makefile scripts/package/Makefile.dist && \ (echo "# Dummy file "; echo "help:") > scripts/package/Makefile) test ! -f stamp-debian && test ! -f debian/official && \ rm -rf ./debian && mkdir ./debian test -f applied_patches && rm -f applied_patches make: [stamp-debian] Error 1 (ignored) for patch in /usr/src/kernel-patches/all/2.6.12/apply/debian ; do\ if test -x $patch; then\ if $patch; then \ echo "Patch $patch processed fine"; \ echo "$patch" >> applied_patches; \ else \ echo "Patch $patch failed."; \ echo "Hit return to Continue"; \ read ans; \ fi; \ fi; \ done E: Can't patch to nonexistent revision (wait until 2006) Patch /usr/src/kernel-patches/all/2.6.12/apply/debian failed. Hit return to Continue make: *** [stamp-debian] Interrupt So, what am I to do to apply the patches in 2.6.12? I want to recreate almost exactly the same kernel as the sid package (and use the hints from benh in #323724). Am I going hopelessly wrong someplace. This is kernel-package 9.006 from sid. Cheers! Shyamal -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]