How to disable cctools-headers?

Adam Dershowitz dersh at alum.mit.edu
Sun Oct 7 16:35:53 PDT 2012


You need to force the uninstall:

sudo port deactivate -f cctools-headers.

then you can do the update, then reactivate it after:

sudo port activate cctools-headers


--Adam



On Oct 7, 2012, at 4:22 PM, Jeffrey Walton wrote:

> My bad. I replied to Adam privately.
> 
> Jeff
> 
> ---------- Forwarded message ----------
> From: Jeffrey Walton <noloader at gmail.com>
> Date: Sun, Oct 7, 2012 at 7:22 PM
> Subject: Re: How to disable cctools-headers?
> To: Adam Dershowitz <dersh at alum.mit.edu>
> 
> Thanks Adam.
> 
> It appears I have a situation where GDB and LLVM are mutually exclusive.
> 
> Is it not possible to have them co-exist?
> 
> $ sudo port deactivate cctools-headers
> Password:
> --->  Deactivating cctools-headers @829_0
> --->  Unable to deactivate cctools-headers @829_0, the following ports
> depend on it:
> --->    cctools @829_1+llvm31
> Error: org.macports.deactivate for port cctools-headers returned:
> Please uninstall the ports that depend on cctools-headers first.
> Please see the log file for port cctools-headers for details:
>    /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_cctools-headers_829_0/cctools-headers/main.log
> Warning: Failed to execute portfile from registry for cctools-headers @829_0
> --->  Deactivating cctools-headers @829_0
> --->  Unable to deactivate cctools-headers @829_0, the following ports
> depend on it:
> --->    cctools @829_1+llvm31
> Error: port deactivate failed: Please uninstall the ports that depend
> on cctools-headers first.
> 
> Jeff
> 
> On Sun, Oct 7, 2012 at 7:00 PM, Adam Dershowitz <dersh at alum.mit.edu> wrote:
>> sudo port deactivate cctools-headers
>> 
>> --Adam
>> 
>> On Oct 7, 2012, at 3:47 PM, Jeffrey Walton wrote:
>> 
>>> Hi All,
>>> 
>>> My update script started outputting the following during an
>>> selfupdate/upgrade/clean/uninstall (inactive) cycle.
>>> 
>>> Can anyone tell me how to disable cctools-headers?
>>> 
>>> Thanks,
>>> Jeff
>>> 
>>> --->  Computing dependencies for gdb
>>> --->  Configuring gdb
>>> Error: gdb cannot be built while cctools-headers is active.
>>> Error: Please deactivate cctools-headers and try again.
>>> Error: You can reactivate cctools-headers again later.
>>> Error: org.macports.configure for port gdb returned: cctools-headers is active
>>> Please see the log file for port gdb for details:
>>>   /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gdb/gdb/main.log
>>> Error: Unable to upgrade port: 1
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 



More information about the macports-users mailing list