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