[Mesa-users] macOS 10.15 Catalina - serious problems

RICHARD H D TOWNSEND townsend at astro.wisc.edu
Wed Oct 9 22:01:48 EDT 2019


Did you run xattr using sudo?

> On Oct 9, 2019, at 8:54 PM, Francis Timmes <fxt44 at mac.com> wrote:
> 
> i’m still getting cannot compile C programs when regenerating the headers
> 
> 
> % xattr -dr com.apple.quarantine /Applications/mesasdk
> 
> gcc.wrapper
> 
> FLAGS=$SDK2_GCC_FLAGS --sysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
> 
> 
> gfortran.wrapper
> 
> FLAGS=$SDK2_GCC_FLAGS --sysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
> 
> 
> what did i miss?
> 
> also do we want MacOSX10.15.sdk on catalina?
> 
> fxt
> 
> 
> 
> 
>> On Oct 9, 2019, at 6:04 PM, RICHARD H D TOWNSEND via Mesa-users <mesa-users at lists.mesastar.org> wrote:
>> 
>> I've think I've managed to solve problem 2, after using Abhishek's fix for problem 1. 
>> 
>> Edit gcc.wrapper and gfortrn.wrapper in /Applications/mesasdk/bin, adding the following:
>> 
>> --sysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
>> 
>> ...to the definition of the FLAGS variable. You may need to delete /Applications/mesasdk/etc/*.done to trigger regeneration of the compiler headers.
>> 
>> cheers,
>> 
>> Rich
>> 
>>> On Oct 8, 2019, at 5:57 AM, Jakub Ostrowski <jakub.ostrowski at up.krakow.pl> wrote:
>>> 
>>> Hi Warrick and Abhishek,
>>> 
>>> Thank you for your help! Removing the quarantine attribute seems to be working quite well.
>>> 
>>> Of course Warrick, I'm attaching the output of the ./install command. MESA 11701 (the same problem with 12115), SDK 20190830 and export CPATH="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include" 
>>> 
>>> Jakub
>>> From: Warrick Ball <W.H.Ball at bham.ac.uk>
>>> Sent: Tuesday, October 8, 2019 12:09 PM
>>> To: Jakub Ostrowski <jakub.ostrowski at up.krakow.pl>
>>> Cc: mesa-users at lists.mesastar.org <mesa-users at lists.mesastar.org>
>>> Subject: Re: [Mesa-users] macOS 10.15 Catalina - serious problems
>>> 
>>> Hi Jakub,
>>> 
>>> I don't use Macs myself but the devs are already discussing this issue.
>>> 
>>>> A sound idea that unfortunately leads to compiler errors.
>>> 
>>> Can you say what the "compiler errors" are?  It might help the team to 
>>> develop a solution.
>>> 
>>> Cheers,
>>> Warrick
>>> 
>>> 
>>> ------------
>>> Warrick Ball
>>> Postdoc, School of Physics and Astronomy
>>> University of Birmingham, Edgbaston, Birmingham B15 2TT
>>> W.H.Ball at bham.ac.uk
>>> +44 (0)121 414 4552
>>> 
>>> 
>>> On Tue, 8 Oct 2019, jakub.ostrowski at up.krakow.pl wrote:
>>> 
>>>> Hi,
>>>> 
>>>> I updated to macOS Catalina and I'd like to report that MESA doesn't work. There are two main problems I encountered: Gatekeeper now works in
>>>> Terminal and there are no headers in /usr/include.
>>>> 
>>>> 1. Gatekeeper now works in Terminal. Previously it was possible to run apps from any source in terminal without any issues, now system protection
>>>> works everywhere. I tried to disable it with sudo spctl --master-disable (as was suggested on many websites), but it doesn't work for me no matter
>>>> how many times I tried, restarted and so on.
>>>> 
>>>> So I decided to go through the installation and unlock all the commands manually (Settings -> Security & Privacy) whenever the alert pops and
>>>> restart the installer. Tedious job for long hours, but unfortunately impossible to finish due to the second issue.
>>>> 
>>>> 2. No headers in /usr/include. OK, that was a problem with Mojave as well, with a solution presented on the SDK's website. It was enough to
>>>> manually install the legacy headers using provided package (/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg).
>>>> In Catalina this package is no longer available and it's impossible to use the 10.14 version in 10.15. And you have no rights to change anything
>>>> in system folders so manually copying the required headers is not an option.
>>>> 
>>>> I got the full version of xcode installed so I found a location with required headers and tried to tell the compiler where to look for them:
>>>> 
>>>> export CPATH="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include" 
>>>> 
>>>> A sound idea that unfortunately leads to compiler errors.
>>>> 
>>>> Now I'm out of ideas. Complete lockup of macOS now seems to be a reality.
>>>> 
>>>> Jakub
>>>> 
>>>> 
>>> <compile-errors.txt>_______________________________________________
>>> mesa-users at lists.mesastar.org
>>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>>> 
>> 
>> _______________________________________________
>> mesa-users at lists.mesastar.org
>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>> 
> 



More information about the Mesa-users mailing list