-
Notifications
You must be signed in to change notification settings - Fork 20
Description
IIRC gprls should have /usr/share/gpr and /usr/lib/gnat as a default path
in gprbuild-25 i have
gprls -Pgtkada
gprls: project file "gtkada.gpr" not found in .
while
ADA_PROJECT_PATH=/usr/share/gpr gprls -Pgtkada
/usr/share/gpr/cairo-font_face.o
Cairo.Font_Face
OK /usr/include/gtkada/gtkada.relocatable/gtkada/cairo-font_face.ads
...
gprls -v gives
GPRLS 25.0 (19940713) (x86_64-pc-linux-gnu)
Copyright (C) 2015-2016, AdaCore
Source Search Path:
/home/alfredo/gentoo/dev-ada/gnatstudio-cr/
/usr/lib/gcc/x86_64-pc-linux-gnu/15//adainclude/
Object Search Path:
/home/alfredo/gentoo/dev-ada/gnatstudio-cr/
/usr/lib/gcc/x86_64-pc-linux-gnu/15//adalib/
Project Search Path:
<Current_Directory>
/usr/x86_64-linux/share/gpr/
/usr/x86_64-linux/lib/gnat/
/usr/share/gpr/
/usr/lib/gnat/
/usr/x86_64-linux/share/gpr/
/usr/x86_64-linux/lib/gnat/
/usr/share/gpr/
/usr/lib/gnat/
My guess is that the problem is in
gpr-env.adb
line ~ 2040
and then Runtime_Name /= ""
Runtime_Name seems empy if we don't use the option
--RTS=dir
or I do something wrong building gprbuild