after a clean installation of macports for 10.9, ds9 fails to build with these messages:
Error: ds9 does not build on Mavericks or later.
Error: org.macports.fetch for port ds9 returned: unsupported platform
Please see the log file for port ds9 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_ds9/ds9/main.log
-------------------------------------------------
version:1
:msg:main ---> Computing dependencies for ds9:info:main .:debug:main ds9 has no conflicts
:debug:main Searching for dependency: llvm-gcc42
:debug:main Didn't find receipt, going to depspec regex for: llvm-gcc42
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-gcc42
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:info:main .:debug:main llvm-gcc42 has no conflicts
:debug:main Searching for dependency: ld64
:debug:main Didn't find receipt, going to depspec regex for: ld64
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ld64
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Executing variant llvm33 provides llvm33
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: cctools
:debug:main Didn't find receipt, going to depspec regex for: cctools
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/cctools
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Executing variant llvm33 provides llvm33
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: gcc_select
:debug:main Didn't find receipt, going to depspec regex for: gcc_select
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/sysutils/gcc_select
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:info:main .:debug:main ld64 has no conflicts
:debug:main Searching for dependency: libunwind-headers
:debug:main Didn't find receipt, going to depspec regex for: libunwind-headers
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libunwind-headers
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: dyld-headers
:debug:main Didn't find receipt, going to depspec regex for: dyld-headers
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/dyld-headers
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: cctools-headers
:debug:main Didn't find receipt, going to depspec regex for: cctools-headers
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/cctools-headers
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Searching for dependency: llvm-3.3
:debug:main Didn't find receipt, going to depspec regex for: llvm-3.3
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.3
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:info:main .:debug:main libunwind-headers has no conflicts
:info:main .:debug:main dyld-headers has no conflicts
:info:main .:debug:main cctools-headers has no conflicts
:info:main .:debug:main llvm-3.3 has no conflicts
:debug:main Searching for dependency: libffi
:debug:main Didn't find receipt, going to depspec regex for: libffi
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libffi
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Found Dependency: path: /usr/bin filename: perl regex: ^perl$
:debug:main Searching for dependency: perl5
:debug:main Didn't find receipt, going to depspec regex for: perl5
:debug:main Found Dependency: path: /usr/bin filename: perl regex: ^perl$
:debug:main Searching for dependency: llvm_select
:debug:main Didn't find receipt, going to depspec regex for: llvm_select
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/sysutils/llvm_select
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:info:main .:debug:main libffi has no conflicts
:info:main .:debug:main llvm_select has no conflicts
:info:main .:debug:main cctools has no conflicts
:info:main .:debug:main gcc_select has no conflicts
:msg:main
:msg:main ---> Dependencies to be installed: llvm-gcc42 cctools cctools-headers ld64 dyld-headers libunwind-headers llvm-3.3 libffi llvm_select gcc_select
:debug:main Starting logging for cctools-headers
:debug:clean Starting logging for dyld-headers
:debug:clean Starting logging for libunwind-headers
:debug:clean Starting logging for libffi
:debug:clean Starting logging for llvm_select
:debug:clean Starting logging for llvm-3.3
:debug:clean Starting logging for ld64
:debug:clean Starting logging for cctools
:debug:clean Starting logging for gcc_select
:debug:clean Starting logging for llvm-gcc42
:debug:main Executing org.macports.main (ds9)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:archivefetch archivefetch phase started at Sun Oct 27 19:48:28 EDT 2013
:msg:archivefetch ---> Fetching archive for ds9
:debug:archivefetch Executing org.macports.archivefetch (ds9)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch ---> ds9-7.2_3.darwin_13.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch ---> Attempting to fetch ds9-7.2_3.darwin_13.x86_64.tbz2 from http://packages.macports.org/ds9
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch ---> Attempting to fetch ds9-7.2_3.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ds9
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch ---> Attempting to fetch ds9-7.2_3.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/ds9
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Sun Oct 27 19:48:29 EDT 2013
:notice:fetch ---> Fetching distfiles for ds9
:debug:fetch Can't run fetch on this port without elevated privileges. Escalating privileges back to root.
:debug:fetch euid changed to: 0. egid changed to: 0.
:debug:fetch changing euid/egid - current euid: 0 - current egid: 0
:debug:fetch egid changed to: 501
:debug:fetch euid changed to: 502
:debug:fetch Executing proc-pre-org.macports.fetch-fetch-0
:error:fetch ds9 does not build on Mavericks or later.
:error:fetch org.macports.fetch for port ds9 returned: unsupported platform
:debug:fetch Error code: NONE
:debug:fetch Backtrace: unsupported platform
while executing
"$pre $targetname"
:info:fetch Warning: targets not executed for ds9: org.macports.activate org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:fetch Please see the log file for port ds9 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_ds9/ds9/main.log
Fixed in r112612.
The upstream ds9 source has a different Makefile for each Mac OS release. There isn't one for Mavericks yet, but fortunately creating one is a trivial generalization of the Makefile for Mountain Lion. I will partially revert r112612 once the upstream source includes a Makefile for Mavericks.