Gentoo Archives: gentoo-kernel

From: Bertrand Jacquin <beber@××××××××.net>
To: gentoo-kernel@l.g.o
Cc: Tom Wijsman <TomWij@g.o>
Subject: Re: [gentoo-kernel] [ANNOUNCE] genpatches-3.10-12 release
Date: Fri, 16 Aug 2013 00:03:24
Message-Id: 20130816000319.GH2953@lemonhead.scabb
In Reply to: Re: [gentoo-kernel] [ANNOUNCE] genpatches-3.10-12 release by Tom Wijsman
1 D'ar gwener 16 a viz Eost 2013 e 01 eur 49, « Tom Wijsman » he deus skrivet :
2 > On Fri, 16 Aug 2013 01:27:23 +0200
3 > Bertrand Jacquin <beber@××××××××.net> wrote:
4 >
5 > > 3.10-12/2300_USB-mount-extd-inq-cmd-fix.patch does not apply anymore
6 > > as was included upstream at commit
7 > > 0ac10bd036f0f3b8ce7ac2390446eab9531c72eb (v3.10.6-1-g0ac10bd)
8 >
9 > Thank you very much for letting us know!
10 >
11 > There is one subtle difference here; specifically, it does apply.
12 >
13 > Unpacking source...
14 > Unpacking linux-3.10.tar.xz
15 > to /var/tmp/portage/sys-kernel/gentoo-sources-3.10.7/work
16 > Unpacking genpatches-3.10-12.base.tar.xz
17 > to /var/tmp/portage/sys-kernel/gentoo-sources-3.10.7/work/patches
18 > Unpacking genpatches-3.10-12.extras.tar.xz
19 > to /var/tmp/portage/sys-kernel/gentoo-sources-3.10.7/work/patches
20 > * Applying 1000_linux-3.10.1.patch
21 > (-p1) ... [ ok ]
22 > * Applying 1001_linux-3.10.2.patch
23 > (-p1) ... [ ok ]
24 > * Applying 1002_linux-3.10.3.patch
25 > (-p1) ... [ ok ]
26 > * Applying 1003_linux-3.10.4.patch
27 > (-p1) ... [ ok ]
28 > * Applying 1004_linux-3.10.5.patch
29 > (-p1) ... [ ok ]
30 > * Applying 1005_linux-3.10.6.patch
31 > (-p1) ... [ ok ]
32 > * Applying 1006_linux-3.10.7.patch
33 > (-p1) ... [ ok ]
34 > * Applying 1500_XATTR_USER_PREFIX.patch
35 > (-p1) ... [ ok ]
36 > * Applying 1700_enable-thinkpad-micled.patch
37 > (-p1) ... [ ok ]
38 > * Applying
39 > 1801_block-cgroups-kconfig-build-bits-for-BFQ-v6r2-3.10.patch
40 > (-p1) ... [ ok ]
41 > * Applying 1802_block-introduce-the-BFQ-v6r2-I-O-sched-for-3.10.patch1
42 > (-p1) ... [ ok ]
43 > * Applying
44 > 1803_block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-v6r2-for-3.10.0.patch1
45 > (-p1) ... [ ok ]
46 > * Applying 2300_USB-mount-extd-inq-cmd-fix.patch
47 > (-p1) ... [ ok ]
48 > * Applying 2400_kcopy-patch-for-infiniband-driver.patch
49 > (-p1) ... [ ok ]
50 > * Applying 2700_ThinkPad-30-brightness-control-fix.patch
51 > (-p1) ... [ ok ]
52 > * Applying 2900_dev-root-proc-mount-fix.patch
53 > (-p1) ... [ ok ]
54 > * Applying 4200_fbcondecor-0.9.6.patch
55 > (-p1) ... [ ok ]
56 > * Applying 4500_nouveau-video-output-control-Kconfig.patch
57 > (-p1) ... [ ok ]
58 > * Applying 4567_distro-Gentoo-Kconfig.patch
59 > (-p1) ... [ ok ]
60 > Source unpacked
61 > in /var/tmp/portage/sys-kernel/gentoo-sources-3.10.7/work
62 >
63 > Inspecting it I agree it does apply a bit weirdly; although, it does
64 > make the intent of the code the same and should thus not be a problem.
65 >
66 > if (sdev->skip_vpd_pages)
67 > goto fail;
68 >
69 > if (sdev->skip_vpd_pages)
70 > goto fail;
71 >
72 > Using =sys-devel/patch-2.7.1-r2 here. Why does it not apply for you?
73
74 First of all, I'm not using gentoo-sources but a personal ebuild that
75 actually take patch, apply them, then build the kernel, see #472906 or
76 http://git.meleeweb.net/cgit.cgi/distros/gentoo/portage.git/tree/sys-kernel/longterm-sources
77 and
78 http://git.meleeweb.net/cgit.cgi/distros/gentoo/portage.git/tree/sys-kernel/stable-sources
79
80 This ebuild use epatch_user, so all my patchs are taken from
81 http://git.meleeweb.net/cgit.cgi/linux-patchset.git/tree/
82
83 $ git clone git://git.meleeweb.net/var/git/linux-patchset.git /etc/portage/patches/sys-kernel
84
85 Actually I have a simple script that 'prepare' the patch tree. I just
86 apply ja patch, 'git am' all my own/companie patch, then apply gentoo
87 one from genpatch svn.
88
89 That script first try to 'git am' the patch if that one has the good
90 format. If it does not, it simply do a 'patch -sNp1 < "${patch}"'
91
92 So it should not fail as '-N' (Ignore patches that seem to be reversed or
93 already applied). Argg ... :)
94
95 I use sys-devel/patch-2.7.1-r2 as you.
96
97 I need to inspect what do epatch a bit better to be able to reproduce.
98 But speaking in pure QA, it's better is this case :)
99
100 > Anyhow, just for safety reasons I'll push out a new genpatches; as it
101 > intends to fix a build issue, it doesn't require a revision bump. :)
102
103 Thanks !
104
105 --
106 Beber