zccache
LOW
maintainer alerque
0 votes
scanned 2026-10-17 11:18:02.052738
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Caleb Maclennan <caleb@alerque.com>
2
3
pkgname=zccache
4
pkgver=1.15.5
5
pkgrel=1
6
pkgdesc='compiler cache for C/C++/Rust; drop in replacement for sccache and ccache'
7
arch=(x86_64)
8
url="https://github.com/zackees/$pkgname"
9
license=(AGPL-3.0-only)
10
depends=(glibc
11
libgcc)
12
makedepends=(cargo)
13
_archive="$pkgname-$pkgver"
14
source=("$url/archive/refs/tags/$pkgver/$_archive.tar.gz")
15
sha256sums=('30e9d3440978dcbeed74fb8e295ad0f7cc2e21beb3882de222d76cc4fd39d852')
16
17
_srcenv() {
18
cd "$_archive"
19
export CARGO_HOME="$srcdir"
20
export CARGO_PROFILE_RELEASE_DEBUG=2
21
export CARGO_PROFILE_RELEASE_STRIP=false
22
export CARGO_PROFILE_RELEASE_LTO=thin
23
export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
24
export CARGO_PROFILE_RELEASE_OPT_LEVEL=3
25
CFLAGS+=' -fno-lto'
26
export RUSTUP_TOOLCHAIN=stable
27
export CARGO_TARGET_DIR=target
28
29
}
30
31
prepare() {
32
_srcenv
33
cargo fetch --locked --target host-tuple
34
}
35
36
build() {
37
_srcenv
38
cargo build --release --frozen --features "$pkgname-bin"
39
}
40
41
check() {
42
_srcenv
43
local skipped=(
44
cli_cache_root::cache_root_default_branch_reports_default_source_when_env_unset
45
cli_cache_root::cache_root_default_prints_absolute_path
46
cli_cache_root::cache_root_env_branch_reports_env_source
47
cli_cache_root::cache_root_json_reports_daemon_namespace_and_derived_endpoint
48
cli_cache_root::cache_root_relative_env_path_is_absolute_in_output
49
cli_cache_root::daemon_namespace_does_not_move_cargo_registry_archives
50
cli_cli_crash_test::cli_panic_writes_dump_with_zccache_stem
51
cli_cli_crash_test::cli_sigsegv_writes_dump_with_zccache_stem
52
cli_defender_exclusions::non_windows_add_and_remove_exit_zero
53
cli_defender_exclusions::non_windows_check_exits_zero_with_known_message
54
cli_defender_exclusions::non_windows_check_json_emits_supported_false
55
cli_no_spawn_guard::guard_accepts_true_value_variant
56
cli_no_spawn_guard::session_start_refuses_to_spawn_under_no_spawn
57
cli_no_spawn_guard::start_refuses_to_spawn_under_no_spawn
58
cli_no_spawn_guard::zero_value_does_not_trip_guard
59
cli_rust_plan_lifecycle::rust_plan_auto_backend_without_gha_env_uses_local_backend
60
cli_rust_plan_lifecycle::rust_plan_explicit_gha_backend_without_env_reports_backend_unavailable
61
cli_rust_plan_lifecycle::rust_plan_full_mode_cli_restores_target_tree_and_prunes_incremental
62
cli_rust_plan_lifecycle::rust_plan_session_stats_lookup_errors_surface_in_json
63
cli_rust_plan_lifecycle::rust_plan_validate_json_reports_compatibility_error_without_cache_mutation
64
cli_wrapper_startup_budget::compiler_wrapper_passthrough_stays_within_budget
65
cli_wrapper_startup_budget::development_namespace_is_not_rehashed_per_invocation
66
single_binary_distribution::zccache_copy_dispatches_as_download_daemon
67
)
68
cargo test --frozen -p $pkgname --test cli -- ${skipped[@]/#/--skip }
69
}
70
71
package() {
72
depends+=(libgcc_s.so)
73
cd "$_archive"
74
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
75
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
76
}
77
Changes since previous scan
--- PKGBUILD @ 2026-10-14 00:06+++ PKGBUILD @ 2026-10-17 11:18@@ -1,7 +1,7 @@ # Maintainer: Caleb Maclennan <caleb@alerque.com> pkgname=zccache-pkgver=1.15.4+pkgver=1.15.5 pkgrel=1 pkgdesc='compiler cache for C/C++/Rust; drop in replacement for sccache and ccache' arch=(x86_64)@@ -12,7 +12,7 @@ makedepends=(cargo) _archive="$pkgname-$pkgver" source=("$url/archive/refs/tags/$pkgver/$_archive.tar.gz")-sha256sums=('2b73723bc5edadc4ddc0a1a0a35455c46e3d851e5e346f4b67ee74f745a467ab')+sha256sums=('30e9d3440978dcbeed74fb8e295ad0f7cc2e21beb3882de222d76cc4fd39d852') _srcenv() { cd "$_archive"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-17 11:18:02 | Low | 1 |
| 2026-10-14 00:06:47 | Clean | 2 |
| 2026-10-13 23:18:21 | Low | 1 |