AdaCore / AdaCore/ada_language_server
[Bug]: ./scripts/build_als.sh fails on Mac Sequoia
Nobody has claimed this yet.
- Dominant language
- Ada
- Stars
- 304
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run ./scripts/build_als.sh build_langkit_raw on Mac OSX 15.3 and start with the traceback in subprojects/langkit_support/manage.py, langkit/packaging.py, langkit/utils/init.py, and langkit/utils/text.py. Investigate the reported enum.StrEnum failure and verify that ./scripts/build_als.sh completes without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, python, shell
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100