From owner-freebsd-java@FreeBSD.ORG Fri Jun 5 13:01:55 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2327F106566B for ; Fri, 5 Jun 2009 13:01:55 +0000 (UTC) (envelope-from swun2010@gmail.com) Received: from mail-px0-f199.google.com (mail-px0-f199.google.com [209.85.216.199]) by mx1.freebsd.org (Postfix) with ESMTP id E8E848FC13 for ; Fri, 5 Jun 2009 13:01:54 +0000 (UTC) (envelope-from swun2010@gmail.com) Received: by pxi37 with SMTP id 37so1440344pxi.3 for ; Fri, 05 Jun 2009 06:01:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=VMzE9N6whYMCiavDdWn4/hRwt6kCL4Y1YjswWy0EbQA=; b=SmaNJU1Saz0IxjuBwxiQjLwG0joC58pD/ZiyovXmL4sY65NkaYJmgUwyiRcr67/g27 GxtErkwxP9pCnt8pD9/ofcYOCJAuEVlJ+Y66fdmiJqU0x+9/yeV+e9V7q4f1l2CXow4e sq/4wTz/4bs+3iC+R5WCGirsNqjDmLrcnkWYY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=x1Z6N225ceR8Pb0OHfK3HxsFCmIlYeyFkTCvwQvDtpgo97tTbtBwuJfoAffY6I//ld SroIbpCPnKIRY3TpDELp3vFFW2fmOHz0+FYKXwfU3oSBSZksw1SQC4WNzCAG56xEzcz7 9sfPHzeplF8yQg9lJeeIzC50MB1VPm9mHSajg= MIME-Version: 1.0 Received: by 10.142.44.14 with SMTP id r14mr1342795wfr.196.1244206914659; Fri, 05 Jun 2009 06:01:54 -0700 (PDT) In-Reply-To: <736c47cb0906050541l4accb0b3h44c9db5ef67a58fa@mail.gmail.com> References: <736c47cb0906050241y3a9cf8c3k25d36b550380a3aa@mail.gmail.com> <4A28EE69.2050801@gmx.de> <736c47cb0906050458n55850238h2bc90ccf9917c25b@mail.gmail.com> <4A290D39.7060808@gmx.de> <736c47cb0906050541l4accb0b3h44c9db5ef67a58fa@mail.gmail.com> Date: Fri, 5 Jun 2009 23:01:54 +1000 Message-ID: <736c47cb0906050601u30394f2aq12ab5565e7798cd4@mail.gmail.com> From: Sam Wun To: Ralf Folkerts Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-java@freebsd.org Subject: Re: can't install eclipse 3.4.1. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 13:01:55 -0000 Hi, what is your port-supfile look like? Mine is *default host=3Dcvsup2.us.FreeBSD.org *default base=3D/var/db *default prefix=3D/usr *default release=3Dcvs tag=3D. *default delete use-rel-suffix ... On Fri, Jun 5, 2009 at 10:41 PM, Sam Wun wrote: > I have done make clean before make install, however it still caused that = error. > I think make clean alone is not enough to clean up the old files. What > other directories I should look into about the installed all ports > file? I have looked at /usr/ports/dists/* , no java files are there. > > Thanks > > > > On Fri, Jun 5, 2009 at 10:19 PM, Ralf Folkerts wrot= e: >> Sam Wun wrote: >>> >>> I cvsup fresh ports, now I have another error: >>> >>> Copying plugins/org.eclipse.swt.gtk.linux.x86 into >>> plugins/org.eclipse.swt.gtk.freebsd.x86 >>> Copying plugins/org.eclipse.swt.gtk.linux.x86.source into >>> plugins/org.eclipse.swt.gtk.freebsd.x86.source >>> Copying plugins/org.eclipse.swt.gtk.linux.x86_64 into >>> plugins/org.eclipse.swt.gtk.freebsd.amd64 >>> Copying plugins/org.eclipse.swt.gtk.linux.x86_64.source into >>> plugins/org.eclipse.swt.gtk.freebsd.amd64.source >>> Copying plugins/org.eclipse.update.core.linux into >>> plugins/org.eclipse.update.core.freebsd >>> Copying plugins/org.eclipse.update.core.linux/os/linux into >>> plugins/org.eclipse.update.core.freebsd/os/freebsd >>> Copying plugins/org.eclipse.update.core.linux.source into >>> plugins/org.eclipse.update.core.freebsd.source >>> Copying plugins/org.eclipse.swt/Eclipse SWT >>> PI/gtk/library/make_linux.mak into plugins/org.eclipse.swt/Eclipse SWT >>> PI/gtk/library/make_freebsd.mak >>> =3D=3D=3D> =A0Applying FreeBSD patches for eclipse-3.4.1 >>> Reversed (or previously applied) patch detected! =A0Skipping patch. >>> 1 out of 1 hunk ignored -- saving rejects to file >>> >>> plugins/org.eclipse.core.filesystem/src/org/eclipse/core/internal/files= ystem/local/LocalFileSystem.java.rej >>> =3D> Patch >>> patch-plugins-org.eclipse.core.filesystem-src-org-eclipse-core-internal= -filesystem-local-LocalFileSystem.java >>> failed to apply cleanly. >>> =3D> Patch(es) patch-assemble.org.eclipse.sdk.all.xml patch-build >>> patch-build.properties patch-build.xml >>> patch-features-org.eclipse.cvs-build.xml >>> patch-features-org.eclipse.cvs.source-build.xml >>> patch-features-org.eclipse.equinox.executable-feature.xml >>> patch-features-org.eclipse.equinox.executable-library-gtk-build.sh >>> patch-features-org.eclipse.equinox.executable-library-gtk-make_freebsd.= mak >>> patch-features-org.eclipse.equinox.executable-target.build.properties >>> patch-features-org.eclipse.equinox.executable-target.build.xml >>> patch-features-org.eclipse.equinox.p2.user.ui-build.xml >>> patch-features-org.eclipse.equinox.p2.user.ui.source-build.xml >>> patch-features-org.eclipse.help-build.xml >>> patch-features-org.eclipse.help.source-build.xml >>> patch-features-org.eclipse.jdt-build.xml >>> patch-features-org.eclipse.jdt.source-build.xml >>> patch-features-org.eclipse.pde-build.xml >>> patch-features-org.eclipse.pde.p2-build.xml >>> patch-features-org.eclipse.pde.p2.source-build.xml >>> patch-features-org.eclipse.pde.source-build.xml >>> patch-features-org.eclipse.platform-build.properties >>> patch-features-org.eclipse.platform-build.xml >>> patch-features-org.eclipse.platform-feature.xml >>> patch-features-org.eclipse.platform.source-build.xml >>> patch-features-org.eclipse.platform.source-feature.xml >>> patch-features-org.eclipse.rcp-build.properties >>> patch-features-org.eclipse.rcp-build.xml >>> patch-features-org.eclipse.rcp-feature.xml >>> patch-features-org.eclipse.rcp.source-build.xml >>> patch-features-org.eclipse.rcp.source-feature.xml >>> patch-features-org.eclipse.sdk-build.properties >>> patch-features-org.eclipse.sdk-build.xml >>> patch-package.org.eclipse.sdk.all.xml >>> patch-plugins-org.eclipse.ant.ui-buildfiles-buildRemoteExtraJAR.xml >>> patch-plugins-org.eclipse.core.filesystem-natives-unix-freebsd-Makefile >>> >>> patch-plugins-org.eclipse.core.filesystem-natives-unix-freebsd-include-= os_custom.h >>> >>> patch-plugins-org.eclipse.core.filesystem-src-org-eclipse-core-internal= -filesystem-local-LocalFileS >>> applied cleanly. >>> *** Error code 1 >>> >>> Stop in /usr/ports/java/eclipse. >>> >>> Thanks >>> >>> >>> On Fri, Jun 5, 2009 at 8:07 PM, Ralf Folkerts wro= te: >>> >>>> >>>> Sam Wun wrote: >>>> >>>>> >>>>> Hi, >>>>> >>>>> I can't install eclipse 3.4.1 in freebsd 7.2 STABLE, wtih the followi= ong >>>>> errors: >>>>> >>>>> =3D=3D=3D> =A0Applying FreeBSD patches for eclipse-3.4.1 >>>>> patch: **** Can't open patch file >>>>> >>>>> >>>>> /usr/ports/java/eclipse/files/post-patch-plugins-org.eclipse.swt-Ecli= pse_SWT_Mozilla-gtk-org-eclipse-swt-browser-MozillaDelegate.java >>>>> : No such file or directory >>>>> *** Error code 2 >>>>> >>>>> >>>>> Your help is much appreciated. >>>>> >>>>> Thanks >>>>> >>>>> >>>> >>>> Hi, >>>> >>>> that file is present on my freshly csupped Ports-Tree: >>>> >>>> [bash]beaster:~$ls -l >>>> >>>> /usr/ports/java/eclipse/files/post-patch-plugins-org.eclipse.swt-Eclip= se_SWT_Mozilla-gtk-org-eclipse-swt-browser-MozillaDelegate.java >>>> -rw-r--r-- =A01 root =A0wheel =A0721 15 Feb 04:19 >>>> >>>> /usr/ports/java/eclipse/files/post-patch-plugins-org.eclipse.swt-Eclip= se_SWT_Mozilla-gtk-org-eclipse-swt-browser-MozillaDelegate.java >>>> >>>> So you might consider to start a fresh portsnap or run a cvsup/csup of >>>> the >>>> Ports-Tree again (depending on your preferred method). In case you use >>>> c(v)sup, you might also try another mirror. >>>> >>>> HTH >>>> Cheers, >>>> _ralf_ >>>> >>>> >>>> >> >> Hi, >> >> well, just tried a make patch in /usr/ports/java/eclipse -- it came thru >> fine. >> >> As the eclipse/eclipse-sourceBuild-srcIncluded-3.4.1.zip checksum should= be >> OK when it comes to the point to apply the patches it seems that you sti= ll >> have an issue with the files under /usr/ports/java/eclipse/files? >> >> Is there a chance the Filesystem is corrupt, full, has permission Proble= ms? >> >> Just in case here's the (cleanly applyable) Patch so you might compare t= his >> to yours... >> >> --- >> plugins/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesy= stem/local/LocalFileSyst >> em.java.orig =A0 =A02008-08-02 12:35:45.000000000 -0400 >> +++ >> plugins/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesy= stem/local/LocalFileSyst >> em.java 2008-08-02 12:34:53.000000000 -0400 >> @@ -98,7 +98,7 @@ >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 String arch =3D System.getProperty("osgi.arc= h", ""); >> //$NON-NLS-1$ //$NON-NLS-2$ >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (os.equals(Constants.OS_WIN32)) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 attributes |=3D EFS.ATTRIBUT= E_ARCHIVE | >> EFS.ATTRIBUTE_HIDDEN; >> - =A0 =A0 =A0 =A0 =A0 =A0 =A0 else if (os.equals(Constants.OS_LINUX) || >> (os.equals(Constants.OS_SOLARIS) && arch.e >> quals(Constants.ARCH_SPARC))) >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 else if (os.equals(Constants.OS_LINUX) || >> (os.equals(Constants.OS_FREEBSD)) || (os.e >> quals(Constants.OS_SOLARIS) && arch.equals(Constants.ARCH_SPARC))) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 attributes |=3D EFS.ATTRIBUT= E_EXECUTABLE | >> EFS.ATTRIBUTE_SYMLINK | EFS.ATTRIBU >> TE_LINK_TARGET; >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 else if (os.equals(Constants.OS_MACOSX) || >> os.equals(Constants.OS_HPUX) || os.equals >> (Constants.OS_QNX)) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 attributes |=3D EFS.ATTRIBUT= E_EXECUTABLE; >> >> >> >> Ah, did you do a "make clean" before starting anew? Else it probably tri= ed >> to apply patches that were already applied during your first run? >> >> HTH >> Cheers, >> _ralf_ >> >