Skip to content

[Bug]: lsp-utils.adb:205:42: error: "Bytes_Buffer" not declared in "Common" #1252

@Blady-Com

Description

@Blady-Com

Environment

  • OS and Version: macOS 13.6, Xcode 14.3, GNAT FSF 15.1.0 (from Alire)
  • IDE Version: none
  • Ada & SPARK Extension Version: none

Bug Summary and Reproducer

Bug Summary:
lsp-utils.adb:205:42: error: "Bytes_Buffer" not declared in "Common"

Steps to reproduce:
Get ALS source from als-26.0w-20250417-16239-src.
Launch make:

make BUILD_MODE=prod VERSION=26.0 BUILD_DATE=20250712
...
gprbuild -m -j0  -XSUPERPROJECT= -P gnat/lsp_server.gpr -p -XBUILD_MODE=prod -XLSP_OS=osx -XLIBRARY_TYPE=relocatable -XXMLADA_BUILD=relocatable -XGPR_BUILD=relocatable \
	-XVERSION=26.0 -XBUILD_DATE=20250712 
lsp_server.gpr:19:09: warning: there are no sources of language "C++" in this project
Compile
   [Ada]          lsp-ada_driver.adb
...
   [Ada]          lsp-utils.adb
lsp-utils.adb:205:42: error: "Bytes_Buffer" not declared in "Common"

Expected behavior:
Correct compilation with:
205 (Kind => Langkit_Support.Types.Bytes_Buffer,

Configuration and Logs

None

Other VS Code Extensions

No response

Additional context

No response

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