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:
GPR2.zip
When using GPR2 library in relocatable mode, I got this error:
Many installed GPR2 files for relocatable mode are missing:
When I comment out
Library_Interfaceingpr2.gprI got the correct number of file and no more error:Both original
gpr2@0.gprand modifiedgpr2.gprare provided:GPR2.zip