Skip to content

Install sdbus-cpp system dependencies in the publish job - #9

Merged
jwinarske merged 1 commit into
mainfrom
fix/publish-workflow-deps
Jul 22, 2026
Merged

Install sdbus-cpp system dependencies in the publish job#9
jwinarske merged 1 commit into
mainfrom
fix/publish-workflow-deps

Conversation

@jwinarske

Copy link
Copy Markdown
Owner

The v0.3.0 and v0.2.0 publish runs both failed. Neither reached the
publish step:

Package 'libsystemd', required by 'virtual:world', not found
Error: Running build hooks failed.
##[error]Process completed with exit code 65.

publish.yml installs no system packages, so dart test fails while the
build hook configures third_party/sdbus-cpp. ci.yml installs
cmake ninja-build clang-19 libsystemd-dev libgtest-dev, which is why CI
passes on the same commit.

This adds the subset the build hook needs: cmake, ninja-build,
pkg-config, libsystemd-dev. The C++ test dependencies are not required
here because the hook builds only the shared library.

Once this is on main, v0.3.0 needs to be recreated so the tagged commit
contains the fixed workflow — a tag push runs the workflow as it exists at
that tag.

Whether publishing then succeeds is still unverified: bluez_native is not
on pub.dev, and automated publishing is configured per package on its pub.dev
admin page, which requires the package to exist. That may require a one-time
manual publish. The dependency failure masked this, so it has never actually
been exercised.

The publish workflow installed nothing, so `dart test` failed while the
build hook configured third_party/sdbus-cpp:

    Package 'libsystemd', required by 'virtual:world', not found
    Error: Running build hooks failed.

The job exited before reaching either the dry run or the publish step.
Install the same dependencies ci.yml uses to drive CMake.

Signed-off-by: Joel Winarske <[email protected]>
@jwinarske
jwinarske merged commit da210f1 into main Jul 22, 2026
6 checks passed
@jwinarske
jwinarske deleted the fix/publish-workflow-deps branch July 22, 2026 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant