Re: Update on Big Sur Problems

petr.2006 at centrum.cz petr.2006 at centrum.cz
Sun Apr 18 11:25:40 UTC 2021


Hi,

pmm:~ pet$ port info sundials2 +atlas
sundials2 @2.7.0_3 (math, devel)
Variants:             accelerate, +atlas, clang11, clangdevel, debug, doc, examples, g95, gccdevel, [+]gfortran,
                      [+]mpich, openblas, openmpi, universal

Description:          SUNDIALS consists of the following five solvers: CVODE solves initial value problems for ordinary
                      differential equation (ODE) systems. CVODES solves ODE systems and includes sensitivity analysis
                      capabilities (forward and adjoint). IDA solves initial value problems for differential-algebraic
                      equation (DAE) systems. IDAS solves DAE systems and includes sensitivity analysis capabilities
                      (forward and adjoint). KINSOL solves nonlinear algebraic systems.
Homepage:             https://computing.llnl.gov/projects/sundials

Build Dependencies:   cmake, gcc-devel
Library Dependencies: SuiteSparse_KLU, libgcc-devel, mpich-default, atlas
Conflicts with:       sundials
Platforms:            darwin
License:              BSD
Maintainers:          none

pmm:~ pet$ port rdeps sundials2 +atlas
The following ports are dependencies of sundials2 @2.7.0_3+atlas+gfortran+mpich:
  cmake
    libcxx
      xz
        libiconv
          gperf
        gettext
          ncurses
    curl
      pkgconfig
      libidn2
        libunistring
          perl5
            perl5.28
              db48
              gdbm
                readline
          texinfo
            help2man
              p5.28-locale-gettext
            perl5.30
          autoconf
            m4
          automake
          libtool
            xattr
              unzip
      libpsl
        python39
          bzip2
          expat
          libedit
          libffi
            expect
              tcl
            dejagnu
          openssl
            zlib
          sqlite3
          python_select
          python3_select
        glib2
          libxml2
            icu
          pcre
      zstd
        lz4
      curl-ca-bundle
    libarchive
      lzo2
    libuv
  gcc-devel
    cctools
    gmp
    isl
    ld64
      ld64-xcode
    libmpc
      mpfr
    gcc_select
    libgcc-devel
  SuiteSparse_KLU
    SuiteSparse_config
    SuiteSparse_AMD
    SuiteSparse_BTF
    SuiteSparse_COLAMD
  mpich-default
    mpi_select
    mpi-doc
  atlas
    gcc5
      isl18
      libgcc6
        libgcc7
          libgcc8
            libgcc9
              libgcc
                libgcc10
pmm:~ pet$ 

ps: without +atlas  sundials2 installs successfully

pmm:~ pet$ uname -a
Darwin pmm.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 arm64

Petr


______________________________________________________________
> Od: "Christopher Jones" <jonesc at hep.phy.cam.ac.uk>
> Komu: petr.2006 at centrum.cz
> Datum: 18.04.2021 13:08
> Předmět: Re: Update on Big Sur Problems
>
> CC: <lists at schamschula.com, macports-users at lists.macports.org, james.secan at gmail.com>
>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
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>
>
>


More information about the macports-users mailing list