Skip to content

fix(release): handle missing dnf in aarch64 manylinux container #52

Description

@polaz

Problem

Build embedded / aarch64 (ubuntu-latest) fails in Release v1.0.1:

/home/runner/work/_temp/run-maturin-action.sh: line 21: dnf: command not found
The process '/usr/bin/docker' failed with exit code 127

The aarch64 manylinux_2_28 container does not have dnf in PATH. The before-script falls through with exit code 127 (bash "command not found"), which docker propagates.

Fix

Make before-script fall through dnfyumapt-get so protoc installs regardless of which package manager is available.

Acceptance criteria

  • Build embedded / aarch64 (ubuntu-latest) passes in Release workflow

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions