Failed to build eclipse with gnome 2.12 (failed on cario)
Panagiotis Astithas
past at ebs.gr
Wed Nov 9 00:42:19 PST 2005
Alexander Nedotsukov wrote:
> Sean McNeil wrote:
>
>> On Tue, 2005-11-08 at 10:11 -0800, Sean McNeil wrote:
>>
>>
>>> On Tue, 2005-11-08 at 20:47 +0900, Alexander Nedotsukov wrote:
>>>
>>>
>>>> Sean McNeil wrote:
>>>>
>>>>
>>>>
>>>>> ......
>>>>>
>>>>>
>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> FWIW, you can find a patch to eclipse that I use for 3.1+gnome
>>>>>>>> 2.12 at
>>>>>>>> http://andreas.syndrom23.de/dump/eclipse-3.1-cairo.diff
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> Any chance to get this patch commited ? java/eclipse still does
>>>>>>> not build with gnome-2.12 (already in tree).
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> I did this yesterday. Cvsup.
>>>>>>
>>>>>>
>>>>>
>>>>> One caveat (as mentioned on another thread) - The patches incorporated
>>>>> only fix the problem for x86. amd64 systems still fail to build
>>>>> properly.
>>>>>
>>>>>
>>>>>
>>>>
>>>> Very strange. The build log you showed in eclipse@ looks exactly
>>>> like cairo related build faulre w/o patches commited yesterday. Are
>>>> you sure you have file manualpatch-plugins-swt-cairo in files/
>>>> directory?
>>>> As last resort I can recommend to build eclipse with
>>>> WITHOUT_CAIRO=yes for now.
>>>>
>>>
>>> Positive. The problem is that amd64 uses a different SWT:
>>>
>>> plugins/org.eclipse.swt.gtk.freebsd.amd64
>>>
>>> plugins/org.eclipse.swt.gtk.freebsd.amd64/src/Eclipse SWT
>>> PI/cairo/library/cairo.c needs to be patched as well.
>>>
>>
>>
>> To follow up, it appears that the files patched are just for the
>> standard 32-bit implementation. For 64-bit, those files appear to be
>> copied over then regenerated from the class file. So, the problem is
>> that Cairo.java is not patched and it doesn't correspond to the new
>> cairo.c. Using cairo in its current state should not really be possible
>> even on i386 as they don't match up.
>>
>>
> Sounds like true. But I am not an eclipse expert. Please speak up to
> patch author to finish this work.
In the meantime you could check the original patches at:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=106527
It seems there are some extra patches that Andreas hasn't kept in his
version, that might make a difference on amd64.
Panagiotis
More information about the freebsd-gnome
mailing list