Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 2009 07:14:05 +0800
From:      Huang wen hui <huang@gddsn.org.cn>
To:        "Stephane E. Potvin" <sepotvin@FreeBSD.org>, freebsd-eclipse@FreeBSD.org
Subject:   Re: Eclipse 3.4.2 update
Message-ID:  <49EFA4BD.9000704@gddsn.org.cn>
In-Reply-To: <49EF2DF9.40508@FreeBSD.org>
References:  <49EA1485.7000001@videotron.ca> <20090419170309.GA21399@jdevelop.priv> <20090420.075451.29593248145856573.ken@tydfam.jp> <20090420062739.GA92354@jdevelop.priv> <49EC76DD.1030809@FreeBSD.org> <49EC77F4.3000703@gddsn.org.cn> <49EF2DF9.40508@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Stephane E. Potvin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Huang wen hui wrote:
>   
>> Stephane E. Potvin wrote:
>>     
>>> Eugeny N Dzhurinsky wrote:
>>>  
>>>       
>>>> On Mon, Apr 20, 2009 at 07:54:51AM +0900, ken wrote:
>>>>    
>>>>         
>>>>>   Strange,,,,
>>>>>   I could gpatch the most recent port/java/eclipse with given diff
>>>>> without any problem.  And I am using new eclipse to see if it is OK
>>>>> or not.
>>>>>
>>>>>   It may worth to update ports/java/eclipse and apply the patch.
>>>>>       
>>>>>           
>>>> I did that but with no luck :(
>>>>
>>>>     
>>>>         
>>> Hi Eugeny,
>>>
>>> Could you try to revert your eclipse directory to a clean state (using
>>> csup or cvs depending on how you get your ports) and then
>>> re-apply the patch with the following:
>>>
>>>     (cd /usr/ports/java/eclipse; gpatch -p0 < /path/to/patchfile)
>>>
>>> If your eclipse ports tree is clean this should work without
>>> generating any error.
>>>
>>> Steph
>>>
>>>   
>>>       
>> For me, make is ok, but make install have problem:
>> # make GECKO=firefox reinstall
>> ===>  Installing for eclipse-3.4.2_1
>> ===>   eclipse-3.4.2_1 depends on file:
>> /usr/local/diablo-jdk1.6.0/bin/java - found
>> ===>   eclipse-3.4.2_1 depends on file:
>> /usr/local/lib/firefox/libgtkembedmoz.so - found
>> ===>   eclipse-3.4.2_1 depends on file:
>> /usr/local/etc/mtree/BSD.gnome.dist - found
>> ===>   eclipse-3.4.2_1 depends on file:
>> /usr/local/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
>> ===>   eclipse-3.4.2_1 depends on executable: pkg-config - found
>> ===>   eclipse-3.4.2_1 depends on executable: update-desktop-database -
>> found
>> ===>   eclipse-3.4.2_1 depends on file:
>> /usr/local/lib/gio/modules/libgiofam.so - found
>> ===>   eclipse-3.4.2_1 depends on shared library: cairo.2 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: GLU.1 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: esd.2 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: atk-1.0.0 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: gconf-2.4 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: glib-2.0.0 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: gnomevfs-2.0 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: gtk-x11-2.0.0 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: art_lgpl_2.5 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: bonobo-2.0 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: bonoboui-2.0 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: glade-2.0.0 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: gnome-2.0 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: gnomecanvas-2.0 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: gnomeui-2.0 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: IDL-2.0 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: xml2.5 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: ORBit-2.0 - found
>> ===>   eclipse-3.4.2_1 depends on shared library: pango-1.0.0 - found
>> ===>   Generating temporary packing list
>> ===>  Checking if java/eclipse already installed
>> Installing org.eclipse.sdk.ide 3.4.2.M20090211-1700-1.
>> Operation completed in 35462 ms.
>> !SESSION 2009-04-20 18:24:34.400
>> -----------------------------------------------
>> eclipse.buildId=M20090211-1700-1
>> java.version=1.6.0_07
>> java.vendor=The FreeBSD Foundation
>> BootLoader constants: OS=freebsd, ARCH=x86_64, WS=gtk, NL=zh_CN
>> Framework arguments:  -application
>> org.eclipse.equinox.p2.director.app.application -flavor tooling
>> -metadataRepository file:/usr/ports/java/eclipse/work/packager/repo
>> -artifactRepository file:/usr/ports/java/eclipse/work/packager/repo
>> -installIU org.eclipse.sdk.ide -version 3.4.2.M20090211-1700-1 -p2.os
>> freebsd -p2.ws gtk -p2.arch x86_64 -profile SDKProfile
>> -profileProperties org.eclipse.update.install.features=true -destination
>> /usr/local/eclipse -bundlepool /usr/local/eclipse -roaming
>> Command-line arguments:  -data /usr/ports/java/eclipse/work/workspace
>> -application org.eclipse.equinox.p2.director.app.application -consoleLog
>> -flavor tooling -metadataRepository
>> file:/usr/ports/java/eclipse/work/packager/repo -artifactRepository
>> file:/usr/ports/java/eclipse/work/packager/repo -installIU
>> org.eclipse.sdk.ide -version 3.4.2.M20090211-1700-1 -p2.os freebsd
>> -p2.ws gtk -p2.arch x86_64 -profile SDKProfile -profileProperties
>> org.eclipse.update.install.features=true -destination /usr/local/eclipse
>> -bundlepool /usr/local/eclipse -roaming
>>
>> !ENTRY org.eclipse.equinox.p2.metadata.repository 4 0 2009-04-20
>> 18:25:10.728
>> !MESSAGE Error while saving repositories in preferences
>> !STACK 0
>> org.osgi.service.prefs.BackingStoreException: Exception saving
>> preferences to:
>> /usr/ports/java/eclipse/work/eclipse/configuration/.settings/org.eclipse.equinox.p2.metadata.repository.prefs.
>>
>>    at
>> org.eclipse.core.internal.preferences.EclipsePreferences.save(EclipsePreferences.java:991)
>>
>>    at
>> org.eclipse.core.internal.preferences.EclipsePreferences.save(EclipsePreferences.java:953)
>>
>>    at
>> org.eclipse.core.internal.preferences.EclipsePreferences.flush(EclipsePreferences.java:352)
>>
>>    at
>> org.eclipse.core.internal.preferences.EclipsePreferences.flush(EclipsePreferences.java:340)
>>
>>    at
>> org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.saveToPreferences(MetadataRepositoryManager.java:747)
>>
>>    at
>> org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.removeRepository(MetadataRepositoryManager.java:668)
>>
>>    at
>> org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:466)
>>
>>    at
>> org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:435)
>>
>>    at
>> org.eclipse.equinox.internal.p2.engine.MetadataCache.getRepository(MetadataCache.java:46)
>>
>>    at
>> org.eclipse.equinox.internal.p2.engine.MetadataCache$1.notify(MetadataCache.java:81)
>>
>>    at
>> org.eclipse.equinox.internal.p2.core.ProvisioningEventBus.dispatchEvent(ProvisioningEventBus.java:104)
>>
>>    at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
>>
>>    at
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:321)
>>
>> ===>   Registering installation for eclipse-3.4.2_1
>>
>>     
>
> I'm not able to reproduce this locally. It seems that somehow the p2 installer doesn't have write access to the
> '/usr/ports/java/eclipse/work/eclipse/configuration/.settings/' directory. Could you try again with a clean work area?
>   
yes, I try again, this problem is gone. Thanks.

--hwh




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49EFA4BD.9000704>