Skip to content

Not supported on Apple Silicon #3

Description

@Heziode

This lib does not seems to be supported on Apple Silicon.

When I try to alr install gnatformat on my MacBook Pro M5, I got this:

alr --force install gnatformat
ⓘ Computing solutions...
✓ Installation targets fully solved                                                                                   
warn: Release gnatformat=26.0.0 has another version already installed: 
gnatformat=25.0.0
Releases installing executables can be installed only once
Forcing this install will overwrite the release already installed.
ⓘ Starting deployment of gnatformat=26.0.0 to fulfill gnatformat* with solution:
   Dependencies (solution):
      adasat=26.0.0
      gnat=15.1.2 (gnat_native)
      gnatcoll=26.0.0
      gnatcoll_gmp=26.0.0
      gnatcoll_iconv=26.0.0
      gnatcoll_minimal=26.0.0
      gnatcoll_projects=26.0.0
      gnatformat=26.0.0
      gprconfig_kb=26.0.0
      langkit_support=26.0.0
      libadalang=26.0.0
      libgmp=6.3.0
      libgpr=26.0.0
      libgpr2=26.0.0
      make=4.4.1
      prettier_ada=26.0.0
      vss_extra=26.2.0
      vss_text=26.2.0
      xmlada=26.0.0
   Dependencies (forbidden):
      libgnatformat*
ⓘ Deploying gnatformat=26.0.0...
-#O=#    #      #                                                                                                                               
ⓘ Deploying vss_extra=26.2.0...
Cloning into '/Users/heziode/.local/share/alire/releases/alr-govh.tmp'...
remote: Enumerating objects: 13874, done.
remote: Counting objects: 100% (13874/13874), done.
remote: Compressing objects: 100% (3297/3297), done.
remote: Total 13874 (delta 10110), reused 13858 (delta 10094), pack-reused 0 (from 0)
Receiving objects: 100% (13874/13874), 4.05 MiB | 26.07 MiB/s, done.
Resolving deltas: 100% (10110/10110), done.
ⓘ Found 1 nested crate in /Users/heziode/.local/share/alire/releases/vss_extra_26.2.0_879b9b89:
   tools/json_schema/json_schema=1.0.0: JSON Schema to Ada converter
ⓘ Starting installation of gnatformat=26.0.0...
ⓘ Building adasat=26.0.0/adasat.gpr...                                                                                           
kb: info: can't find a toolchain for the following configuration: language 'Ada', target 'aarch64-darwin', default runtime
kb: info: can't find a toolchain for the following configuration: language 'Ada', target 'aarch64-darwin', default runtime
Setup
   [mkdir]        object directory for project AdaSAT
   [mkdir]        exec directory for project AdaSAT
   [mkdir]        library directory for project AdaSAT
adasat.gpr:14:25: warning: libraries are not supported on this platform
adasat.gpr:1:17: no compiler for language "Ada", cannot compile "adasat-vectors.ads"
gprbuild: *** compilation phase failed
error: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/Users/heziode/.local/share/alire/builds/adasat_26.0.0_37336738/c3bdbe3dc84d14c07bc0d2c67ba6cf5c7150e0cecc6d83d58b856135d7c2c3d4/adasat.gpr"] exited with code 7
error: Build failed, cannot perform installation

NB: the 25.0.0 version is my old gnatformat x86_64 version migrated when I moved from my older MacBook Pro x86_64 to Silicon.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions