-- libraryB package Linker is for Linker_Options use ("-T"); end Linker;
It seems that gitter lost the editing on my last post where I explained "twisted dependency"...
To make a long story short: I need to use a crate that I modified to adapt it to my case (more recent versions of the crate have the same changes, but they are available only on github, not alire, as far as I know). Since I rely on the modified crate, I cannot upload my project to alire since
alr get would get the unmodified crate.
Yes, it is a problem of mine, but I guess that the same issue can raise also in other projects. It would be nice to say to alire "Look, I need this crate, but with this patch applied"
Is there a way to do it? If not, would it be worth having it?
pragma Restrictionthat prohibits allocators , but I need them in my project and since
Restrictionsapply to the whole partition, I cannot use spartnacl and allocators together.
*.adcfile to remove the restrictions, but my project cannot be added to alire as it is.
gnat_riscv64_elfall provide the
alr buildfrom scratch?
ISTR someone having
gnatcoll-json problems here? how to search?
Anyway, I get this
[Ada] gnatcoll-json.adb gnatcoll-json.adb:1404:11: ambiguous call to "Append" gnatcoll-json.adb:1404:11: possible interpretation at a-convec.ads:471, instance at gnatcoll-json.ads:567 gnatcoll-json.adb:1404:11: possible interpretation at a-convec.ads:483, instance at gnatcoll-json.ads:567 gnatcoll-json.adb:1405:10: add type qualification to aggregate actual ...
gnatcoll_21.0.0_6c0439a3 with external gcc-11.1.0 (macOS Big Sur, alr v1.1.0).
Whereas it compiles just fine outside
The reason is that
alr build adds the switch
-gnatX; not the first time that this has caused problems. How to stop this?
It also adds
-gnatwU, turn off warnings for unused entity; not so bad, I suppose.
@simonjwright, gnatcoll seems to break periodically at random times for me as well with Alire ... like this morning. Normally I mix these ingredients in some correct order for things to work again:
alr with gnat(this fixes build issues on my linux box for some reason?, but fails if I leave this in the gpr long term, so it gets wiped on "revert everything")
alr clean && alr build
...sigh... nope. The error seem completely random and I'm to the point of just finish excising gnatcoll out of my project entirely. I added a note to alire-project/alire#771, but I'm just going to roll onto other things.