# Startup-gen 26.0.0 Build Failure

**URL:** https://forum.ada-lang.io/t/startup-gen-26-0-0-build-failure/4647
**Category:** Help
**Tags:** alire
**Created:** [August 19, 2026, 4:16pm UTC](https://forum.ada-lang.io/t/startup-gen-26-0-0-build-failure/4647 "2026-08-19T16:16:37Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![bbouchard](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/bbouchard/32/964_2.png) [@bbouchard](https://forum.ada-lang.io/u/bbouchard)
#### Post date: [August 19, 2026, 4:16pm UTC](https://forum.ada-lang.io/t/startup-gen-26-0-0-build-failure/4647/1 "2026-08-19T16:16:38Z")

</div>

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

```ada
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

---

<div class="post-metadata">

### Author: ![krischik](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/krischik/32/420_2.png) [@krischik](https://forum.ada-lang.io/u/krischik)
#### Post date: [August 19, 2026, 6:18pm UTC](https://forum.ada-lang.io/t/startup-gen-26-0-0-build-failure/4647/2 "2026-08-19T18:18:44Z")

</div>

```console
>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'

```

😂 — it’s “startup\_gen”

```console
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

---

<div class="post-metadata">

### Author: ![Irvise](https://forum.ada-lang.io/letter_avatar_proxy/v4/letter/i/7ba0ec/32.png) [@Irvise](https://forum.ada-lang.io/u/Irvise)
#### Post date: [August 19, 2026, 7:02pm UTC](https://forum.ada-lang.io/t/startup-gen-26-0-0-build-failure/4647/3 "2026-08-19T19:02:11Z")

</div>

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

---

<div class="post-metadata">

### Author: ![AdaOrbit](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/adaorbit/32/879_2.png) [@AdaOrbit](https://forum.ada-lang.io/u/AdaOrbit)
#### Post date: [August 19, 2026, 7:50pm UTC](https://forum.ada-lang.io/t/startup-gen-26-0-0-build-failure/4647/4 "2026-08-19T19:50:32Z")

</div>

Oh yeah I had that problem too. My workaround is to just

```bash
alr get startup_gen
cd startup_gen_*
alr build

```

that works for me and should be more up to date.

* * *

I just tested it and `alr install startup_gen` works again on my machine…

---

<div class="post-metadata">

### Author: ![bbouchard](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/bbouchard/32/964_2.png) [@bbouchard](https://forum.ada-lang.io/u/bbouchard)
#### Post date: [August 19, 2026, 8:54pm UTC](https://forum.ada-lang.io/t/startup-gen-26-0-0-build-failure/4647/5 "2026-08-19T20:54:00Z")

</div>

I get the same problem using `alr install` as `alr get`, but it occurs during the install process instead of when building.

Here’s the error from that:

```ada
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/.local/share/alire/builds/libgpr_26.0.0_600d4a7b/6dcad84ad62c61ed0a1af7f94f31d2329571df3cea97bb0c71730813a62502a8/gpr/gpr.gpr"] exited with code 4
error: Build failed, cannot perform installation

```

---

<div class="post-metadata">

### Author: ![bbouchard](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/bbouchard/32/964_2.png) [@bbouchard](https://forum.ada-lang.io/u/bbouchard)
#### Post date: [August 19, 2026, 9:01pm UTC](https://forum.ada-lang.io/t/startup-gen-26-0-0-build-failure/4647/6 "2026-08-19T21:01:50Z")

</div>

That’s entirely possible, I’m using 16.1.0 and according to the [crate status website](https://alire-crate-ci.ada.dev/crates/startup_gen.html), the latest tests are for 15.2.1. I’ll try downgrading and see if that fixes the issue.

---

<div class="post-metadata">

### Author: ![bbouchard](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/bbouchard/32/964_2.png) [@bbouchard](https://forum.ada-lang.io/u/bbouchard)
#### Post date: [August 19, 2026, 9:04pm UTC](https://forum.ada-lang.io/t/startup-gen-26-0-0-build-failure/4647/7 "2026-08-19T21:04:30Z")

</div>

That was the issue, downgrading to 15.2.1 fixed it. Thank you!

---

<div class="post-metadata">

### Author: ![system](https://forum.ada-lang.io/uploads/default/original/1X/e625e7957e269cbf6d3128dab48a9e54fe3a9bdc.png) [@system](https://forum.ada-lang.io/u/system)
#### Post date: [August 20, 2026, 9:05pm UTC](https://forum.ada-lang.io/t/startup-gen-26-0-0-build-failure/4647/8 "2026-08-20T21:05:25Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
