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

Ken Cunningham ken.cunningham.webuse at gmail.com
Thu Nov 3 04:43:23 CET 2016


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 <ken.cunningham.webuse at gmail.com> wrote:
> 
> 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 Nov 2, 2016, at 8:38 PM, Murray Eisenberg <murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>> wrote:
>> 
>> 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 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/pthread.h -> pthread/pthread.h
>> 
>> [~]$ mdfind -name pthread.h
>> /usr/include/pthread/pthread.h
>> /Applications/MAMP/Library/include/my_pthread.h
>> /Applications/Server/mampstack/mysql/include/my_pthread.h
>> /Application Docs/Server/drupal-7.39-0/mysql/include/my_pthread.h
>> 
>> Note no change since El Capitan in the 2nd through 4th items there.
>> 
>> [:~]$ ls -la /usr/include/pthread/pthread.h
>> -rw-r--r--  1 root  wheel  19414 Sep 19 17:53 /usr/include/pthread/pthread.h
>> 
>>> On Nov 2, 2016, at 11:26 PM, Ken Cunningham <ken.cunningham.webuse at gmail.com <mailto:ken.cunningham.webuse at gmail.com>> wrote:
>>> 
>>> /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 something local on your system — who knows what - bad file, etc, etc.
>>> 
>>> take a look at it with 
>>> 
>>> ls -la (that long filename).
>>> 
>>> is it a simlink? Is it messed up?
>>> 
>>> find another copy on your computer maybe
>>> 
>>> locate pthread.h
>>> 
>>> and compare them
>>> 
>>>>>> ultimately - reinstall it if nothing else works.
>>> 
>>> something is up…
>>> 
>>> 
>>> Ken
>> 
>> ---
>> 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
>> 
>> 
> 

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


More information about the macports-users mailing list