Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Dec 2011 15:14:15 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        freebsd-eclipse@FreeBSD.org, Wayne Sierke <ws@au.dyndns.ws>
Subject:   Re: eclipse-devel installs symlinks to /usr/ports
Message-ID:  <4EE0B827.5040307@FreeBSD.org>
In-Reply-To: <20111207221455.GA46294@misty.eyesbeyond.com>
References:  <op.v5tmk7xt8527sy@212-182-167-131.ip.telfort.nl> <20111207031059.GA1002@misty.eyesbeyond.com> <1323284299.2387.9.camel@predator-ii.buffyverse> <20111207221455.GA46294@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
on 08/12/2011 00:14 Greg Lewis said the following:
> On Thu, Dec 08, 2011 at 05:28:19AM +1030, Wayne Sierke wrote:
>> On Tue, 2011-12-06 at 19:10 -0800, Greg Lewis wrote:
>>> G'day Ronald,
>>>
>>> On Thu, Dec 01, 2011 at 06:23:19PM +0100, Ronald Klop wrote:
>>>> Hi,
>>>>
>>>> Plugins don't work after cleaning the port because of these symlinks.
>>>
>>> I see the same thing :(.  I think there is an obvious hack we could put in
>>> the Makefile to fix that (a post-build or pre-install target that fixes
>>> these up), but I'd prefer to find the change we need to make in the eclipse
>>> build infrastructure.
>>
>> Greg et al,
>>
>> Is this just another rsync -l/-L issue? The attached patch seems to work
>> here.
> 
> Thanks Wayne!  Looks good to me so I've committed it.
> 

After upgrading to eclipse-devel-3.7.0_3 I get the following errors on startup:
java.util.zip.ZipException: Exception in opening zip file:
/usr/local/lib/eclipse-devel/plugins/org.eclipse.core.filesystem.freebsd.x86_64_1.0.100.201111281825.jar
Looks like the file has been renamed to
org.eclipse.core.filesystem.freebsd.x86_64_1.0.100.201112081328.jar (different
installation date apparently).  But apparently there still references to it.

Complete exception message:
java.util.zip.ZipException: Exception in opening zip file:
/usr/local/lib/eclipse-devel/plugins/org.eclipse.core.filesystem.freebsd.x86_64_1.0.100.201111281825.jar
	at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:287)
	at
org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.basicOpen(ZipBundleFile.java:87)
	at
org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getZipFile(ZipBundleFile.java:100)
	at
org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.checkedOpen(ZipBundleFile.java:73)
	at
org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getEntry(ZipBundleFile.java:245)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseClassLoadingHook.searchVariants(EclipseClassLoadingHook.java:207)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseClassLoadingHook.findLibrary(EclipseClassLoadingHook.java:195)
	at org.eclipse.osgi.baseadaptor.BaseData.findLibrary(BaseData.java:139)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalLibrary(BundleLoader.java:881)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLibrary(BundleLoader.java:854)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLibrary(ClasspathManager.java:659)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLibrary(DefaultClassLoader.java:176)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1652)
	at java.lang.Runtime.loadLibrary0(Runtime.java:840)
	at java.lang.System.loadLibrary(System.java:1047)
	at
org.eclipse.core.internal.filesystem.local.unix.UnixFileNatives.<clinit>(UnixFileNatives.java:36)
	at
org.eclipse.core.internal.filesystem.local.LocalFileNativesManager.isUsingNatives(LocalFileNativesManager.java:42)
	at org.eclipse.core.internal.filesystem.local.LocalFile.fetchInfo(LocalFile.java:143)
	at org.eclipse.core.filesystem.provider.FileStore.fetchInfo(FileStore.java:280)
	at org.eclipse.core.internal.localstore.BlobStore.<init>(BlobStore.java:44)
	at org.eclipse.core.internal.localstore.HistoryStore2.<init>(HistoryStore2.java:77)
	at
org.eclipse.core.internal.resources.ResourcesCompatibilityHelper.createHistoryStore(ResourcesCompatibilityHelper.java:67)
	at
org.eclipse.core.internal.localstore.FileSystemResourceManager.getHistoryStore(FileSystemResourceManager.java:492)
	at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1155)
	at org.eclipse.core.internal.resources.Workspace.save(Workspace.java:2375)
	at
org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor$5.run(IDEWorkbenchAdvisor.java:508)
	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:131)
	at java.util.zip.ZipFile.<init>(ZipFile.java:148)
	at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:274)
	... 26 more

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EE0B827.5040307>