[From nobody Sun Nov 29 00:09:47 2026
Received: (at submit) by bugs.debian.org; 13 Apr 2025 13:27:04 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 required=4.0 tests=BAYES_00,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE
 autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 15; hammy, 150; neutral, 83; spammy,
 0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--grohne,
 0.000-+--Grohne, 0.000-+--H*F:U*helmut, 0.000-+--H*F:D*subdivi.de
Return-path: &lt;helmut@subdivi.de&gt;
Received: from isilmar-4.linta.de ([136.243.71.142]:57286)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;helmut@subdivi.de&gt;) id 1u3xMV-002kKD-SK
 for submit@bugs.debian.org; Sun, 13 Apr 2025 13:27:04 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=subdivi.de;
 s=k15.isilmar-4; t=1744550821;
 bh=7n8NheqKNHcYYRw0PFxiyDdGasyBZVF/tUy25GfcAxo=;
 h=Date:From:To:Subject:From;
 b=GVl0t0HF9WKs/l5pRVDtgYL7dhT/Y97V+t7iY5jT5QFMDJjVdQ4Wasf7UIY5Gi59W
 NCttcxI7pH8RYjk1nCFc3HCXOeTqwqihwRBuPcH756mswdM4uJgfBAiIKwUivHZcD/
 vlYjvqPKT7LurPW/YYgkFcD8TdOUqEWcwGugShlK0B7450WTxLft890mpun3zdXWIj
 XylskNf8stMv+w8i3m8RtaRFrcywaoZ3jKV55Lep0FQ+eLaakapUa55PsXKpO6dEY+
 LbO1RJCepr0f9OSB2lIBBR878ZMh5UqmisGqA4ow+JJvlKVeJ1Hbc+DdjAfrpmgdMH
 NqKH7I3Yf8Jrw==
Received: from isilmar-4.linta.de (isilmar.linta [10.0.0.1])
 by isilmar-4.linta.de (Postfix) with ESMTP id 3527B2003B1
 for &lt;submit@bugs.debian.org&gt;; Sun, 13 Apr 2025 13:27:01 +0000 (UTC)
Date: Sun, 13 Apr 2025 15:07:25 +0200
From: Helmut Grohne &lt;helmut@subdivi.de&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: ruby3.3: depend on libcrypt-dev explicitly
Message-ID: &lt;20250413130725.GA2739677@subdivi.de&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=&quot;fXuTwV4aOnB0QBgG&quot;
Content-Disposition: inline
X-Reportbug-Version: 12.0.0
Delivered-To: submit@bugs.debian.org


--fXuTwV4aOnB0QBgG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: ruby3.3
Version: 3.3.8-1
Tags: patch
User: helmutg@debian.org
Usertags: libcrypt-pkgconf

ruby3.3 uses libxcrypt during build, but it also exposes this header to 
its downstreams by including -lcrypt in its pkgconf .pc.  There is an 
effort[1] to drop libcrypt-dev from the build-essential package set. 
This will not happen during the trixie freeze, but some months into the 
forky cycle. Once dropped, ruby3.3 and reverse dependencies of 
ruby3.3-dev will fail to build from source.  While looking into it, I 
noticed that the .pc file also contains -lz without a matching 
dependency. I'm attaching a patch to make these dependencies explicit. 
It is safe for inclusion into trixie, but it does not warrant an upload 
of its own at this time of the freeze.

Helmut

--fXuTwV4aOnB0QBgG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=&quot;ruby3.3_3.3.8-1.1.debdiff&quot;

diff -Nru ruby3.3-3.3.8/debian/changelog ruby3.3-3.3.8/debian/changelog
--- ruby3.3-3.3.8/debian/changelog	2025-04-10 20:59:06.000000000 +0200
+++ ruby3.3-3.3.8/debian/changelog	2025-04-13 15:05:27.000000000 +0200
@@ -1,3 +1,10 @@
+ruby3.3 (3.3.8-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Explicitly depend on libcrypt-dev. (Closes: #-1)
+
+ -- Helmut Grohne &lt;helmut@subdivi.de&gt;  Sun, 13 Apr 2025 15:05:27 +0200
+
 ruby3.3 (3.3.8-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru ruby3.3-3.3.8/debian/control ruby3.3-3.3.8/debian/control
--- ruby3.3-3.3.8/debian/control	2025-04-10 20:59:06.000000000 +0200
+++ ruby3.3-3.3.8/debian/control	2025-04-13 15:05:25.000000000 +0200
@@ -9,6 +9,7 @@
                coreutils (&gt;= 7.5),
                debhelper-compat (= 13),
                file,
+               libcrypt-dev,
                libffi-dev,
                libgdbm-compat-dev,
                libgdbm-dev,
@@ -78,8 +79,10 @@
 Package: ruby3.3-dev
 Multi-Arch: same
 Architecture: any
-Depends: libgmp-dev,
+Depends: libcrypt-dev,
+         libgmp-dev,
          libruby3.3 (= ${binary:Version}),
+         zlib1g-dev,
          ${misc:Depends},
          ${shlibs:Depends}
 Recommends: ruby3.3-doc

--fXuTwV4aOnB0QBgG--
]