Debian Patches
Status for android-cuttlefish/1.55.4+dfsg.1-0~exp3
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 0001-backport-rules-to-bazel-7.patch | Backport rules.bzl to legacy Starlark functions for Bazel 7 Bazel 8 introduced symbolic macros (macro(...)). To allow building android-cuttlefish on Debian systems with Bazel 7, backport cf_cc_binary, cf_cc_library, and cf_cc_test to standard Starlark functions (def ...). This also removes dependencies on aspect_rules_lint and clang_tidy which are not needed for offline Debian package builds. =================================================================== |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | 2026-07-05 | ||
| 0002-remove-cc-compatibility-proxy.patch | Remove cc_compatibility_proxy extension call for Bazel 7 Bazel 8 introduced @cc_compatibility_proxy to bridge C++ rules, but Bazel 7 in Debian does not have the compatibility_proxy module extension in rules_cc. Remove the extension call from toolchain/bazel.MODULE.bazel. =================================================================== |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | 2026-07-05 | ||
| 0003-backport-git-repository-patch-args.patch | Replace patch_strip with patch_args in git_repository for Bazel 7 In Bazel 8, git_repository supports patch_strip, but in Bazel 7, the attribute for stripping leading path components in patches is patch_args = ["-p1"]. Replace patch_strip in git_repository rules across build_external. =================================================================== |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | 2026-07-05 | ||
| 0004-fix-gcc-changes-meaning-warning.patch | Fix GCC 14 -Wchanges-meaning error in cas_flags.h In GCC 14/15, declaring a member function with the exact same name as an enclosing or referenced class type without qualification triggers a -Wchanges-meaning error. Qualify the return type as cuttlefish::Flag to avoid shadowing class Flag. |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | no | 2026-07-05 | ||
| 0005-fix-gcc-14-compile-errors.patch | Fix GCC 14 compilation errors across Cuttlefish In modern libstdc++ (GCC 14/15), transitive includes were pruned, requiring explicit #include <string> in flag_base.h. Additionally, qualify Build return types in fetch_context to avoid -Wchanges-meaning, and cast packed struct member in vendor_boot_image.cc to avoid binding a packed field to a reference parameter. |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | no | 2026-07-05 | ||
| 0007-base-cvd-allocd-Search-usr-sbin-for-dnsmasq-and-fix-.patch | base: cvd: allocd: Search /usr/sbin for dnsmasq and fix PID file path In Debian, dnsmasq is located in /usr/sbin/dnsmasq which is not typically in non-root users' $PATH. Add SearchForDnsmasq and DnsmasqPath fallback helpers similar to IptablesPath. Also fix StopDnsmasq to use CvdDir() instead of hardcoded /var/run/ and fix inverted file.is_open() logic. |
"Ying-Chun Liu (PaulLiu)" <liupa@google.com> | no | 2026-08-26 | ||
| 0008-remove-unused-build-external-modules.patch | Remove include statements for build_external modules replaced by mock_repos Remove unused build_external MODULE.bazel include statements for external libraries that are supplied via debian/mock_repos/ using Debian system packages. |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | 2026-08-26 |
All known versions for source package 'android-cuttlefish'
- 1.55.4+dfsg.1-1 (sid)
- 1.55.4+dfsg.1-0~exp3 (experimental)
