Skip to content

centos-stream-10: Fix arm64 and s390x builds#4

Merged
lyarwood merged 2 commits into
kubevirt:release-1.8-aie-nvfrom
lyarwood:centos-stream-10-fix-arm64-s390x-builds
Feb 27, 2026
Merged

centos-stream-10: Fix arm64 and s390x builds#4
lyarwood merged 2 commits into
kubevirt:release-1.8-aie-nvfrom
lyarwood:centos-stream-10-fix-arm64-s390x-builds

Conversation

@lyarwood

Copy link
Copy Markdown
Member

What this PR does

Early cherry-pick of kubevirt/kubevirt#16938 that now needs to land on main and be backported to release-1.8 in order to unblock kubevirt/project-infra#4738.

References

Why we need it and why it was done in this way

The following tradeoffs were made:

The following alternatives were considered:

Links to places where the discussion took place:

Special notes for your reviewer

Checklist

This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

Release note

NONE

In CentOS Stream 10, libssh gained a dependency on libfido2 which in
turn depends on libcbor and libudev (systemd-libs). The bazeldnf ldd
command was not discovering these transitive dependencies because
libfido2 was not in the input libs list. Add it to all three CS10 ldd
targets and regenerate RPM dependencies so the tar2files targets
include libcbor.so and libudev.so, fixing cross-compilation link
failures for aarch64 and s390x.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
The sandbox_config function hardcoded the platform to x86_64, causing
toolchain resolution failures when building on non-x86_64 hosts (e.g.
aarch64). Use the HOST_ARCHITECTURE variable already set by the script
to select the correct platform.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
@kubevirt-bot kubevirt-bot added release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. size/XXL labels Feb 27, 2026
@kubevirt-bot kubevirt-bot requested a review from enp0s3 February 27, 2026 09:32
@kubevirt-bot kubevirt-bot added the sig/buildsystem Denotes an issue or PR that relates to changes in the build system. label Feb 27, 2026

@jean-edouard jean-edouard left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@kubevirt-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jean-edouard, lyarwood

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 27, 2026
@lyarwood lyarwood changed the title Centos stream 10 fix arm64 s390x builds centos-stream-10: Fix arm64 and s390x builds Feb 27, 2026
@fossedihelm

Copy link
Copy Markdown
Contributor

/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Feb 27, 2026
@lyarwood

Copy link
Copy Markdown
Member Author

/override check-vep

@kubevirt-bot

Copy link
Copy Markdown
Contributor

@lyarwood: /override requires failed status contexts, check run or a prowjob name to operate on.
The following unknown contexts/checkruns were given:

  • check-vep

Only the following failed contexts/checkruns were expected:

  • pull-kubevirt-aie-build-1.8-aie-nv
  • pull-kubevirt-aie-build-arm64-1.8-aie-nv
  • pull-kubevirt-aie-code-lint-1.8-aie-nv
  • pull-kubevirt-aie-kind-1.35-sig-compute-arm64-1.8-aie-nv
  • pull-kubevirt-aie-unit-test-1.8-aie-nv
  • pull-kubevirt-aie-unit-test-arm64-1.8-aie-nv
  • tide

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

Details

In response to this:

/override check-vep

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@lyarwood lyarwood merged commit 459ff2c into kubevirt:release-1.8-aie-nv Feb 27, 2026
7 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. sig/buildsystem Denotes an issue or PR that relates to changes in the build system. size/XXL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants