Re: CARGO trouble appeared from 2.54.0 to 2.55.0
Show 20 quoted lines
> Le 4 juil. 2026 à 20:23, Kurt Mielke <scr@lyn.dk> a écrit :
>
> Hi
>
>
> I had a clean alma10 and wanted the newest git BUT building fails:
>
> make
>
> ....
>
> CC version.o
> AR libgit.a
> CARGO target/release/libgitcore.a
> /bin/sh: line 1: cargo: command not found
> make: *** [Makefile:3021: target/release/libgitcore.a] Error 127
>
> I got 2.54.0 and it compiled just fine
>
> I found out CARGO is rust related
Git’s source code has included some optional Rust components for a few releases now. Rust is planned to be a requirement for 3.0 (IIUC), but I don’t have any recollection of the proposed timeline. [There was also some discussion of delaying the Rust mandate timeline for platforms which currently lack support?]
Show 5 quoted lines
> Changing make command to
>
> make NO_RUST=1
>
> And I got my 2.55.0 version, but allow me to suggest it again is the default
2.55 is the first version to flip the default to « build with Rust », but it remains optional as you’ve discovered.
Show 5 quoted lines
> II have no caommands in path beginning with the letters 'rus'
>
> Thank you in advance
>
> Kirt Mielke
Searching the internet shows Alma has packages for Rust, which you should be able to install if you want to compile with the Rust components.