trouble with llvm30 on mavericks

Ryan Schmidt ryandesign at macports.org
Fri Feb 21 22:45:58 PST 2014


On Feb 22, 2014, at 00:26, Puneet Kishor <punk.kish at gmail.com> wrote:

> I tried to `sudo port upgrade outdated` and got
> 
> --->  Fetching archive for llvm-3.0
> --->  Attempting to fetch llvm-3.0-3.0_12.darwin_13.x86_64.tbz2 from http://packages.macports.org/llvm-3.0
> --->  Attempting to fetch llvm-3.0-3.0_12.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/llvm-3.0
> --->  Attempting to fetch llvm-3.0-3.0_12.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/llvm-3.0
> --->  Computing dependencies for llvm-3.0
> --->  Fetching distfiles for llvm-3.0
> Error: llvm-3.0 is not supported on Mavericks or later.
> Error: org.macports.fetch for port llvm-3.0 returned: unsupported platform
> Please see the log file for port llvm-3.0 for details:
>    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.0/llvm-3.0/main.log
> Error: Unable to upgrade port: 1
> 

Correct. llvm-3.0 is not supported on Mavericks or later.


> I tried to uninstall llvm-30 but got
> 
> --->  Unable to uninstall llvm-3.0 @3.0_12, the following ports depend on it:
> --->  	ld64 @136_1+llvm30
> --->  	cctools @839_0+llvm30
> --->  	ld64 @136_2+llvm30
> --->  	cctools @839_2+llvm30
> Error: org.macports.uninstall for port llvm-3.0 returned: Please uninstall the ports that depend on llvm-3.0 first.
> Please see the log file for port llvm-3.0 for details:
>    /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_llvm-3.0_3.0_12/llvm-3.0/main.log
> Warning: Failed to execute portfile from registry for llvm-3.0 @3.0_12
> --->  Unable to uninstall llvm-3.0 @3.0_12, the following ports depend on it:
> --->  	ld64 @136_1+llvm30
> --->  	cctools @839_0+llvm30
> --->  	ld64 @136_2+llvm30
> --->  	cctools @839_2+llvm30
> Error: port uninstall failed: Please uninstall the ports that depend on llvm-3.0 first.

Reinstall those ports with newer llvm variants. After that, you should be able to uninstall llvm-3.0.


sudo port install ld64 +llvm34
sudo port install cctools +llvm34
sudo port uninstall llvm-3.0




More information about the macports-users mailing list