Package Details: sccache 0.2.10-1

Git Clone URL: (read-only)
Package Base: sccache
Description: ccache with cloud storage
Upstream URL:
Licenses: Apache
Submitter: flacks
Maintainer: flacks
Last Packager: flacks
Votes: 5
Popularity: 1.149202
First Submitted: 2018-08-12 04:58
Last Updated: 2019-08-14 01:35

Latest Comments

flacks commented on 2019-07-08 05:27

marmistrz, I'm building sccache as-is in a clean chroot without issue. I've also built pkgrel 1 on my system with the ccache flag for makepkg enabled without issue. Also, removing selenium-rs breaks the build. For sccache tests, there is a hard dependency on an older version of the openssl crate, hence the makedepends of openssl-1.0. I suggest trying to build in a clean chroot to see if you can replicate your error, because I can't. Post a patch if possible, and I'll investigate further.

marmistrz commented on 2019-07-07 18:24

Btw. the tests fail for me, probably because I have enabled ccache in makepkg.conf:

running 1 test
Starting sccache server...
test test_sccache_command ... FAILED


---- test_sccache_command stdout ----
thread 'test_sccache_command' panicked at 'Unexpected failure.
stderr=```error: failed to execute compile
caused by: Compiler not supported

command="/home/marcin/.cache/yay/sccache/src/sccache-0.2.9/target/x86_64-unknown-linux-gnu/release/sccache" "/usr/bin/ccache" "-c" "test.c" "-o" "test.o" code=2 stdout=``` stderr=error: failed to execute compile caused by: Compiler not supported

', /home/marcin/.cargo/registry/src/
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.


test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out

error: test failed, to rerun pass '--test system'
==> ERROR: A failure occurred in check().
Error making: sccache

marmistrz commented on 2019-07-07 18:16

The only reason sccache doesn't build now without the openssl-1.0 tweaks is the dependency on selenium-rs, which is required only for tests. Thus, instead of depending on openssl-1.0 we could patch Cargo.toml to remove selenium-rs.