Repository navigation
Commit 9db6600
committed
openviking: install perl for openssl-src, restore rustc caps, relax tree-sitter pins
From 0.4.18 crates/ragfs enables fred's vendored-openssl feature through
the cache feature that ragfs-python always builds, so openssl-src
compiles OpenSSL from source. Its Configure script needs FindBin.pm,
which the riscv64 manylinux image's minimal perl-interpreter lacks:
Can't locate FindBin.pm in @inc ... at ./Configure line 15.
That failed 0.4.22 in run 37959647170, and it hits every version from
0.4.18 through 0.4.23. Upstream builds its Linux wheels in ubuntu:20.04,
which has full perl, and ships the OpenSSL statically linked, so install
the whole perl distribution in CIBW_BEFORE_ALL_LINUX (gotcha 46, as
build-rfc3161-client.yml, build-nassl.yml and build-solders.yml do).
Switching to the system OpenSSL with OPENSSL_NO_VENDOR would diverge
from upstream's wheel and has no precedent in this repo.
The nightly-upgrade bot's force-push dropped this fix together with the
others from ac592b3. That commit's run 36397583332 built and tested
0.4.17 through 0.4.20 green with them, so restore them as well:
- When Cargo.lock pins openssl-src, fetch that OpenSSL release's
LICENSE.txt as LICENSE.openssl and require it in the licence check,
since the wheel now redistributes OpenSSL.
- CARGO_PROFILE_RELEASE_LTO=thin and CARGO_BUILD_JOBS=2 for the rustc
heap corruption and hangs compiling ragfs-python (gotcha 228).
In that run 0.4.21 and 0.4.22 still failed to install the built wheel:
"tree-sitter-rust==0.24.0 (from versions: 0.24.2)". 0.4.21 replaced the
parsing stack's lower bounds with exact pins, and the old patch relaxed
only tree-sitter. A binary-only riscv64 resolution of 0.4.23's
dependencies shows four exact pins without riscv64 wheels: tree-sitter
0.25.2, tree-sitter-rust 0.24.0, tree-sitter-c-sharp 0.23.1 and
tree-sitter-language-pack 1.13.3. The new 0002 patch for 0.4.21, 0.4.22
and 0.4.23 turns those four into lower bounds. With it, the full
dependency set plus test requirements resolves for cp312, cp313 and
cp314. Every version's patch set was checked with git apply --check
against its own tag.1 parent 928a800 commit 9db6600
4 files changed
Lines changed: 174 additions & 1 deletion
File tree
- .github/workflows
- patches/openviking
- 0.4.21
- 0.4.22
- 0.4.23
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
119 | 125 | | |
120 | 126 | | |
121 | 127 | | |
| |||
186 | 192 | | |
187 | 193 | | |
188 | 194 | | |
| 195 | + | |
189 | 196 | | |
| 197 | + | |
190 | 198 | | |
| 199 | + | |
191 | 200 | | |
192 | 201 | | |
| 202 | + | |
| 203 | + | |
193 | 204 | | |
194 | 205 | | |
195 | 206 | | |
| |||
201 | 212 | | |
202 | 213 | | |
203 | 214 | | |
204 | | - | |
| 215 | + | |
205 | 216 | | |
206 | 217 | | |
207 | 218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
0 commit comments