Update on Big Sur Problems

Christopher Jones jonesc at hep.phy.cam.ac.uk
Sun Apr 18 11:08:52 UTC 2021


Hi,

Any port that forces the use of gcc10 or older on M1 macs cannot work, as these gcc versions are never going to be supported on these machines. Even gcc11 support seems unlikely at this time, so for a while gccdevel is likely going to be the only supported version on these machines, which currently uses a special fork of the gcc mainline by the primary Darwin maintainer with experimental M1 support.

However, ports using the compilers PG should automatically use gccdevel, so we need to see why the port below is trying to install libgcc9, as this is incorrect. Please show what

port info sundials2 +atlas

and

port rdeps sundials2 +atlas

Finally, if you want this to get fixed you need to follow the final instructions below and submit a trac ticket for the issue.

Chris

> On 18 Apr 2021, at 11:40 am, petr.2006 at centrum.cz wrote:
> 
> Hello,
> 
> I run "sudo port selfupdate" and "sudo port upgrade outdated" occasionally and I see that there are updates and improvements. Which is nice.
> 
> Yes,  gcc-devel  is pulled by default, it includes fortran and it seems to work.
> 
> However I am experiencing problems with some packages which need other version which is ether not available for arm64 or it is conflict with  gcc-devel .
> 
> Just as an example, I tried to install cantera and it wants sundials2 +atlas
> but :
> 
> sudo port install sundials2 +atlas
> Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
> Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
> --->  Computing dependencies for sundials2
> Error: Can't install libgcc9 because conflicting ports are active: libgcc-devel
> Error: Follow https://guide.macports.org/#project.tickets to report a bug.
> Error: Processing of port sundials2 failed
> 
> And I am finished at this point.
> 
> Petr
> 
> 
> ______________________________________________________________
>> Od: "Marius Schamschula" <lists at schamschula.com>
>> Komu: "MacPorts Users" <macports-users at lists.macports.org>
>> Datum: 17.04.2021 20:50
>> Předmět: Re: Update on Big Sur Problems
>> 
>> James,
>> 
>> gcc-devel works fine on M1 macs. E.g. I’ve used it to install octave.
>> 
>>> On Apr 17, 2021, at 1:05 PM, James Secan <james.secan at gmail.com> wrote:
>>> 
>>> I just checked the MacPorts wiki page for Big Sur problems and noted that it hasn’t been updated for three months (at least that’s what the wiki page says).  With the possibility that new M1 iMacs might show up soon can you provide a short update on where things stand vis-a-vis Big Sur and M1-based Macs?  I’m most interested in where things stand on the gcc compiler package (gfortran in particular).
>>> 
>>> Thanks.
>>> Jim
>>> Seattle, WA
>> 
>> Marius
>> --
>> Marius Schamschula
>> 
>> 
>> 
>> 
>> 
>> 
>> Marius
>> --
>> Marius Schamschula
>> 
>> 
>> 
>> 
>> 
>> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20210418/51b6f887/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1930 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20210418/51b6f887/attachment.bin>


More information about the macports-users mailing list