Skip to content

[Bug]: ./scripts/build_als.sh fails on Mac Sequoia #1236

Description

@rogermc2

Environment

  • OS and Version: Mac OSX 15.3
  • IDE Version: None. Running from Terminal
  • Ada & SPARK Extension Version: gcc-14.2.0-3-aarch64

Bug Summary and Reproducer

Bug Summary: ./scripts/build_als.sh failed after Successfully installed Langkit-0.1.0:

  • python manage.py make --no-mypy --generate-auto-dll-dirs --library-types=relocatable --gargs '-m -v -cargs:ada -gnateb'
    Traceback (most recent call last):
    File "/System/Volumes/Data/Ada_Source/ada_language_server/subprojects/langkit_support/manage.py", line 14, in
    from langkit.packaging import NativeLibPackager
    File "/System/Volumes/Data/Ada_Source/ada_language_server/subprojects/langkit_support/langkit/packaging.py", line 12, in
    from langkit.utils import LibraryType
    File "/System/Volumes/Data/Ada_Source/ada_language_server/subprojects/langkit_support/langkit/utils/init.py", line 341, in
    from langkit.utils.text import *
    File "/System/Volumes/Data/Ada_Source/ada_language_server/subprojects/langkit_support/langkit/utils/text.py", line 50, in
    class Language(enum.StrEnum):
    AttributeError: module 'enum' has no attribute 'StrEnum'
    error: Command ["bash", "-x", "./scripts/build_als.sh", "build_langkit_raw"] exited with code 1

Steps to reproduce:In ada_language_server run ./scripts/build_als.s

Expected behavior:./scripts/build_als.sh runs to completion without errors

Configuration and Logs

cat $HOME/.als/gpr_ls_traces.cfg
>gpr_ls_log.$T.log:buffer_size=0:buffer_size=0
ALS.MAIN=yes
ALS.IN=no
ALS.OUT=no

Other VS Code Extensions

No response

Additional context

No response

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions