Fix cp-base-new build: add explicit gzip dependency in ubi9#1493
Merged
Prince Raheja (rahejaprince) merged 1 commit into8.0.xfrom Apr 8, 2026
Merged
Fix cp-base-new build: add explicit gzip dependency in ubi9#1493Prince Raheja (rahejaprince) merged 1 commit into8.0.xfrom
Prince Raheja (rahejaprince) merged 1 commit into8.0.xfrom
Conversation
The Python 3.14 from-source build step uses `tar -xzf` to extract the Python tarball, which requires gzip. Previously gzip was available as a transitive dependency of packages like python3 and curl, but those were removed from the explicit install list in recent cleanup commits. When `yum remove -y python3-pip` runs before the tar extraction, gzip gets auto-removed as an orphaned dependency, causing the build to fail with "gzip: Cannot exec: No such file or directory".
Krish Vora (KrishVora01)
approved these changes
Apr 8, 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
gzipto the explicit yum install list inbase/Dockerfile.ubi9for the Python 3.14 from-source build steptar -xzfcommand on line 109 requiresgzip, which was previously available as a transitive dependency ofpython3andcurl— both removed in recent cleanup commits (66677d3,f11b454)yum remove -y python3-pipruns before the tar extraction,gzipgets auto-removed as an orphaned dependency, causing the build to fail withgzip: Cannot exec: No such file or directoryFailing job
https://semaphore.ci.confluent.io/jobs/1b4bee14-5f29-45fa-83c3-30eddd2d003e
Test plan
mvn clean package -Pdocker-fabric8passes — all 4 images (cp-base-java, cp-base-new, cp-base-lite, cp-jmxterm) built successfully