Skip to content

[QUESTION] what is your suggested source for a qemu-user-static version that works with UBI9 ppc64le #85

Open
@jmontleon

Description

@jmontleon

Question

In the Manifest Push example qemu-user-static is installed using apt, and it appears quite old.
https://github.com/redhat-actions/push-to-registry/blob/main/.github/workflows/manifest-build-push.yaml#L39

WIth ppc64le it errors, at least with a UBI 9 container.

Fatal glibc error: CPU lacks float128 support (POWER 9 or later required)
error building at STEP "RUN make docker": error while running runtime: exit status 127
time="2023-02-01T18:30:27Z" level=error msg="exit status 127"

This looks to be an old issue with qemu.
https://lists.gnu.org/archive/html/qemu-devel/2021-06/msg03526.html

I ended up using the docker setup-qemu-action action to install a newer qemu-user-static and it works fine. My questions is whether you have an alternate solution for getting a newer qemu-user-static and whether it's worth updating the example in either case.

The only other thing that caught me off guard was using ./ for the push step.
https://github.com/redhat-actions/push-to-registry/blob/main/.github/workflows/manifest-build-push.yaml#L64

Aside from those it wored great, than you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions