Skip to content

remove(s390utils): drop s390x-only package from component list#16737

Open
christopherco wants to merge 1 commit intotomls/base/mainfrom
chrco/remove-s390utils
Open

remove(s390utils): drop s390x-only package from component list#16737
christopherco wants to merge 1 commit intotomls/base/mainfrom
chrco/remove-s390utils

Conversation

@christopherco
Copy link
Copy Markdown
Collaborator

@christopherco christopherco commented Apr 18, 2026

s390utils is an IBM Z (s390x) tool suite with no consumers on AZL:

  • Zero runtime dependencies: nothing Requires/Recommends/Suggests it on x86_64 or aarch64
  • Not referenced in any image manifest or comps.xml
  • Not a build dependency of any other component
  • grubby's Requires on s390utils-core is gated by %ifarch s390 s390x

The x86_64/aarch64 builds also produce a broken package: the main package's non-s390x codepath unconditionally Requires s390utils-se-data, but the upstream pvimg/boot Makefile skips installing SE data files when HOST_ARCH != s390x, leaving the se-data subpackage empty and unbuilt. In Fedora this works because the s390x builder produces the noarch se-data RPM which is shared across all arches; AZL has no s390x builders, so the dependency is unsatisfiable.

Fixes: https://dev.azure.com/mariner-org/mariner/_workitems/edit/18871

s390utils is an IBM Z (s390x) tool suite with no consumers on AZL:

- Zero runtime dependencies: nothing Requires/Recommends/Suggests it
  on x86_64 or aarch64
- Not referenced in any image manifest or comps.xml
- Not a build dependency of any other component
- grubby's Requires on s390utils-core is gated by %ifarch s390 s390x

The x86_64/aarch64 builds also produce a broken package: the main
package's non-s390x codepath unconditionally Requires s390utils-se-data,
but the upstream pvimg/boot Makefile skips installing SE data files when
HOST_ARCH != s390x, leaving the se-data subpackage empty and unbuilt.
In Fedora this works because the s390x builder produces the noarch
se-data RPM which is shared across all arches; AZL has no s390x
builders, so the dependency is unsatisfiable.
@christopherco christopherco marked this pull request as ready for review April 18, 2026 23:51
Copilot AI review requested due to automatic review settings April 18, 2026 23:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Drops the s390utils component from the base component set, aligning the build graph with AZL’s supported architectures (no s390x builders) and avoiding an unsatisfiable dependency chain caused by s390utils packaging behavior on non-s390x.

Changes:

  • Remove s390utils from base/comps/components.toml component list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants