Version 4.2.0: error: failed to load source for a dependency on `gettext-rs`
The older 4.2.0 cannot be built due to Cargo.lock
specifying a git commit not present in the repository any more.
[0/1] /tmp/fractal-4.2.0/scripts/cargo.sh .. fractal-gtk/src/fractal /tmp/fractal-4.2.0/build ''
RELEASE MODE
Updating crates.io index
Updating git repository `https://github.com/danigm/gettext-rs`
error: failed to load source for a dependency on `gettext-rs`
Caused by:
Unable to update https://github.com/danigm/gettext-rs?branch=no-gettext#c514bbe5
Caused by:
revspec 'c514bbe52ef892e3c0689eb474c564949d15e145' not found; class=Reference (4); code=NotFound (-3)
FAILED: fractal-gtk/src/fractal
/tmp/fractal-4.2.0/scripts/cargo.sh .. fractal-gtk/src/fractal /tmp/fractal-4.2.0/build ''
ninja: build stopped: subcommand failed.
Even though it appears to be present - https://github.com/danigm/gettext-rs/commit/c514bbe52ef892e3c0689eb474c564949d15e145 - it also appears to be orphaned, and Github doesn't seem to allow retrieving "unadvertised" objects (https://superuser.com/questions/1240216/what-does-the-git-error-message-server-does-not-allow-request-for-unadvertised):
$ git remote -v
origin https://github.com/danigm/gettext-rs (fetch)
origin https://github.com/danigm/gettext-rs (push)
$ git fetch origin c514bbe52ef892e3c0689eb474c564949d15e145
error: Server does not allow request for unadvertised object c514bbe52ef892e3c0689eb474c564949d15e145
I'll try to reach out to the repository owner and ask him to make the commit reachable (via some bogus tag or something), so the build would succeed again.