problem with kdecache when having muliple macports installations

Nicolas Pavillon pavillon.nicolas at gmail.com
Sat Oct 27 01:24:51 PDT 2012


Thank you for spotting that. I had indeed fully missed this part when looking up the code of dbus for making something similar. I just committed the patch given in ticket to solve this. 


On Oct 27, 2012, at 6:18 AM, MK-MacPorts at techno.ms wrote:

> I am running multiple MacPorts install at the same time, and they reside in their own directories like
> 
> 	/opt/local/
> 	/opt/macports-test/
> 	/opt/clean-state/
> 
> but some files are joint below 
> 
> 	/Library
> 
> like e.g. kdecache's 
> 
> 	/Library/LaunchAgents/org.macports.kdecache.plist
> 
> This leads to the problem that I cannot install the agent and thus also not the whole port for more than one MacPorts installation.
> 
> In my case I successfully upgraded on /opt/clean-slate/
> now that I wanted to do the same on /opt/macports-test/
> I receive this error message during upgrade:
> ---
> --->  Activating kdelibs4 @4.8.5_0
> Error: org.macports.activate for port kdelibs4 returned: Image error: /Library/LaunchAgents/org.macports.kdecache.plist already exists and does not belong to a registered port.  Unable to activate port kdelibs4. Use 'port -f activate kdelibs4' to force the activation.
> --->  Computing dependencies for oxygen-icons
> ---
> 
> This is bad, since I definitely want to upgrade also on the other MacPorts install. I'd want to update the agent's plist file manually later…
> But the current state of the portfile doesn't allow this. So I guess we'd need a variant no_kdecache, don't you think? :-)
> 
> I'm not able to send a portfile diff right now, but perhaps I am able to do that in a few days time.
> 
> But who knows, Nicos, perhaps you can come up with a solution already earlier.
> 
> Greets,
> Marko



More information about the macports-dev mailing list