From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#31392: gnome.scm cannot import (gnu packages rust) Date: Thu, 10 May 2018 13:56:00 +0200 Message-ID: <87mux7g1wv.fsf@fastmail.com> References: <87vabwg5is.fsf@fastmail.com> <87h8ngv3p1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGkC3-0002Dy-6U for bug-guix@gnu.org; Thu, 10 May 2018 07:57:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGkBy-0005HV-Cs for bug-guix@gnu.org; Thu, 10 May 2018 07:57:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48093) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGkBy-0005HP-9K for bug-guix@gnu.org; Thu, 10 May 2018 07:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fGkBx-0000Rj-TZ for bug-guix@gnu.org; Thu, 10 May 2018 07:57:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87h8ngv3p1.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 31392@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hello, > > Marius Bakke skribis: > >> I'm trying to update librsvg, which requires "rust". > > Speaking of which, what are other distros doing? Are all of them > switching to the Rust implementation, or are some keeping the C > implementation? > > Not that I=E2=80=99m fond of C, but adding Rust (which is not bootstrappe= d, > etc.) in this place can be problematic. I haven't checked a lot of distros, but Arch and Debian Experimental have the Rust version already. There is no maintained C implementation any longer AFAIK. It was officially deprecated in version 2.40.20[0], which is what we have right now. [0] https://ftp.acc.umu.se/pub/gnome/sources/librsvg/2.40/librsvg-2.40.20.n= ews [...] > In unknown file: > 1 (primitive-load-path "gnu/packages/rust" #) > In gnu/packages/rust.scm: > 241:25 0 (_) > scheme@(gnu packages rust) [1]> ,error > gnu/packages/rust.scm:241:25: error: gcc: unbound variable > --8<---------------cut here---------------end--------------->8--- > > The issue was the reference to =E2=80=98gcc=E2=80=99 from the =E2=80=98na= tive-search-paths=E2=80=99 > field (a =E2=80=9Ctop level reference=E2=80=9D because it=E2=80=99s execu= ted as soon as we load > rust.scm.) While Guile allows for circular dependencies among modules, > it only works if the top-level of modules don=E2=80=99t look up variables > exported by each other, if you see what I mean. > > Fixed in afc2bf53066975558676bc7f4957ad85d0ec170a. That was fast, thank you! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlr0M1AACgkQoqBt8qM6 VPoVsAf/Y1tpZe7KiAqnzaNhZj8yxegyfKjxyOt5xFTEywLG88fKgUE2vtHKxRQq oaL8sYXtM4cjKYBJjm4BsRgm7yzbzc/r8EMKM4jW5kIusooPhrmyikBiGLfdfofy DOLGGwU1TpH7r4ky9wQO4ZuWbzOF+GXLnjVnHv6TAAmCr6iA0cnf70KcirysRpNe I3TBwKV7/9OejSkXxxu/cOboF4r5NCNej8t5CnXdDXeJNsTrhEldv4NSzUaTcBsk ZJW1IiGayhQbzEqvxw2Sy3mLiUKvvbTIRJag7kl/aAOLfp61ONbm7G8FaESRhyPO jGhuWIsMg2yeWgDYdmICaAFNEluKJA== =WGs2 -----END PGP SIGNATURE----- --=-=-=--