From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 14 13:07:43 2021 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 To: Liliana Marie Prikler Subject: Re: [PATCH 0/2] Add librsvg-bootstrap 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 51845 Cc: 51845@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --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--