From owner-freebsd-ports@FreeBSD.ORG Thu Aug 9 15:03:19 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4288B16A468 for ; Thu, 9 Aug 2007 15:03:19 +0000 (UTC) (envelope-from rnoland@2hip.net) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 0997613C47E for ; Thu, 9 Aug 2007 15:03:18 +0000 (UTC) (envelope-from rnoland@2hip.net) Received: from [63.251.67.21] (rnoland-ibm.acs.internap.com [63.251.67.21]) (authenticated bits=0) by gizmo.2hip.net (8.13.8/8.13.8) with ESMTP id l79F3FEb003487 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 9 Aug 2007 11:03:15 -0400 (EDT) (envelope-from rnoland@2hip.net) From: Robert Noland To: Andriy Gapon In-Reply-To: <46BAC791.1070104@icyb.net.ua> References: <46B9D65E.8050203@icyb.net.ua> <1186586589.1257.78.camel@rnoland-ibm.acs.internap.com> <46BAC791.1070104@icyb.net.ua> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-GSNGVuCLxlMuDzACUhVu" Date: Thu, 09 Aug 2007 11:03:10 -0400 Message-Id: <1186671790.76028.5.camel@rnoland-ibm.acs.internap.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on gizmo.2hip.net Cc: freebsd-ports@freebsd.org Subject: Re: swt-devel-3.3_1,1 error: patch fails X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 15:03:19 -0000 --=-GSNGVuCLxlMuDzACUhVu Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2007-08-09 at 10:51 +0300, Andriy Gapon wrote: > 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 err= or: > >> > >> =3D=3D=3D> Found saved configuration for swt-devel-3.3,1 > >> =3D=3D=3D> Extracting for swt-devel-3.3_1,1 > >> =3D> MD5 Checksum OK for swt-3.3-gtk-linux-x86_64.zip. > >> =3D> SHA256 Checksum OK for swt-3.3-gtk-linux-x86_64.zip. > >> =3D=3D=3D> swt-devel-3.3_1,1 depends on executable: unzip - found > >> =3D=3D=3D> Patching for swt-devel-3.3_1,1 > >> =3D=3D=3D> Applying FreeBSD patches for swt-devel-3.3_1,1 > >> 1 out of 1 hunks failed--saving rejects to ./os.c.rej > >> =3D> Patch patch-os.c failed to apply cleanly. > >> =3D> Patch(es) patch-OS.java patch-build.sh patch-build.xml > >> patch-make_freebsd.mak applied cleanly. > >> *** Error code 1 > >> > >=20 > > 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. >=20 > Yes, I have amd64 system. Sorry for not saying this from the very start. >=20 > > 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. >=20 > 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=3D0x00000008008961e6, pid=3D11219, tid=3D0x50c000 > # > # 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 Ok, I'll have to use different patches depending on ARCH then. I'll try and get to this today... robert. --=-GSNGVuCLxlMuDzACUhVu Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGuyynM4TrQ4qfROMRAgK9AJ42nKhU18VPcDHFeskEf8uyWJTdWgCeMj/A KhEGEVpq5Qe+N3eiB1INutw= =8ZQX -----END PGP SIGNATURE----- --=-GSNGVuCLxlMuDzACUhVu--