Skip to content

Fix cp-base-new build: add explicit gzip dependency in ubi9#1493

Merged
Prince Raheja (rahejaprince) merged 1 commit into8.0.xfrom
fix/add-gzip-dependency-ubi9
Apr 8, 2026
Merged

Fix cp-base-new build: add explicit gzip dependency in ubi9#1493
Prince Raheja (rahejaprince) merged 1 commit into8.0.xfrom
fix/add-gzip-dependency-ubi9

Conversation

@rahejaprince
Copy link
Copy Markdown
Member

Summary

  • Adds gzip to the explicit yum install list in base/Dockerfile.ubi9 for the Python 3.14 from-source build step
  • The tar -xzf command on line 109 requires gzip, which was previously available as a transitive dependency of python3 and curl — both removed in recent cleanup commits (66677d3, f11b454)
  • 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

Failing job

https://semaphore.ci.confluent.io/jobs/1b4bee14-5f29-45fa-83c3-30eddd2d003e

Test plan

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".
@rahejaprince Prince Raheja (rahejaprince) requested a review from a team as a code owner April 8, 2026 08:59
@rahejaprince Prince Raheja (rahejaprince) merged commit 67719f9 into 8.0.x Apr 8, 2026
2 checks passed
@rahejaprince Prince Raheja (rahejaprince) deleted the fix/add-gzip-dependency-ubi9 branch April 8, 2026 09:49
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