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
Message-Id: 4C93C45D.8090903@gentoo.org
1 Hi guys,
2 i found the painfull way that kernel eclass does not die if it fails to
3 unpack patch file supplied to it.
4
5 So i propose the patch i attach for inclusion :)
6
7 Result with this patch:
8 >>> Unpacking source...
9 >>> Unpacking linux-2.6.35.tar.bz2 to
10 /var/tmp/portage/sys-kernel/tuxonice-sources-2.6.35-r2/work
11 >>> Unpacking genpatches-2.6.35-8.base.tar.bz2 to
12 /var/tmp/portage/sys-kernel/tuxonice-sources-2.6.35-r2/work/patches/000001
13 >>> Unpacking genpatches-2.6.35-8.extras.tar.bz2 to
14 /var/tmp/portage/sys-kernel/tuxonice-sources-2.6.35-r2/work/patches/000002
15 bzip2:
16 /var/tmp/portage/sys-kernel/tuxonice-sources-2.6.35-r2/distdir/tuxonice-3.2-rc2-for-2.6.35.patch.bz2
17 is not a bzip2 file.
18 * ERROR: sys-kernel/tuxonice-sources-2.6.35-r2 failed:
19 * uncompressing patch failed
20
21 Without patch:
22 patchfile gets ignored and you might fail to notice it (as it happened
23 to me since i use different workbox and commit box and upstream gladly
24 for fetching returns html code instead of good old 404).
25
26 Cheers
27
28 Tomas

Attachments

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

Replies