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 MEb3KJNQkWGcAAEAgWs5BA (envelope-from ) for ; Sun, 14 Nov 2021 19:08:19 +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 sLizJJNQkWE7XgAA1q6Kng (envelope-from ) for ; Sun, 14 Nov 2021 18:08:19 +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 D03A217FE2 for ; Sun, 14 Nov 2021 19:08:18 +0100 (CET) Received: from localhost ([::1]:56944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmJvN-00033o-5X for larch@yhetil.org; Sun, 14 Nov 2021 13:08:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmJv9-00033V-6w for guix-patches@gnu.org; Sun, 14 Nov 2021 13:08:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40057) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmJv8-0005Zz-Uv for guix-patches@gnu.org; Sun, 14 Nov 2021 13:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmJv8-000166-IM for guix-patches@gnu.org; Sun, 14 Nov 2021 13: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: Sun, 14 Nov 2021 18: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: Liliana Marie Prikler Cc: 51845@debbugs.gnu.org Received: via spool by 51845-submit@debbugs.gnu.org id=B51845.16369132634189 (code B ref 51845); Sun, 14 Nov 2021 18:08:02 +0000 Received: (at 51845) by debbugs.gnu.org; 14 Nov 2021 18:07:43 +0000 Received: from localhost ([127.0.0.1]:51603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmJuo-00015V-ND for submit@debbugs.gnu.org; Sun, 14 Nov 2021 13:07:43 -0500 Received: from flashner.co.il ([178.62.234.194]:43468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmJum-00015D-Li for 51845@debbugs.gnu.org; Sun, 14 Nov 2021 13:07:41 -0500 Received: from localhost (unknown [141.226.12.213]) by flashner.co.il (Postfix) with ESMTPSA id 6EF59401F6; Sun, 14 Nov 2021 18:07:34 +0000 (UTC) Date: Sun, 14 Nov 2021 20:07:01 +0200 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Liliana Marie Prikler , 51845@debbugs.gnu.org References: <68012880ef968bf2d5ab3d7e967b06bafb9ea10f.camel@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XDLRaNWx0F5Uivxv" Content-Disposition: inline In-Reply-To: <68012880ef968bf2d5ab3d7e967b06bafb9ea10f.camel@gmail.com> 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636913298; 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=ZwBpFGXHQM4PednjFTtAgjbE+RyulyXQaAuksprwLgQ=; b=BpPDH+vpIFBXw/WAbkKNISm9swaBOq1PE7H2mrLBuArAP0sUjOvZGSEMZBgSFfhUnPe6EJ mnuw0CyxlmgarraNUhmo8ccs3foksj9n2xr3iSkyO5vuIvOnUNk4FvWWHsWp/fWBS5ioUo jh6rzbyzfW7oS1joHtdxe/WyIHmqms+I5GckGCeMVZLJdAbsMTSKSXp2tYGsBAU1o/piQ8 GfaKPqJpPkRhkSXZEXbVSpRSFT1/wUawAwEb5c6ajbSGWVvuXO+opwtRBjBpFbI7KGwuMG PaVo/w9bXhmoxxQvx1GlMjOX6jvHsdTAciPc+uh+dwbW74WYeloI4XR7VC4/Iw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636913298; a=rsa-sha256; cv=none; b=eQRj6aG0dOLRAQZjadN2f3aWDfVusikIHGikOidq7cXDkmiZUdkiwSIAoAh7pobI1WghHd D/gd1WJmqaida9N65BN5LZID/QCc2qYqfzrNtGs1/2R+Z445AeRy08btdursx5spgDSDx0 5H/n+CdX3Tx6m3uXzksu0uRJsegnIJCQauSAH9qMQZXaBT5WRTDoja9UneImZuhNyxrCa1 RPZEvzXHACnJe8ZQHBSCbOjtRf/883X+3viDuQa5WuiLvpH+rat0oq0Kbl4JnrlAYsPJzq 33VfqjPeR9DH6i/O0WdzjTeYKnsFWGzhB9QkgRJo4qWNdvwREvmjkm1tBEepTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -4.44 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D03A217FE2 X-Spam-Score: -4.44 X-Migadu-Scanner: scn1.migadu.com X-TUID: XD668BcIcAXN --XDLRaNWx0F5Uivxv Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 14, 2021 at 06:27:02PM +0100, Liliana Marie Prikler wrote: > Hi, >=20 > Am Sonntag, den 14.11.2021, 16:07 +0200 schrieb Efraim Flashner: > > 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. > In my opinion, one of the selling points of Guix is that of > bootstrappability. I don't think adding big blobs to Emacs of all > things is a great way of delivering on that promise. I think we ought > to rather "invest" in alternatives to Rust and Rust-locked libraries or > make Rust packaging itself sane (if it can at all). >=20 > I think librsvg is optional already and people who want to save on > compilation time can decide to replace it with e.g. GNU hello using the > --input option. In the similar case of mozjs, a replacement with > duktape is discussed on guix-devel, at least for polkit. It seems I was wrong about emacs; both emacs-minimal and emacs-no-x are built without librsvg. > As a temporary resolution to the rebuild issue, we could pin the > dependencies of librsvg to some specific versions and only bump them > when something awful happens. I'm not sure whether librsvg exposes any > of the Rust nastiness to its dependencies, ideally hoping that it would > not. I don't believe librsvg exposes any rust-y stuff. > WDYT? (ins)efraim@3900XT /tmp/librsvg-2.50.7$ ls vendor/ | wc -l 226 There are 226 crates that upstream bundles with their source. I suppose we could pare it down to about 200 by careful pruning but it's part of librsvg and not going away. (ins)efraim@3900XT ~/workspace/guix-core-updates$ git grep \,librsvg | wc -l 103 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 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 --XDLRaNWx0F5Uivxv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmGRUEIACgkQQarn3Mo9 g1E9cg//ba+VZ+T1B8kaxKqJ6mmgGwo/32aXUwh48K1Z5IJx3zUAC7mhWs9yE/gI n+D9ea+JbbExwbO8+LYUsmp4LgCYoVDk3Cp91+kf7n1K3Jkxd/JV712tngyisX0o u4F1CZ8KfSosRhoS05ryQugvpm1KBuNPV0f6mJ2GmdePXFD9IA+bjABBCya5/hNP zOkO5EqlhYuVwbm53Xj88nYxnLGM7jxoXQM+08TwVjIgEwR3dFOruD9mtVF6kb9j K7Cdmc+nmtH2rsv+YnUzL3+Irqa9RzubTwBeUJCFDAYU8DylBGD6lsNE27diQFmJ f5aSYpqLMiXK1nIUJn4IRGpnAE0soBy3tabq+m0IZiM9pxXOCPCNlvyKEiRgKnbs rFmPUT2h06AFuxz1Y3yDCI0jggHr1WxMNjPHVOqBbtiK3YbgJgAMXS19FIkoGj/g ys+vbFjeBK1lA2vSA7HrdmtGgTeAJyzZ8yA8JbKmo6NcX5nOIvKCMn9QZDA+HKwE +cydZ/4Kyztv+dcvnBQST8Ffi1Ft3dUdeOEdbF0XrN7vkWWuDjkQIYvLGOelvsNU emZr4iN0S8yEFSC6Map/2BvM/GcI5/FdSoSgBaNImamw3cmYXqTrVtwTO2PWyawp H8xru2poBiLHWjMuOc+OM4TVg3Ue4RtAQWeUhy9eQOhn4qE7trk= =XF6T -----END PGP SIGNATURE----- --XDLRaNWx0F5Uivxv--