Drop ppc64le support from all ruby packages#65
Open
aramprice wants to merge 1 commit into
Open
Conversation
Member
Author
|
Fixes #65 |
Remove the ppc64le architecture workaround that copied GNU autoconf config.guess and config.sub into yaml/ruby build tool directories. These files were needed because older autoconf couldn't identify the ppc64le (POWER little-endian) platform, but ppc64le is no longer a supported target for this release. Changes: - Remove `if ppc64le` blocks from ruby-3.3, ruby-3.4, ruby-4.0 packaging scripts - Remove config/config.guess and config/config.sub blob references from all spec files - Delete src/config/config.guess and src/config/config.sub - Update CI templates (packaging.erb, spec.erb) consistently
272cb97 to
4c419fc
Compare
There was a problem hiding this comment.
Pull request overview
This PR removes the legacy ppc64le workaround from the Ruby packaging flow now that ppc64le is no longer a supported target for this release (targeting ubuntu-noble on x86_64 / aarch64).
Changes:
- Removes
ppc64le-specificconfig.guess/config.subcopy logic from Ruby + libyaml build steps (and from the CI templates that generate these scripts). - Drops
config/config.guessandconfig/config.subentries from all Ruby package specs. - Deletes the vendored GNU
config.guessandconfig.subfiles undersrc/config/.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/config/config.sub |
Deletes vendored config.sub since ppc64le is no longer supported/needed. |
src/config/config.guess |
Deletes vendored config.guess since ppc64le is no longer supported/needed. |
packages/ruby-4.0/spec |
Removes config/config.{guess,sub} from package file list. |
packages/ruby-4.0/packaging |
Removes ppc64le conditional copy of config.{guess,sub} into ./tool for yaml/ruby builds. |
packages/ruby-3.4/spec |
Removes config/config.{guess,sub} from package file list. |
packages/ruby-3.4/packaging |
Removes ppc64le conditional copy of config.{guess,sub} into ./tool for yaml/ruby builds. |
packages/ruby-3.3/spec |
Removes config/config.{guess,sub} from package file list. |
packages/ruby-3.3/packaging |
Removes ppc64le conditional copy of config.{guess,sub} into ./tool for yaml/ruby builds. |
ci/templates/packages/ruby/spec.erb |
Updates spec template to no longer include config/config.{guess,sub}. |
ci/templates/packages/ruby/packaging.erb |
Updates packaging template to remove ppc64le workaround copy logic. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
KauzClay
approved these changes
Jul 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/config/config.guessandsrc/config/config.sub(GNU autoconf platform detection helpers that are no longer needed)Background
The
config.guess/config.subfiles were copied into the yaml/ruby buildtool/directories on ppc64le because older versions of autoconf bundled with the build tools couldn't identify theppc64leplatform. These files contained an up-to-date copy of GNU config that recognized ppc64le.Since ppc64le is no longer a supported target for bosh-package-ruby-release (we target
ubuntu-nobleonx86_64/aarch64), this workaround can be cleanly removed.Files changed
packages/ruby-{3.3,3.4,4.0}/packagingif ppc64leblocks (×2 per file — yaml build and ruby build)packages/ruby-{3.3,3.4,4.0}/specconfig/config.guessandconfig/config.subfile entriesci/templates/packages/ruby/packaging.erbci/templates/packages/ruby/spec.erbsrc/config/config.guesssrc/config/config.sub