Skip to content

fix(ci): install libdbus-1-dev in the release Bump Version job#6309

Merged
houko merged 2 commits into
mainfrom
fix/release-bump-libdbus-dep
Jun 24, 2026
Merged

fix(ci): install libdbus-1-dev in the release Bump Version job#6309
houko merged 2 commits into
mainfrom
fix/release-bump-libdbus-dep

Conversation

@houko

@houko houko commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Problem

Dispatching a beta release (release.yml, channel=beta) failed at the Bump Version job before it could open the version PR:

error: failed to run custom build command for `libdbus-sys v0.2.7`
  The system library `dbus-1` required by crate `libdbus-sys` was not found.
Error: cargo xtask codegen --openapi failed

cargo xtask release (for channel != current) runs cargo xtask codegen --openapi, which compiles the workspace to regenerate openapi.json. That transitively pulls in libdbus-sys (keyring secret-service / notify-rust on glibc Linux), whose build.rs panics when dbus-1 is absent.

Every other Linux job in release.yml (the CLI matrix at ~L590, ~L719, the desktop job at ~L1526) already installs libdbus-1-dev for exactly this reason — the Bump Version job is the only one that didn't, so any beta/stable/rc/lts dispatch died at the bump step.

Fix

Add the same Install build deps step (pkg-config libssl-dev libdbus-1-dev) to the Bump Version job, before Run xtask release. One-line parity with the other release jobs.

Verification

Can't run the release workflow from a branch (it only triggers on workflow_dispatch against main / tag push). After merge I'll re-dispatch channel=beta and confirm the bump step gets past codegen and opens the version PR. This unblocks #6289 (verifying the #6279 cross-compile fix restored the aarch64-unknown-linux-musl / aarch64-linux-android tarballs), which was the reason for cutting a fresh beta.

cargo xtask release (channel != current) compiles the workspace via
cargo xtask codegen --openapi to regenerate openapi.json, which pulls in
libdbus-sys transitively and panicked with 'system library dbus-1 not found'.
Every other Linux release job installs libdbus-1-dev; the Bump Version job did
not, so dispatching channel=beta failed at the bump step before opening the
version PR. Install the dep to match the other jobs.
@github-actions github-actions Bot added size/S 10-49 lines changed no-rust-required This task does not require Rust knowledge area/docs Documentation and guides area/ci CI/CD and build tooling labels Jun 24, 2026
@houko
houko enabled auto-merge (squash) June 24, 2026 06:37
@github-actions github-actions Bot added size/XS < 10 lines changed and removed size/S 10-49 lines changed labels Jun 24, 2026
@houko
houko merged commit 19a3d5d into main Jun 24, 2026
31 checks passed
@houko
houko deleted the fix/release-bump-libdbus-dep branch June 24, 2026 06:47
This was referenced Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci CI/CD and build tooling area/docs Documentation and guides no-rust-required This task does not require Rust knowledge size/XS < 10 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants