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

2016-11-05 Thread Joshua Root
Bachsau wrote: Am 02.11.2016 um 23:48 schrieb Murray Eisenberg: After upgrading from OS X El Capitan to macOS Sierra (10.12.1), I’m following the migration steps at https://trac.macports.org/wiki/Migration. Against the recommendations in that article, I discovered the easiest way to migrate

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

2016-11-04 Thread Bachsau
Am 02.11.2016 um 23:48 schrieb Murray Eisenberg: After upgrading from OS X El Capitan to macOS Sierra (10.12.1), I’m following the migration steps at https://trac.macports.org/wiki/Migration. Against the recommendations in that article, I discovered the easiest way to migrate is to reinstall

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

2016-11-03 Thread Ryan Schmidt
> On Nov 3, 2016, at 9:10 AM, Ken Cunningham > wrote: > > (Why is this not coming to you as a prebuilt binary from the buldbots, I > wonder?) The gmp portfile explains why this is so: # Prevent precompiled binaries. # See #41614. # might not be needed if we

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

2016-11-03 Thread Murray Eisenberg
Problem with re-installing my ports after migration from El Capitan to Sierra is SOLVED — at least with respect to installing gmp (upon which quite a few other ports depend)! That ‘__SWIFT_UNAVAILABLE_MSG” error, which ultimately points back to Availability.h was the clue indeed: As a

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

2016-11-03 Thread Ken Cunningham
>> >> If so, the workaround for that was to make a local copy of Availability.h in >> /opt/local/include and edit it there. >> I'd still reinstall Xcode and the command line tools -- but you don't have a rogue Availability.h sitting /opt/local/include do you? If so, that's your trouble. K

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

2016-11-03 Thread Murray Eisenberg
Looking more carefull, I see that the problematic "if defined(__has_feature)” in Availability discussed in ticket #48471 is different from the same phrase in the current Availability.h. Namely, the new one has the whole new section, shown below, headed with “/* for use marking APIs

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

2016-11-03 Thread Ken Cunningham
Hi Murray, Just to tell you I have not touched a thing on this Sierra install, and it works fine for me. (Did you have a beta installed? Can you think of any reason why your SDK might not be stock?) It takes 5 minutes to reinstall Xcode and the command line tools. That would be step 1 for

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

2016-11-03 Thread Ken Cunningham
Look at this ticket comment 3 pthreads is not picking up the definition from Availability.h for some reason. Ken On 2016-11-03, at 7:26 AM, Murray Eisenberg wrote: > I looked at the tickets #46589, 51971, and 52326 about gmp, and I don’t see > mention

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

2016-11-03 Thread Murray Eisenberg
I looked at the tickets #46589, 51971, and 52326 about gmp, and I don’t see mention of availability.h there. I thought the issue with availability.h concerned gcc48 and was resolved somehow (with newer Xcode? with patched port?) some time ago. The logs seem to indicate that the current issue

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

2016-11-03 Thread Ken Cunningham
Murray, that is very specific now I have that port installed. $ port -v installed gmp The following ports are currently installed: gmp @6.1.1_0 (active) platform='darwin 16' archs='x86_64' I just rebuilt it right now from source without trouble. so it's something on your machine. Jerermy

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

2016-11-03 Thread Murray Eisenberg
After the re-install script (from the migration instructions) got into an infinite loop, I started to reinstall ports manually, starting with the first one on my “myports.txt” list: analitza The failure came when installing that failed during the automatic installation of dependencies, in

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

2016-11-02 Thread Ken Cunningham
no, it just points into a pthread folder. let me try building (from source) a port that triggers your err. > On Nov 2, 2016, at 8:40 PM, Ken Cunningham > wrote: > > hmmm, So do I > > lrwxr-xr-x 1 root wheel 17 31 Oct 09:43 >

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

2016-11-02 Thread Ken Cunningham
hmmm, So do I lrwxr-xr-x 1 root wheel 17 31 Oct 09:43 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/pthread.h -> pthread/pthread.h feels like we’re finding a bug, maybe. Where is that symlink pointing, I wonder? K > On

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

2016-11-02 Thread Murray Eisenberg
I do have a symlink there: [~]$ ls -la /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/pthread.h lrwxr-xr-x 1 root wheel 17 Oct 28 15:04

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

2016-11-02 Thread Murray Eisenberg
Is there a cure (yet)? > On Nov 2, 2016, at 11:31 PM, Brandon Allbery wrote: > > > On Wed, Nov 2, 2016 at 11:26 PM, Ken Cunningham > > > wrote: > So I'd open that file and look at line 423 and see

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

2016-11-02 Thread Brandon Allbery
On Wed, Nov 2, 2016 at 11:26 PM, Ken Cunningham < ken.cunningham.web...@gmail.com> wrote: > So I'd open that file and look at line 423 and see if you can figure out > what is happening. It showed what was happening, clang is good about that. What was happening was an Apple-defined macro that

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

2016-11-02 Thread Ken Cunningham
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/pthread.h:423:25: error: expected parameter declarator So I'd open that file and look at line 423 and see if you can figure out what is happening. If this is only you, then it’s

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

2016-11-02 Thread Murray Eisenberg
Note that lots of ports _have_ installed OK during the process of re-installing my ports under Sierra (and after installing tMacPorts-2.3.4-10.12-Sierra package) and checking that Xcode 8.1 and Command_Line_Tools_macOS_10.12_for_Xcode_8.1 was installed, too): [~]$ sudo port installed The

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

2016-11-02 Thread Murray Eisenberg
Yep, just noticed that when I was about to install clang-3.8 and remembered that didn’t update for me under OS X El Capitan and I saw that ticket. > On Nov 2, 2016, at 11:17 PM, Ken Cunningham > wrote: > > Murray, I note the error in your log looks somewhat

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

2016-11-02 Thread Ken Cunningham
Murray, I note the error in your log looks somewhat like this error in trac: __SWIFT_UNAVAILABLE_MSG … Ken___ macports-users mailing list macports-users@lists.macosforge.org

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

2016-11-02 Thread Murray Eisenberg
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

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

2016-11-02 Thread Murray Eisenberg
All sorts of warnings and some errors in: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.1.1-x86_64/config.log Here’s the file: This file contains any messages produced by compilers while running configure, to aid

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

2016-11-02 Thread Ken Cunningham
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

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

2016-11-02 Thread Brandon Allbery
On Wed, Nov 2, 2016 at 9:20 PM, Murray Eisenberg 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.) Then I would want to look at config.log to determine why it

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

2016-11-02 Thread Murray Eisenberg
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

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

2016-11-02 Thread Brandon Allbery
On Wed, Nov 2, 2016 at 9:08 PM, Murray Eisenberg 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

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

2016-11-02 Thread Murray Eisenberg
So I started doing a reinstall of ports for migration, and at first got a “no C compiler available”. Next I tried installing gcc, but that depends on gmp. But even trying sudo port install gmp @6.1.1_0+universal failed. Error in configure, I thing at: :debug:configure could not read

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

2016-11-02 Thread Murray Eisenberg
Removed those 3 ports from myports.txt, ran the script again. Now another infinite loop: [~:]$ sudo ./restore_ports.tcl myports.txt Error: we appear to be stuck, exiting... infinite loop while executing "sort_ports $portList" invoked from within "set operationList [sort_ports $portList]"

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

2016-11-02 Thread Ryan Schmidt
> On Nov 2, 2016, at 5:48 PM, Murray Eisenberg > wrote: > > After upgrading from OS X El Capitan to macOS Sierra (10.12.1), I’m following > the migration steps at https://trac.macports.org/wiki/Migration . > > Got to step 3. e and after downloading script