Debian Patches
Status for android-cuttlefish/1.57.0+dfsg.1-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 0011-cuttlefish-Cast-packed-struct-header_version-to-avoi.patch | [PATCH 1/6] cuttlefish: Cast packed struct header_version to avoid reference binding In GCC, passing a member of a packed struct directly into fmt::format / CF_ERRF fails to compile because a packed field cannot be bound to a const reference parameter (e.g. -Werror=address-of-packed-member). Cast header_version to uint32_t to avoid reference binding. |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | no | 2026-08-28 | ||
| 0012-cuttlefish-Fix-packed-struct-member-swap-in-image_ag.patch | [PATCH 2/6] cuttlefish: Fix packed struct member swap in image_aggregator GptHeader is marked packed. Invoking std::swap on packed members takes references to unaligned fields, triggering compiler warnings and errors under GCC (-Werror=address-of-packed-member). Use an explicit temporary variable swap instead. |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | no | 2026-08-28 | ||
| 0013-cuttlefish-Support-GCC-__PRETTY_FUNCTION__-format-in.patch | [PATCH 3/6] cuttlefish: Support GCC __PRETTY_FUNCTION__ format in ExtractName Under GCC, __PRETTY_FUNCTION__ formats template arguments as '[with auto T = ...]' or '[with T = ...]' rather than Clang's prefix format. Add parsing branches for GCC format to correctly extract compile-time type and value names. |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | no | 2026-08-28 | ||
| 0014-cuttlefish-Use-ParseFromArray-for-string_view-deseri.patch | [PATCH 4/6] cuttlefish: Use ParseFromArray for string_view deserialization proto.ParseFromString expects a std::string in standard protobuf. Use ParseFromArray(data.data(), data.size()) to parse directly from std::string_view without implicit allocation or string conversion. |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | no | 2026-08-28 | ||
| 0015-cuttlefish-Add-Pretty-formatting-overloads-for-proto.patch | [PATCH 5/6] cuttlefish: Add Pretty formatting overloads for protobuf config messages Provide inline Pretty() overloads in namespace cuttlefish::config for Audio and GuestConfigFile so that Result error reporting and pretty printing work seamlessly with protobuf config message types. |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | no | 2026-08-28 | ||
| 0016-cuttlefish-Provide-fallback-wrapper-for-symbolic-mac.patch | Provide fallback wrapper for symbolic macros in Bazel < 8 Bazel 8 introduced symbolic macros (macro()). When evaluated under older Bazel versions (such as Bazel 7 in Linux distributions like Debian), the top-level macro identifier is undefined. . Add a fallback Starlark wrapper (_fallback_macro) that emulates macro() when building with Bazel 7. |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | 2026-10-27 | ||
| 0017-cuttlefish-Add-missing-memory-includes-for-std-uniqu.patch | Add missing standard and Abseil headers exposed by tl::expected and Protobuf 3 After migrating cuttlefish/result to tl::expected, standard headers such as <memory>, <stdint.h>, <stddef.h>, and <optional> are no longer transitively included via result_type.h under GCC/libstdc++. Additionally, include absl/strings/str_cat.h and absl/strings/strip.h in start/main.cc since Protobuf 3 generated headers do not transitively include Abseil string headers. |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | no | 2026-10-27 | ||
| 0018-cuttlefish-Support-Protobuf-3-ErrorCollector-in-grap.patch | Support Protobuf 3 ErrorCollector API in graphics_flags.cc In Protobuf < 4.22 (such as 3.21.12 in Debian), google::protobuf::io::ErrorCollector uses pure virtual AddError/AddWarning methods taking const std::string& rather than RecordError/RecordWarning taking std::string_view. Guard the method signatures with GOOGLE_PROTOBUF_VERSION so both Protobuf 3 and newer Protobuf releases work. |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | no | 2026-10-27 | ||
| 0021-backport-rules-to-bazel-7.patch | Backport rules.bzl to legacy Starlark functions for Bazel 7 Bazel 8 introduced symbolic macros (macro(...)) and non-configurable macro attributes. To allow building android-cuttlefish on Debian systems with Bazel 7, remove Bazel 8 configurable parameters and remove linter dependencies (aspect_rules_lint, buildifier, clang_tidy, dwyu, shellcheck) which are not needed for offline Debian package builds. |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | 2026-10-27 | ||
| 0022-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 | ||
| 0024-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 | ||
| 0025-remove-unused-build-external-modules.patch | Remove include statements for unused external and Rust MODULE.bazel files Remove unused build_external MODULE.bazel include statements for external libraries that are supplied via debian/mock_repos/ using Debian system packages, as well as unused Rust crate_universe/rust_host_tools MODULE.bazel includes. |
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | not-needed | 2026-10-27 |
All known versions for source package 'android-cuttlefish'
- 1.57.0+dfsg.1-1 (sid)
- 1.55.4+dfsg.1-1 (forky)
- 1.55.4+dfsg.1-0~exp3 (experimental)
