GNU logs - #56322, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: Ruby packaging issues
Resent-From: Maxime Devos <maximedevos@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 30 Jun 2022 11:16:01 +0000
Resent-Message-ID: <handler.56322.B.165658772920032 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 56322 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.165658772920032
          (code B ref -1); Thu, 30 Jun 2022 11:16:01 +0000
Received: (at submit) by debbugs.gnu.org; 30 Jun 2022 11:15:29 +0000
Received: from localhost ([127.0.0.1]:33069 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o6s8v-0005D2-Ds
	for submit <at> debbugs.gnu.org; Thu, 30 Jun 2022 07:15:29 -0400
Received: from lists.gnu.org ([209.51.188.17]:43666)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1o6s8q-0005Cr-BT
 for submit <at> debbugs.gnu.org; Thu, 30 Jun 2022 07:15:27 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58670)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>)
 id 1o6s8p-0002T5-U4
 for bug-guix@HIDDEN; Thu, 30 Jun 2022 07:15:24 -0400
Received: from andre.telenet-ops.be ([2a02:1800:120:4::f00:15]:35004)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>)
 id 1o6s8n-0008Ss-TS
 for bug-guix@HIDDEN; Thu, 30 Jun 2022 07:15:23 -0400
Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a])
 by andre.telenet-ops.be with bizsmtp
 id pPFH2700M4UW6Th01PFJeJ; Thu, 30 Jun 2022 13:15:18 +0200
Message-ID: <e0e7e2a1e4c687a426d208e0f745b83eb3b12235.camel@HIDDEN>
From: Maxime Devos <maximedevos@HIDDEN>
Date: Thu, 30 Jun 2022 13:15:13 +0200
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-CnUiwc5LmHDobeCqVhff"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1656587718; bh=jvk3Vp89yKhkTWc2hi9KVv7YO3x3pnIpqg8x51ZXB04=;
 h=Subject:From:To:Date;
 b=iNoAYRPP8vf2hRqJbpFMcxwFkMKn/eH2uQOlT7OKqrbfj6MPm7Y+s4vQagJZRlRiU
 Q/XzOsOkgi5+rrbxFNFpF8xIdeLAUcuZugKN4Ki1hL6MwdLLHKdliP1rMMquE1kM83
 /PwhVnYBiVx5lWqQG5fHct46qJHuGxXo3Asha/jvMpcHKH8ZfT+CdJPPMDpar84V/Z
 whQfHlrXHbmyNp+/7dBHyoA92iP1xOaj/p+/ZTYn1s6j2A5TOIEDc7/4PJZ3O5DCnQ
 IrWl9nNLU80zfRaNYALj67rW9L9XYE++FudNsMKLxYpDi8gXxq3WUeXo7GZu7QU7O1
 ac4z5tuSywNyw==
Received-SPF: pass client-ip=2a02:1800:120:4::f00:15;
 envelope-from=maximedevos@HIDDEN; helo=andre.telenet-ops.be
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.2 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


--=-CnUiwc5LmHDobeCqVhff
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I noticed that:

  * Ruby has Autotools ./configure scripts that aren't regenerated.
  * Ruby bundles zlib.
  * Ruby contains some things generated by bison or such.

Greetings,
Maxime.

--=-CnUiwc5LmHDobeCqVhff
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYr2FwRccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7hzYAQDzU49ZM6dl+ya93Xm5BAcFBkey
ycROg3XvApCIQP7UGQD7B6721P0SD84o9ci33Oxau+iWLzq4AIFqkWReFkXE2AM=
=UFf0
-----END PGP SIGNATURE-----

--=-CnUiwc5LmHDobeCqVhff--





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Maxime Devos <maximedevos@HIDDEN>
Subject: bug#56322: Acknowledgement (Ruby packaging issues)
Message-ID: <handler.56322.B.165658772920032.ack <at> debbugs.gnu.org>
References: <e0e7e2a1e4c687a426d208e0f745b83eb3b12235.camel@HIDDEN>
X-Gnu-PR-Message: ack 56322
X-Gnu-PR-Package: guix
Reply-To: 56322 <at> debbugs.gnu.org
Date: Thu, 30 Jun 2022 11:16:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 56322 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
56322: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D56322
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: Ruby packaging issues
References: <e0e7e2a1e4c687a426d208e0f745b83eb3b12235.camel@HIDDEN>
In-Reply-To: <e0e7e2a1e4c687a426d208e0f745b83eb3b12235.camel@HIDDEN>
Resent-From: Remco van 't Veer <remco@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 24 Aug 2022 15:26:01 +0000
Resent-Message-ID: <handler.56322.B56322.1661354705929 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 56322 <at> debbugs.gnu.org, Maxime Devos <maximedevos@HIDDEN>
Received: via spool by 56322-submit <at> debbugs.gnu.org id=B56322.1661354705929
          (code B ref 56322); Wed, 24 Aug 2022 15:26:01 +0000
Received: (at 56322) by debbugs.gnu.org; 24 Aug 2022 15:25:05 +0000
Received: from localhost ([127.0.0.1]:47694 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oQsFc-0000Ev-Pu
	for submit <at> debbugs.gnu.org; Wed, 24 Aug 2022 11:25:05 -0400
Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:35303)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <remco@HIDDEN>) id 1oQsFT-0000EE-IR
 for 56322 <at> debbugs.gnu.org; Wed, 24 Aug 2022 11:25:03 -0400
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailout.west.internal (Postfix) with ESMTP id 7C36A32009DD;
 Wed, 24 Aug 2022 11:24:49 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Wed, 24 Aug 2022 11:24:49 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h=
 cc:content-type:date:date:from:from:in-reply-to:message-id
 :mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t=
 1661354689; x=1661441089; bh=zYTzBuQZK8Gkb2cCT4jrH22r7EqtG9tugH8
 6U0Q2K0A=; b=B9VPPWZ9nNyOJTSFFdmi3BQJ8qIuSVDlqWVj0FJh6zy68h2l7MC
 oBLK3vJ+BMWEwU38Yj6k9HY8TP5QY417rKFfO0xUQxFCmwjjZ+eMrYjEwnmWNLGx
 27viR++kA9vT+DCvu+fksyNVP2f+R4Vz8BLgKtuYkJunZ4SR6LO4WUr/T/UwdTxt
 Z8lvTstwETayqud8BrfsL4mcYw3G6S0rvNL43HbUdMjv7vBIccAKjcUmsOXykMj8
 W3zTzpjmCL632MxndekGDBS2RrkQMO3LghtxGC8caa3qG60eZkE7GiH/QoattsAl
 5TXL8JPx4MvyMqtFZxBc4/+QZeFqkA9EBnA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:date:feedback-id
 :feedback-id:from:from:in-reply-to:message-id:mime-version
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1661354689; x=
 1661441089; bh=zYTzBuQZK8Gkb2cCT4jrH22r7EqtG9tugH86U0Q2K0A=; b=r
 LC4Pemyy/Z6lYEWs3tkrdrVjzrDvSgzkPa4jmv+zz125zKyEFZBJVJ9eLGFMq2WN
 EYxtvPyhOucNfyYVWzEl0uGR/KUf9StmMtjWeRMN1LDn5cOY2hOhwRAOwdvC7lO3
 p5c/t+Fl/QDXS8VHk+tM80Wd/+eR96AkiyeLfMR0SIc4b6jBLAI5BoumDVb1od3d
 6bt3T9vs4t4pqCZ+AJTMN2iDKvaDvSK5xH+1ghkMQPL9MaziJYmzQJyRnZaZwjWk
 yO7rFOuxeImaqLL3O7FrMwYYl0dHagWlWBjfVZTHAHaY/KypHYRffK80MRat/vvR
 33PdTBRvtIPwZlQl45P4w==
X-ME-Sender: <xms:wEIGY5A48IRk8Qcoaqh51IUbYHXlW4a0_IaobjysqqbqxX7stkAaRw>
 <xme:wEIGY3iRz7nhMpzsc3WXqr4RdSNr_SD6KXxYn7dUktDlRi_w_iYT5XaDyms7520eL
 SGot-ehKo6W8NUjEA>
X-ME-Received: <xmr:wEIGY0kYE7yvfZhdVYEFyLG-Pm-LUKWPga7znTouKD-tHe25rMdXgbVUJUM-ub-3ds11aUcMdyWYCTN9zcFGOY6DmCGpfHzjOO1JZablmyI>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejuddgledtucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhepfgfhvffufffkgggtsehttdertddtredtnecuhfhrohhmpeftvghmtghouchv
 rghnucdkthcugggvvghruceorhgvmhgtohesrhgvmhifohhrkhhsrdhnvghtqeenucggtf
 frrghtthgvrhhnpeekheeukeeglefguedufefgfeektdfgjeeuudevleekvefguedtkeel
 tdetheejleenucffohhmrghinhepghhithhhuhgsrdgtohhmpdgtohhmmhhonhdrmhhkne
 cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhgvmhgt
 ohesrhgvmhifohhrkhhsrdhnvght
X-ME-Proxy: <xmx:wEIGYzxZIjIT1kwoD10p7DKr2KU3yYBG19H5lVdutKYPIOVKBxfjfA>
 <xmx:wEIGY-SqX7yoywXSUMkt6_-fTFH1spsvnH3oZIFFvvzO6Au7mOa_Ng>
 <xmx:wEIGY2Y3W-vws3Pz0n788z-LtQy3dssvRw8HwI2zVPWOYajtwbYfvA>
 <xmx:wEIGY36VZRwPQx4tnQK-3SJdysABwwelt01qzx4KFW95_XBWaREXDA>
Feedback-ID: i568842cc:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 24 Aug 2022 11:24:48 -0400 (EDT)
User-agent: mu4e 1.8.9; emacs 28.1
From: Remco van 't Veer <remco@HIDDEN>
Date: Wed, 24 Aug 2022 17:24:46 +0200
Message-ID: <87o7w9ll4x.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Maxime Devos wrote on 30 Jun 13:15 +0200

> I noticed that:
>
>   * Ruby has Autotools ./configure scripts that aren't regenerated.

I'll make a patch for that.  I also noticed unbundling of libffi is not
applied to all versions, will fix that too.

>   * Ruby bundles zlib.

Can you point out where it is in the source tree?  Looking at the
sources I can only find a (very beefy) wrapper around zlib which seems
to implement all kinds of zlib stuff but also depends on the zlib
library.  I dunno how to determine if this is bundling or not.

  https://github.com/ruby/ruby/blob/master/ext/zlib/zlib.c

>   * Ruby contains some things generated by bison or such.

It seems the generated parse.c file (from parse.y) is included in the
tarballs as a service to workaround a bootstrap problem; generating the
parser requires ruby.  See also:

  https://github.com/ruby/ruby/blob/master/common.mk#L910

I don't know how to deal with this properly.  The only thing I can think
of is compiling in two phases: first with the supplied parse.c and after
without.  Or try it with mruby as a native-input but that seems to
require ruby to compile too.  What's to gain by this?

Cheers,
Remco




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: [PATCH 0/2] Ruby packaging issues
References: <e0e7e2a1e4c687a426d208e0f745b83eb3b12235.camel@HIDDEN>
In-Reply-To: <e0e7e2a1e4c687a426d208e0f745b83eb3b12235.camel@HIDDEN>
Resent-From: Remco van 't Veer <remco@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 24 Aug 2022 15:29:01 +0000
Resent-Message-ID: <handler.56322.B56322.16613548921213 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 56322 <at> debbugs.gnu.org, Maxime Devos <maximedevos@HIDDEN>
Cc: Remco van 't Veer <remco@HIDDEN>
Received: via spool by 56322-submit <at> debbugs.gnu.org id=B56322.16613548921213
          (code B ref 56322); Wed, 24 Aug 2022 15:29:01 +0000
Received: (at 56322) by debbugs.gnu.org; 24 Aug 2022 15:28:12 +0000
Received: from localhost ([127.0.0.1]:47700 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oQsIe-0000JV-DM
	for submit <at> debbugs.gnu.org; Wed, 24 Aug 2022 11:28:12 -0400
Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:58431)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rwv@HIDDEN>) id 1oQsIc-0000JF-Ht
 for 56322 <at> debbugs.gnu.org; Wed, 24 Aug 2022 11:28:10 -0400
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.west.internal (Postfix) with ESMTP id CCC593200994;
 Wed, 24 Aug 2022 11:28:04 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute4.internal (MEProxy); Wed, 24 Aug 2022 11:28:05 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h=
 cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to
 :message-id:mime-version:reply-to:sender:subject:subject:to:to;
 s=fm3; t=1661354883; x=1661441283; bh=0/CtLBggA041LKYXoDPF0IWpJ
 R/Mx0pge/4E2cv4zUU=; b=J1fzpdtfro6ktZAsCWoc3JV4eHbupBW0Uy+w41H9r
 0sjGePlrCvY6PmZjoUM25zJ/3A1AmR6/KQ8vBbbj9XI8AG8N5FH51mXkyPvEs83c
 ycvRzImu50tv4+oX8vVuJzL9ALmEFO61YPBHCFQR6Wh0iw8799ATGGAnbC6e9O8F
 bbtkK4Ne/ccvwMU+P/0IblUyCJrseNCUl4Z3WYoiqgidBwDNXm3TiAjO4nG2nTUT
 8uctFMCVVJJPisRUELdwyBkuJROL/UbjY/ODX32qyjMM0DguPBlbvPbOz9VQiJCj
 +9G9/aZtCktVwFgQaw/me0bvi26BZA1NaoI9rnJsbibSQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:message-id
 :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=
 1661354883; x=1661441283; bh=0/CtLBggA041LKYXoDPF0IWpJR/Mx0pge/4
 E2cv4zUU=; b=yw8m/hBfq3g15aqC5tud25zAQySIyCquYVmfh2QDP9ydto2JrE/
 39FbjwA3uBI+ycKx80LbnMDHUL6CKjeTmN2k3+rHwYvGqYUJZWM3mPXLCouCmN5V
 g4ec3gd+GLZg/lhpFEgUnZv1c/bL0tAEK4Y+32BCx6sjirp0r1Au5ddDwd4y/27Y
 VjhJ65zzwX1hz8SCYtMd6YqORJKiJLgWX3hVfdtv6URXZ6qRvHup/FrUZrGBUTtm
 4JwHghiupze/FAKyibJ2xlW2Oso/unRLHNe85j+8RQbQyLun1+K7XE/8/rkEgVdM
 LrHXXIZA2JUpNCReSAVRhL+btrQQSPjqcpA==
X-ME-Sender: <xms:g0MGY5OYeRIpLtGHt5_UpJ9CoYXSbLmqkzVgJyEavvDVS7n34BhobQ>
 <xme:g0MGY78kVIZGpy54Cnz-KfPUKYZBN-p5CfqbC3uN0f2xfd7H-jGA-cYTQD8wPJnV2
 2VWsNgBvh4c9hV5pA>
X-ME-Received: <xmr:g0MGY4SXS0QND_BYl0Vox5N0lQEY9aPwap1TT40ml5AfV0HXG3lE_Sr97htkTk3ZgEHKMIqx_Dy4bVqCABWwby6f6iN7jw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejuddgledtucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheptfgvmhgtohcu
 vhgrnhcukdhtucggvggvrhcuoehrvghmtghosehrvghmfihorhhkshdrnhgvtheqnecugg
 ftrfgrthhtvghrnhepgeeugefgtdehffehtdeijeduudfggfdtvdeufeettdeuhfdtffej
 leegfedvteeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh
 homheprhifvhesfhgrshhtmhgrihhlrdgtohhm
X-ME-Proxy: <xmx:g0MGY1uH42jIIU2X5xiH7J2WASE7u_PtH2_jdf04Z5-qZVFkKBr7tQ>
 <xmx:g0MGYxcopALwR9XMekztorKvpr8mlEoEmUV_yG_uy8gWwavGQPCKIA>
 <xmx:g0MGYx1YBAS6kbW3xW2uok9Ei79Lmzs6GJMbW3AZGCCnT8C-oZVfGQ>
 <xmx:g0MGYxED5AYQESleRkMR2QofIyI0EYdQ_Rls5QnfZaL700ooBhfssg>
Feedback-ID: i568842cc:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 24 Aug 2022 11:28:02 -0400 (EDT)
From: Remco van 't Veer <remco@HIDDEN>
Date: Wed, 24 Aug 2022 17:27:45 +0200
Message-Id: <20220824152747.6752-1-remco@HIDDEN>
X-Mailer: git-send-email 2.37.2
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.2 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.2 (-)

Guix style messed up the formatting and thus the diff a bit.  Sorry
about that.

Remco van 't Veer (2):
  gnu: ruby: trigger autotools bootstrap
  gnu: ruby: fix unbundling of libffi for inheriting rubies

 gnu/packages/ruby.scm | 206 ++++++++++++++++++++----------------------
 1 file changed, 98 insertions(+), 108 deletions(-)

-- 
2.37.2





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: [PATCH 2/2] gnu: ruby: fix unbundling of libffi for inheriting rubies
Resent-From: Remco van 't Veer <remco@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 24 Aug 2022 15:29:02 +0000
Resent-Message-ID: <handler.56322.B56322.16613548991238 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 56322 <at> debbugs.gnu.org, Maxime Devos <maximedevos@HIDDEN>
Cc: Remco van 't Veer <remco@HIDDEN>
Received: via spool by 56322-submit <at> debbugs.gnu.org id=B56322.16613548991238
          (code B ref 56322); Wed, 24 Aug 2022 15:29:02 +0000
Received: (at 56322) by debbugs.gnu.org; 24 Aug 2022 15:28:19 +0000
Received: from localhost ([127.0.0.1]:47708 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oQsIk-0000Js-NO
	for submit <at> debbugs.gnu.org; Wed, 24 Aug 2022 11:28:19 -0400
Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:36257)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rwv@HIDDEN>) id 1oQsIi-0000JT-JR
 for 56322 <at> debbugs.gnu.org; Wed, 24 Aug 2022 11:28:17 -0400
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.west.internal (Postfix) with ESMTP id D96E03200A2B;
 Wed, 24 Aug 2022 11:28:10 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute4.internal (MEProxy); Wed, 24 Aug 2022 11:28:11 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h=
 cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:sender
 :subject:subject:to:to; s=fm3; t=1661354890; x=1661441290; bh=ZU
 O+3k4Phj6dGXqb6zTPaFuqPtoyzBpyWGz068QbGyI=; b=VVvAj+MeQrhl9k4FBH
 kjuMNED2y0BzxUBo0czxOHDfE/svpJv4KWy7HUaSU7W1iI70yn8HjoQOQTmTm7pX
 Goa4RlbQQnFkwOA6rYkGruBsRLT8zq0G+jnsZUTtlAthKDMiSsCxpt/hZArXH0hZ
 4LR9SqpFQAP0nbsN+dlo9ZZlsM5ImhO+yJf6EBcd/F0SXaFnc6XROx1/YMhSzamk
 lRzWt4G7qtBMpmGNRkA0wjGRv1tj/HNc1pX3Da323DXdIE4xFH/aCmVfu4WZczfn
 enWLoDxvQlm+QeoRHXmVoZuHPnwGofyg6eK9vkdsXq7EV/qoNo9ZgaqH8xmIhTeO
 PpMg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm1; t=1661354890; x=1661441290; bh=ZUO+3k4Phj6dG
 Xqb6zTPaFuqPtoyzBpyWGz068QbGyI=; b=q3TWPArFhxFk1hSpBeMLQdqmGrqRl
 1llLx8/tg/B+IRNYOiWn95NAFi171udQ1yaMUBTLvFaWjAgLGLFtmOGkgbLyOyOi
 yOCZq5kKC6LxQqrrl3IW2ZEQAdWJUgOQ83olOI8PUgto6Ky/vaAlJj0pvw+7ZrVD
 NEIt9xFz/elmWb2Ifs5O0idA4vc7Z9wmFzMKKeZmGdsQJn10xXyguacYt+UvNd0E
 knP223eQ9PHNpM1irsyWPwmt7p2s/GxjIv2p+4CdF3BiyrJ+iSe2a2/0FbjWNZp6
 XMPh+0N2IVlLckp8/uug1DAboQjrPofjPkKgsmmtHL6H1R5JjvMbua04w==
X-ME-Sender: <xms:ikMGY2UVn6ewyGgNEmi6srFVFKDmN4FeChD1c3MCYQ6jnxGO4QjJyg>
 <xme:ikMGYyn2BuNaiZGw2GBgXBzbe9m_Rm3qFFIjPw5a8leg52xeemSJfabyLKr4eY4t9
 AEpXhXX7QBSI8wPRg>
X-ME-Received: <xmr:ikMGY6b9S15DNN9o2LAxwp8dlcx1gd14QCD6g0AfrW7AAwGj-nUzZ--k6mvrS57hupKt5VQoKLIJVzwgpUb1Uu38cjqm7w>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejuddgledtucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvmhgt
 ohcuvhgrnhcukdhtucggvggvrhcuoehrvghmtghosehrvghmfihorhhkshdrnhgvtheqne
 cuggftrfgrthhtvghrnhepieelgfeghfefveehfeelheegtdevveelffduvddtleevjedt
 veejlefggeehtdefnecuffhomhgrihhnpehruhgshidqlhgrnhhgrdhorhhgnecuvehluh
 hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhifvhesfhgrshht
 mhgrihhlrdgtohhm
X-ME-Proxy: <xmx:ikMGY9WPKXqK4OaYFzTzuxx4Jz8JmyXO8LPVT-cz4ZP-zGU-Ia7fKA>
 <xmx:ikMGYwlgi-Xl1velNbhmGa_dMRPj3HLxu2XL6j_18uZEJpUxnRbLhA>
 <xmx:ikMGYyeW0sv-TE-xXaaXS5pugunyod6HmZ8kS61AZd7MitC7EX0Sgg>
 <xmx:ikMGY8vg0L_khrAUrOeLhlIde-H5o2Rnogx1MMTZuj62lernxqPNZQ>
Feedback-ID: i568842cc:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 24 Aug 2022 11:28:09 -0400 (EDT)
From: Remco van 't Veer <remco@HIDDEN>
Date: Wed, 24 Aug 2022 17:27:47 +0200
Message-Id: <20220824152747.6752-3-remco@HIDDEN>
X-Mailer: git-send-email 2.37.2
In-Reply-To: <20220824152747.6752-1-remco@HIDDEN>
References: <20220824152747.6752-1-remco@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.2 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.2 (-)

* gnu/packages/ruby.scm (ruby-2.4, ruby-2.5, ruby-3.0, ruby-3.1): Inherit package-source to ensure inclusion of unbundling snippet
---
 gnu/packages/ruby.scm | 77 ++++++++++++++++++++-----------------------
 1 file changed, 36 insertions(+), 41 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ad8ef3d390..e98814da6d 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -187,62 +187,57 @@ (define-public ruby-3.0
   (package
     (inherit ruby-2.7)
     (version "3.0.2")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
-                           (version-major+minor version)
-                           "/ruby-" version ".tar.xz"))
-       (sha256
-        (base32
-         "0h2w2ms4gx2s96v3lzdr3add94bd2qqkhdjzaycmaqhg21rpf3jp"))))))
+    (source (origin
+              (inherit (package-source ruby-2.7))
+              (method url-fetch)
+              (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
+                                  (version-major+minor version) "/ruby-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "0h2w2ms4gx2s96v3lzdr3add94bd2qqkhdjzaycmaqhg21rpf3jp"))))))
 
 (define-public ruby-3.1
   (package
     (inherit ruby-2.7)
     (version "3.1.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
-                           (version-major+minor version)
-                           "/ruby-" version ".tar.xz"))
-       (sha256
-        (base32
-         "1akcl7vhmwfm6ybj7493kzy58ykh2r39ri9f4xfm2xmhg1msmvvs"))))))
+    (source (origin
+              (inherit (package-source ruby-2.7))
+              (method url-fetch)
+              (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
+                                  (version-major+minor version) "/ruby-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "1akcl7vhmwfm6ybj7493kzy58ykh2r39ri9f4xfm2xmhg1msmvvs"))))))
 
 (define-public ruby-2.5
   (package
     (inherit ruby-2.6)
     (version "2.5.9")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
-                           (version-major+minor version)
-                           "/ruby-" version ".tar.xz"))
-       (sha256
-        (base32
-         "1w2qncacm7h3f3il1whghdabwnv9fvwmz9f1a9vcg32006ljyzx8"))))))
+    (source (origin
+              (inherit (package-source ruby-2.6))
+              (method url-fetch)
+              (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
+                                  (version-major+minor version) "/ruby-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "1w2qncacm7h3f3il1whghdabwnv9fvwmz9f1a9vcg32006ljyzx8"))))))
 
 (define-public ruby-2.4
   (package
     (inherit ruby-2.6)
     (version "2.4.10")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
-                           (version-major+minor version)
-                           "/ruby-" version ".tar.xz"))
-       (sha256
-        (base32
-         "1prhqlgik1zmw9lakl6hkriqslspw48pvhxff17h7ns42p8qwrnm"))
-       (modules '((guix build utils)))
-       (snippet `(begin
-                   ;; Remove bundled libffi
-                   (delete-file-recursively "ext/fiddle/libffi-3.2.1")
-                   #t))))))
+    (source (origin
+              (inherit (package-source ruby-2.6))
+              (method url-fetch)
+              (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
+                                  (version-major+minor version) "/ruby-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "1prhqlgik1zmw9lakl6hkriqslspw48pvhxff17h7ns42p8qwrnm"))))))
 
 (define-public ruby ruby-2.7)
 
-- 
2.37.2





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: [PATCH 1/2] gnu: ruby: trigger autotools bootstrap
Resent-From: Remco van 't Veer <remco@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 24 Aug 2022 15:29:02 +0000
Resent-Message-ID: <handler.56322.B56322.16613549021247 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 56322 <at> debbugs.gnu.org, Maxime Devos <maximedevos@HIDDEN>
Cc: Remco van 't Veer <remco@HIDDEN>
Received: via spool by 56322-submit <at> debbugs.gnu.org id=B56322.16613549021247
          (code B ref 56322); Wed, 24 Aug 2022 15:29:02 +0000
Received: (at 56322) by debbugs.gnu.org; 24 Aug 2022 15:28:22 +0000
Received: from localhost ([127.0.0.1]:47710 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oQsIl-0000Jv-4d
	for submit <at> debbugs.gnu.org; Wed, 24 Aug 2022 11:28:22 -0400
Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:53927)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rwv@HIDDEN>) id 1oQsIf-0000JK-JS
 for 56322 <at> debbugs.gnu.org; Wed, 24 Aug 2022 11:28:17 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.west.internal (Postfix) with ESMTP id D9B5C320095F;
 Wed, 24 Aug 2022 11:28:07 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute5.internal (MEProxy); Wed, 24 Aug 2022 11:28:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h=
 cc:cc:content-transfer-encoding:content-type:date:date:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to; s=fm3; t=1661354887; x=
 1661441287; bh=AhBpd1rrlHKrUMy2rjthvSKbwxQRb6uq5DWaai0Q4I8=; b=m
 T0nl9v9P/FkYt9t3DwH9bHv2b/CWgYqiIeqN5pBM/Avw1G/3k6lEr6uyxVa3LdfB
 5K1TlUKrPhAs6Pu4yJQDQVHAmVGMQbUFfMm+AkjLweJB/bv3wsBqVYCi3ZsQD2xu
 UnxQulh1AzgtFrAV6bfggnXLoz/7tONG/mw5Z14+54DDwaFDMwI8CO3Rs85XBPpD
 xq4SGfuDjCZiTfk05mcDBpMW9w1eoxDh32MoMauD2vj6TIdvuMQUZ+zXNPpqMMuE
 VWFIKRs8wRf/sN+QqUPt8DCmPeD4L808HDdDM3QyELcgfW8XIKjaQNZ5HRM37enL
 Ejsz4FA+j1nGnCjFrq4dA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:date:date:feedback-id:feedback-id:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1661354887; x=
 1661441287; bh=AhBpd1rrlHKrUMy2rjthvSKbwxQRb6uq5DWaai0Q4I8=; b=L
 NeGOA+qDO9DeYB1PHjxtajQGoQhzhkc0EWcrQHGn8S+rz/7jpS/fxtlcVfBYkkwD
 9qknPwxBrIiqEkfVrHRSG5RA4AvkZo8PapDfxYa03SkuHvxBCTnC9AHu26b0+eyE
 1LUK9eDlKyblEB0OmocwNqpjJBj1dFHRMucm+rcRvTMQelJbxekZxZ/WKLE5rCuI
 yWkm7naogQgCZf7cGfm/yD6/F5ZcN00IHPHd91OPpSXPc92jXMGFeWtvn9eRcAYu
 szx+bVrabO5vch+zW31APPbYAbJZ0tOFbKREFUFilZ8mBfKOssKPdfEQRBSNaLa2
 opgmdD6Rvg0CAmpGgbqzw==
X-ME-Sender: <xms:h0MGYwVZlCcEDYxVrE4CjTojQBcWW9kHRhq4vMvpsq2bnxvIHYQFLw>
 <xme:h0MGY0mBttC46l_KUzi1a-KuzMvGpsXfkwtq6dc9c5gdhKCUUI8w1hTpprKOX7bzU
 Icw4dwQBVclglgnMA>
X-ME-Received: <xmr:h0MGY0b6iEpsMoXUMdlka8HFhoOSsYQI9-2JmGprmaSLOYtFo4wlZiENz4DOW30smhO1dtXu-AMqmxYjSeX53aBRHHSnGQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejuddgleduucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeftvghm
 tghouchvrghnucdkthcugggvvghruceorhgvmhgtohesrhgvmhifohhrkhhsrdhnvghtqe
 enucggtffrrghtthgvrhhnpefggeehkeevgfdtuddvgfduiefhledtjeffgfduffffvedv
 hffhkeehfeejfefggeenucffohhmrghinheprhhusgihqdhlrghnghdrohhrghenucevlh
 hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrfihvsehfrghs
 thhmrghilhdrtghomh
X-ME-Proxy: <xmx:h0MGY_XfmH5xNxwx-J2j_wcXmAZKA5ncc0CtulUNi1G0PKkv7xgXew>
 <xmx:h0MGY6k9bWh7EGsZ4AtPPJuXfso_iPJpQt5A2roIDJXTfsIENyvQkg>
 <xmx:h0MGY0ezm4LLJnDArDPpTlUTUZ9873r_UOPC3dkG4LjI8-yJUEIcaQ>
 <xmx:h0MGY-sUjumvdN6E_eUpuw7SxNrwF_S9EETri1u4PR8Eu90XeNNHxw>
Feedback-ID: i568842cc:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 24 Aug 2022 11:28:06 -0400 (EDT)
From: Remco van 't Veer <remco@HIDDEN>
Date: Wed, 24 Aug 2022 17:27:46 +0200
Message-Id: <20220824152747.6752-2-remco@HIDDEN>
X-Mailer: git-send-email 2.37.2
In-Reply-To: <20220824152747.6752-1-remco@HIDDEN>
References: <20220824152747.6752-1-remco@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.2 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.2 (-)

* gnu/packages/ruby.scm (ruby-2.6, ruby-2.7): Remove autotools artifacts
---
 gnu/packages/ruby.scm | 129 ++++++++++++++++++++----------------------
 1 file changed, 62 insertions(+), 67 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index cc95bd8d6e..ad8ef3d390 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -29,6 +29,7 @@
 ;;; Copyright © 2020 Tomás Ortín Fernández <tomasortin@HIDDEN>
 ;;; Copyright © 2021 Giovanni Biscuolo <g@HIDDEN>
 ;;; Copyright © 2022 Philip McGrath <philip@HIDDEN>
+;;; Copyright © 2022 Remco van 't Veer <remco@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -101,45 +102,44 @@ (define-public ruby-2.6
   (package
     (name "ruby")
     (version "2.6.5")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
-                           (version-major+minor version)
-                           "/ruby-" version ".tar.xz"))
-       (sha256
-        (base32
-         "0qhsw2mr04f3lqinkh557msr35pb5rdaqy4vdxcj91flgxqxmmnm"))
-       (modules '((guix build utils)))
-       (snippet `(begin
-                   ;; Remove bundled libffi
-                   (delete-file-recursively "ext/fiddle/libffi-3.2.1")
-                   #t))))
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
+                                  (version-major+minor version) "/ruby-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "0qhsw2mr04f3lqinkh557msr35pb5rdaqy4vdxcj91flgxqxmmnm"))
+              (modules '((guix build utils)))
+              (snippet `(begin
+                          ;; Remove bundled libffi
+                          (delete-file-recursively "ext/fiddle/libffi-3.2.1")
+                          ;; Trigger bootstap
+                          (delete-file "configure")
+                          (delete-file "aclocal.m4")
+                          #t))))
     (build-system gnu-build-system)
     (arguments
      `(#:test-target "test"
-       #:configure-flags '("--enable-shared") ; dynamic linking
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'configure 'replace-bin-sh-and-remove-libffi
-           (lambda _
-             (substitute* '("Makefile.in"
-                            "ext/pty/pty.c"
-                            "io.c"
-                            "lib/mkmf.rb"
-                            "process.c"
-                            "test/rubygems/test_gem_ext_configure_builder.rb"
-                            "test/rdoc/test_rdoc_parser.rb"
-                            "test/ruby/test_rubyoptions.rb"
-                            "test/ruby/test_process.rb"
-                            "test/ruby/test_system.rb"
-                            "tool/rbinstall.rb")
-               (("/bin/sh") (which "sh")))
-             #t)))))
-    (inputs
-     (list readline openssl libffi gdbm))
-    (propagated-inputs
-     (list zlib))
+       #:configure-flags '("--enable-shared") ;dynamic linking
+       #:phases (modify-phases %standard-phases
+                  (add-before 'configure 'replace-bin-sh-and-remove-libffi
+                    (lambda _
+                      (substitute* '("Makefile.in" "ext/pty/pty.c"
+                                     "io.c"
+                                     "lib/mkmf.rb"
+                                     "process.c"
+                                     "test/rubygems/test_gem_ext_configure_builder.rb"
+                                     "test/rdoc/test_rdoc_parser.rb"
+                                     "test/ruby/test_rubyoptions.rb"
+                                     "test/ruby/test_process.rb"
+                                     "test/ruby/test_system.rb"
+                                     "tool/rbinstall.rb")
+                        (("/bin/sh")
+                         (which "sh"))) #t)))))
+    (inputs (list readline openssl libffi gdbm))
+    (propagated-inputs (list zlib))
+    (native-inputs (list autoconf automake))
     (native-search-paths
      (list (search-path-specification
             (variable "GEM_PATH")
@@ -154,39 +154,34 @@ (define-public ruby-2.7
   (package
     (inherit ruby-2.6)
     (version "2.7.4")
-    (source
-     (origin
-       (inherit (package-source ruby-2.6))
-       (uri (string-append "https://cache.ruby-lang.org/pub/ruby/"
-                           (version-major+minor version)
-                           "/ruby-" version ".tar.gz"))
-       (sha256
-        (base32
-         "0nxwkxh7snmjqf787qsp4i33mxd1rbf9yzyfiky5k230i680jhrh"))))
+    (source (origin
+              (inherit (package-source ruby-2.6))
+              (uri (string-append "https://cache.ruby-lang.org/pub/ruby/"
+                                  (version-major+minor version) "/ruby-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "0nxwkxh7snmjqf787qsp4i33mxd1rbf9yzyfiky5k230i680jhrh"))))
     (arguments
      `(#:test-target "test"
-       #:configure-flags '("--enable-shared") ; dynamic linking
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'configure 'replace-bin-sh-and-remove-libffi
-           (lambda _
-             (substitute* '("configure.ac"
-                            "template/Makefile.in"
-                            "lib/rubygems/installer.rb"
-                            "ext/pty/pty.c"
-                            "io.c"
-                            "lib/mkmf.rb"
-                            "process.c"
-                            "test/rubygems/test_gem_ext_configure_builder.rb"
-                            "test/rdoc/test_rdoc_parser.rb"
-                            "test/ruby/test_rubyoptions.rb"
-                            "test/ruby/test_process.rb"
-                            "test/ruby/test_system.rb"
-                            "tool/rbinstall.rb")
-               (("/bin/sh") (which "sh")))
-             #t)))))
-    (native-inputs
-     (list autoconf))))
+       #:configure-flags '("--enable-shared") ;dynamic linking
+       #:phases (modify-phases %standard-phases
+                  (add-before 'configure 'replace-bin-sh-and-remove-libffi
+                    (lambda _
+                      (substitute* '("configure.ac" "template/Makefile.in"
+                                     "lib/rubygems/installer.rb"
+                                     "ext/pty/pty.c"
+                                     "io.c"
+                                     "lib/mkmf.rb"
+                                     "process.c"
+                                     "test/rubygems/test_gem_ext_configure_builder.rb"
+                                     "test/rdoc/test_rdoc_parser.rb"
+                                     "test/ruby/test_rubyoptions.rb"
+                                     "test/ruby/test_process.rb"
+                                     "test/ruby/test_system.rb"
+                                     "tool/rbinstall.rb")
+                        (("/bin/sh")
+                         (which "sh"))) #t)))))))
 
 (define-public ruby-3.0
   (package
-- 
2.37.2





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: Ruby packaging issues
Resent-From: Maxime Devos <maximedevos@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 24 Aug 2022 18:39:01 +0000
Resent-Message-ID: <handler.56322.B56322.166136633121200 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Remco van 't Veer <remco@HIDDEN>, 56322 <at> debbugs.gnu.org
Received: via spool by 56322-submit <at> debbugs.gnu.org id=B56322.166136633121200
          (code B ref 56322); Wed, 24 Aug 2022 18:39:01 +0000
Received: (at 56322) by debbugs.gnu.org; 24 Aug 2022 18:38:51 +0000
Received: from localhost ([127.0.0.1]:48208 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oQvH8-0005Vs-Os
	for submit <at> debbugs.gnu.org; Wed, 24 Aug 2022 14:38:51 -0400
Received: from michel.telenet-ops.be ([195.130.137.88]:54366)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1oQvH4-0005Vg-7q
 for 56322 <at> debbugs.gnu.org; Wed, 24 Aug 2022 14:38:49 -0400
Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]
 ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16])
 by michel.telenet-ops.be with bizsmtp
 id BWek2800120ykKC06WekTL; Wed, 24 Aug 2022 20:38:44 +0200
Message-ID: <171276f3-bcb2-abfc-b9a9-705059f8605f@HIDDEN>
Date: Wed, 24 Aug 2022 20:38:43 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.12.0
Content-Language: en-US
References: <87o7w9ll4x.fsf@HIDDEN>
From: Maxime Devos <maximedevos@HIDDEN>
In-Reply-To: <87o7w9ll4x.fsf@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------vmCToNgeU9NPeJ5YI0wjeAjP"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1661366324; bh=eE502qAH3Zrufrq1x3FbZ1zD9cIqQOxWzF1CnrjZgb8=;
 h=Date:To:References:From:Subject:In-Reply-To;
 b=GfIAql5QvCxAWGUvZwZUMd439MoQfwzLRi4wZZfe9LnNt05Asz07hlYjI0LZzlF0L
 5hbZGjAXEIrlDOc5Ux7/NEcf98jU13JhJ404Y/32cX6qjyrU6v0hNu5LJp+NEentCK
 V9UZiEcPKAgsIEiFsM7VbaHha4APRlWwB8TLx/zrDQ8cFpLoQm7LGzSt1SR/p0qqKZ
 tJ/7LMT1yQyYQ6pMpiH6ZBxDEYyKtrSVXKk+d2SzO1fg5Q8Jz5rrt+y1SOowtw88bW
 7Lpl9B4ex4pyBndbXDgVkwb73i7i+TkLeXA6GIiMExvbBg/6sanwLDyjpKp1OS5TMB
 QqlApMY8UG0XA==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------vmCToNgeU9NPeJ5YI0wjeAjP
Content-Type: multipart/mixed; boundary="------------rWtJCQnEiJc4AhD1ZH0v2HPH";
 protected-headers="v1"
From: Maxime Devos <maximedevos@HIDDEN>
To: Remco van 't Veer <remco@HIDDEN>, 56322 <at> debbugs.gnu.org
Message-ID: <171276f3-bcb2-abfc-b9a9-705059f8605f@HIDDEN>
Subject: Re: Ruby packaging issues
References: <87o7w9ll4x.fsf@HIDDEN>
In-Reply-To: <87o7w9ll4x.fsf@HIDDEN>

--------------rWtJCQnEiJc4AhD1ZH0v2HPH
Content-Type: multipart/mixed; boundary="------------T7RwzggDwP01Or7TO4bIC0sw"

--------------T7RwzggDwP01Or7TO4bIC0sw
Content-Type: multipart/alternative;
 boundary="------------tHKYGoJThaSWGtZcAEU3mhiI"

--------------tHKYGoJThaSWGtZcAEU3mhiI
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

DQpPbiAyNC0wOC0yMDIyIDE3OjI0LCBSZW1jbyB2YW4gJ3QgVmVlciB3cm90ZToNCj4gWy4u
Ll0NCj4+ICAgICogUnVieSBidW5kbGVzIHpsaWIuDQo+IENhbiB5b3UgcG9pbnQgb3V0IHdo
ZXJlIGl0IGlzIGluIHRoZSBzb3VyY2UgdHJlZT8gIExvb2tpbmcgYXQgdGhlDQo+IHNvdXJj
ZXMgSSBjYW4gb25seSBmaW5kIGEgKHZlcnkgYmVlZnkpIHdyYXBwZXIgYXJvdW5kIHpsaWIg
d2hpY2ggc2VlbXMNCj4gdG8gaW1wbGVtZW50IGFsbCBraW5kcyBvZiB6bGliIHN0dWZmIGJ1
dCBhbHNvIGRlcGVuZHMgb24gdGhlIHpsaWINCj4gbGlicmFyeS4gIEkgZHVubm8gaG93IHRv
IGRldGVybWluZSBpZiB0aGlzIGlzIGJ1bmRsaW5nIG9yIG5vdC4NCj4NCj4gICAgaHR0cHM6
Ly9naXRodWIuY29tL3J1YnkvcnVieS9ibG9iL21hc3Rlci9leHQvemxpYi96bGliLmMNCg0K
SSBwcm9iYWJseSBjb25mdXNlZCB0aGUgd3JhcHBlciBmb3IgYSBsb2NhbCBjb3B5IG9mIHps
aWIsIG5ldmVybWluZC4NCg0KVGhlcmUncyBhIHpsaWItMS4yLjExLW1zd2luLnBhdGNoIHRo
b3VnaCwgSSB3b25kZXIgd2hhdCdzIHVwIHdpdGggdGhhdC4NCg0KPj4gICAgKiBSdWJ5IGNv
bnRhaW5zIHNvbWUgdGhpbmdzIGdlbmVyYXRlZCBieSBiaXNvbiBvciBzdWNoLg0KPiBJdCBz
ZWVtcyB0aGUgZ2VuZXJhdGVkIHBhcnNlLmMgZmlsZSAoZnJvbSBwYXJzZS55KSBpcyBpbmNs
dWRlZCBpbiB0aGUNCj4gdGFyYmFsbHMgYXMgYSBzZXJ2aWNlIHRvIHdvcmthcm91bmQgYSBi
b290c3RyYXAgcHJvYmxlbTsgZ2VuZXJhdGluZyB0aGUNCj4gcGFyc2VyIHJlcXVpcmVzIHJ1
YnkuICBTZWUgYWxzbzoNCj4NCj4gICAgaHR0cHM6Ly9naXRodWIuY29tL3J1YnkvcnVieS9i
bG9iL21hc3Rlci9jb21tb24ubWsjTDkxMA0KPg0KPiBJIGRvbid0IGtub3cgaG93IHRvIGRl
YWwgd2l0aCB0aGlzIHByb3Blcmx5LiAgVGhlIG9ubHkgdGhpbmcgSSBjYW4gdGhpbmsNCj4g
b2YgaXMgY29tcGlsaW5nIGluIHR3byBwaGFzZXM6IGZpcnN0IHdpdGggdGhlIHN1cHBsaWVk
IHBhcnNlLmMgYW5kIGFmdGVyDQo+IHdpdGhvdXQuICBPciB0cnkgaXQgd2l0aCBtcnVieSBh
cyBhIG5hdGl2ZS1pbnB1dCBidXQgdGhhdCBzZWVtcyB0bw0KPiByZXF1aXJlIHJ1YnkgdG8g
Y29tcGlsZSB0b28uDQoNCldlIGhhdmUgYSBidW5jaCBvZiBvbGQgcnViaWVzIHBhY2thZ2Vk
LCBtYXliZSBpdCBjYW4gYmUgZ2VuZXJhdGVkIHdpdGggDQpvbmUgb2YgdGhlIG9sZCB2ZXJz
aW9ucz8gVGhvdWdoIHBvc3NpYmx5IHRoZSBvbGQgdmVyc2lvbnMgaGF2ZSB0aGUgc2FtZSAN
CnByb2JsZW0sIEkgaGF2ZW4ndCBjaGVja2VkLg0KDQpJZiBub3Q6IGZ1bGx5IHByb3Blcmx5
IGdlbmVyYXRpbmcgaXQgbWlnaHQgbm90IGJlIHBvc3NpYmxlLCBidXQgDQpzb21ldGhpbmcg
aW4tYmV0d2VlbiBjb3VsZCBiZSBhbiBvcHRpb246DQoNCiAxLiBGaXJzdCwgdXNlIHRoZSBw
cmUtZ2VuZXJhdGVkIHBhcnNlLmMuDQogMi4gT25jZSBydWJ5IGlzIGJ1aWx0LCByZWdlbmVy
YXRlIHRoZSBwYXJzZS5jLCBhbmQgdmVyaWZ5IHRoYXQgaXQgaXMNCiAgICB0aGUgc2FtZSBh
cyB0aGUgb2xkIHBhcnNlLmMgKGlnbm9yaW5nIHRoZSB0aW1lc3RhbXApDQoNCj4gV2hhdCdz
IHRvIGdhaW4gYnkgdGhpcz8NCg0KKDEpIEkgd291bGQgYXNzdW1lIGl0IGlzIG11Y2ggZWFz
aWVyIHRvIGhpZGUgbWFsd2FyZSBpbiBhIGdlbmVyYXRlZCBmaWxlIA0KbGlrZSBwYXJzZS5j
IHRoYW4gaW4gdGhlIHJlYWwgc291cmNlIGNvZGUgKCopIChJSVJDLCB0aGUgLmMgY29kZSAN
CmdlbmVyYXRlZCBieSBiaXNvbiBpcyBtdWNoIGxvbmdlciB0aGFuIHRoZSAueSkuIEJ5IGdl
bmVyYXRpbmcgdGhlIA0KcGFyc2UuYywgdGhlIHBvdGVudGlhbCBpc3N1ZSBpcyBzaWRlLXN0
ZXBwZWQ7IGFueSBzZWN1cml0eSByZXZpZXdlcnMgDQp3b3VsZG4ndCBldmVuIGhhdmUgdG8g
bG9vayBhdCBwYXJzZS5jIGJlY2F1c2UgdGhlIHByZS1nZW5lcmF0ZWQgcGFyc2UuYyANCmlz
bid0IHVzZWQsIGl0J3MgcmVnZW5lcmF0ZWQuDQoNCigyKSBBbHNvOiBnZW5lcmF0b3JzIGxp
a2UgQmlzb24gY2FuIGhhdmUgYnVncywgZml4ZWQgaW4gbGF0ZXIgdmVyc2lvbnMuIA0KTm93
IGltYWdpbmUgdGhhdCBCaXNvbiBoYWQsIHNheSwgYSBidWZmZXIgb3ZlcmZsb3cgYnVnLCBh
bmQgdGhhdCANCmRpc3RybydzIGp1c3QgdXNlZCB0aGUgcHJlLWdlbmVyYXRlZCBwYXJzZS5j
LiBUaGVuIG9uY2UgYSBmaXhlZCB2ZXJzaW9uIA0Kb2YgQmlzb24gY29tZXMgb3V0LCB3ZSB3
b3VsZCBoYXZlIHRvIGNoZWNrIGV2ZXJ5IHBhY2thZ2UgdG8gc2VlIGlmIGl0IA0KaGFzIGEg
cHJlLWdlbmVyYXRlZCBwYXJzZXIuIEl0IHdvdWxkIGJlIG11Y2ggbGVzcyBzdHJlc3NmdWwg
dG8ganVzdCANCmFsd2F5cyBnZW5lcmF0ZSBwYXJzZXJzIGZyb20gc291cmNlLCB0aGVuIG9u
Y2UgdGhlIHZlcnNpb24gb2YgQmlzb24gaW4gDQpHdWl4IGlzIHVwZGF0ZWQgdGhlbiBhbGwg
cGFja2FnZXMgYXV0b21hdGljYWxseSBnZXQgdGhlIGJ1ZmZlciBvdmVyZmxvdyBmaXguDQoN
CkkgZG9uJ3QgdGhpbmsgbXkgaW4tYmV0d2VlbiBwcm9wb3NhbCBoZWxwcyBtdWNoIHdpdGgg
KDEpIGluIGNhc2Ugb2YgYSANCmNvbXBldGVudCBhdHRhY2tlciAodGhvdWdoIGl0IGNvdWxk
IHN0b3Agc29tZSBpbnN1ZmZpY2llbnRseSANCnNvcGhpc3RpY2F0ZWQgYXR0YWNrcyB3aGVy
ZSB0aGUgcGFyc2UuYyBtYWx3YXJlIGRvZXNuJ3QgdHJ5IHRvIHN1YnZlcnQgDQp0aGUgbGF0
ZXIgY2hlY2spLCBidXQgaXQgc3RpbGwgaGVscHMgd2l0aCAoMikgLS0gaXQgYXQgbGVhc3Qg
ZGV0ZWN0cyBpZiANCnJ1YnkgdXNlZCBhbiBvbGQgYmlzb24gKGFuZCBoZW5jZSB0aGF0IGEg
cGF0Y2ggbWlnaHQgYmUgaW4gb3JkZXIpDQoNCkdyZWV0aW5ncywNCk1heGltZS4NCg0KKCop
IENhdmVhdDogSSBkb24ndCBoYXZlIGFueSBzdGF0aXN0aWNzIG9uIHRoaXMuDQoNCg==
--------------tHKYGoJThaSWGtZcAEU3mhiI
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF=
-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class=3D"moz-cite-prefix">On 24-08-2022 17:24, Remco van 't Veer=

      wrote:<br>
    </div>
    <blockquote type=3D"cite" cite=3D"mid:87o7w9ll4x.fsf@HIDDEN">
      <pre class=3D"moz-quote-pre" wrap=3D"">[...]
</pre>
      <blockquote type=3D"cite">
        <pre class=3D"moz-quote-pre" wrap=3D"">  * Ruby bundles zlib.
</pre>
      </blockquote>
      <pre class=3D"moz-quote-pre" wrap=3D"">
Can you point out where it is in the source tree?  Looking at the
sources I can only find a (very beefy) wrapper around zlib which seems
to implement all kinds of zlib stuff but also depends on the zlib
library.  I dunno how to determine if this is bundling or not.

  <a class=3D"moz-txt-link-freetext" href=3D"https://github.com/ruby/ruby=
/blob/master/ext/zlib/zlib.c">https://github.com/ruby/ruby/blob/master/ex=
t/zlib/zlib.c</a>
</pre>
    </blockquote>
    <p>I probably confused the wrapper for a local copy of zlib,
      nevermind.</p>
    <p>There's a zlib-1.2.11-mswin.patch though, I wonder what's up with
      that.
    </p>
    <blockquote type=3D"cite" cite=3D"mid:87o7w9ll4x.fsf@HIDDEN">
      <blockquote type=3D"cite">
        <pre class=3D"moz-quote-pre" wrap=3D"">  * Ruby contains some thi=
ngs generated by bison or such.
</pre>
      </blockquote>
      <pre class=3D"moz-quote-pre" wrap=3D"">
It seems the generated parse.c file (from parse.y) is included in the
tarballs as a service to workaround a bootstrap problem; generating the
parser requires ruby.  See also:

  <a class=3D"moz-txt-link-freetext" href=3D"https://github.com/ruby/ruby=
/blob/master/common.mk#L910">https://github.com/ruby/ruby/blob/master/com=
mon.mk#L910</a>

I don't know how to deal with this properly.  The only thing I can think
of is compiling in two phases: first with the supplied parse.c and after
without.  Or try it with mruby as a native-input but that seems to
require ruby to compile too.</pre>
    </blockquote>
    <p>We have a bunch of old rubies packaged, maybe it can be generated
      with one of the old versions? Though possibly the old versions
      have the same problem, I haven't checked.</p>
    <p>If not: fully properly generating it might not be possible, but
      something in-between could be an option:</p>
    <ol>
      <li>First, use the pre-generated parse.c.</li>
      <li>Once ruby is built, regenerate the parse.c, and verify that it
        is the same as the old parse.c (ignoring the timestamp)<br>
      </li>
    </ol>
    <blockquote type=3D"cite" cite=3D"mid:87o7w9ll4x.fsf@HIDDEN">
      <pre class=3D"moz-quote-pre" wrap=3D"">What's to gain by this?</pre=
>
    </blockquote>
    <p>(1) I would assume it is much easier to hide malware in a
      generated file like parse.c than in the real source code (*)
      (IIRC, the .c code generated by bison is much longer than the .y).
      By generating the parse.c, the potential issue is side-stepped;
      any security reviewers wouldn't even have to look at parse.c
      because the pre-generated parse.c isn't used, it's regenerated.<br>=

    </p>
    <p>(2) Also: generators like Bison can have bugs, fixed in later
      versions. Now imagine that Bison had, say, a buffer overflow bug,
      and that distro's just used the pre-generated parse.c. Then once a
      fixed version of Bison comes out, we would have to check every
      package to see if it has a pre-generated parser. It would be much
      less stressful to just always generate parsers from source, then
      once the version of Bison in Guix is updated then all packages
      automatically get the buffer overflow fix.<br>
    </p>
    <p>I don't think my in-between proposal helps much with (1) in case
      of a competent attacker (though it could stop some insufficiently
      sophisticated attacks where the parse.c malware doesn't try to
      subvert the later check), but it still helps with (2) -- it at
      least detects if ruby used an old bison (and hence that a patch
      might be in order)<br>
    </p>
    Greetings,<br>
    Maxime.<br>
    <p>(*) Caveat: I don't have any statistics on this.<br>
    </p>
  </body>
</html>

--------------tHKYGoJThaSWGtZcAEU3mhiI--

--------------T7RwzggDwP01Or7TO4bIC0sw
Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc"
Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc"
Content-Description: OpenPGP public key
Content-Transfer-Encoding: quoted-printable

-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m
xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2
ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL
CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc
/gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4
LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C
kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK
CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W
ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ
Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0
k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo
AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE
fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D
=3DOVqp
-----END PGP PUBLIC KEY BLOCK-----

--------------T7RwzggDwP01Or7TO4bIC0sw--

--------------rWtJCQnEiJc4AhD1ZH0v2HPH--

--------------vmCToNgeU9NPeJ5YI0wjeAjP
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYwZwMwUDAAAAAAAKCRBJ4+4iGRcl7rKs
AQCSXs+4lId0UGMVOhOgks1B2r3JG7NU+LabUtygGV3vRgD/VuCPEKNDcZxBLYsln9Y8kJuBVYYe
TJCve3yY1yBEYQo=
=Ko4M
-----END PGP SIGNATURE-----

--------------vmCToNgeU9NPeJ5YI0wjeAjP--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: Ruby packaging issues
Resent-From: Maxime Devos <maximedevos@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 24 Aug 2022 18:42:02 +0000
Resent-Message-ID: <handler.56322.B56322.166136650521491 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Remco van 't Veer <remco@HIDDEN>, 56322 <at> debbugs.gnu.org
Received: via spool by 56322-submit <at> debbugs.gnu.org id=B56322.166136650521491
          (code B ref 56322); Wed, 24 Aug 2022 18:42:02 +0000
Received: (at 56322) by debbugs.gnu.org; 24 Aug 2022 18:41:45 +0000
Received: from localhost ([127.0.0.1]:48213 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oQvJi-0005aG-Iv
	for submit <at> debbugs.gnu.org; Wed, 24 Aug 2022 14:41:45 -0400
Received: from albert.telenet-ops.be ([195.130.137.90]:36866)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1oQvJV-0005Zv-O2
 for 56322 <at> debbugs.gnu.org; Wed, 24 Aug 2022 14:41:29 -0400
Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]
 ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16])
 by albert.telenet-ops.be with bizsmtp
 id BWhE2800T20ykKC06WhESV; Wed, 24 Aug 2022 20:41:15 +0200
Message-ID: <633700ec-bdf9-1ed6-d6ae-ce8587c6b245@HIDDEN>
Date: Wed, 24 Aug 2022 20:41:14 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.12.0
Content-Language: en-US
References: <87o7w9ll4x.fsf@HIDDEN>
From: Maxime Devos <maximedevos@HIDDEN>
In-Reply-To: <87o7w9ll4x.fsf@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------pfGs2ZbJInQ1WU0Kx5ETCIID"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1661366475; bh=RFOqRHlAT5wkxuRgiCxnmKDUubYnsSEeArUIA5cmL/4=;
 h=Date:Subject:To:References:From:In-Reply-To;
 b=Okp27U911xjZ6RmlR7WZ1Z1euDIYqbLCPVjV6JHcNQ28d6UBB8UELwpcxHpp40SLk
 bQm2Zb2jvpjCExb5zwKirB2+1Zc3ipcrllQHjE39nCnijGbUd4Fd7mr4MM4aBqNAT2
 nUuc+sRxK277MsF/LlIbA7U4ZalW+qBru7G7o28VrR9GpxbUPKHplvDr6GEj3hrKPh
 lbcDoRE9sQSNY05YY3NdCifbAqn7jw2ojVTNrFcXBtbFNJTooAM4T3RGuwT+8vRf2C
 WJ0bn3Ng/xHxQa5v9T2NSGBuuuBEahm0l8DERJgbPLcUmaJ+8QSd+0q9kzbpz3ZJ+s
 8yJMN3Ulmw78A==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------pfGs2ZbJInQ1WU0Kx5ETCIID
Content-Type: multipart/mixed; boundary="------------GtX0TknPcn2JnQTz5weKnVaS";
 protected-headers="v1"
From: Maxime Devos <maximedevos@HIDDEN>
To: Remco van 't Veer <remco@HIDDEN>, 56322 <at> debbugs.gnu.org
Message-ID: <633700ec-bdf9-1ed6-d6ae-ce8587c6b245@HIDDEN>
Subject: Re: Ruby packaging issues
References: <87o7w9ll4x.fsf@HIDDEN>
In-Reply-To: <87o7w9ll4x.fsf@HIDDEN>

--------------GtX0TknPcn2JnQTz5weKnVaS
Content-Type: multipart/mixed; boundary="------------aW6B0PObONphG9Uj2WBKJyqa"

--------------aW6B0PObONphG9Uj2WBKJyqa
Content-Type: multipart/alternative;
 boundary="------------ZTowXHuJUzvSgax1tgGEpPIT"

--------------ZTowXHuJUzvSgax1tgGEpPIT
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

DQpPbiAyNC0wOC0yMDIyIDE3OjI0LCBSZW1jbyB2YW4gJ3QgVmVlciB3cm90ZToNCj4+ICAg
ICogUnVieSBjb250YWlucyBzb21lIHRoaW5ncyBnZW5lcmF0ZWQgYnkgYmlzb24gb3Igc3Vj
aC4NCj4gSXQgc2VlbXMgdGhlIGdlbmVyYXRlZCBwYXJzZS5jIGZpbGUgKGZyb20gcGFyc2Uu
eSkgaXMgaW5jbHVkZWQgaW4gdGhlDQo+IHRhcmJhbGxzIGFzIGEgc2VydmljZSB0byB3b3Jr
YXJvdW5kIGEgYm9vdHN0cmFwIHByb2JsZW07IGdlbmVyYXRpbmcgdGhlDQo+IHBhcnNlciBy
ZXF1aXJlcyBydWJ5LiAgU2VlIGFsc286DQo+DQo+ICAgIGh0dHBzOi8vZ2l0aHViLmNvbS9y
dWJ5L3J1YnkvYmxvYi9tYXN0ZXIvY29tbW9uLm1rI0w5MTANCg0KU2VlIG15IG90aGVyIHJl
cGx5LCBhbmQgYWxzbzoNCg0KRXZlbiBpZiBnZW5lcmF0aW5nIHRoZSAuYyBmcm9tIHRoZSAu
eSBmcm9tIHRoZSBSdWJ5IGNvZGUgd291bGQgYmUgaWRlYWwsIA0KYXQgbGVhc3QgZ2VuZXJh
dGluZyB0aGUgLmMgZnJvbSB0aGUgLnkgKGFuZCB1c2luZyB0aGUgcHJlLWdlbmVyYXRlZCB0
aGUgDQoueSkgaXMgc3RpbGwgYW4gaW1wcm92ZW1lbnQsIGl0IHdvdWxkIGF0IGxlYXN0IGhl
bHAgd2l0aCB0aGUgJ2J1Z2d5IA0KYmlzb24nIHNjZW5hcmlvLg0KDQpHcmVldGluZ3MsDQpN
YXhpbWUuDQoNCg==
--------------ZTowXHuJUzvSgax1tgGEpPIT
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF=
-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class=3D"moz-cite-prefix">On 24-08-2022 17:24, Remco van 't Veer=

      wrote:<br>
    </div>
    <blockquote type=3D"cite" cite=3D"mid:87o7w9ll4x.fsf@HIDDEN">
      <blockquote type=3D"cite" style=3D"color: #007cff;">
        <pre class=3D"moz-quote-pre" wrap=3D"">  * Ruby contains some thi=
ngs generated by bison or such.
</pre>
      </blockquote>
      <pre class=3D"moz-quote-pre" wrap=3D"">It seems the generated parse=
=2Ec file (from parse.y) is included in the
tarballs as a service to workaround a bootstrap problem; generating the
parser requires ruby.  See also:

  <a class=3D"moz-txt-link-freetext" href=3D"https://github.com/ruby/ruby=
/blob/master/common.mk#L910" moz-do-not-send=3D"true">https://github.com/=
ruby/ruby/blob/master/common.mk#L910</a></pre>
    </blockquote>
    <p>See my other reply, and also:</p>
    <p>Even if generating the .c from the .y from the Ruby code would be
      ideal, at least generating the .c from the .y (and using the
      pre-generated the .y) is still an improvement, it would at least
      help with the 'buggy bison' scenario.</p>
    <p>Greetings,<br>
      Maxime.<br>
    </p>
  </body>
</html>

--------------ZTowXHuJUzvSgax1tgGEpPIT--

--------------aW6B0PObONphG9Uj2WBKJyqa
Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc"
Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc"
Content-Description: OpenPGP public key
Content-Transfer-Encoding: quoted-printable

-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m
xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2
ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL
CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc
/gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4
LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C
kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK
CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W
ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ
Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0
k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo
AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE
fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D
=3DOVqp
-----END PGP PUBLIC KEY BLOCK-----

--------------aW6B0PObONphG9Uj2WBKJyqa--

--------------GtX0TknPcn2JnQTz5weKnVaS--

--------------pfGs2ZbJInQ1WU0Kx5ETCIID
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYwZwygUDAAAAAAAKCRBJ4+4iGRcl7gKu
AQDd2lKKo6e8pysgQTmCIP7s1DsmYEO19/RSF7o7IdPFsAD5AWxBsJ0ut7Wx1B/SxhWMCxOWZp28
68ixw0+OH7dJuww=
=Xrzx
-----END PGP SIGNATURE-----

--------------pfGs2ZbJInQ1WU0Kx5ETCIID--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: Ruby packaging issues
Resent-From: Remco van 't Veer <remco@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 25 Aug 2022 10:45:02 +0000
Resent-Message-ID: <handler.56322.B56322.166142427729866 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Maxime Devos <maximedevos@HIDDEN>
Cc: 56322 <at> debbugs.gnu.org
Received: via spool by 56322-submit <at> debbugs.gnu.org id=B56322.166142427729866
          (code B ref 56322); Thu, 25 Aug 2022 10:45:02 +0000
Received: (at 56322) by debbugs.gnu.org; 25 Aug 2022 10:44:37 +0000
Received: from localhost ([127.0.0.1]:49118 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oRALk-0007ld-Q2
	for submit <at> debbugs.gnu.org; Thu, 25 Aug 2022 06:44:37 -0400
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:37291)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <remco@HIDDEN>) id 1oRALi-0007lO-Dd
 for 56322 <at> debbugs.gnu.org; Thu, 25 Aug 2022 06:44:35 -0400
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.nyi.internal (Postfix) with ESMTP id 14EA65C0117;
 Thu, 25 Aug 2022 06:44:29 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute3.internal (MEProxy); Thu, 25 Aug 2022 06:44:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h=
 cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to; s=fm3; t=1661424269; x=1661510669; bh=wzWP4/Nt/R
 tL//6dc+DSQY4o3Cu+BceO/1i5TA6oQTM=; b=Y8LaN/3+NGwLFfIhCcnug/N5Kg
 HC8yUdFFKFN9v4fvkXsj7sh+bNKnUc9m5VeoEFDpM+yqb7980px5fq4GF5d1cT2R
 ms8eK7UxIdmMIwfcdTDI+c3No1hz8/YblyJ1jsMFVg4F3oGQmns1QVgt7Nq4ACHC
 aGgXLd0VEvWBHGy6yshOa3WvT3IDbtjneEDiNxzQJ9YiR9Dq7Q9lig4rH7f35k3s
 GU7E03mGQyL8UbV2GSfSiluQM3K0C4EN65o6ZbR+zo3EQIw92GgykiaLlhkNBoYd
 130ahXku9y/NJvwkvFMPuE5F/YJrTwYpGMXpNfmvl5sk/i3gtP30NxPEBy2Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:date:date:feedback-id
 :feedback-id:from:from:in-reply-to:in-reply-to:message-id
 :mime-version:references:reply-to:sender:subject:subject:to:to
 :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm1; t=1661424269; x=1661510669; bh=wzWP4/Nt/RtL//6dc+DSQY4o3Cu+
 BceO/1i5TA6oQTM=; b=bVkFOtw5Mz5Guwwlg6UtRx/IJjZkzWf0lPvQ30PvUHol
 2VKcqtpKH9n28ZMee5U6VmgnqBfd4P2y/Yh7WxJI/9Mq8xbkjZhDPvecGrjes8t5
 n4zPr5gMUz9zx+t5Jo7llW8r4L4yNyxCrhq08K6K2uvIR7lLPGxJZy6dd3dBPpMd
 2XrrndLpHur5TDNVdLKCMEf6BjNPr4U15P21ojkL27tza0CifnIlry61hTG+iJfD
 UDJEwsxq3REtdcr85ovjkuhxuTdtSyuPF4GUvyLJzp+RE7TgI0QOy8NxR2bZcG6T
 nDO3+vbgrCy+mRsSZNuxUdODRPqQ3+13C0P/ZE3oLw==
X-ME-Sender: <xms:jFIHYxnSAW-q18AyBGiAlNqTdmZE52f2eYClCLhpTsi3yZQmtQXAKg>
 <xme:jFIHY80Gi4tOxyylcyCKA5y8B160gBzGRdspA78RoF2y9h4u0HSg1Tk1Gx7gamuuh
 wlqo6U0YWnA7OzQ2Q>
X-ME-Received: <xmr:jFIHY3prqlRaI-W1qfq42r041VfKyVesON1PoOnyko4k0x4xXe8Dg9JI86cl1VAdR6q5uLPikytW7cfERg_RzTTn0vzUrnrJZU4KeudcdfU>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejfedgfedtucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhepfhgfhffvvefujgffkfggtgesthdtredttdertdenucfhrhhomheptfgvmhgt
 ohcuvhgrnhcukdhtucggvggvrhcuoehrvghmtghosehrvghmfihorhhkshdrnhgvtheqne
 cuggftrfgrthhtvghrnhepkeduveegfedufeelhedvuedvhfeufedtteevkeehhfeigfev
 lefhgeeukedtfeevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh
 hfrhhomheprhgvmhgtohesrhgvmhifohhrkhhsrdhnvght
X-ME-Proxy: <xmx:jFIHYxnLek49ZFR7OD8bz6eYoCjsZLNbtE9znW0MZvhozpNBCTNJvQ>
 <xmx:jFIHY_2zEOJmyZQKW4ivl2YBStTPROCrZv7cZz3XjRJtTOPJaBomdA>
 <xmx:jFIHYwuN9BandyR5zkoOHUr9f8zIisXnchBgVmgZTnvkyF3LrFZtYw>
 <xmx:jVIHY8-9pzmLgo2LOu7ENMBYoa6Bk2mDe2DPJ2gubDorXfRfULvOWw>
Feedback-ID: i568842cc:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 25 Aug 2022 06:44:28 -0400 (EDT)
References: <87o7w9ll4x.fsf@HIDDEN>
 <171276f3-bcb2-abfc-b9a9-705059f8605f@HIDDEN>
User-agent: mu4e 1.8.9; emacs 28.1
From: Remco van 't Veer <remco@HIDDEN>
In-reply-to: <171276f3-bcb2-abfc-b9a9-705059f8605f@HIDDEN>
Date: Thu, 25 Aug 2022 12:44:26 +0200
Message-ID: <87sflkk3g5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

2022/08/24 20:38, Maxime Devos:

> We have a bunch of old rubies packaged, maybe it can be generated with
> one of the old versions? Though possibly the old versions have the
> same problem, I haven't checked.

Older rubies need ruby to compile too, I checked.  To totally getting
rid of parse.c is not easy.

> If not: fully properly generating it might not be possible, but
> something in-between could be an option:
>
> 1. First, use the pre-generated parse.c.
> 2. Once ruby is built, regenerate the parse.c, and verify that it is
>    the same as the old parse.c (ignoring the timestamp)
>
>> What's to gain by this?
>
> (1) I would assume it is much easier to hide malware in a generated
> file like parse.c than in the real source code (*) (IIRC, the .c code
> generated by bison is much longer than the .y). By generating the
> parse.c, the potential issue is side-stepped; any security reviewers
> wouldn't even have to look at parse.c because the pre-generated
> parse.c isn't used, it's regenerated.

By using one ruby to support compiling the others said security reviewer
can focus on one particular parse.c.  It's big but reviewing it seems
doable but I am no security reviewer.

> (2) Also: generators like Bison can have bugs, fixed in later
> versions. Now imagine that Bison had, say, a buffer overflow bug, and
> that distro's just used the pre-generated parse.c. Then once a fixed
> version of Bison comes out, we would have to check every package to
> see if it has a pre-generated parser. It would be much less stressful
> to just always generate parsers from source, then once the version of
> Bison in Guix is updated then all packages automatically get the
> buffer overflow fix.
>
> I don't think my in-between proposal helps much with (1) in case of a
> competent attacker (though it could stop some insufficiently
> sophisticated attacks where the parse.c malware doesn't try to subvert
> the later check), but it still helps with (2) -- it at least detects
> if ruby used an old bison (and hence that a patch might be in order)

The two phase build approach (first building with parse.c and then using
that ruby as native-input for a package with parse.c removed) seems to
work but with some notes.  Rubies 2.7 and up work fine with bison
current in guix (bison-3.7.6) but ruby-2.6 (and possibly down) don't
because they trigger some incompatibility between bison-3.5.1 (stated as
parse.c generator in ruby-2.6) and bison-3.7.6.

I tried bison-3.0 from gnu/packages/bison for ruby-2.6 and it works but
using that kinda defeats the ".. automatically get the buffer overflow
fix" argument.  I'd say, it doesn't really matter for ruby-2.6 and down
since they are EOL anyway and should at some point be removed from guix.

I'll post a patch after this message for feedback.  In it a new package
is introduced based on ruby-2.7 named baseruby which is compiled with
the parse.c from the tarball, ruby-2.7 and up will delete parse.c before
build and have extra native-inputs on baseruby and bison to support the
magic.

Cheers,
Remco




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: [PATCH] gnu: ruby: regenerate parse.c
References: <e0e7e2a1e4c687a426d208e0f745b83eb3b12235.camel@HIDDEN>
In-Reply-To: <e0e7e2a1e4c687a426d208e0f745b83eb3b12235.camel@HIDDEN>
Resent-From: Remco van 't Veer <remco@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 25 Aug 2022 10:46:01 +0000
Resent-Message-ID: <handler.56322.B56322.166142432129970 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 56322 <at> debbugs.gnu.org, Maxime Devos <maximedevos@HIDDEN>
Cc: Remco van 't Veer <remco@HIDDEN>
Received: via spool by 56322-submit <at> debbugs.gnu.org id=B56322.166142432129970
          (code B ref 56322); Thu, 25 Aug 2022 10:46:01 +0000
Received: (at 56322) by debbugs.gnu.org; 25 Aug 2022 10:45:21 +0000
Received: from localhost ([127.0.0.1]:49124 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oRAMT-0007nJ-C0
	for submit <at> debbugs.gnu.org; Thu, 25 Aug 2022 06:45:21 -0400
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:46103)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rwv@HIDDEN>) id 1oRAMR-0007n3-2b
 for 56322 <at> debbugs.gnu.org; Thu, 25 Aug 2022 06:45:19 -0400
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 06A2A5C01A4;
 Thu, 25 Aug 2022 06:45:14 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute4.internal (MEProxy); Thu, 25 Aug 2022 06:45:14 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h=
 cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to
 :message-id:mime-version:reply-to:sender:subject:subject:to:to;
 s=fm3; t=1661424314; x=1661510714; bh=0iOpFC4fG8d/Ek37ynpBwLFuW
 ZUYkVhXE0sqYWZZgag=; b=ETGq4b9TFjmjWGpP8moc3suEkf9T+ET38hBeJnekb
 icdieqWhAeuGC2h/V0r/yFNGuAiySY8Z+j4xw+Z06zsdDxN77coI8isk4qjJB+Ih
 dlkNykX5pOxFCg5xzN67ntXmEfXjEMNLwT97kUt0d9rUytPXgOGvhKt0W+1db2HT
 bscdCpWtfNyZ849t60mMPM8lV8LlzQAutZgssaKjI8YXDGOIEGXR2l9SaAOAgj30
 9fCsFNQmT7scBboknFIWzbJx5a69SieYjGVkQIsjilt8oDdCXW+rKXlFRW6FJSvk
 YAHg/nMgLOVH0a9K+rcH/k8pDud48YEymwXjfTV+TBl6Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:message-id
 :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=
 1661424314; x=1661510714; bh=0iOpFC4fG8d/Ek37ynpBwLFuWZUYkVhXE0s
 qYWZZgag=; b=5Eq/j9Jt11PEY0ak4enVekts7iFEu2nNn0teeiwYyck+cotw3kR
 a78OairOtb0WtucNZSATV0Poj8l2mhMMWDdgvESm7T616b8H3jnqYzHZ2lf5VXdh
 8bGsR/MzrxVE7sK9LbqJoqLGM5P33uAkJJBolc4FXDB17OA9GPI3mPAHw3767hyf
 9CmIhOUjNa2Y3Yud2FIebyf6fWhE74+t/Zup8/HH62o0iFdk5FlkEswryy8rkk3m
 6VM/Rcam2w2wHNs+HkRMoTy05Txu0Um+SrXUdR3CCjFKKM3LnyBiC9y2Bq6M1le1
 rIPKxUPZjThkZIYyxZ8Jn3ePfQXLQfhMUiA==
X-ME-Sender: <xms:uVIHY0xnJy2HQMSwsT3Pf8fNR1ao2M4roWuwcaAGHfXDWRqkpgM3qA>
 <xme:uVIHY4Rfmwpda9U92I7cN64gtM6kEKc8nKTqRw8dGsybW4DFarWbC_K2aKGveFVq4
 E5GxC-_4tdQYLwluA>
X-ME-Received: <xmr:uVIHY2WbCJn59_E_wDky1k-0jhMd-s2uV3Q9ozwtC90to1fsmwX0fp4WKU-NzcWLuil0k8F7x4Fs-BJc-Y_VYozYojxtdQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejfedgfedtucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheptfgvmhgtohcu
 vhgrnhcukdhtucggvggvrhcuoehrvghmtghosehrvghmfihorhhkshdrnhgvtheqnecugg
 ftrfgrthhtvghrnhepgeeugefgtdehffehtdeijeduudfggfdtvdeufeettdeuhfdtffej
 leegfedvteeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh
 homheprhifvhesfhgrshhtmhgrihhlrdgtohhm
X-ME-Proxy: <xmx:uVIHYyhURgDQhxP-IN1O6wWq5jlKZhH02XElfcEz_ORmZkVoUP1LjA>
 <xmx:uVIHY2CJsc7toVY0TKTGGPQf0ZV3ycFfmQnGKOCfn2ctzKKGPLh85Q>
 <xmx:uVIHYzJaauiAv9boNQPP36eIeU26V9h19UUM1wgd_EDDQgQp9IfSnQ>
 <xmx:ulIHY368dNTIggkYgO8qI_aJ2Z8hP4cxNqUeexi2oUsksa7yVlULAQ>
Feedback-ID: i568842cc:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 25 Aug 2022 06:45:13 -0400 (EDT)
From: Remco van 't Veer <remco@HIDDEN>
Date: Thu, 25 Aug 2022 12:45:10 +0200
Message-Id: <20220825104510.17727-1-remco@HIDDEN>
X-Mailer: git-send-email 2.37.2
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.2 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.2 (-)

* gnu/packages/ruby.scm (baseruby, ruby-2.7): Use bootstrap baseruby to regenerate parse.c
---
 gnu/packages/ruby.scm | 30 ++++++++++++++++++++++++++++--
 1 file changed, 28 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e98814da6d..8de6cda257 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -161,7 +161,16 @@ (define-public ruby-2.7
                                   version ".tar.gz"))
               (sha256
                (base32
-                "0nxwkxh7snmjqf787qsp4i33mxd1rbf9yzyfiky5k230i680jhrh"))))
+                "0nxwkxh7snmjqf787qsp4i33mxd1rbf9yzyfiky5k230i680jhrh"))
+              (snippet `(begin
+                          ;; Remove bundled libffi
+                          (delete-file-recursively "ext/fiddle/libffi-3.2.1")
+                          ;; Trigger bootstap
+                          (delete-file "configure")
+                          (delete-file "aclocal.m4")
+                          ;; Trigger rebuild of parse.c from parse.y
+                          (delete-file "parse.c")
+                          #t))))
     (arguments
      `(#:test-target "test"
        #:configure-flags '("--enable-shared") ;dynamic linking
@@ -181,7 +190,24 @@ (define-public ruby-2.7
                                      "test/ruby/test_system.rb"
                                      "tool/rbinstall.rb")
                         (("/bin/sh")
-                         (which "sh"))) #t)))))))
+                         (which "sh"))) #t)))))
+    (native-inputs (list autoconf automake baseruby bison))))
+
+(define baseruby ;; used to build ruby by parser generator
+  (package
+    (inherit ruby-2.7)
+    (name "baseruby")
+    (source (origin
+              (inherit (package-source ruby-2.7))
+              ;; override snippet to not include deletion of bundled parse.c
+              (snippet `(begin
+                          ;; Remove bundled libffi
+                          (delete-file-recursively "ext/fiddle/libffi-3.2.1")
+                          ;; Trigger bootstap
+                          (delete-file "configure")
+                          (delete-file "aclocal.m4")
+                          #t))))
+    (native-inputs (list autoconf automake))))
 
 (define-public ruby-3.0
   (package
-- 
2.37.2





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: Debbug 56322, Ruby packaging issues, ping?
References: <e0e7e2a1e4c687a426d208e0f745b83eb3b12235.camel@HIDDEN>
In-Reply-To: <e0e7e2a1e4c687a426d208e0f745b83eb3b12235.camel@HIDDEN>
Resent-From: Remco van 't Veer <remco@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sat, 08 Oct 2022 10:03:01 +0000
Resent-Message-ID: <handler.56322.B56322.166522333312842 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 56322 <at> debbugs.gnu.org, Maxime Devos <maximedevos@HIDDEN>
Received: via spool by 56322-submit <at> debbugs.gnu.org id=B56322.166522333312842
          (code B ref 56322); Sat, 08 Oct 2022 10:03:01 +0000
Received: (at 56322) by debbugs.gnu.org; 8 Oct 2022 10:02:13 +0000
Received: from localhost ([127.0.0.1]:38318 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oh6eq-0003L3-On
	for submit <at> debbugs.gnu.org; Sat, 08 Oct 2022 06:02:13 -0400
Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:54337)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <remco@HIDDEN>) id 1oh6eo-0003Kp-63
 for 56322 <at> debbugs.gnu.org; Sat, 08 Oct 2022 06:02:11 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.west.internal (Postfix) with ESMTP id 4420A3200406;
 Sat,  8 Oct 2022 06:02:02 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute5.internal (MEProxy); Sat, 08 Oct 2022 06:02:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h=
 cc:content-type:date:date:from:from:in-reply-to:message-id
 :mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t=
 1665223321; x=1665309721; bh=ebi4hCPEc/bLC/SF6B1ovLvTfFbQLD/8sqv
 WPgeekA8=; b=EidGrO+vl0FIsD+GK9E7BOGbJ5tJFSjgVrYijxHyHxdX7he+QKi
 Ha5smao9KfmaGnuWLj8dBg6EFLLDADx1Fv86LyPaui0+cyvjlZIrOf4pL9SIwa+0
 or9qeocw6o033M1QrcjYPJqnc8/Yj0iZs2MfuOCAKHcdNV2ob0Wo02I+BT9BXQQ1
 w7oHOyzRdmUDluijbafS4Q32lTN0KHXYvk8sQHHyObjL8j5KfbDxzTeNb2vGj1EY
 cADtfhc4sicIhMStddXJoi762VXeW25K415FjDhxLqb6EbvaKsUvJSx91Up8ZLkQ
 r1gNXq7v01oSFNQqq125L8fY4y/3QnfQHzA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:date:feedback-id
 :feedback-id:from:from:in-reply-to:message-id:mime-version
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1665223321; x=
 1665309721; bh=ebi4hCPEc/bLC/SF6B1ovLvTfFbQLD/8sqvWPgeekA8=; b=n
 DkirLe0BgqIiXfCRujQYFDocCEDcv+oENiD7G4mG82x+KPoYxR19jftYnRbjhd99
 vqecHwoVwUYjXZ4+AiuHhLRvs7KsCQIJTVTtQsnk+F6dOQXy5y3+UaXT/aJ1NHah
 bDMcoWvVWT+H38TUSttpTPl57U1rxCX6ZilmwemhDcCCFysnWpwsfARdvVvxULD7
 RDAPakCFFG9hSeIheAbuxzJwkrPvDIXJu06JXqKkBTOsvhGQluWLwseoe3Pvm3Pu
 GMIoJbZ2HNoVYWUfnO2bN17O2QPpjDstCZyjblemkLJQceEc/8iQuPCR+8xa3GHU
 s6HZhkJi9von+dNqzJZHA==
X-ME-Sender: <xms:mUpBY2di4x_yPB1rbi7BqPCUvCvD5jpp8tVA0OUYZOt8t75czlSFAw>
 <xme:mUpBYwOMIy9iph__vjK4fYGZMYX1LnU6Qc6NdZFEfzkk6S6vq1M0EZPdt9fpbr2DL
 QbEI7jGKLEwhRCr_Q>
X-ME-Received: <xmr:mUpBY3inEaYfWsQjg2L1ZawTVWlUdLHClMqSBvvt-RHcjnmv0IXF3tGk5gqS0_ggNIE8iLyo-9kJ--NdmB840xR_Ht4xG0xc3r5i3uk78L78>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeiledgvddtucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhepfgfhvffufffkgggtsehttdertddtredtnecuhfhrohhmpeftvghmtghouchv
 rghnucdkthcugggvvghruceorhgvmhgtohesrhgvmhifohhrkhhsrdhnvghtqeenucggtf
 frrghtthgvrhhnpefgfedvvdekleejfeejtefhuefgieevffeugeevteduuefghfetffff
 teejffdtfeenucffohhmrghinhepghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpe
 dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrvghmtghosehrvghmfihorhhkshdrnhgv
 th
X-ME-Proxy: <xmx:mUpBYz-KfUmQ6RFYkfIzqh8JGY2KiZtGU2AiMzWdkFjIgIkSvbGQmA>
 <xmx:mUpBYys7AGVcPpPwXGjL1kcFOF-p8keKqgrt-QFdiZ_DriRYeEeRwQ>
 <xmx:mUpBY6FvzIwwVgcmriUZdLlvtEBSnDAS-1JHPbEkEGpBXdTjM8zsww>
 <xmx:mUpBY40770PPxIqjcSJiElv8lEp4vGfMFfX7-nV7-XwEAJm-SpqbIQ>
Feedback-ID: i568842cc:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat,
 8 Oct 2022 06:02:00 -0400 (EDT)
User-agent: mu4e 1.8.9; emacs 28.1
From: Remco van 't Veer <remco@HIDDEN>
Date: Sat, 08 Oct 2022 12:01:55 +0200
Message-ID: <874jwek50s.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Do the patches[1][2] need more work?


[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56322#11
[2] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56322#29




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: Debbug 56322, Ruby packaging issues, ping?
Resent-From: Maxime Devos <maximedevos@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 09 Oct 2022 09:16:02 +0000
Resent-Message-ID: <handler.56322.B56322.166530691316474 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Remco van 't Veer <remco@HIDDEN>, 56322 <at> debbugs.gnu.org
Received: via spool by 56322-submit <at> debbugs.gnu.org id=B56322.166530691316474
          (code B ref 56322); Sun, 09 Oct 2022 09:16:02 +0000
Received: (at 56322) by debbugs.gnu.org; 9 Oct 2022 09:15:13 +0000
Received: from localhost ([127.0.0.1]:42080 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ohSOu-0004Hd-PH
	for submit <at> debbugs.gnu.org; Sun, 09 Oct 2022 05:15:13 -0400
Received: from michel.telenet-ops.be ([195.130.137.88]:58576)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1ohSOt-0004HR-2M
 for 56322 <at> debbugs.gnu.org; Sun, 09 Oct 2022 05:15:11 -0400
Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]
 ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16])
 by michel.telenet-ops.be with bizsmtp
 id VlF82800J20ykKC06lF8NB; Sun, 09 Oct 2022 11:15:08 +0200
Message-ID: <07af81e7-520f-45c0-c308-5f97837af673@HIDDEN>
Date: Sun, 9 Oct 2022 11:15:08 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.3.0
Content-Language: en-US
References: <874jwek50s.fsf@HIDDEN>
From: Maxime Devos <maximedevos@HIDDEN>
In-Reply-To: <874jwek50s.fsf@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------NUd52TZWHeWGckjZ824YDF00"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1665306908; bh=PUEJW0wHAdahaLjeRYEo0wefA4BNWqdJFcR0XeVDC+U=;
 h=Date:Subject:To:References:From:In-Reply-To;
 b=e9X9cGN13mv1WzWGed50Vv2erlkReXSA8hLXqG+PCyA2lJH4qaM1FmCmuwX1vu70E
 prDfpMPFK1jjIwlT/9AtAMa+kEZhAHejyjJ5Arfdc/XsrPh5wAFYTj1R/ty6pZe3o2
 xkRM1OZv+kWljhysoM34EbUsTOlip3RQ7mugC3x4qK/GL719tBAodZgExFO4yWo6KV
 rZ3D6s7cYnT24qNCmCIyq8VsNdaXoVOhEPEyXFbvgwaORufKLk7fAXJ6vQHxfEJGmp
 njsn8VdbCUCcWx01hmVV9KE37I2RGWekkVXKB1uICG2W7HQIlaWXNQRYZBiuJ9icxr
 QYj1i7HO6PCfA==
X-Spam-Score: -1.8 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.8 (--)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------NUd52TZWHeWGckjZ824YDF00
Content-Type: multipart/mixed; boundary="------------Vq8uN5tf2QEOeBtHSSKDaq3A";
 protected-headers="v1"
From: Maxime Devos <maximedevos@HIDDEN>
To: Remco van 't Veer <remco@HIDDEN>, 56322 <at> debbugs.gnu.org
Message-ID: <07af81e7-520f-45c0-c308-5f97837af673@HIDDEN>
Subject: Re: Debbug 56322, Ruby packaging issues, ping?
References: <874jwek50s.fsf@HIDDEN>
In-Reply-To: <874jwek50s.fsf@HIDDEN>

--------------Vq8uN5tf2QEOeBtHSSKDaq3A
Content-Type: multipart/mixed; boundary="------------rfLylnznTqwkL3lDLjZEFdqP"

--------------rfLylnznTqwkL3lDLjZEFdqP
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

DQoNCk9uIDA4LTEwLTIwMjIgMTI6MDEsIFJlbWNvIHZhbiAndCBWZWVyIHdyb3RlOg0KPiBE
byB0aGUgcGF0Y2hlc1sxXVsyXSBuZWVkIG1vcmUgd29yaz8NCj4gDQo+IA0KPiBbMV0gaHR0
cHM6Ly9kZWJidWdzLmdudS5vcmcvY2dpL2J1Z3JlcG9ydC5jZ2k/YnVnPTU2MzIyIzExDQo+
IFsyXSBodHRwczovL2RlYmJ1Z3MuZ251Lm9yZy9jZ2kvYnVncmVwb3J0LmNnaT9idWc9NTYz
MjIjMjkNCg0KVHJhaWxpbmcgI3QgaGF2ZW4nIGJlZW4gbmVjZXNzYXJ5IHNpbmNlIGEgbG9u
ZyB0aW1lLCBhbmQgIC4uLg0KDQogPiArIChkZWZpbmUgYmFzZXJ1YnkgOzsgdXNlZCB0byBi
dWlsZCBydWJ5IGJ5IHBhcnNlciBnZW5lcmF0b3INCg0KLi4uIEkgZG9uJ3QgdGhpbmsgdGhp
cyBpcyBxdWl0ZSBncmFtbWF0aWNhbCwgbWF5YmUgJzs7IGZvciBib290c3RyYXBwaW5nIA0K
cnVieSdzIHBhcnNlciBnZW5lcmF0b3InIG9yICc7OyB1c2VkIHRvIGJ1aWxkIHJ1YnkncyBw
YXJzZXIgZ2VuZXJhdG9yJz8NCg0KT3RoZXJ3aXNlLCBub3QgdGhhdCBJIGtub3cgb2YsIHRo
ZXNlIHBhdGNoZXMgYXBwZWFyIHN0cmFpZ2h0Zm9yd2FyZC4gDQpUaGV5IG1pZ2h0IG5lZWQg
dG8gYmUgZG9uZSBvbiBjb3JlLXVwZGF0ZXMgdGhvdWdoIC0tIHVubGVzcyB0aGlzIGhhcyAN
CmNoYW5nZWQsIElJUkMgcnVieS1hc2NpaWRvY3RvciBpcyBkZWVwIGluIHRoZSBwYWNrYWdl
IGdyYXBoLg0KDQpHcmVldGluZ3MsDQpNYXhpbWUuDQo=
--------------rfLylnznTqwkL3lDLjZEFdqP
Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc"
Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc"
Content-Description: OpenPGP public key
Content-Transfer-Encoding: quoted-printable

-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m
xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2
ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL
CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc
/gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4
LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C
kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK
CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W
ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ
Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0
k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo
AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE
fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D
=3DOVqp
-----END PGP PUBLIC KEY BLOCK-----

--------------rfLylnznTqwkL3lDLjZEFdqP--

--------------Vq8uN5tf2QEOeBtHSSKDaq3A--

--------------NUd52TZWHeWGckjZ824YDF00
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCY0KRHAUDAAAAAAAKCRBJ4+4iGRcl7htp
AP42FLBb1ZJVOVM35qpzC7EmnLfT8nB8O7atbg5/yeM3EQEA+/L+fJP5QrD/9ROyrBiSJ66cps28
EBPa6QKa4ilCvAc=
=P8od
-----END PGP SIGNATURE-----

--------------NUd52TZWHeWGckjZ824YDF00--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: Debbug 56322, Ruby packaging issues, ping?
Resent-From: Remco van 't Veer <remco@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 10 Oct 2022 05:06:01 +0000
Resent-Message-ID: <handler.56322.B56322.16653783224490 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Maxime Devos <maximedevos@HIDDEN>
Cc: 56322 <at> debbugs.gnu.org
Received: via spool by 56322-submit <at> debbugs.gnu.org id=B56322.16653783224490
          (code B ref 56322); Mon, 10 Oct 2022 05:06:01 +0000
Received: (at 56322) by debbugs.gnu.org; 10 Oct 2022 05:05:22 +0000
Received: from localhost ([127.0.0.1]:45366 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ohkyg-0001AM-Fa
	for submit <at> debbugs.gnu.org; Mon, 10 Oct 2022 01:05:22 -0400
Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:42897)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <remco@HIDDEN>) id 1ohkyd-0001A6-Fb
 for 56322 <at> debbugs.gnu.org; Mon, 10 Oct 2022 01:05:20 -0400
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailout.west.internal (Postfix) with ESMTP id 6EBCF32007D7;
 Mon, 10 Oct 2022 01:05:13 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Mon, 10 Oct 2022 01:05:13 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h=
 cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to; s=fm2; t=1665378313; x=1665464713; bh=bdr9Lyt1m+
 WkY/+70QZfurt/SdDTG7RGv/a259GfGwY=; b=VW05ZdeS991Pnb0unmG5qOErfE
 WvdvIQunMSBEdEBuDPoeK7Uhk8lsFdAW+91M77vh6qI5mJmRWB+6G2onZzR/qfH+
 sxM1dsbVj/X8xpS/K/fXVR5SbvdAYoiv7RS0fI2hPoNDOzvd8UZuCYjHhB8cfAJP
 JUqJAR+cCP5volr0CYCobGk9gxfKOeN66cALbmvuJqlKHxAV93W8/L0ePF7wOQQv
 0gd1JLb5YfyqtzbZqDE1/NnUb+mWz34/cXnzMuGCyKU9Tqwxxd28GNTSw7/4wia2
 ME7/Xmb9EUaliq+qCj/mZKGqrqpjZPf3iB+QoNF+dGnsaMcsg4J9nL9c909g==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:date:date:feedback-id
 :feedback-id:from:from:in-reply-to:in-reply-to:message-id
 :mime-version:references:reply-to:sender:subject:subject:to:to
 :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm3; t=1665378313; x=1665464713; bh=bdr9Lyt1m+WkY/+70QZfurt/SdDT
 G7RGv/a259GfGwY=; b=TM8swnFhUh4S9V/UHYGuU2rbTQu3Nqam8uao+yysQbLb
 py60hP+b7nUMyxzGqgUJA/WNBTZih0Y6suh/NvqCqseTaC2RfCwGkmQVw++RYbmz
 3UKy8v8iDhFyuJz/E5Gv8BgfZKhe1GKqEjF4UGXOUc2wdmIQmVS8C4Ge0NM9hXDV
 TaDXDqFw15z3f3f6/db3WpvTvjYB975yLOfs1flekkqzuRSaee0ws9ODGRLt/0WS
 /f4kTZd/1gorbFot/GU63GyODzTpKq6BrFhNBDxXa1ob+dGAFdox1rMUfI9Fsyos
 RFjMTCJlhwcK5ovXdB02FmKSgrHVXe5cfnd1dnPaug==
X-ME-Sender: <xms:CKhDY0dODvnxWMPsRM8FJdlrAe_TtyM6kaw1P9ISsUCoGD9PmmR1fA>
 <xme:CKhDY2M61egQacsV8tfIUX2hLLteAWJCxP6X7lIKTvifMVin8DZTJAmr4toaZaPLI
 ig3oH4FeiANx_KgcQ>
X-ME-Received: <xmr:CKhDY1gm41nScvsDt0JGNirho1oFYw0e9OOE0mn1DFnsPvolwZeTiQq90czVyMJ_AbSaCcCSQpiumQlPSkoM0DTYe6W22afBSR7lXFN1iiAh>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeejvddgleefucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhepfhgfhffvvefujgffkfggtgesthdtredttdertdenucfhrhhomheptfgvmhgt
 ohcuvhgrnhcukdhtucggvggvrhcuoehrvghmtghosehrvghmfihorhhkshdrnhgvtheqne
 cuggftrfgrthhtvghrnhepkeduveegfedufeelhedvuedvhfeufedtteevkeehhfeigfev
 lefhgeeukedtfeevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh
 hfrhhomheprhgvmhgtohesrhgvmhifohhrkhhsrdhnvght
X-ME-Proxy: <xmx:CKhDY5_PLUimtxYTcHZJBzgH8akx3AnOS4mR5VDQBilwavj9snFUrA>
 <xmx:CKhDYwsF4mgS4AdI1D--sMr_KeR82EYj7nl4QiuJ2jFZWW1Sk6vslg>
 <xmx:CKhDYwGkzmnir22kOyHVJpHQdDDf_8Z3gzNoLnp7QvfVW5lWRkI8Rg>
 <xmx:CahDY222HQa5SY7B6L94C9Q6eqDBeOr763kw1_lQtN-IBgBT7NhM1A>
Feedback-ID: i568842cc:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
 10 Oct 2022 01:05:12 -0400 (EDT)
References: <874jwek50s.fsf@HIDDEN>
 <07af81e7-520f-45c0-c308-5f97837af673@HIDDEN>
User-agent: mu4e 1.8.9; emacs 28.1
From: Remco van 't Veer <remco@HIDDEN>
In-reply-to: <07af81e7-520f-45c0-c308-5f97837af673@HIDDEN>
Date: Mon, 10 Oct 2022 07:05:09 +0200
Message-ID: <87ilksjmka.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hi Maxime,

Thanks for taking a look again.  I'll make a new patchset to correct the
things you mentioned.

2022/10/09 11:15, Maxime Devos:

> Otherwise, not that I know of, these patches appear
> straightforward. They might need to be done on core-updates though --
> unless this has changed, IIRC ruby-asciidoctor is deep in the package
> graph.

What's the protocol for "doing on core-updates"?  I guess I can rebase
on that but who will or should pick up these patches?  Is there somebody
I need to ping?

Remco




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: Debbug 56322, Ruby packaging issues, ping?
Resent-From: Maxime Devos <maximedevos@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 10 Oct 2022 10:28:02 +0000
Resent-Message-ID: <handler.56322.B56322.166539765423019 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Remco van 't Veer <remco@HIDDEN>
Cc: 56322 <at> debbugs.gnu.org
Received: via spool by 56322-submit <at> debbugs.gnu.org id=B56322.166539765423019
          (code B ref 56322); Mon, 10 Oct 2022 10:28:02 +0000
Received: (at 56322) by debbugs.gnu.org; 10 Oct 2022 10:27:34 +0000
Received: from localhost ([127.0.0.1]:46201 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ohq0T-0005zD-J1
	for submit <at> debbugs.gnu.org; Mon, 10 Oct 2022 06:27:33 -0400
Received: from laurent.telenet-ops.be ([195.130.137.89]:38712)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1ohq0R-0005z2-D2
 for 56322 <at> debbugs.gnu.org; Mon, 10 Oct 2022 06:27:32 -0400
Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]
 ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16])
 by laurent.telenet-ops.be with bizsmtp
 id WATV2800R20ykKC01ATVD6; Mon, 10 Oct 2022 12:27:29 +0200
Message-ID: <712546e9-814d-80dd-3a17-ad3750a4a9ac@HIDDEN>
Date: Mon, 10 Oct 2022 12:27:29 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.3.0
Content-Language: en-US
References: <874jwek50s.fsf@HIDDEN>
 <07af81e7-520f-45c0-c308-5f97837af673@HIDDEN>
 <87ilksjmka.fsf@HIDDEN>
From: Maxime Devos <maximedevos@HIDDEN>
In-Reply-To: <87ilksjmka.fsf@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------bBfKNtXT9BulIegPF0CB0azz"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1665397649; bh=Yhp3Qwnah2QWANmyU35OUgb+z99D4S/SM2wQxFdS6Pc=;
 h=Date:Subject:To:Cc:References:From:In-Reply-To;
 b=Cr2y9vyUl15txC4mRBP4KUDsEahBjm3xPYFQzsBCd1fbgTtbJQUj3Kibs2BMFYqwM
 ZauWN29C5SMGLx2iOe+diaiyQhDov+UJ3QF6obaOSxdni2qHiVUVA13/NHcpC6MfFu
 oZ5A7jxFS2z3961EgW3QM+ksUvwbLgU6Bh7AyX3XMjTsY8AUBFOt4SS9sKOa7SsUkD
 lvCgOmurgGiQ/r85r8sF2aJdN6ItApeLaaG0H3aalCgFgqyBTiv9Vi2ham1JRxU2ej
 JwOzTKap8xmH2ekXnwEslg2zCBJdCa9P7V8nwo6d2cUZ23rOW6YbP3pq35GQEeOUu+
 34NYPVOyCzCEA==
X-Spam-Score: -1.8 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.8 (--)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------bBfKNtXT9BulIegPF0CB0azz
Content-Type: multipart/mixed; boundary="------------A3PMaXZmXsvOFzifXSDFMV8g";
 protected-headers="v1"
From: Maxime Devos <maximedevos@HIDDEN>
To: Remco van 't Veer <remco@HIDDEN>
Cc: 56322 <at> debbugs.gnu.org
Message-ID: <712546e9-814d-80dd-3a17-ad3750a4a9ac@HIDDEN>
Subject: Re: Debbug 56322, Ruby packaging issues, ping?
References: <874jwek50s.fsf@HIDDEN>
 <07af81e7-520f-45c0-c308-5f97837af673@HIDDEN>
 <87ilksjmka.fsf@HIDDEN>
In-Reply-To: <87ilksjmka.fsf@HIDDEN>

--------------A3PMaXZmXsvOFzifXSDFMV8g
Content-Type: multipart/mixed; boundary="------------1DQqh0vsgN3OOxKqtE2wCXE0"

--------------1DQqh0vsgN3OOxKqtE2wCXE0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

T24gMTAtMTAtMjAyMiAwNzowNSwgUmVtY28gdmFuICd0IFZlZXIgd3JvdGU6DQo+IEhpIE1h
eGltZSwNCj4gDQo+IFRoYW5rcyBmb3IgdGFraW5nIGEgbG9vayBhZ2Fpbi4gIEknbGwgbWFr
ZSBhIG5ldyBwYXRjaHNldCB0byBjb3JyZWN0IHRoZQ0KPiB0aGluZ3MgeW91IG1lbnRpb25l
ZC4NCj4gDQo+IDIwMjIvMTAvMDkgMTE6MTUsIE1heGltZSBEZXZvczoNCj4gDQo+PiBPdGhl
cndpc2UsIG5vdCB0aGF0IEkga25vdyBvZiwgdGhlc2UgcGF0Y2hlcyBhcHBlYXINCj4+IHN0
cmFpZ2h0Zm9yd2FyZC4gVGhleSBtaWdodCBuZWVkIHRvIGJlIGRvbmUgb24gY29yZS11cGRh
dGVzIHRob3VnaCAtLQ0KPj4gdW5sZXNzIHRoaXMgaGFzIGNoYW5nZWQsIElJUkMgcnVieS1h
c2NpaWRvY3RvciBpcyBkZWVwIGluIHRoZSBwYWNrYWdlDQo+PiBncmFwaC4NCj4gDQo+IFdo
YXQncyB0aGUgcHJvdG9jb2wgZm9yICJkb2luZyBvbiBjb3JlLXVwZGF0ZXMiPyAgSSBndWVz
cyBJIGNhbiByZWJhc2UNCj4gb24gdGhhdCBidXQgd2hvIHdpbGwgb3Igc2hvdWxkIHBpY2sg
dXAgdGhlc2UgcGF0Y2hlcz8gIElzIHRoZXJlIHNvbWVib2R5DQo+IEkgbmVlZCB0byBwaW5n
Pw0KDQpJdCdzIHRoZSBzYW1lIGFzIG1hc3RlciAobm8gc2VwYXJhdGUgcGVvcGxlKSwgYnV0
IHRvIGF2b2lkIHNvbWVvbmUgDQphY2NpZGVudGFsbHkgYXBwbHlpbmcgaXQgdG8gdGhlIHdy
b25nIHBhdGNoLCBpdCBpcyByZWNvbW1lbmRlZCB0byBwcmVmaXggDQp0aGUgc3ViamVjdCB3
aXRoIFtQQVRDSCBjb3JlLXVwZGF0ZXNdIGluc3RlYWQgb2YgW1BBVENIXS4NCg0KVGhlIG1h
bnVhbCBoYXMgc29tZSBpbmZvcm1hdGlvbiBvbiB3aGVuIHNvbWV0aGluZyBzaG91bGQgYmUg
b24gDQpjb3JlLXVwZGF0ZXMgb3IgbWFzdGVyLg0KDQpHcmVldGluZ3MsDQpNYXhpbWUuDQo=

--------------1DQqh0vsgN3OOxKqtE2wCXE0
Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc"
Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc"
Content-Description: OpenPGP public key
Content-Transfer-Encoding: quoted-printable

-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m
xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2
ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL
CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc
/gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4
LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C
kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK
CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W
ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ
Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0
k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo
AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE
fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D
=3DOVqp
-----END PGP PUBLIC KEY BLOCK-----

--------------1DQqh0vsgN3OOxKqtE2wCXE0--

--------------A3PMaXZmXsvOFzifXSDFMV8g--

--------------bBfKNtXT9BulIegPF0CB0azz
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCY0PzkQUDAAAAAAAKCRBJ4+4iGRcl7jM2
AQCvvCR+CeN8VMuVvFTXzjsnmn4wHMFCm9NfoQEvFGTfkwD+MXG5iwX5IEm/dx4fvs2ZKgE0lSHN
qokQ+y2p5ZGsTws=
=duj/
-----END PGP SIGNATURE-----

--------------bBfKNtXT9BulIegPF0CB0azz--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: [PATCH core-updates 0/3]  Ruby packaging issues
Resent-From: Remco van 't Veer <remco@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 12 Oct 2022 13:36:02 +0000
Resent-Message-ID: <handler.56322.B56322.166558174412293 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 56322 <at> debbugs.gnu.org
Cc: Maxime Devos <maximedevos@HIDDEN>, Remco van 't Veer <remco@HIDDEN>
Received: via spool by 56322-submit <at> debbugs.gnu.org id=B56322.166558174412293
          (code B ref 56322); Wed, 12 Oct 2022 13:36:02 +0000
Received: (at 56322) by debbugs.gnu.org; 12 Oct 2022 13:35:44 +0000
Received: from localhost ([127.0.0.1]:56198 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oibtg-0003CD-I9
	for submit <at> debbugs.gnu.org; Wed, 12 Oct 2022 09:35:44 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:43231)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rwv@HIDDEN>) id 1oibtd-0003Bs-PS
 for 56322 <at> debbugs.gnu.org; Wed, 12 Oct 2022 09:35:42 -0400
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailout.nyi.internal (Postfix) with ESMTP id 770455C00D7;
 Wed, 12 Oct 2022 09:35:36 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Wed, 12 Oct 2022 09:35:36 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h=
 cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:sender
 :subject:subject:to:to; s=fm2; t=1665581736; x=1665668136; bh=tS
 YjyTDp7g4HUz4hCnFjTy9lPaUxL8NXPiY3VwRAw2A=; b=Unufgh1Ib5WbGS6LOy
 449RZ6K57D1St1/qyiNh9fH4Xo71Dl5o1ypD8sG9trdTD5N1f+oM0/DCUUdCMhqR
 ahGVFX/bVBiUkEC+QlsAPtnYKlZWXxu3OxurEGA22enwO9KLuxjbqPMUyRKTjKyY
 ef6pk5uPTz+SnrZCZ8qyc89oYfnS11QoP56wdv/X/PHIVX+44nGLOHLQz09sx+Bx
 CAUMu1fP13CxrHiosIwTJ4GJxH12fhWqplfRjlHK7vFqAgF/Hx5q0da1YRzY6VnU
 qo1zvt5jomTENOVeZsfPOKKFzLNx8Dl+WFANj6/+3xCMJ6j9XKBFFpwxYOPz5Vwl
 IGFQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm3; t=1665581736; x=1665668136; bh=tSYjyTDp7g4HU
 z4hCnFjTy9lPaUxL8NXPiY3VwRAw2A=; b=AKKv8l9o0WRU3Za2aaktHPYcMMzVQ
 ncscag6wjED+DDApPtN4+NNMMZV1G4zxc5SS1ywTQf4k6TyYt0PJwrGQs+K1DUy3
 yEhMnxiAyOEEznxC2sMfExXoS66HEsEyhDxR3HbkDnd6fDmt8bRsPlWAhscbQziE
 CQoRr88NlwIajka+nmPjm2YvDP0kYwnpXXFNpZuPCWu0pGJPRXwLNNhAQqfIQdFx
 TbN6Jy0t3aWTUlGzJ4BEO6jZiF67CKzxfQG0fPGL1Hr1kQfnMgMadboTf4YaQEb6
 /P93fXB8ObOSgXDG7ggLtcz3dR6AofReaCtyRpUA6Ht4KBkv+hsz3GEew==
X-ME-Sender: <xms:qMJGY9uv1b0RqYspLH1FmaHxkDt88TE6H9p1AYnNylgQHXPMMJloww>
 <xme:qMJGY2e-1B9oHvoJbicHl6jvi4PgRpQ3cjKS-AePRNza6Ax2eh4HxopIHLxwi8VY_
 _qTwJ9UpHoSmb2UWg>
X-ME-Received: <xmr:qMJGYwz0-YCN5QFR5IVxXFVohYAbXd4YOabyRd8ok6C3rZnHvVgIcIx2PjSKWBFuhyhbkdF1Y5YmHI9QnyrepMx_YSepNQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeejkedgieejucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvmhgt
 ohcuvhgrnhcukdhtucggvggvrhcuoehrvghmtghosehrvghmfihorhhkshdrnhgvtheqne
 cuggftrfgrthhtvghrnhepteegudelgfffvedtfeehjefhgeeijeeiudeugfevhfduuedt
 teevudehgfffffdvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh
 hfrhhomheprhifvhesfhgrshhtmhgrihhlrdgtohhm
X-ME-Proxy: <xmx:qMJGY0MdoyPV5ymTgPUmB6CmsXHbdzNUQjqWR_CGBa7L5M3e0fMzGw>
 <xmx:qMJGY99rxQiON-dxbK00BS3VpPCFRjT_9aoiBepoVXfj6HyAIQLJSg>
 <xmx:qMJGY0Xkc28ejOmBHlXEFsCiMgJedvhqk77NCzlNd_03IeUlNe25Pg>
 <xmx:qMJGY_ltOdqv64WdQMfiguc1SwpAZweKmUTRduoHrBiHLzRjrmiHzA>
Feedback-ID: i568842cc:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 12 Oct 2022 09:35:35 -0400 (EDT)
From: Remco van 't Veer <remco@HIDDEN>
Date: Wed, 12 Oct 2022 15:35:26 +0200
Message-Id: <20221012133529.27859-1-remco@HIDDEN>
X-Mailer: git-send-email 2.37.3
In-Reply-To: <712546e9-814d-80dd-3a17-ad3750a4a9ac@HIDDEN>
References: <712546e9-814d-80dd-3a17-ad3750a4a9ac@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.2 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.2 (-)

Applied changes from feedback by Maxime Devos and rebased on
core-updates.

Remco van 't Veer (3):
  gnu: ruby: trigger autotools bootstrap
  gnu: ruby: fix unbundling of libffi for inheriting rubies
  gnu: ruby: regenerate parse.c

 gnu/packages/ruby.scm | 28 +++++++++++++++++++++++-----
 1 file changed, 23 insertions(+), 5 deletions(-)


base-commit: 685110045c04a60bf18163aab1c230f944c871c9
-- 
2.37.3





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: [PATCH core-updates 1/3] gnu: ruby: trigger autotools bootstrap
Resent-From: Remco van 't Veer <remco@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 12 Oct 2022 13:36:02 +0000
Resent-Message-ID: <handler.56322.B56322.166558174812315 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 56322 <at> debbugs.gnu.org
Cc: Maxime Devos <maximedevos@HIDDEN>, Remco van 't Veer <remco@HIDDEN>
Received: via spool by 56322-submit <at> debbugs.gnu.org id=B56322.166558174812315
          (code B ref 56322); Wed, 12 Oct 2022 13:36:02 +0000
Received: (at 56322) by debbugs.gnu.org; 12 Oct 2022 13:35:48 +0000
Received: from localhost ([127.0.0.1]:56206 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oibtj-0003CY-R8
	for submit <at> debbugs.gnu.org; Wed, 12 Oct 2022 09:35:48 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:41473)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rwv@HIDDEN>) id 1oibtf-0003Bv-Hb
 for 56322 <at> debbugs.gnu.org; Wed, 12 Oct 2022 09:35:43 -0400
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailout.nyi.internal (Postfix) with ESMTP id 77E6F5C00AD;
 Wed, 12 Oct 2022 09:35:38 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Wed, 12 Oct 2022 09:35:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h=
 cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:sender
 :subject:subject:to:to; s=fm2; t=1665581738; x=1665668138; bh=sy
 J0SHxsexeDgWHvEhKloBW/uwPkPwMHmpfgpRycOmo=; b=fzXVF+4Y2ZlY5S8xUb
 BOwQkOZ1PEoQ/IkOr2y192Y1/CQQwApW8FgKSlXxL20b/XE7NFasHDOpfOEmG6co
 tevLNTYBe23nghD1AJbymPnGt1hgs90ajTTy3+iJjcuksWAAOCtf3sOzLWh2zFXv
 TRPrQxAu9WzuHuiRB0gW9Kip9n/vNTG6PYz+vYA/XRjHkcRqSMQ6UObZ5zCTmIas
 MOSj2nFkX5H+Hn+ovfo9pBgJegULNjFDGQICR5+mKmZXkTTVWmP1FZjNP+s7gWfN
 1583CubHPjd/CAjEYMBmDUEdd/Y6LODc4Bj9MSNzdxVdIiHTd8MTfAXLEDdFg2OA
 98tg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm3; t=1665581738; x=1665668138; bh=syJ0SHxsexeDg
 WHvEhKloBW/uwPkPwMHmpfgpRycOmo=; b=k4a2b/qnZRiDPP+zwB10/nNhLvRf+
 +mAynoZoBxRUihiE40WQdG7BEceHeNy3bpdIX6tk6gyl64+NWEKHqUNOBPILMl2H
 91H+l5+mue+ftfI01AoFPIrOsUEiZ+807qkiDp3tfpl+e07fSlIcJsylGIXmI8Ie
 /gwv10JBlA+URcUYNYCkFUZivuSQ+fNj4M2vgcqvwY99ADOLvVypRi7cmdZ42U9w
 yczFvO/7P+k+hNL4tQ2QNSIFoAYjn8oeje8U96Gf4DjSh6fva4FluwZ3H/MNP6jK
 XBOsaIk2eWgdpnO/jSdF6Y6vyp1sNgSvZF2g6lVNRUdFTyDK6tXIVP0KA==
X-ME-Sender: <xms:qsJGY4Sldi8O83mbiHshB-XVqd0cf-ciThm0bnhZb8xl_NETzVBmRg>
 <xme:qsJGY1wt3yNKk_mo0c3eqwkjdDRXFBDKkJueH6PSzrNNWvdFWZvL9yfQcKG7l_tV6
 _y1P6UsJJdkkvyepw>
X-ME-Received: <xmr:qsJGY11Q91g9YzIObQYFQR4WTF6NLu453SMJONznaXtd7hAIjK27euGXOgUaqxAvETNr-PvKN6R2Y6hvlIIIgBQ28NtZSQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeejkedgieejucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvmhgt
 ohcuvhgrnhcukdhtucggvggvrhcuoehrvghmtghosehrvghmfihorhhkshdrnhgvtheqne
 cuggftrfgrthhtvghrnhepteegudelgfffvedtfeehjefhgeeijeeiudeugfevhfduuedt
 teevudehgfffffdvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh
 hfrhhomheprhifvhesfhgrshhtmhgrihhlrdgtohhm
X-ME-Proxy: <xmx:qsJGY8AxIBT6zoU59sBOP8McFJHDCkp1XhdeJXuEkeIj4Y_u7Uq3Sg>
 <xmx:qsJGYxhzqxf19hCyzup01jzCGWjbVUfPEOQx6Uy0tnVVS_jVRqVIIA>
 <xmx:qsJGY4otbohoDMAtor8V9aQMiwNQe21baYaUHh_bxsJ04TcbMH7aZQ>
 <xmx:qsJGYxa1IyPZlK37EQr_HZRkRKlOjQBEByl_V9csbD9BWXAkakhb0w>
Feedback-ID: i568842cc:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 12 Oct 2022 09:35:37 -0400 (EDT)
From: Remco van 't Veer <remco@HIDDEN>
Date: Wed, 12 Oct 2022 15:35:27 +0200
Message-Id: <20221012133529.27859-2-remco@HIDDEN>
X-Mailer: git-send-email 2.37.3
In-Reply-To: <20221012133529.27859-1-remco@HIDDEN>
References: <712546e9-814d-80dd-3a17-ad3750a4a9ac@HIDDEN>
 <20221012133529.27859-1-remco@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.2 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.2 (-)

* gnu/packages/ruby.scm (ruby-2.6, ruby-2.7): Remove autotools artifacts
---
 gnu/packages/ruby.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e1b71a0a1a..25d7aba933 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -116,7 +116,9 @@ (define-public ruby-2.6
        (snippet `(begin
                    ;; Remove bundled libffi
                    (delete-file-recursively "ext/fiddle/libffi-3.2.1")
-                   #t))))
+                   ;; Trigger bootstap
+                   (delete-file "configure")
+                   (delete-file "aclocal.m4")))))
     (build-system gnu-build-system)
     (arguments
      `(#:test-target "test"
@@ -142,6 +144,7 @@ (define-public ruby-2.6
      (list readline openssl-1.1 libffi gdbm))
     (propagated-inputs
      (list zlib))
+    (native-inputs (list autoconf automake))
     (native-search-paths
      (list (search-path-specification
             (variable "GEM_PATH")
@@ -185,10 +188,7 @@ (define-public ruby-2.7
                             "test/ruby/test_process.rb"
                             "test/ruby/test_system.rb"
                             "tool/rbinstall.rb")
-               (("/bin/sh") (which "sh")))
-             #t)))))
-    (native-inputs
-     (list autoconf))))
+               (("/bin/sh") (which "sh"))))))))))
 
 (define-public ruby-3.0
   (package
-- 
2.37.3





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: [PATCH core-updates 2/3] gnu: ruby: fix unbundling of libffi for inheriting rubies
Resent-From: Remco van 't Veer <remco@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 12 Oct 2022 13:36:02 +0000
Resent-Message-ID: <handler.56322.B56322.166558174812322 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 56322 <at> debbugs.gnu.org
Cc: Maxime Devos <maximedevos@HIDDEN>, Remco van 't Veer <remco@HIDDEN>
Received: via spool by 56322-submit <at> debbugs.gnu.org id=B56322.166558174812322
          (code B ref 56322); Wed, 12 Oct 2022 13:36:02 +0000
Received: (at 56322) by debbugs.gnu.org; 12 Oct 2022 13:35:48 +0000
Received: from localhost ([127.0.0.1]:56208 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oibtk-0003Ca-5x
	for submit <at> debbugs.gnu.org; Wed, 12 Oct 2022 09:35:48 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:35743)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rwv@HIDDEN>) id 1oibth-0003Bx-DN
 for 56322 <at> debbugs.gnu.org; Wed, 12 Oct 2022 09:35:45 -0400
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailout.nyi.internal (Postfix) with ESMTP id 5AFF75C0175;
 Wed, 12 Oct 2022 09:35:40 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Wed, 12 Oct 2022 09:35:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h=
 cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:sender
 :subject:subject:to:to; s=fm2; t=1665581740; x=1665668140; bh=C4
 Uedud+tSPqcCAN2Znw8gqCeI3MZV+zpapehmu9my8=; b=LbYIg953XIloeDwPrE
 cb1d5GLJVOTL/5VJEqsMQaI3cH5CtmBaX4x4LJ+aHbJQj2J60Vs6ZGqAZSLY26Dp
 nvGGE7bJgkcOOcnTw2EunhqKYTYONK9v0eCzEPGjHoeQ+X8KWxobwU68sPNaQd0G
 asM1IQhIFby55mxrzLuvq+a4vJuGP/gR76qyaabAr+amvFCWMjJmVRoRpW9AoK1b
 G/gR9jXDYo85H6FaNrwzpcbxJ/XdXHKtnBkPgQ71BpvxCHsgG/T2bg0opfyIfcNi
 iFwoqJQQEJJ3ydmTye16gxPUg+9bNQrYzvuoUOZUOBhJjOfFGgSj+Z7NMWqpgyEU
 Od0w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm3; t=1665581740; x=1665668140; bh=C4Uedud+tSPqc
 CAN2Znw8gqCeI3MZV+zpapehmu9my8=; b=Mdc3ARkO10B/3G/3bam1ddhFILZBO
 mKhyjoA78PFIdlxBq2C/dfo1T8/BYTY+1dHoz1c1sGa2gdNGREIBt/tl1LH0EcPS
 fOlwndd7m0+O78pii0NMWoY+GZ1IcfBP7pPiFvGrQpwYbenN2/uKkE0UKSqyr3fY
 p1CAWvS+AsZPVNn0TAcsVPOmchP2QxVlhh/zyPEfl8orkBV80FJT4++V/wdUuIJ6
 rDvF4CJZsrP4+sdF8uRkHFlYm/TUeWyTMGSuQ22IbB7gxPTDoyfv1seQN3WK43XX
 Z/AarcA2ZcWPvNmI3nlUww1IfwbtMC5yWurJ+2m0UlEyW5ODtimNWe4zA==
X-ME-Sender: <xms:rMJGYzoxxApl6rQImKtoJQuASjLqKSBiQbgJTkZJQG6h9xZdVRzGDw>
 <xme:rMJGY9otMc9KxvQYyWEa-RVQ2tB15nNp02xPsVs8Lju5v4SVctc3y8muaTp2Xb4i7
 kZCKuMqt9cao0e_Sg>
X-ME-Received: <xmr:rMJGYwO6eq_6YC2IOwScSAirbg-AaeKMx6Jin3KXhH6nmlkiPqA8q9SIMpD2ST0Rn7gBor4K2FJ3Qdg24gRebFIMbb5xew>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeejkedgieejucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvmhgt
 ohcuvhgrnhcukdhtucggvggvrhcuoehrvghmtghosehrvghmfihorhhkshdrnhgvtheqne
 cuggftrfgrthhtvghrnhepieelgfeghfefveehfeelheegtdevveelffduvddtleevjedt
 veejlefggeehtdefnecuffhomhgrihhnpehruhgshidqlhgrnhhgrdhorhhgnecuvehluh
 hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhifvhesfhgrshht
 mhgrihhlrdgtohhm
X-ME-Proxy: <xmx:rMJGY25RB1Sa8C6BZLsd2BwFCeaVuvAj1vqCvzSe5qLMIq_ins2UgA>
 <xmx:rMJGYy5E8gvOdD7cqUj4fMxpGmty-yOcVvDO40hpi48DsNpGSUIZGg>
 <xmx:rMJGY-j3tv7MlmAQobEFjCVaNr8at2LBPI-_ykviwXTVIcHIwLeCgQ>
 <xmx:rMJGY4TcwZLre21L02f1fW_HzN2psOmU2sjbGnoTX28WC0WaXtPISw>
Feedback-ID: i568842cc:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 12 Oct 2022 09:35:39 -0400 (EDT)
From: Remco van 't Veer <remco@HIDDEN>
Date: Wed, 12 Oct 2022 15:35:28 +0200
Message-Id: <20221012133529.27859-3-remco@HIDDEN>
X-Mailer: git-send-email 2.37.3
In-Reply-To: <20221012133529.27859-1-remco@HIDDEN>
References: <712546e9-814d-80dd-3a17-ad3750a4a9ac@HIDDEN>
 <20221012133529.27859-1-remco@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.2 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.2 (-)

* gnu/packages/ruby.scm (ruby-3.0, ruby-3.1): Inherit package-source to ensure inclusion of unbundling snippet
---
 gnu/packages/ruby.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 25d7aba933..bd55d5ac6d 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -196,6 +196,7 @@ (define-public ruby-3.0
     (version "3.0.4")
     (source
      (origin
+       (inherit (package-source ruby-2.7))
        (method url-fetch)
        (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
                            (version-major+minor version)
@@ -213,6 +214,7 @@ (define-public ruby-3.1
     (version "3.1.2")
     (source
      (origin
+       (inherit (package-source ruby-3.0))
        (method url-fetch)
        (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
                            (version-major+minor version)
-- 
2.37.3





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#56322: [PATCH core-updates 3/3] gnu: ruby: regenerate parse.c
Resent-From: Remco van 't Veer <remco@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 12 Oct 2022 13:36:03 +0000
Resent-Message-ID: <handler.56322.B56322.166558175312334 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56322
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 56322 <at> debbugs.gnu.org
Cc: Maxime Devos <maximedevos@HIDDEN>, Remco van 't Veer <remco@HIDDEN>
Received: via spool by 56322-submit <at> debbugs.gnu.org id=B56322.166558175312334
          (code B ref 56322); Wed, 12 Oct 2022 13:36:03 +0000
Received: (at 56322) by debbugs.gnu.org; 12 Oct 2022 13:35:53 +0000
Received: from localhost ([127.0.0.1]:56210 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oibtp-0003Cr-Hv
	for submit <at> debbugs.gnu.org; Wed, 12 Oct 2022 09:35:53 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:60057)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rwv@HIDDEN>) id 1oibtj-0003C0-CF
 for 56322 <at> debbugs.gnu.org; Wed, 12 Oct 2022 09:35:47 -0400
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailout.nyi.internal (Postfix) with ESMTP id 51E455C018F;
 Wed, 12 Oct 2022 09:35:42 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Wed, 12 Oct 2022 09:35:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h=
 cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:sender
 :subject:subject:to:to; s=fm2; t=1665581742; x=1665668142; bh=dG
 dGV1NckUuPhzWNB94Lx5dzff/C2oqb2NHFoJYbmyI=; b=b+RJcFPms8RgCxWmNc
 8JGTnCROV2wLYbmPkDvfigeHehOf9KRzBzVegbKkXvWdxDduBy2C57CqEjdMO65N
 EtLF9gtu+E+7aPVUOBabxyoneicRUjzOgCLakGd89G44YOMd8CXidFMNqW5mgzhL
 zHu8tBHGVI6PzGXfTPzODbVvxTli8MouZpTOipUYPwciLE4oVUCzbm5LJDhFZxkU
 qlMUWTe85qOb4fqv628ioQcRCNyNj4fs0NvVUidQRVgVaDv6enmVuMt8v6cWdwH/
 wFZOTn8Oh384zkm3Q4XplQcFDb1sN0pgWGMMI00k9nghxoKpaQa3b1WF+xEl7orW
 glTQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm3; t=1665581742; x=1665668142; bh=dGdGV1NckUuPh
 zWNB94Lx5dzff/C2oqb2NHFoJYbmyI=; b=PTm1fRUQoor0Oi3+7e7hz0lof3RDP
 2Juwx4hE2Bapsbw0XnNMS6InVRE19sl2T7t2DHOd9aSzj9BXgeb7hj4NtQm2dlSg
 YrtuqJRgqf/wkPIIipf7X5r7wT9elLK2WuL4p5RsG8q9cowA3CDOg+kcaI+cwUIN
 V693vMeSKIjEOU3sN4zbdCWVcat0mSMYEY/oMlXNcf+mF5bjnQgBrM/I8ejpISmt
 g51Ljyr3CU67AKo+uZLD5bnTD+IQro9NWOCOHnnfUZToWVDwNU60ZvSnxWWrthok
 rohWEj38jhDHrrmgSm7S58vuPex2B8UH0R9Qz0pkjUTgvc45NI6MHaSzQ==
X-ME-Sender: <xms:rsJGYz-o8y-42SNoR2t0Esa7lOOJ5oMyy-DtIav5eycPkamx7OWeNQ>
 <xme:rsJGY_tY8Vd1NvtDnmWG5ZbvkMxPiimnJV2enkzmfNmOSdj7-NjNp_dW3ofexXlhd
 So-_HYiF108-eK12w>
X-ME-Received: <xmr:rsJGYxC9ePB2dMZj-KTwFvhrGXyRFbFwDHkgjp6iUrpqLoS4AC0_KzLLmnhRdO6a0mo84pbE8Pz0E9dc4-8PNk03BYIKzA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeejkedgieejucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvmhgt
 ohcuvhgrnhcukdhtucggvggvrhcuoehrvghmtghosehrvghmfihorhhkshdrnhgvtheqne
 cuggftrfgrthhtvghrnhepteegudelgfffvedtfeehjefhgeeijeeiudeugfevhfduuedt
 teevudehgfffffdvnecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehmrghilh
 hfrhhomheprhifvhesfhgrshhtmhgrihhlrdgtohhm
X-ME-Proxy: <xmx:rsJGY_dL6ExmDZu_oIm3msicMYV0xceLAig9AxQ1ZlWDCJdCxtOzyA>
 <xmx:rsJGY4MGIOklWFGdMzkQjtjMBSp80S_KvPCUb0fEAJefYwt9AaVukw>
 <xmx:rsJGYxkUJyQ2QZ2ydortUzmaf0eNGoiTrrVv4ns1nsiRyiURWsu52w>
 <xmx:rsJGYy0_KrAjcAF9yIIJPwp9tfVLz6WCTFXF3sJ6gzMlL5Xx_06wzA>
Feedback-ID: i568842cc:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 12 Oct 2022 09:35:41 -0400 (EDT)
From: Remco van 't Veer <remco@HIDDEN>
Date: Wed, 12 Oct 2022 15:35:29 +0200
Message-Id: <20221012133529.27859-4-remco@HIDDEN>
X-Mailer: git-send-email 2.37.3
In-Reply-To: <20221012133529.27859-1-remco@HIDDEN>
References: <712546e9-814d-80dd-3a17-ad3750a4a9ac@HIDDEN>
 <20221012133529.27859-1-remco@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.2 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.2 (-)

* gnu/packages/ruby.scm (baseruby, ruby-2.7): Use bootstrap baseruby to regenerate parse.c
---
 gnu/packages/ruby.scm | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index bd55d5ac6d..497271f442 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -188,7 +188,23 @@ (define-public ruby-2.7
                             "test/ruby/test_process.rb"
                             "test/ruby/test_system.rb"
                             "tool/rbinstall.rb")
-               (("/bin/sh") (which "sh"))))))))))
+               (("/bin/sh") (which "sh"))))))))
+    (native-inputs (list autoconf automake baseruby bison))))
+
+(define baseruby ;; for bootstrapping ruby's parser generator
+  (package
+    (inherit ruby-2.7)
+    (name "baseruby")
+    (source (origin
+              (inherit (package-source ruby-2.7))
+              ;; override snippet to not include deletion of bundled parse.c
+              (snippet `(begin
+                          ;; Remove bundled libffi
+                          (delete-file-recursively "ext/fiddle/libffi-3.2.1")
+                          ;; Trigger bootstap
+                          (delete-file "configure")
+                          (delete-file "aclocal.m4")))))
+    (native-inputs (list autoconf automake))))
 
 (define-public ruby-3.0
   (package
-- 
2.37.3






Last modified: Wed, 12 Oct 2022 13:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.