Gentoo Archives: gentoo-desktop

From: Chris Bandy <cbandy@××××××.com>
To: gentoo-desktop@l.g.o
Subject: Re: [gentoo-desktop] kde-sunset: kdepim-kresources broken
Date: Fri, 19 Feb 2010 07:26:48
Message-Id: 4B7E3D11.2000507@jbandy.com
In Reply to: Re: [gentoo-desktop] kde-sunset: kdepim-kresources broken by Chris Bandy
1 Chris Bandy wrote:
2 > Ladislav Laska wrote:
3 >
4 >> Some more info:
5 >>
6 >> PATCHES are handled in base.eclass, in src_prepare. So EAPI has to be
7 >> at least 2 for this to be handled. However, I don't know why
8 >> base_src_prepare is not called and where to call it (well, I know that
9 >> it *could* be called at the end of kde_src_unpack, but I'm not sure if
10 >> it's correct and could break other packages).
11 >>
12 >> Regards Ladislav Laska
13 >> S pozdravem Ladislav Laska
14 >> ---
15 >> xmpp/jabber: ladislav.laska@××××××.cz
16 >>
17 >>
18 >>
19 >> On Thu, Feb 18, 2010 at 11:01 AM, Roman <lists@×××××××××.de> wrote:
20 >>
21 >>
22 >>> Hi,
23 >>>
24 >>> yes you are correct, adding
25 >>> src_unpack() {
26 >>> kde-meta_src_unpack
27 >>> epatch "${WORKDIR}/patches/kdepim-kresources-3.5_use-installed-kode.diff"
28 >>> }
29 >>>
30 >>> to the ebuild works, but since PATCHES is used by some more ebuilds i guess
31 >>> there should be a better solution integrating to eclass...
32 >>>
33 >>> Am Thursday 18 February 2010 02:44:26 schrieb Ladislav Laska:
34 >>>
35 >>>
36 >>>> You're right. I've looked into this earlier today and it is problem
37 >>>> fixed by that patch, which is correctly added to PATCHES environment
38 >>>> variable and should be applied by base eclass, but it's not (and I
39 >>>> don't know why) - I'll try to figure it out tomorrow.
40 >>>>
41 >>>> Regards Ladislav Laska
42 >>>> S pozdravem Ladislav Laska
43 >>>> ---
44 >>>> xmpp/jabber: ladislav.laska@××××××.cz
45 >>>>
46 >>>> On Thu, Feb 18, 2010 at 1:39 AM, Chris Bandy <cbandy@××××××.com> wrote:
47 >>>>
48 >>>>
49 >>>>> Chris Bandy wrote:
50 >>>>>
51 >>>>>
52 >>>>>> Chris Bandy wrote:
53 >>>>>>
54 >>>>>>
55 >>>>>>> Roman wrote:
56 >>>>>>>
57 >>>>>>>
58 >>>>>>>> Am Thursday 11 February 2010 10:56:29 schrieb Roman:
59 >>>>>>>>
60 >>>>>>>>
61 >>>>>>>>> hi,
62 >>>>>>>>>
63 >>>>>>>>> just tried a clean reinstall of kde3.5, but it looks like sth.
64 >>>>>>>>> changed again and kdepim-kresources won't install anymore.
65 >>>>>>>>> Since i am already leaving for the weekend, maybe so else could have
66 >>>>>>>>> a look at it? If not i will look into it next week...
67 >>>>>>>>>
68 >>>>>>>>>
69 >>>>>>>> Ok, to f'up on myself... i tried looking into it, but looks like i
70 >>>>>>>> have not really an idea on how to fix it, it might be related to the
71 >>>>>>>> lates autotools update...
72 >>>>>>>>
73 >>>>>>>> greetings,
74 >>>>>>>> Roman
75 >>>>>>>>
76 >>>>>>>>
77 >>>>>>> I ran into this as well while moving from media-libs/jpeg-7 to 8. I
78 >>>>>>> attach my info and build log after clearing ccache. Can anyone shed
79 >>>>>>> some light?
80 >>>>>>>
81 >>>>>>> I haven't tried this[1] since the breakage does not look the same, but
82 >>>>>>> I may try it soon.
83 >>>>>>>
84 >>>>>>> [1] http://forums.gentoo.org/viewtopic-t-791293.html
85 >>>>>>>
86 >>>>>>> -- Chris
87 >>>>>>>
88 >>>>>>>
89 >>>>>> Yikes. I'm glad my mail wasn't rejected! If you'd like to keep your
90 >>>>>> inbox small, I've made pastes of my info[1] and build.log[2].
91 >>>>>>
92 >>>>>> [1] http://bandy.pastebin.com/m78ae7eda
93 >>>>>> [2] http://bandy.pastebin.com/m560638ac (359 kB)
94 >>>>>>
95 >>>>>> -- Chris
96 >>>>>>
97 >>>>>>
98 >>>>> It looks like this patch ( kdepim-kresources-3.5_use-installed-kode.diff
99 >>>>> ) is not getting applied, but this is as far as I can dig today.
100 >>>>>
101 >>>>> -- Chris
102 >>>>>
103 >>>>>
104 >>> Mit freundlichem Gruß,
105 >>> Roman v. Gemmeren
106 >>>
107 >>> --
108 >>> The problem with any unwritten law is that you don't know where to go
109 >>> to erase it.
110 >>> -- Glaser and Way
111 >>>
112 >>>
113 >
114 > base_src_prepare is not called because the directory already exists at
115 > line 149 of kde.eclass. I strongly suspect commit
116 > 9704c7d47bbf70ec8f3fd78fd3b00e7603dfa879 broke it.
117 >
118 > I have attached my build.log of "emerge --debug -1
119 > kde-base/kdepim-kresources:3.5" The portion of interest starts around
120 > line 10574.
121 >
122 > I have also noticed that PATCHES were not applied for
123 > kde-base/kicker-3.5.10-r2, in case that helps. Though I suspect no
124 > PATCHES are being applied when EAPI="1".
125 >
126 > -- Chris
127
128 Reverting 9704c7d47bbf70ec8f3fd78fd3b00e7603dfa879 fixed both
129 kde-base/kdepim-kresources and kde-base/kicker for me.
130
131 -- Chris

Replies

Subject Author
Re: [gentoo-desktop] kde-sunset: kdepim-kresources broken Ladislav Laska <ladislav.laska@×××××.com>