Trying to execute LibcxxOnOlderSytems (2nd ed.)

Mojca Miklavec mojca at macports.org
Tue Feb 9 12:11:52 PST 2016


On 9 February 2016 at 20:30, [ftp83plus] <gestos at ftp83plus.net> wrote:
> Ok, after a night of fetching-compiling, it now fails at step 6
>
> --->  Unable to uninstall llvm-3.4 @3.4.2_8, the following ports depend on it:
> --->    cctools @877.5_2+llvm34
> --->    ld64-136 @136_2+llvm34
> Error: org.macports.uninstall for port llvm-3.4 returned: Please uninstall the ports that depend on llvm-3.4 first.
> Warning: targets not executed for llvm-3.4: org.macports.uninstall
> Please see the log file for port llvm-3.4 for details:
>     /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_llvm-3.4-3.4.2_8_15b8a350e8ebfedc44efd55b4e7ca47de93e6f1c2d2686c8a60bf0ae8d52a73a-20651/llvm-3.4/main.log
> Warning: Failed to execute portfile from registry for llvm-3.4 @3.4.2_8
> --->  Unable to uninstall llvm-3.4 @3.4.2_8, the following ports depend on it:
> --->    cctools @877.5_2+llvm34
> --->    ld64-136 @136_2+llvm34
> Error: port uninstall failed: Please uninstall the ports that depend on llvm-3.4 first.
>
> The previous step 5 succeeded, but did it kept the clang-3.4 as well as the clang-3.7 variant?

If "port installed cctools" shows two ports being installed and only
the one with "+llvm37" active (and the same for ld64), you can do:
    sudo port -v uninstall cctools @877.5_2+llvm34
    sudo port -v uninstall ld64-136 @136_2+llvm34
    sudo port -v uninstall llvm-3.4 clang-3.4

Mojca


More information about the macports-users mailing list