diff options
| author | Dmitry Ivankov <divanorama@gmail.com> | 2022-11-15 23:51:29 +0100 |
|---|---|---|
| committer | Dmitry Ivankov <divanorama@gmail.com> | 2022-11-16 01:07:47 +0100 |
| commit | 54d139174aa121e53595ea99580bc7724352cd95 (patch) | |
| tree | fe3fca107ea78bd7e6217232d95626d435cf26be /pkgs/development/python-modules/rangehttpserver | |
| parent | 506f41b6add695a75c30fb2701079a3464993b41 (diff) | |
rustup-toolchain-install-master: fix build by using openssl 1.x
Upstream package didn't have recent releases. Currently build fails with something like
```
running: "/nix/store/dq0xwmsk1g0i2ayg6pb7y87na2knzylh-gcc-wrapper-11.3.0/bin/cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/nix/store/f95kxwhnr2bazy7nl6wzwjiak02dlp9v-openssl-3.0.7-dev/include" "-Wall" "-Wextra" "-E" "build/expando.c"
cargo:warning=build/expando.c:4:24: error: pasting "RUST_VERSION_OPENSSL_" and "(" does not give a valid preprocessing token
cargo:warning= 4 | #define VERSION2(n, v) RUST_VERSION_##n##_##v
cargo:warning= | ^~~~~~~~~~~~~
cargo:warning=build/expando.c:5:23: note: in expansion of macro 'VERSION2'
cargo:warning= 5 | #define VERSION(n, v) VERSION2(n, v)
cargo:warning= | ^~~~~~~~
cargo:warning=build/expando.c:10:1: note: in expansion of macro 'VERSION'
cargo:warning= 10 | VERSION(OPENSSL, OPENSSL_VERSION_NUMBER)
cargo:warning= | ^~~~~~~
exit status: 1
```
which looks like https://github.com/sfackler/rust-openssl/issues/1030
and should be fixed in a transitive dependency by https://github.com/sfackler/rust-openssl/pull/1264
But rather than trying to bump transitive dependency let's downgrade
openssl used by this package.
ZHF: #199919
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
