<snip>
>>
>> I don’t reproduce this on my own 10.12/Xcode 8.2 setup, either, so my guess
>> is that you’ve got something wacky going on with this machine. My
>> /usr/include/sys/random.h has
>>
>> int getentropy(void* buffer, size_t size);
>>
>> on line 37. You might check whether that file is indeed different on your
>> laptop and the problem box.
>>
>> Since this is a system header, fixing it might be a bit tricky.
>>
>> $ pkgutil --file-info /usr/include/sys/random.h
>> volume: /
>> path: /usr/include/sys/random.h
>>
>> pkgid: com.apple.pkg.DevSDK
>> pkg-version: 10.12.2.1.1.1480484267
>> install-time: 1480522158
>> uid: 0
>> gid: 0
>> mode: 444
>>
>> pkgid: com.apple.pkg.DevSDK_OSX1012
>> pkg-version: 8.2.0.0.1.1480973914
>> install-time: 1481659218
>> uid: 0
>> gid: 0
>> mode: 444
>>
>> It’s possible to get at the disk image buried in the OS X installer so that
>> you can get at the packages it contains, but I don’t have that information
>> off the top of my head.
>>
>> As a workaround, as long as the laptop is running the same OS X major
>> version as the other machine you can copy the .deb from the laptop over and
>> install it with “sudo dpkg -i <filename>”
>
> Thanks. I finally got to check the files.
>
> 1) "int getentropy(void* buffer, size_t size);” does not appear on line 37.
> I suspect this is because …
>
> 2) I have wrong package installed, which is from 10.11
>
> mcrc13-39> pkgutil --file-info /usr/include/sys/random.h
> volume: /
> path: /usr/include/sys/random.h
>
> pkgid: com.apple.pkg.DevSDK
> pkg-version: 10.11.3.0.1.1456982112
> install-time: 1477449117
> uid: 0
> gid: 0
> mode: 444
>
> pkgid: com.apple.pkg.DevSDK_OSX1011
> pkg-version: 8.2.0.0.1.1480973914
> install-time: 1481654758
> uid: 0
> gid: 0
> mode: 444
>
> pkgid: com.apple.pkg.DevSDK_OSX1012
> pkg-version: 8.1.0.0.1.1476494586
> install-time: 1477932058
> uid: 0
> gid: 0
> mode: 444
>
> So the first question is: if i do an OS re-install from the on-line image
> from Apple, will this issue be resolved?
>
> Best!
>
> -Ross
>
I’m honestly not sure. Make sure to do a backup first. :-)
--
Alexander Hansen, Ph.D.
Fink User Liaison
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners