Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#41713 closed defect (invalid)

ds9 fails to install on Mavericks due to llvm

Reported by: pidloop Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia), pidloop
Port: llvm-3.1

Description (last modified by mf2k (Frank Schima))

Tried to install ds9 on OS X 10.9 but it fails with these lines:

--->  Fetching archive for llvm-3.1
--->  Attempting to fetch llvm-3.1-3.1_7.darwin_13.x86_64.tbz2 from http://packages.macports.org/llvm-3.1
--->  Attempting to fetch llvm-3.1-3.1_7.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/llvm-3.1
--->  Attempting to fetch llvm-3.1-3.1_7.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/llvm-3.1
--->  Fetching distfiles for llvm-3.1
Error: llvm-3.1 is not supported on Mavericks or later.
Error: org.macports.fetch for port llvm-3.1 returned: unsupported platform
Please see the log file for port llvm-3.1 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.1/llvm-3.1/main.log
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade llvm-gcc42 failed

Change History (6)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Cc: jeremyhu@… added
Description: modified (diff)
Keywords: ds9 llvm-gcc42 removed
Port: llvm-3.1 added; ds9 removed
Resolution: invalid
Status: newclosed

In the future, please use WikiFormatting, fill in the Port field with the port that failed and Cc the port maintainers (port info --maintainers llvm-3.1).

llvm-3.1 is not supported per the error:

Error: llvm-3.1 is not supported on Mavericks or later.

You do not need it however. The ports that require it, ld64 and cctools, use llvm-3.3 by default now and so should you.

comment:2 Changed 11 years ago by pidloop

Cc: ecdowney@… added

Cc Me!

comment:3 Changed 11 years ago by pidloop

Resolution: invalid
Status: closedreopened

Sorry, I will do better report next time although I don't see where to add a CC.

But the point is I really do think it was ds9 that failed. What I did was "sudo ports install ds9" and it failed, evidently because it lists llvm-3.1 as a dependency. I understand that llvm-3.3 is current so it seems to me the problem here is that ds9 is asking for the wrong dependency, no fault of llvm.

I don't know what you mean "and so should you", I am not a maintainer for ds9.

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: reopenedclosed

ds9 does not list any llvm as a dependency:

$ port deps ds9
Full Name: ds9 @7.2_3
Build Dependencies:   llvm-gcc42
Library Dependencies: xorg-libX11, xorg-libXext, xorg-libXt, Xft2, xrender,
                      xorg-libXScrnSaver, fontconfig, freetype, libxml2, libiconv,
                      jbigkit, zlib, libzip, zip, ast

It does list llvm-gcc42 as a dependency, and that does list cctools as a dependency, and that does list ld64 as a dependency, and cctools and ld64 do have various llvm variants, and you have presumably installed cctools and ld64 back when llvm31 was the default variant, but these days llvm33 is the default variant, and you should reinstall those ports with those new default variants to resolve the problem; I think this command should do it:

sudo port install ld64 cctools

comment:5 Changed 11 years ago by pidloop

Yes, that did it, thank you.

But, if I may say, I thought sorting through such dependencies is exactly what port is supposed to do automatically.

comment:6 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

you have presumably installed cctools and ld64 back when llvm31 was the default variant

And that was well before Mavericks was released, which indicates that the upgrade to Mavericks was not done correctly. You need to uninstall reinstall all your ports.

Note: See TracTickets for help on using tickets.