Package: crosvm Version: 0.1.0~git20261022.c917be82d+ds-2 Severity: normal
Hi Yunseong Currently the reproducible build failed. And it blocks the migration to testing. I made a patch to fix this issue. Please see the attachment. -- System Information: Debian Release: 13.7 APT prefers stable-updatesAPT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64) Kernel: Linux 6.12.117+deb13-amd64 (SMP w/2 CPU threads; PREEMPT)Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
Description: Sort seccomp policy directory entries for reproducible builds fs::read_dir returns directory entries in filesystem-dependent order, which causes jail/build.rs to emit bpf_includes.in entries in non-deterministic order across builds. Sort the entries by filename before compiling and generating bpf_includes.in so the embedded seccomp policy table in the resulting binary is deterministic. Author: Ying-Chun Liu (PaulLiu) <[email protected]> Forwarded: no Last-Update: 2026-11-16 --- a/jail/build.rs +++ b/jail/build.rs @@ -65,10 +65,11 @@ fs::create_dir_all(out_dir.join(compiled_policy_folder_relative)).unwrap(); let mut include_all_bytes = String::from("std::collections::HashMap::from([\n"); - let entries = fs::read_dir(rewrote_policy_folder) + let mut entries = fs::read_dir(rewrote_policy_folder) .unwrap() .map(|ent| ent.unwrap()) .collect::<Vec<_>>(); + entries.sort_by_key(|ent| ent.file_name()); let s = entries .par_iter()
OpenPGP_signature.asc
Description: OpenPGP digital signature

