Skip to content

Fix broken link for NetBSD 9.2 base source used by cross workaround#575

Merged
newpavlov merged 1 commit intorust-random:masterfrom
joseluisq:master
Jan 3, 2025
Merged

Fix broken link for NetBSD 9.2 base source used by cross workaround#575
newpavlov merged 1 commit intorust-random:masterfrom
joseluisq:master

Conversation

@joseluisq
Copy link
Copy Markdown
Contributor

@joseluisq joseluisq commented Jan 2, 2025

Recently NetBSD 9.2 source was archived affecting the base.tar.xz link used by the libexecinfo.so cross workaround (cross-rs/cross#1345).

This small patch prefers NetBSD 9.3 as it is the latest 9.x.

Additionally, I added a -f, --fail to curl to fail in case a 4xx or greater happens again.

Copy link
Copy Markdown
Member

@newpavlov newpavlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@newpavlov newpavlov merged commit d337f1a into rust-random:master Jan 3, 2025
takumi-earth pushed a commit to earthlings-dev/getrandom that referenced this pull request Jan 27, 2026
…ust-random#575)

Recently NetBSD 9.2 source was archived affecting the `base.tar.xz` link
used by the `libexecinfo.so` **cross** workaround
(cross-rs/cross#1345).

This small patch prefers `NetBSD 9.3` as it is the latest `9.x`.

-
https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.2/amd64/binary/sets/base.tar.xz
(broken)
-
https://archive.netbsd.org/pub/NetBSD-archive/NetBSD-9.2/amd64/binary/sets/base.tar.xz
(archived)
-
https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.3/amd64/binary/sets/base.tar.xz
(new)

Additionally, I added a `-f, --fail` to curl to fail in case a `4xx` or
greater happens again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants