<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hello everyone,<br>
<br>
My OS was recently upgraded by my local sys admin to Sierra. MacPorts was installed and running fine when I was using El Capitan. I now cannot get MacPorts to build or install from the package. I have confirmed that I have Xcode 9.0 installed and I have run
 the suggested commands for Xcode licenses, etc.<br>
<br>
The MacPorts-2.4.1-10.12-Sierra.pkg fails after trying to run package scripts. There is no information given as an error message. The installer tells me to contact the software provider.
<br>
<br>
I have tried building from the source files as well. This fails at the first build step. I am attaching the configure output. I have tried switching the the configure compiler to Xcode's cc, but I get the same error:<br>
<br>
ITLLRP-MN-21381:MacPorts-2.4.1 rditllrp$ ./configure > configure.txt<br>
configure: WARNING: GNUSTEP_SYSTEM_ROOT is not defined in your environment, preventing the use of GNUstep's Foundation library<br>
configure: WARNING: No ports tree found<br>
ITLLRP-MN-21381:MacPorts-2.4.1 rditllrp$ make<br>
===> making all in vendor<br>
===> making all in vendor/tcl/unix<br>
gcc -c -Os -pipe    -Wall -fno-common -I"." -I/Users/rditllrp/Downloads/MacPorts-2.4.1/vendor/tcl/unix/../unix -I/Users/rditllrp/Downloads/MacPorts-2.4.1/vendor/tcl/unix/../generic -I/Users/rditllrp/Downloads/MacPorts-2.4.1/vendor/tcl/unix/../libtommath -DPACKAGE_NAME=\"tcl\"
 -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tcl\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DHAVE_PTHREAD_GET_STACKSIZE_NP=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\"
 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".dylib\" -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1
 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1
 -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1
 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1 -DHAVE_LIBKERN_OSATOMIC_H=1 -DHAVE_OSSPINLOCKLOCK=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1
 -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -D_DARWIN_C_SOURCE=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUID=1      -DSTATIC_BUILD /Users/rditllrp/Downloads/MacPorts-2.4.1/vendor/tcl/unix/../generic/tclStubLib.c<br>
In file included from /Users/rditllrp/Downloads/MacPorts-2.4.1/vendor/tcl/unix/../generic/tclStubLib.c:14:<br>
In file included from /Users/rditllrp/Downloads/MacPorts-2.4.1/vendor/tcl/unix/../generic/tclInt.h:36:<br>
In file included from /Users/rditllrp/Downloads/MacPorts-2.4.1/vendor/tcl/unix/../generic/tclPort.h:23:<br>
In file included from ./tclUnixPort.h:622:<br>
/usr/include/pthread.h:423:25: error: expected parameter declarator<br>
__SWIFT_UNAVAILABLE_MSG("Use lazily initialized globals instead")<br>
                        ^<br>
/usr/include/pthread.h:423:25: error: expected ')'<br>
/usr/include/pthread.h:423:24: note: to match this '('<br>
__SWIFT_UNAVAILABLE_MSG("Use lazily initialized globals instead")<br>
                       ^<br>
/usr/include/pthread.h:424:51: error: expected ';' after top level declarator<br>
__OSX_AVAILABLE_STARTING(__MAC_10_4, __IPHONE_2_0)<br>
                                                  ^<br>
3 errors generated.<br>
make[2]: *** [tclStubLib.o] Error 1<br>
make[1]: *** [all-tcl] Error 2<br>
make: *** [all] Error 1<br>
<br>
Any advice is appreciated. <br>
<br>
Thanks,<br>
<br>
Lucas Pettey, PhD <br>
<br>
</div>
</body>
</html>