-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
When using GPR2 library in relocatable mode, I got this error:
Building for config (BuildMode.dev, LibraryType.relocatable)
Compile
[Ada] libadalang-unit_files.adb
[Ada] libadalang-env_hooks.adb
[Ada] libadalang-internal_default_provider.adb
[Ada] libadalang-config_pragmas.adb
libadalang-internal_default_provider.adb:6:06: error: file "gpr2-project-attr_values.ads" not found
...
Many installed GPR2 files for relocatable mode are missing:
% ls -1 /Users/me/xnadalib-2025/include/gpr2.static | wc -l
336
% ls -1 /Users/me/xnadalib-2025/include/gpr2.relocatable | wc -l
146
When I comment out Library_Interface in gpr2.gpr I got the correct number of file and no more error:
% ls -1 /Users/me/xnadalib-2025/include/gpr2.static | wc -l
336
% ls -1 /Users/me/xnadalib-2025/include/gpr2.relocatable | wc -l
336
Both original gpr2@0.gpr and modified gpr2.gpr are provided:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels