Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sccache fails to build on s390x because of ring #1442

Closed
sylvestre opened this issue Dec 3, 2022 · 10 comments · Fixed by #2036
Closed

sccache fails to build on s390x because of ring #1442

sylvestre opened this issue Dec 3, 2022 · 10 comments · Fixed by #2036

Comments

@sylvestre
Copy link
Collaborator

With

cargo build --release --features="dist-client dist-server"
[...]
   Compiling serde_derive v1.0.148
   Compiling generic-array v0.14.6
error: failed to run custom build command for `ring v0.16.20`

Caused by:
  process didn't exit successfully: `/root/sccache/target/release/build/ring-a90716d63dae5e38/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /root/.cargo/registry/src/github.com-eae4ba8cbf2ce1c7/ring-0.16.20/build.rs:358:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

See
briansmith/ring#986

@sylvestre
Copy link
Collaborator Author

Ring is also coming from jsonwebtoken which is a mandatory dep of sccache dist:

$ cargo tree  --features="dist-client dist-server" --no-default-features
sccache v0.3.1 (/root/sccache)
├── anyhow v1.0.66
├── ar v0.9.0
├── async-trait v0.1.58 (proc-macro)
│   ├── proc-macro2 v1.0.47
│   │   └── unicode-ident v1.0.5
│   ├── quote v1.0.21
│   │   └── proc-macro2 v1.0.47 (*)
│   └── syn v1.0.104
│       ├── proc-macro2 v1.0.47 (*)
│       ├── quote v1.0.21 (*)
│       └── unicode-ident v1.0.5
├── atty v0.2.14
│   └── libc v0.2.137
├── base64 v0.13.1
├── bincode v1.3.3
│   └── serde v1.0.148
│       └── serde_derive v1.0.148 (proc-macro)
│           ├── proc-macro2 v1.0.47 (*)
│           ├── quote v1.0.21 (*)
│           └── syn v1.0.104 (*)
├── blake3 v1.3.3
│   ├── arrayref v0.3.6
│   ├── arrayvec v0.7.2
│   ├── cfg-if v1.0.0
│   ├── constant_time_eq v0.2.4
│   └── digest v0.10.6
│       ├── block-buffer v0.10.3
│       │   └── generic-array v0.14.6
│       │       └── typenum v1.15.0
│       │       [build-dependencies]
│       │       └── version_check v0.9.4
│       ├── crypto-common v0.1.6
│       │   ├── generic-array v0.14.6 (*)
│       │   └── typenum v1.15.0
│       └── subtle v2.4.1
│   [build-dependencies]
│   └── cc v1.0.77
│       └── jobserver v0.1.25
│           └── libc v0.2.137
├── byteorder v1.4.3
├── bytes v1.1.0
├── clap v3.2.23
│   ├── atty v0.2.14 (*)
│   ├── bitflags v1.3.2
│   ├── clap_derive v3.2.18 (proc-macro)
│   │   ├── heck v0.4.0
│   │   ├── proc-macro-error v1.0.4
│   │   │   ├── proc-macro-error-attr v1.0.4 (proc-macro)
│   │   │   │   ├── proc-macro2 v1.0.47 (*)
│   │   │   │   └── quote v1.0.21 (*)
│   │   │   │   [build-dependencies]
│   │   │   │   └── version_check v0.9.4
│   │   │   ├── proc-macro2 v1.0.47 (*)
│   │   │   ├── quote v1.0.21 (*)
│   │   │   └── syn v1.0.104 (*)
│   │   │   [build-dependencies]
│   │   │   └── version_check v0.9.4
│   │   ├── proc-macro2 v1.0.47 (*)
│   │   ├── quote v1.0.21 (*)
│   │   └── syn v1.0.104 (*)
│   ├── clap_lex v0.2.4
│   │   └── os_str_bytes v6.4.1
│   ├── indexmap v1.9.2
│   │   └── hashbrown v0.12.3
│   │   [build-dependencies]
│   │   └── autocfg v1.1.0
│   ├── once_cell v1.16.0
│   ├── strsim v0.10.0
│   ├── termcolor v1.1.3
│   ├── terminal_size v0.2.2
│   │   └── rustix v0.35.13
│   │       ├── bitflags v1.3.2
│   │       ├── errno v0.2.8
│   │       │   └── libc v0.2.137
│   │       ├── io-lifetimes v0.7.5
│   │       ├── libc v0.2.137
│   │       └── linux-raw-sys v0.0.46
│   └── textwrap v0.16.0
│       └── terminal_size v0.2.2 (*)
├── crossbeam-utils v0.8.14
│   └── cfg-if v1.0.0
├── daemonize v0.4.1
│   ├── boxfnonce v0.1.1
│   └── libc v0.2.137
├── directories v4.0.1
│   └── dirs-sys v0.3.7
│       └── libc v0.2.137
├── env_logger v0.9.3
│   ├── atty v0.2.14 (*)
│   ├── humantime v2.1.0
│   ├── log v0.4.17
│   │   └── cfg-if v1.0.0
│   ├── regex v1.7.0
│   │   ├── aho-corasick v0.7.20
│   │   │   └── memchr v2.5.0
│   │   ├── memchr v2.5.0
│   │   └── regex-syntax v0.6.28
│   └── termcolor v1.1.3
├── filetime v0.2.18
│   ├── cfg-if v1.0.0
│   └── libc v0.2.137
├── flate2 v1.0.25
│   ├── crc32fast v1.3.2
│   │   └── cfg-if v1.0.0
│   └── miniz_oxide v0.6.2
│       └── adler v1.0.2
├── futures v0.3.25
│   ├── futures-channel v0.3.25
│   │   ├── futures-core v0.3.25
│   │   └── futures-sink v0.3.25
│   ├── futures-core v0.3.25
│   ├── futures-executor v0.3.25
│   │   ├── futures-core v0.3.25
│   │   ├── futures-task v0.3.25
│   │   └── futures-util v0.3.25
│   │       ├── futures-channel v0.3.25 (*)
│   │       ├── futures-core v0.3.25
│   │       ├── futures-io v0.3.25
│   │       ├── futures-macro v0.3.25 (proc-macro)
│   │       │   ├── proc-macro2 v1.0.47 (*)
│   │       │   ├── quote v1.0.21 (*)
│   │       │   └── syn v1.0.104 (*)
│   │       ├── futures-sink v0.3.25
│   │       ├── futures-task v0.3.25
│   │       ├── memchr v2.5.0
│   │       ├── pin-project-lite v0.2.9
│   │       ├── pin-utils v0.1.0
│   │       └── slab v0.4.7
│   │           [build-dependencies]
│   │           └── autocfg v1.1.0
│   ├── futures-io v0.3.25
│   ├── futures-sink v0.3.25
│   ├── futures-task v0.3.25
│   └── futures-util v0.3.25 (*)
├── futures-locks v0.7.0
│   ├── futures-channel v0.3.25 (*)
│   ├── futures-task v0.3.25
│   └── tokio v1.20.1
│       ├── bytes v1.1.0
│       ├── libc v0.2.137
│       ├── memchr v2.5.0
│       ├── mio v0.8.5
│       │   ├── libc v0.2.137
│       │   └── log v0.4.17 (*)
│       ├── num_cpus v1.14.0
│       │   └── libc v0.2.137
│       ├── once_cell v1.16.0
│       ├── pin-project-lite v0.2.9
│       ├── signal-hook-registry v1.4.0
│       │   └── libc v0.2.137
│       ├── socket2 v0.4.7
│       │   └── libc v0.2.137
│       └── tokio-macros v1.7.0 (proc-macro)
│           ├── proc-macro2 v1.0.47 (*)
│           ├── quote v1.0.21 (*)
│           └── syn v1.0.104 (*)
│       [build-dependencies]
│       └── autocfg v1.1.0
├── gzp v0.11.0
│   ├── byteorder v1.4.3
│   ├── bytes v1.1.0
│   ├── core_affinity v0.7.5
│   │   ├── libc v0.2.137
│   │   └── num_cpus v1.14.0 (*)
│   ├── flate2 v1.0.25 (*)
│   ├── flume v0.10.14
│   │   ├── futures-core v0.3.25
│   │   ├── futures-sink v0.3.25
│   │   ├── nanorand v0.7.0
│   │   │   └── getrandom v0.2.8
│   │   │       ├── cfg-if v1.0.0
│   │   │       └── libc v0.2.137
│   │   ├── pin-project v1.0.12
│   │   │   └── pin-project-internal v1.0.12 (proc-macro)
│   │   │       ├── proc-macro2 v1.0.47 (*)
│   │   │       ├── quote v1.0.21 (*)
│   │   │       └── syn v1.0.104 (*)
│   │   └── spin v0.9.4
│   │       └── lock_api v0.4.9
│   │           └── scopeguard v1.1.0
│   │           [build-dependencies]
│   │           └── autocfg v1.1.0
│   ├── num_cpus v1.14.0 (*)
│   └── thiserror v1.0.37
│       └── thiserror-impl v1.0.37 (proc-macro)
│           ├── proc-macro2 v1.0.47 (*)
│           ├── quote v1.0.21 (*)
│           └── syn v1.0.104 (*)
├── http v0.2.8
│   ├── bytes v1.1.0
│   ├── fnv v1.0.7
│   └── itoa v1.0.4
├── hyper v0.14.23
│   ├── bytes v1.1.0
│   ├── futures-channel v0.3.25 (*)
│   ├── futures-core v0.3.25
│   ├── futures-util v0.3.25 (*)
│   ├── h2 v0.3.15
│   │   ├── bytes v1.1.0
│   │   ├── fnv v1.0.7
│   │   ├── futures-core v0.3.25
│   │   ├── futures-sink v0.3.25
│   │   ├── futures-util v0.3.25 (*)
│   │   ├── http v0.2.8 (*)
│   │   ├── indexmap v1.9.2 (*)
│   │   ├── slab v0.4.7 (*)
│   │   ├── tokio v1.20.1 (*)
│   │   ├── tokio-util v0.7.3
│   │   │   ├── bytes v1.1.0
│   │   │   ├── futures-core v0.3.25
│   │   │   ├── futures-sink v0.3.25
│   │   │   ├── pin-project-lite v0.2.9
│   │   │   ├── tokio v1.20.1 (*)
│   │   │   └── tracing v0.1.37
│   │   │       ├── cfg-if v1.0.0
│   │   │       ├── log v0.4.17 (*)
│   │   │       ├── pin-project-lite v0.2.9
│   │   │       └── tracing-core v0.1.30
│   │   │           └── once_cell v1.16.0
│   │   └── tracing v0.1.37 (*)
│   ├── http v0.2.8 (*)
│   ├── http-body v0.4.5
│   │   ├── bytes v1.1.0
│   │   ├── http v0.2.8 (*)
│   │   └── pin-project-lite v0.2.9
│   ├── httparse v1.8.0
│   ├── httpdate v1.0.2
│   ├── itoa v1.0.4
│   ├── pin-project-lite v0.2.9
│   ├── socket2 v0.4.7 (*)
│   ├── tokio v1.20.1 (*)
│   ├── tower-service v0.3.2
│   ├── tracing v0.1.37 (*)
│   └── want v0.3.0
│       ├── log v0.4.17 (*)
│       └── try-lock v0.2.3
├── hyperx v1.4.0
│   ├── base64 v0.13.1
│   ├── bytes v1.1.0
│   ├── http v0.2.8 (*)
│   ├── httpdate v1.0.2
│   ├── language-tags v0.3.2
│   ├── mime v0.3.16
│   ├── percent-encoding v2.1.0
│   └── unicase v2.6.0
│       [build-dependencies]
│       └── version_check v0.9.4
├── jobserver v0.1.25 (*)
├── jsonwebtoken v8.1.1
│   ├── base64 v0.13.1
│   ├── pem v1.1.0
│   │   └── base64 v0.13.1
│   ├── ring v0.16.20
│   │   ├── libc v0.2.137
│   │   ├── once_cell v1.16.0
│   │   └── untrusted v0.7.1
│   │   [build-dependencies]
│   │   └── cc v1.0.77 (*)
│   ├── serde v1.0.148 (*)
│   ├── serde_json v1.0.89
│   │   ├── indexmap v1.9.2 (*)
│   │   ├── itoa v1.0.4
│   │   ├── ryu v1.0.11
│   │   └── serde v1.0.148 (*)
│   └── simple_asn1 v0.6.2
│       ├── num-bigint v0.4.3
│       │   ├── num-integer v0.1.45
│       │   │   └── num-traits v0.2.15
│       │   │       [build-dependencies]
│       │   │       └── autocfg v1.1.0
│       │   │   [build-dependencies]
│       │   │   └── autocfg v1.1.0
│       │   └── num-traits v0.2.15 (*)
│       │   [build-dependencies]
│       │   └── autocfg v1.1.0
│       ├── num-traits v0.2.15 (*)
│       ├── thiserror v1.0.37 (*)
│       └── time v0.3.17
│           ├── itoa v1.0.4
│           ├── libc v0.2.137
│           ├── num_threads v0.1.6
│           ├── time-core v0.1.0
│           └── time-macros v0.2.6 (proc-macro)
│               └── time-core v0.1.0
├── lazy_static v1.4.0
├── libc v0.2.137
├── libmount v0.1.15
│   ├── libc v0.2.137
│   ├── nix v0.14.1
│   │   ├── bitflags v1.3.2
│   │   ├── cfg-if v0.1.10
│   │   ├── libc v0.2.137
│   │   └── void v1.0.2
│   └── quick-error v1.2.3
├── linked-hash-map v0.5.6
├── log v0.4.17 (*)
├── nix v0.25.0
│   ├── bitflags v1.3.2
│   ├── cfg-if v1.0.0
│   ├── libc v0.2.137
│   ├── memoffset v0.6.5
│   │   [build-dependencies]
│   │   └── autocfg v1.1.0
│   └── pin-utils v0.1.0
│   [build-dependencies]
│   └── autocfg v1.1.0
├── num_cpus v1.14.0 (*)
├── number_prefix v0.4.0
├── openssl v0.10.43
│   ├── bitflags v1.3.2
│   ├── cfg-if v1.0.0
│   ├── foreign-types v0.3.2
│   │   └── foreign-types-shared v0.1.1
│   ├── libc v0.2.137
│   ├── once_cell v1.16.0
│   ├── openssl-macros v0.1.0 (proc-macro)
│   │   ├── proc-macro2 v1.0.47 (*)
│   │   ├── quote v1.0.21 (*)
│   │   └── syn v1.0.104 (*)
│   └── openssl-sys v0.9.78
│       └── libc v0.2.137
│       [build-dependencies]
│       ├── autocfg v1.1.0
│       ├── cc v1.0.77 (*)
│       └── pkg-config v0.3.26
├── rand v0.8.5
│   ├── libc v0.2.137
│   ├── rand_chacha v0.3.1
│   │   ├── ppv-lite86 v0.2.17
│   │   └── rand_core v0.6.4
│   │       └── getrandom v0.2.8 (*)
│   └── rand_core v0.6.4 (*)
├── regex v1.7.0 (*)
├── reqwest v0.11.13
│   ├── base64 v0.13.1
│   ├── bytes v1.1.0
│   ├── encoding_rs v0.8.31
│   │   └── cfg-if v1.0.0
│   ├── futures-core v0.3.25
│   ├── futures-util v0.3.25 (*)
│   ├── h2 v0.3.15 (*)
│   ├── http v0.2.8 (*)
│   ├── http-body v0.4.5 (*)
│   ├── hyper v0.14.23 (*)
│   ├── hyper-tls v0.5.0
│   │   ├── bytes v1.1.0
│   │   ├── hyper v0.14.23 (*)
│   │   ├── native-tls v0.2.11
│   │   │   ├── log v0.4.17 (*)
│   │   │   ├── openssl v0.10.43 (*)
│   │   │   ├── openssl-probe v0.1.5
│   │   │   └── openssl-sys v0.9.78 (*)
│   │   ├── tokio v1.20.1 (*)
│   │   └── tokio-native-tls v0.3.0
│   │       ├── native-tls v0.2.11 (*)
│   │       └── tokio v1.20.1 (*)
│   ├── ipnet v2.5.1
│   ├── log v0.4.17 (*)
│   ├── mime v0.3.16
│   ├── native-tls v0.2.11 (*)
│   ├── once_cell v1.16.0
│   ├── percent-encoding v2.1.0
│   ├── pin-project-lite v0.2.9
│   ├── serde v1.0.148 (*)
│   ├── serde_json v1.0.89 (*)
│   ├── serde_urlencoded v0.7.1
│   │   ├── form_urlencoded v1.0.1
│   │   │   ├── matches v0.1.9
│   │   │   └── percent-encoding v2.1.0
│   │   ├── itoa v1.0.4
│   │   ├── ryu v1.0.11
│   │   └── serde v1.0.148 (*)
│   ├── tokio v1.20.1 (*)
│   ├── tokio-native-tls v0.3.0 (*)
│   ├── tokio-util v0.7.3 (*)
│   ├── tower-service v0.3.2
│   └── url v2.3.0
│       ├── form_urlencoded v1.0.1 (*)
│       ├── idna v0.2.3
│       │   ├── matches v0.1.9
│       │   ├── unicode-bidi v0.3.8
│       │   └── unicode-normalization v0.1.22
│       │       └── tinyvec v1.6.0
│       │           └── tinyvec_macros v0.1.0
│       ├── percent-encoding v2.1.0
│       └── serde v1.0.148 (*)
├── retry v2.0.0
│   └── rand v0.8.5 (*)
├── rouille v3.6.1
│   ├── base64 v0.13.1
│   ├── chrono v0.4.23
│   │   ├── iana-time-zone v0.1.47
│   │   ├── num-integer v0.1.45 (*)
│   │   ├── num-traits v0.2.15 (*)
│   │   ├── serde v1.0.148 (*)
│   │   └── time v0.1.43
│   │       └── libc v0.2.137
│   ├── filetime v0.2.18 (*)
│   ├── multipart v0.18.0
│   │   ├── buf_redux v0.8.4
│   │   │   ├── memchr v2.5.0
│   │   │   └── safemem v0.3.3
│   │   ├── httparse v1.8.0
│   │   ├── log v0.4.17 (*)
│   │   ├── mime v0.3.16
│   │   ├── mime_guess v2.0.4
│   │   │   ├── mime v0.3.16
│   │   │   └── unicase v2.6.0 (*)
│   │   │   [build-dependencies]
│   │   │   └── unicase v2.6.0 (*)
│   │   ├── quick-error v1.2.3
│   │   ├── rand v0.8.5 (*)
│   │   ├── safemem v0.3.3
│   │   ├── tempfile v3.3.0
│   │   │   ├── cfg-if v1.0.0
│   │   │   ├── fastrand v1.8.0
│   │   │   ├── libc v0.2.137
│   │   │   └── remove_dir_all v0.5.3
│   │   └── twoway v0.1.8
│   │       └── memchr v2.5.0
│   ├── num_cpus v1.14.0 (*)
│   ├── percent-encoding v2.1.0
│   ├── rand v0.8.5 (*)
│   ├── serde v1.0.148 (*)
│   ├── serde_derive v1.0.148 (proc-macro) (*)
│   ├── serde_json v1.0.89 (*)
│   ├── sha1 v0.10.5
│   │   ├── cfg-if v1.0.0
│   │   └── digest v0.10.6 (*)
│   ├── threadpool v1.8.1
│   │   └── num_cpus v1.14.0 (*)
│   ├── time v0.3.17 (*)
│   ├── tiny_http v0.12.0
│   │   ├── ascii v1.1.0
│   │   ├── chunked_transfer v1.4.0
│   │   ├── httpdate v1.0.2
│   │   ├── log v0.4.17 (*)
│   │   ├── openssl v0.10.43 (*)
│   │   └── zeroize v1.5.7
│   └── url v2.3.0 (*)
├── semver v1.0.14
├── serde v1.0.148 (*)
├── serde_derive v1.0.148 (proc-macro) (*)
├── serde_json v1.0.89 (*)
├── sha2 v0.10.6
│   ├── cfg-if v1.0.0
│   └── digest v0.10.6 (*)
├── strip-ansi-escapes v0.1.1
│   └── vte v0.10.1
│       ├── arrayvec v0.5.2
│       ├── utf8parse v0.2.0
│       └── vte_generate_state_changes v0.1.1 (proc-macro)
│           ├── proc-macro2 v1.0.47 (*)
│           └── quote v1.0.21 (*)
├── syslog v6.0.1
│   ├── error-chain v0.12.4
│   │   [build-dependencies]
│   │   └── version_check v0.9.4
│   ├── hostname v0.3.1
│   │   ├── libc v0.2.137
│   │   └── match_cfg v0.1.0
│   ├── libc v0.2.137
│   ├── log v0.4.17 (*)
│   └── time v0.3.17 (*)
├── tar v0.4.38
│   ├── filetime v0.2.18 (*)
│   ├── libc v0.2.137
│   └── xattr v0.2.3
│       └── libc v0.2.137
├── tempfile v3.3.0 (*)
├── tokio v1.20.1 (*)
├── tokio-serde v0.8.0
│   ├── bytes v1.1.0
│   ├── futures-core v0.3.25
│   ├── futures-sink v0.3.25
│   └── pin-project v1.0.12 (*)
├── tokio-util v0.7.3 (*)
├── toml v0.5.9
│   └── serde v1.0.148 (*)
├── tower v0.4.13
│   ├── tower-layer v0.3.2
│   ├── tower-service v0.3.2
│   └── tracing v0.1.37 (*)
├── url v2.3.0 (*)
├── uuid v1.2.2
│   └── getrandom v0.2.8 (*)
├── version-compare v0.1.1
├── void v1.0.2
├── walkdir v2.3.2
│   └── same-file v1.0.6
├── which v4.3.0
│   ├── either v1.8.0
│   └── libc v0.2.137
├── zip v0.6.3
│   ├── byteorder v1.4.3
│   └── crc32fast v1.3.2 (*)
└── zstd v0.12.0+zstd.1.5.2
    └── zstd-safe v6.0.2+zstd.1.5.2
        ├── libc v0.2.137
        └── zstd-sys v2.0.1+zstd.1.5.2
            └── libc v0.2.137
            [build-dependencies]
            └── cc v1.0.77 (*)
[dev-dependencies]
├── assert_cmd v2.0.6
│   ├── bstr v1.0.1
│   │   ├── memchr v2.5.0
│   │   ├── once_cell v1.16.0
│   │   └── regex-automata v0.1.10
│   ├── doc-comment v0.3.3
│   ├── predicates v2.1.2
│   │   ├── difflib v0.4.0
│   │   ├── float-cmp v0.9.0
│   │   │   └── num-traits v0.2.15 (*)
│   │   ├── itertools v0.10.5
│   │   │   └── either v1.8.0
│   │   ├── normalize-line-endings v0.3.0
│   │   ├── predicates-core v1.0.5
│   │   └── regex v1.7.0 (*)
│   ├── predicates-core v1.0.5
│   ├── predicates-tree v1.0.7
│   │   ├── predicates-core v1.0.5
│   │   └── termtree v0.4.0
│   └── wait-timeout v0.2.0
│       └── libc v0.2.137
├── cc v1.0.77 (*)
├── chrono v0.4.23 (*)
├── itertools v0.10.5 (*)
├── once_cell v1.16.0
├── predicates v2.1.2 (*)
├── serial_test v0.9.0
│   ├── dashmap v5.4.0
│   │   ├── cfg-if v1.0.0
│   │   ├── hashbrown v0.12.3
│   │   ├── lock_api v0.4.9 (*)
│   │   ├── once_cell v1.16.0
│   │   └── parking_lot_core v0.9.4
│   │       ├── cfg-if v1.0.0
│   │       ├── libc v0.2.137
│   │       └── smallvec v1.10.0
│   ├── futures v0.3.25 (*)
│   ├── lazy_static v1.4.0
│   ├── log v0.4.17 (*)
│   ├── parking_lot v0.12.1
│   │   ├── lock_api v0.4.9 (*)
│   │   └── parking_lot_core v0.9.4 (*)
│   └── serial_test_derive v0.9.0 (proc-macro)
│       ├── proc-macro-error v1.0.4 (*)
│       ├── proc-macro2 v1.0.47 (*)
│       ├── quote v1.0.21 (*)
│       └── syn v1.0.104 (*)
├── thirtyfour_sync v0.27.1
│   ├── base64 v0.13.1
│   ├── log v0.4.17 (*)
│   ├── reqwest v0.11.13 (*)
│   ├── serde v1.0.148 (*)
│   ├── serde_json v1.0.89 (*)
│   ├── stringmatch v0.3.3
│   │   └── regex v1.7.0 (*)
│   └── thirtyfour v0.27.3
│       ├── async-trait v0.1.58 (proc-macro) (*)
│       ├── base64 v0.13.1
│       ├── chrono v0.4.23 (*)
│       ├── displaydoc v0.1.7 (proc-macro)
│       │   ├── proc-macro2 v1.0.47 (*)
│       │   ├── quote v1.0.21 (*)
│       │   └── syn v1.0.104 (*)
│       ├── futures v0.3.25 (*)
│       ├── log v0.4.17 (*)
│       ├── reqwest v0.11.13 (*)
│       ├── serde v1.0.148 (*)
│       ├── serde_json v1.0.89 (*)
│       ├── serde_repr v0.1.9 (proc-macro)
│       │   ├── proc-macro2 v1.0.47 (*)
│       │   ├── quote v1.0.21 (*)
│       │   └── syn v1.0.104 (*)
│       ├── stringmatch v0.3.3 (*)
│       ├── thiserror v1.0.37 (*)
│       ├── tokio v1.20.1 (*)
│       └── urlparse v0.7.3
└── wiremock v0.5.15
    ├── assert-json-diff v2.0.2
    │   ├── serde v1.0.148 (*)
    │   └── serde_json v1.0.89 (*)
    ├── async-trait v0.1.58 (proc-macro) (*)
    ├── base64 v0.13.1
    ├── deadpool v0.9.5
    │   ├── async-trait v0.1.58 (proc-macro) (*)
    │   ├── deadpool-runtime v0.1.2
    │   ├── num_cpus v1.14.0 (*)
    │   ├── retain_mut v0.1.9
    │   └── tokio v1.20.1 (*)
    ├── futures v0.3.25 (*)
    ├── futures-timer v3.0.2
    ├── http-types v2.12.0
    │   ├── anyhow v1.0.66
    │   ├── async-channel v1.7.1
    │   │   ├── concurrent-queue v1.2.4
    │   │   │   └── cache-padded v1.2.0
    │   │   ├── event-listener v2.5.3
    │   │   └── futures-core v0.3.25
    │   ├── base64 v0.13.1
    │   ├── futures-lite v1.12.0
    │   │   ├── fastrand v1.8.0
    │   │   ├── futures-core v0.3.25
    │   │   ├── futures-io v0.3.25
    │   │   ├── memchr v2.5.0
    │   │   ├── parking v2.0.0
    │   │   ├── pin-project-lite v0.2.9
    │   │   └── waker-fn v1.1.0
    │   ├── http v0.2.8 (*)
    │   ├── infer v0.2.3
    │   ├── pin-project-lite v0.2.9
    │   ├── rand v0.7.3
    │   │   ├── getrandom v0.1.16
    │   │   │   ├── cfg-if v1.0.0
    │   │   │   └── libc v0.2.137
    │   │   ├── libc v0.2.137
    │   │   ├── rand_chacha v0.2.2
    │   │   │   ├── ppv-lite86 v0.2.17
    │   │   │   └── rand_core v0.5.1
    │   │   │       └── getrandom v0.1.16 (*)
    │   │   └── rand_core v0.5.1 (*)
    │   ├── serde v1.0.148 (*)
    │   ├── serde_json v1.0.89 (*)
    │   ├── serde_qs v0.8.5
    │   │   ├── percent-encoding v2.1.0
    │   │   ├── serde v1.0.148 (*)
    │   │   └── thiserror v1.0.37 (*)
    │   ├── serde_urlencoded v0.7.1 (*)
    │   └── url v2.3.0 (*)
    ├── hyper v0.14.23 (*)
    ├── log v0.4.17 (*)
    ├── once_cell v1.16.0
    ├── regex v1.7.0 (*)
    ├── serde v1.0.148 (*)
    ├── serde_json v1.0.89 (*)
    └── tokio v1.20.1 (*)

@huang12zheng
Copy link

So installing ring is fine, but it may need to improve the documentation
PS: openssl-dev also should be added.

@drahnr
Copy link
Collaborator

drahnr commented Feb 28, 2023

So installing ring is fine, but it may need to improve the documentation PS: openssl-dev also should be added.

Could you elaborate, I can't follow

sylvestre added a commit to sylvestre/sccache that referenced this issue Oct 17, 2023
Closes: mozilla#1442
should unbreak the build on s390x
sylvestre added a commit to sylvestre/sccache that referenced this issue Oct 18, 2023
Closes: mozilla#1442
should unbreak the build on s390x
@aroberts87
Copy link

@sylvestre - I see Debian has an s390x build of 0.7.4 in their repositories. Has s390x support been resolved? If so, can it be added back as an official build artifact?
https://packages.debian.org/sid/s390x/sccache/download

@sylvestre
Copy link
Collaborator Author

Doesn't mean it will work with this version. The Debian package is heavily patched and lack of a lot of features.
Maybe it will work, maybe it won't.
Would you like to give it a try ?

@lysliu
Copy link

lysliu commented Jan 16, 2024

@sylvestre - I see Debian has an s390x build of 0.7.4 in their repositories. Has s390x support been resolved? If so, can it be added back as an official build artifact? https://packages.debian.org/sid/s390x/sccache/download

There still 3 dependencies point to ring 0.16.20 which cannot run on s390x

~/sccache# cat Cargo.lock | grep 0.16.20
 "ring 0.16.20",
version = "0.16.20"
 "ring 0.16.20",

@Xuanwo
Copy link
Collaborator

Xuanwo commented Jan 16, 2024

@sylvestre - I see Debian has an s390x build of 0.7.4 in their repositories. Has s390x support been resolved? If so, can it be added back as an official build artifact? https://packages.debian.org/sid/s390x/sccache/download

There still 3 dependencies point to ring 0.16.20 which cannot run on s390x

~/sccache# cat Cargo.lock | grep 0.16.20
 "ring 0.16.20",
version = "0.16.20"
 "ring 0.16.20",

Thanks for the update. I have started a PR #2036 to remove all dependences that on ring 0.16

@lysliu
Copy link

lysliu commented Jan 16, 2024

@Xuanwo I have tested your PR, LGTM.
Thank you.

@sylvestre
Copy link
Collaborator Author

we aren't providing binaries yet but
https://github.com/mozilla/sccache/releases/tag/v0.7.6
works on s390x

@aroberts87
Copy link

Thanks for the update, @sylvestre! And thanks to everyone for getting s390x support back!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants