[DRE-maint] Bug#981080: ruby2.7: reduce Build-Depends

Helmut Grohne helmut at subdivi.de
Mon Jan 25 17:23:21 GMT 2021


Source: ruby2.7
Version: 2.7.2-3
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

ruby2.7 participates in dependency loops relevant to architecture
bootstrap. Rather than looking into such a difficult problem, I looked
for easily droppable dependencies. chrpath is entirely unused and can be
dropped with no replacement. netbase, openssl, procps and
rubygems-integration are only required for testing. A nocheck build with
all of these turned into Build-Conflicts reproduces the build artifacts
or a regular build. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru ruby2.7-2.7.2/debian/changelog ruby2.7-2.7.2/debian/changelog
--- ruby2.7-2.7.2/debian/changelog	2020-10-30 20:04:41.000000000 +0100
+++ ruby2.7-2.7.2/debian/changelog	2021-01-25 18:19:34.000000000 +0100
@@ -1,3 +1,12 @@
+ruby2.7 (2.7.2-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Drop unused chrpath dependency.
+    + Annotate netbase, openssl, procps and rubygems-integration <!nocheck>.
+
+ -- Helmut Grohne <helmut at subdivi.de>  Mon, 25 Jan 2021 18:19:34 +0100
+
 ruby2.7 (2.7.2-3) unstable; urgency=medium
 
   * d/p/0013-Enable-arm64-optimizations-that-exist-for-power-x86-.patch:
diff --minimal -Nru ruby2.7-2.7.2/debian/control ruby2.7-2.7.2/debian/control
--- ruby2.7-2.7.2/debian/control	2020-10-30 20:04:41.000000000 +0100
+++ ruby2.7-2.7.2/debian/control	2021-01-25 18:19:31.000000000 +0100
@@ -7,7 +7,6 @@
            Lucas Kanashiro <kanashiro at debian.org>,
            Utkarsh Gupta <utkarsh at debian.org>
 Build-Depends: bison,
-               chrpath,
                coreutils (>= 7.5),
                debhelper-compat (= 12),
                file,
@@ -19,11 +18,11 @@
                libreadline6-dev,
                libssl-dev,
                libyaml-dev,
-               netbase,
-               openssl,
-               procps,
+               netbase <!nocheck>,
+               openssl <!nocheck>,
+               procps <!nocheck>,
                ruby:native <cross>,
-               rubygems-integration (>= 1.6),
+               rubygems-integration (>= 1.6) <!nocheck>,
                systemtap-sdt-dev [linux-any],
                tzdata,
                zlib1g-dev


More information about the Pkg-ruby-extras-maintainers mailing list