stuck in loop with restore_ports.tcl migrating to macOS Sierra (10.12.1)

Murray Eisenberg murrayeisenberg at gmail.com
Thu Nov 3 04:10:25 CET 2016


Port symlinks does install OK. Environment look OK to me — see below.

I didn’t show my whole .profile here, but the only actual change to it since worked OK with OS X El Capitan & macports is the date in the comment line “# MacPorts Installer addition on …: adding an appropriate PATH variable for use with MacPorts.

[~]$ which clang
/usr/bin/clang
[~]$ clang --version
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin16.1.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

[~]$ printenv
MANPATH=/Applications/Math/Macaulay2/Macaulay2-1.9/share/man:
LDFLAGS=-L/opt/local/lib 
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/bash
TERM=xterm-256color
CPPFLAGS=-I/opt/local/include 
TMPDIR=/var/folders/sv/1n3g81qj2bs90bfrvxr1pg780000gn/T/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.1o6rfG1s0b/Render
TERM_PROGRAM_VERSION=387
TERM_SESSION_ID=13F982A2-7E7C-4D94-A24D-580AD0E5AB95
USER=me
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.1OSonPyIcF/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
PATH=/opt/local/lib/mysql56/bin:/Applications/Math/Macaulay2/Macaulay2-1.9/bin:/Library/TeX/texbin:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin:/Library/TeX/texbin:/usr/local/sbin:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib:/Library/Frameworks/Python.framework/Versions/3.5/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Applications/Programming/Python/anaconda/bin:/Users/me/Library/Application Support/GoodSync:/Users/me/bin:/Applications/Math/Singular/3-1-6/ix86Mac-darwin:/Applications/Postgres.app/Contents/Versions/9.4/bin
PWD=/Users/me
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home
DBUS_LAUNCHD_SESSION_BUS_SOCKET=/private/tmp/com.apple.launchd.Y3hQQRkvmb/unix_domain_listener
LANG=en_US.UTF-8
XPC_FLAGS=0x0
PS1=[\u@\h:\w]$ 
XPC_SERVICE_NAME=0
SHLVL=1
HOME=/Users/me
LOGNAME=me
CLASSPATH=:/Library/Java/Extensions/mysql-connector-java-bin.jar:/Users/me/Library/texmf/texhyphj
INFOPATH=/Applications/Math/Macaulay2/Macaulay2-1.9/share/info
DISPLAY=/private/tmp/com.apple.launchd.KahliQQZCD/org.macosforge.xquartz:0
_=/usr/bin/printenv


> On Nov 2, 2016, at 9:28 PM, Ken Cunningham <ken.cunningham.webuse at gmail.com> wrote:
> 
> here’s what I do when stuff like this happens
> 
> check your path `printenv` and see if it’s set correctly
> 
> cat ~/.profile
> 
> try “which clang” and “clang —version” 
> 
> try writing up a very simple “hello.c” source file and see if it compiles (with the -v option to see what happens) and whether the executable runs
> 
> install some really really simple ports, like symlinks
> 
>> at least make sure the basics work
>> if all that works correctly, then … gotta dig deeper
> 
> Ken
> 
> 
> 
> 
>> On Nov 2, 2016, at 6:20 PM, Murray Eisenberg <murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>> wrote:
>> 
>> I did install both Xcode 8.1 and the corresponding Xcode 8.1 tools for Sierra.  (not sure how to verify the version of command-line tools there.)
>> 
>> [~”]$  xcode-select --install
>> xcode-select: error: command line tools are already installed, use "Software Update" to install updates
>> [murray at Blackstone:~]$ xcode-select -p
>> /Applications/Xcode.app/Contents/Developer
>> 
>> 
>>> On Nov 2, 2016, at 9:11 PM, Brandon Allbery <allbery.b at gmail.com <mailto:allbery.b at gmail.com>> wrote:
>>> 
>>> 
>>> On Wed, Nov 2, 2016 at 9:08 PM, Murray Eisenberg <murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>> wrote:
>>> So I started doing a reinstall of ports for migration, and at first got a “no C compiler available”
>>> 
>>> Sounds like missing command line tools to me.
>>> 
>>> 
>>> -- 
>>> brandon s allbery kf8nh                               sine nomine associates
>>> allbery.b at gmail.com <mailto:allbery.b at gmail.com>                                  ballbery at sinenomine.net <mailto:ballbery at sinenomine.net>
>>> unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net <http://sinenomine.net/>
>> ---
>> Murray Eisenberg			murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>
>> 503 King Farm Blvd #101	Home (240)-246-7240
>> Rockville, MD 20850-6667	Mobile (413)-427-5334
>> 
>> 
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org <mailto:macports-users at lists.macosforge.org>
>> https://lists.macosforge.org/mailman/listinfo/macports-users <https://lists.macosforge.org/mailman/listinfo/macports-users>

---
Murray Eisenberg			murrayeisenberg at gmail.com
503 King Farm Blvd #101	Home (240)-246-7240
Rockville, MD 20850-6667	Mobile (413)-427-5334


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20161102/568ec1f7/attachment-0002.html>


More information about the macports-users mailing list