From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qC9xNAEOrmFfkgAAgWs5BA (envelope-from ) for ; Mon, 06 Dec 2021 14:20:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CK0zMAEOrmE5LAAA1q6Kng (envelope-from ) for ; Mon, 06 Dec 2021 13:20:01 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 648442D2C6 for ; Mon, 6 Dec 2021 14:20:01 +0100 (CET) Received: from localhost ([::1]:34010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muDuS-0000IJ-HG for larch@yhetil.org; Mon, 06 Dec 2021 08:20:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muDis-0005wh-HT for guix-patches@gnu.org; Mon, 06 Dec 2021 08:08:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49243) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muDis-0004Bi-8K for guix-patches@gnu.org; Mon, 06 Dec 2021 08:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1muDis-0007qL-3D for guix-patches@gnu.org; Mon, 06 Dec 2021 08:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51845] [PATCH 0/2] Add librsvg-bootstrap Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 06 Dec 2021 13:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51845 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 51845@debbugs.gnu.org Received: via spool by 51845-submit@debbugs.gnu.org id=B51845.163879603530089 (code B ref 51845); Mon, 06 Dec 2021 13:08:02 +0000 Received: (at 51845) by debbugs.gnu.org; 6 Dec 2021 13:07:15 +0000 Received: from localhost ([127.0.0.1]:60789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muDi7-0007pE-9i for submit@debbugs.gnu.org; Mon, 06 Dec 2021 08:07:15 -0500 Received: from flashner.co.il ([178.62.234.194]:45066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muDi6-0007oy-Id for 51845@debbugs.gnu.org; Mon, 06 Dec 2021 08:07:14 -0500 Received: from localhost (unknown [94.230.83.253]) by flashner.co.il (Postfix) with ESMTPSA id 22A964020F; Mon, 6 Dec 2021 13:07:08 +0000 (UTC) Date: Mon, 6 Dec 2021 15:06:18 +0200 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 51845@debbugs.gnu.org References: <87zgpend04.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Qe+U0H0bLP+yPbEz" Content-Disposition: inline In-Reply-To: <87zgpend04.fsf@gnu.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638796801; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=zQRPDh3ILkFCp+TKJjS3g4PjKpFvb4eokEBGdBPaBy4=; b=Zk8W8imhUxVmBxyfb0fuSs/G+0rffaUGZlyMRPADVrIHh2M+3CimCQf8Y/r43g82F0bKJw x6tE8B3VeS1TJ4N7L5/I8axcIKSp2rV4GoJWz3nEFOF1pV8yAYcXlIQGJEhq6wfde0hUSr pwSL2rf9w475IODt5wuKJW2Av5BxOXijwipwJd1AgQ36BoDISm4qtsqgGl+zE97y8no3F0 1QNagqIta8tZf7ITuTmIfcrxNnL519Hk6qOgkVVeEbgVrtXSvGd0e1OLpO/MJDbu7kotHt bJZnzLtDyC0g7QsIZxUmNonZ/pWPhfRGgvTcJZLm/A49l5NgxZM62HTTRmtlOg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638796801; a=rsa-sha256; cv=none; b=UbKieEU/zVUx/JUsiAAcD1du5H+mDdM3MQf0Lze47L/ArKk9WWI6kEOAAbeDWuH1Cl6fwp ypGVdaph13e+oF6+dJeGQthCDXpXw9W8I31COZjxDg3ewIw6TYUcPdqyOX+LnSUuEg8P8E ggnhr3dKGBDID1CWXgRjkjACkAikXVIucYXhdZut4ATPPukkBgkabYcpQ6wedA/ojXKqok nPaCuu9Ol+C6nUZ5kFirQ6wlmtJ9CVEmAJldcUrko6sQDp+FaHczQx7wsUR9cD3jXlG0gR hxwr+6C4BITV6Hl17EmiHNpy8t0hffbSuvnDzgf2sGAEJYPpWJWd3S7a7GrSng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.04 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 648442D2C6 X-Spam-Score: -3.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7DfYE6wAAxd3 --Qe+U0H0bLP+yPbEz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 06, 2021 at 01:17:47PM +0100, Ludovic Court=C3=A8s wrote: > Hi Efraim, >=20 > I had completely overlooked these patches, oops! >=20 > Efraim Flashner skribis: >=20 > > librsvg is an input for emacs, gtk+@2 and gtk+@3. With the rust inputs > > this leads to (unknown) rust libraries causing the rebuild of over 3000 > > packages on core-updates-frozen. Rather than hunt them down I tracked > > down the packages which would have many rebuilds and added a copy of > > librsvg for them to use. >=20 > [...] >=20 > > I'm suggesting that for gtk+@2 and gtk+@3 we use the bundled crates and > > for the other 101 packages we continue to use our current version, where > > we replace all of the bundled crates with our own copies, which get > > updated more often than librsvg does. > > > > With our current rust tooling I don't think it'd be that easy to find > > the ~226 crates that librsvg depends on, and it wouldn't be great to > > lock them due to librsvg being an input for gtk2/3. >=20 > Yes, that=E2=80=99s a problem, though Liliana is right that bundling isn= =E2=80=99t great > either. >=20 > I=E2=80=99m annoyed by this whole librsvg situation. On non-x86_64, we n= ow > depend on librsvg 2.40, the old C version, and guess what, it just > works. That has me tempted to stick with 2.40 all along because these > Rust problems don=E2=80=99t seem to have a pleasant, or even an easy solu= tion. >=20 > Now, using the proposed =E2=80=98librsvg-bootstrap=E2=80=99 in GTK+ looks= like a lesser > evil. >=20 > Thoughts? Unbundling the rust crates is the right option, but not the easy option. With the assumption that rust-libc-0.2 is in the graph for librsvg, we add another copy named rust-libc-0.2.101 (the current version) and a comment that it only gets adjusted on core-updates or that it causes XXXX package rebuilds. On a small tangent, the work I do sometimes to try to actually have a dependency graph with the crates would only make these easier to find, not actually address the issue here. I'm not sure if it'd be better to mostly copy the packages with a new name and keep the cargo-inputs or to actually adjust the cargo-inputs->inputs and cargo-development-inputs->native-inputs so we get the dependency graph from rust-libc-0.2.101 to librsvg. I'd like to make the change but if we don't get the others changed then we effectively really have two sets of rust crates. If we have both cargo-inputs and inputs then the cargo-build-system doesn't have issues with using either type with later packages, so that might be the best option for now. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Qe+U0H0bLP+yPbEz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmGuCsgACgkQQarn3Mo9 g1GelA//SkbqRAKmwoL+6GnM4ZlsmG6xOqqk1rHt1qHk/cOHKi+cbx4Xfcb1nj7I zSotDjmlf+wPZI3wG1ljw91Y+RSvvnlMg6Y0pqFSO/ERDaapaei2EvNVqggZmbC5 BxsqMzDqd1UsCrPJNj71ckcnreRmF2+/TBIO6uswdGyavid6TP9F8uy/VJcjXeJN vWGBXiP1oAjLzli7AO1ya7sUuZdsPdGUIUBwJbqV5/9Na0WvdR27has2UcdNKoRV vc+KcKnwX2c32zhnfcwQomT/8JcvND/Ip0iXggzqDrJtFmpBEhxJ0r5froSZme9+ gPp/1KOQ8dwHvD1DHlCj4MgCneXkkGJNz5ZTieDgaj6VO1emGS/XBl8cX/i4owrj +aosRoVE4KhVsRnlVEjsBcrh6YxZDK4U6m/i7/rU0JmISeG6+tZghvQjHQdq5J/m tnEnwBmENGvAlQXxTPimSzfyQKScbs47nmDpkw9ZxWC4rQC3rj4nEgk/l/CJuX0E e6+XuYFJFJv4ZlfwvMSmNx08z1uijoCibOp2GwGF91Of9Z3CFZ9VBf1yqGIU22bA jP8IpWXhkArQXgFuNsMPf1MQCqWlb7zxU88tNww1AMtSig/I8oUkj0Yo93T0y/RD mglhoJDPamVxUz7clXUoEGxg6G/GbFXwnJd4pQmvTOcBcPupwW0= =Nn2l -----END PGP SIGNATURE----- --Qe+U0H0bLP+yPbEz--