Startup-gen 26.0.0 Build Failure

Whenever I try to build the startup-gen crate using alr build I get the following error:

Compile
[Ada]          gpr-compilation-process.adb
[Ada]          device.adb
[Ada]          setup.adb
[Ada]          utils.adb
gpr-compilation-process.adb:44:29: error: operator for type "String" is not declared in "Env_Maps"

compilation of gpr-compilation-process.adb failed

gprbuild: *** compilation phase failed
error: Command ["gprbuild", "-s", "-j0", "-p", "-P", "/home/brendan/startup_gen_26.0.0_fbf3774d/startup_gen.gpr"] exited with code 4
error: Build failed

Am I doing something wrong with the build process or is there a fix for the error itself?

Thanks

>alr get startup-gen
error: Invalid name 'startup-gen': Identifiers must be lowercase ASCII alphanumerical. You can see the complete identifier naming rules with 'alr help identifiers'

:joy: — it’s “startup_gen”

gnatcoll-refcount.ads:90:04: warning: in instantiation at gnatcoll-storage_pools-headers.adb:57 [enabled by default]
gnatcoll-refcount.ads:90:04: warning: possible aliasing problem for type "Header_Access" [enabled by default]
gnatcoll-refcount.ads:90:04: warning: use -fno-strict-aliasing switch for references [enabled by default]
gnatcoll-refcount.ads:90:04: warning: or use "pragma No_Strict_Aliasing (Header_Access);" [enabled by default]
   [C]            blake3.c
gpr-compilation-process.adb:44:29: error: operator for type "String" is not declared in "Env_Maps"

Got the same error. There is indeed a problem but I don’t know what it is.

Martin

AFAIK, AdaCore tags their libraries so that they compile with specific compiler versions. What compiler version are you using?

Just FYI: this is not an artificial limitation from AdaCore. As the compiler becomes smarter and more correct, it may error out with code that used to compile, and modification to update the library may break compilation with older versions. So that is the problem at hand.

Best regards,
Fer