swt-devel-3.3_1,1 error: patch fails

Andriy Gapon avg at icyb.net.ua
Thu Aug 9 00:51:51 PDT 2007


on 08/08/2007 18:23 Robert Noland said the following:
> On Wed, 2007-08-08 at 17:42 +0300, Andriy Gapon wrote:
>> Trying to upgrade from 3.1,1 to 3.3_1,1 I am getting the following error:
>>
>> ===>  Found saved configuration for swt-devel-3.3,1
>> ===>  Extracting for swt-devel-3.3_1,1
>> => MD5 Checksum OK for swt-3.3-gtk-linux-x86_64.zip.
>> => SHA256 Checksum OK for swt-3.3-gtk-linux-x86_64.zip.
>> ===>   swt-devel-3.3_1,1 depends on executable: unzip - found
>> ===>  Patching for swt-devel-3.3_1,1
>> ===>  Applying FreeBSD patches for swt-devel-3.3_1,1
>> 1 out of 1 hunks failed--saving rejects to ./os.c.rej
>> => Patch patch-os.c failed to apply cleanly.
>> => Patch(es) patch-OS.java patch-build.sh patch-build.xml
>> patch-make_freebsd.mak applied cleanly.
>> *** Error code 1
>>
> 
> The patch doesn't apply cleanly to the amd64 distfile.  I'm working on
> it, but I don't have an amd64 to test it out on.

Yes, I have amd64 system. Sorry for not saying this from the very start.

> If you could manually remove the patch ( cd files ; rm patch-os.c ) and
> it will build successfully.  Then see if opening a file dialog in
> something that uses it causes the app to crash on amd64 also.

Done. The only application using swt-devel that I have installed is
azureus and it crashes in open file dialog with the same symptoms:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x00000008008961e6, pid=11219, tid=0x50c000
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (diablo-1.5.0_07-b01 mixed
mode)
# Problematic frame:
# C  [libc.so.6+0x301e6]  realpath+0x1e6
...
Abort (core dumped)
Exit 134


-- 
Andriy Gapon


More information about the freebsd-ports mailing list