Gentoo Archives: gentoo-dev

From: "Tomáš Chvátal" <scarabeus@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH] kernel-2.eclass problem with unpacking patches
Date: Fri, 17 Sep 2010 20:07:24
Hi guys,
i found the painfull way that kernel eclass does not die if it fails to
unpack patch file supplied to it.

So i propose the patch i attach for inclusion :)

Result with this patch:
>>> Unpacking source... >>> Unpacking linux-2.6.35.tar.bz2 to
>>> Unpacking genpatches-2.6.35-8.base.tar.bz2 to
>>> Unpacking genpatches-2.6.35-8.extras.tar.bz2 to
/var/tmp/portage/sys-kernel/tuxonice-sources-2.6.35-r2/work/patches/000002 bzip2: /var/tmp/portage/sys-kernel/tuxonice-sources-2.6.35-r2/distdir/tuxonice-3.2-rc2-for-2.6.35.patch.bz2 is not a bzip2 file. * ERROR: sys-kernel/tuxonice-sources-2.6.35-r2 failed: * uncompressing patch failed Without patch: patchfile gets ignored and you might fail to notice it (as it happened to me since i use different workbox and commit box and upstream gladly for fetching returns html code instead of good old 404). Cheers Tomas


File name MIME type
kernel-2.eclass.patch text/plain
signature.asc application/pgp-signature