Open simonjwright opened 6 days ago
Thanks, Simon. I've also got reports of unexpected rebuilds of gtkada
, on Linux but not on Windows.
(Pinging @Fabien-Chouteau so he is aware of the issue, as this may go beyond Alire itself.)
Doesn't look like and Alire issue, probably gprbuild indeed. I don't have the time to work on a gprbuild 25 release at this time.
(This is in response to @mosteo’s request on StackOverflow, hope this is a good place)
Some crates get rebuilt when the using project is rebuilt in spite of using the same compiler/settings etc.
For me (Macbook Air, M1, Sequoia 15.1.1, alr’s gnat_native 14.2.1), using my local gprbuild 25.0.0 I don’t get the problem: once built, it’s built.
Using alr’s gprbuild 24.0.1, however, it does get rebuilt.
I tried rebuilding a single file:
I couldn’t work out what the "outdated information about configuration file" might be, so wondered if it might be the missing
gnat.adc
(near the top).Edit that in the release, delete the cache, start again: now it doesn’t rebuild.
I haven’t tried this with my locally-built gprbuild 24.0.1 (I don’t remember what made me up the version), but it looks as though it’s something that got fixed in 25; worth making a release?
(PS, looks as though libadalang has the same issue).