Macports fails to build in macOS 10.12 Sierra

Jeremy Huddleston Sequoia jeremyhu at apple.com
Sat Jun 18 20:24:41 PDT 2016


As a reminder, macOS 10.12 Sierra has only been released as a developer preview to developers and is covered by an NDA.  Please do not discuss it on this list.  If you have issues, please feel free to reach out to me directly.

In this case, you forgot to install the Xcode command line tools

Thanks,
Jeremy

> On Jun 15, 2016, at 13:09, Artemio González López <artemiog at mac.com> wrote:
> 
> I’ve installed the Developer preview of macOS 10.12 Sierra, and I have been trying to rebuild my MacPorts installation following the Migration instructions at MacPorts. The problem is that ./configure —enable-readline fails with the error message found at the end of the complete output of this command below). I of course know that I am using a beta system, so that I’m not entitled to any support from the MacPorts team. However, I would really appreciate any pointers as to how to fix this (if  possible).
> 
> Thanks a lot,
> 
> Artemio
> 
> mba:~/Downloads/mports/trunk/base artemio$ ./configure --enable-readline
> checking build system type... x86_64-apple-darwin16.0.0
> checking host system type... x86_64-apple-darwin16.0.0
> checking target system type... x86_64-apple-darwin16.0.0
> checking MacPorts version... 2.3.99
> checking for sw_vers... /usr/bin/sw_vers
> checking for defaults... /usr/bin/defaults
> checking for xcode-select... /usr/bin/xcode-select
> checking Mac OS X version... 10.12
> checking Xcode location... /Applications/Xcode.app/Contents/Developer
> checking Xcode version... 7.3.1
> checking for clang... clang
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables... 
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether clang accepts -g... yes
> checking for clang option to accept ISO C89... none needed
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking whether make sets $(MAKE)... yes
> checking for clang... clang
> checking whether we are using the GNU Objective C compiler... yes
> checking whether clang accepts -g... yes
> checking for bsdmake... no
> checking for pmake... no
> checking for bzip2... /usr/bin/bzip2
> checking for bzr... no
> checking for chown... /usr/sbin/chown
> checking for cp... /bin/cp
> checking for cpio... /usr/bin/cpio
> checking for cvs... no
> checking for diff... /usr/bin/diff
> checking for dscl... /usr/bin/dscl
> checking for dseditgroup... /usr/sbin/dseditgroup
> checking for file... /usr/bin/file
> checking for find... /usr/bin/find
> checking for git... /usr/bin/git
> checking for gnumake... /usr/bin/gnumake
> checking for gnupatch... no
> checking for gpatch... no
> checking for gnutar... no
> checking for gtar... no
> checking for gzip... /usr/bin/gzip
> checking for hdiutil... /usr/bin/hdiutil
> checking for hg... no
> checking for launchctl... /bin/launchctl
> checking for lipo... /usr/bin/lipo
> checking for lsbom... /usr/bin/lsbom
> checking for lzma... no
> checking for make... /usr/bin/make
> checking for man... /usr/bin/man
> checking for mdfind... /usr/bin/mdfind
> checking for mdls... /usr/bin/mdls
> checking for mkbom... /usr/bin/mkbom
> checking for mtree... /usr/sbin/mtree
> checking for open... /usr/bin/open
> checking for openssl... /usr/bin/openssl
> checking for patch... /usr/bin/patch
> checking for pax... /bin/pax
> checking for rmdir... /bin/rmdir
> checking for rsync... /usr/bin/rsync
> checking for sandbox-exec... /usr/bin/sandbox-exec
> checking for sed... /usr/bin/sed
> checking for svn... /usr/bin/svn
> checking for swig... no
> checking for tar... /usr/bin/tar
> checking for unzip... /usr/bin/unzip
> checking for xar... /usr/bin/xar
> checking for xcodebuild... /usr/bin/xcodebuild
> checking for xcrun... /usr/bin/xcrun
> checking for xz... no
> checking for zip... /usr/bin/zip
> checking for launchd... yes
> checking for sed... (cached) /usr/bin/sed
> checking which sed flag to use for extended regexp... -E (BSD)
> checking for tar... (cached) /usr/bin/tar
> checking whether tar supports -q... yes (bsdtar)
> checking for tar... (cached) /usr/bin/tar
> checking for gnutar... no
> checking for which tar variant to use... /usr/bin/tar
> checking for /usr/bin/tar --no-same-owner support... no
> checking for patch... (cached) /usr/bin/patch
> checking for gpatch... no
> checking for GNU (FSF) patch... /usr/bin/patch
> checking how to mark unused variables... 
> checking for gcc symbol visibility attribute... __attribute__((visibility("hidden")))
> checking for the pthreads library -lpthreads... no
> checking whether pthreads work without any flags... yes
> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
> checking if more special flags are required for pthreads... -D_THREAD_SAFE
> checking how to run the Objective C preprocessor... clang -E
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking objc/objc.h usability... yes
> checking objc/objc.h presence... yes
> checking for objc/objc.h... yes
> checking if linking libobjc requires pthreads... no
> checking for Apple Objective-C runtime... yes
> checking for GNU Objective C runtime... no
> configure: Using Apple Objective-C runtime
> checking for Apple Foundation library... no
> configure: WARNING: GNUSTEP_SYSTEM_ROOT is not defined in your environment, preventing the use of GNUstep's Foundation library
> configure: error: Could not find a working Foundation implementation
> 
> Artemio Gonzalez Lopez
> artemiog at icloud.com
> 
> 
> 
> 
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4465 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20160618/e99820eb/attachment.p7s>


More information about the macports-users mailing list