From 66360552a83fd1c54017597a67d31806ed2b4fb4 Mon Sep 17 00:00:00 2001 From: default <216188+jdx@users.noreply.github.com> Date: Thu, 4 Jun 2026 16:17:32 +0000 Subject: [PATCH] ci: install bzip2 from bottle during packaging --- cmd/jdx-package.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/jdx-package.rb b/cmd/jdx-package.rb index 3f0531f..6a4b14a 100755 --- a/cmd/jdx-package.rb +++ b/cmd/jdx-package.rb @@ -45,8 +45,9 @@ def run name_flags << "--HEAD" unless name.include?("@") begin - # Install build deps (but not static-linked deps) from bottles, to save compilation time - bottled_dep_allowlist = /\A(?:glibc@|linux-headers@|ruby@|rustup|autoconf|pkgconf|bison)/ + # Install build deps (but not static-linked deps) from bottles, to save compilation time. + # Avoid source-building Linux helper formulae that do not affect portable Ruby linkage. + bottled_dep_allowlist = /\A(?:glibc@|linux-headers@|ruby@|python@|rustup|autoconf|pkgconf|bison|bzip2|unzip)/ deps = Dependency.expand(Formula[name], cache_key: "jdx-package-#{name}") do |_dependent, dep| next Dependable::PRUNE if dep.test? || dep.optional? next Dependable::PRUNE if dep.name == "rustup" && args.without_yjit?