unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: Chris Marusich <cmmarusich@gmail.com>,
	Leo Famulari <leo@famulari.name>,
	Christopher Baines <mail@cbaines.net>
Cc: guix-devel@gnu.org
Subject: Re: core-updates: Emacs is only supported on x86_64-linux?
Date: Mon, 08 Mar 2021 00:29:51 -0500	[thread overview]
Message-ID: <87sg56i55h.fsf@netris.org> (raw)
In-Reply-To: <874khm5pab.fsf_-_@gmail.com>

Hi Chris,

Chris Marusich <cmmarusich@gmail.com> writes:
> I've confirmed that works for emacs, except that you actually have to
> also do it for gtk+, too, since rust gets pulled in via gtk+ also.

Ugh.  I'd prefer to avoid removing 'gtk+' from the inputs to 'emacs' on
any system, because the distinguishing characteristic of that package
(compared with the other Emacs variants) is that it's the Gtk+ variant
of Emacs.

For now, it would be good to eliminate the Gtk+ dependency on Rust.
If we reach the point where our Gtk+ package is only supported on
'x86_64-linux', our claim of supporting multiple architectures will
become increasingly dubious.

Does anyone know how Gtk+ depends on Rust?

Aside: I wish that Guix included a convenient tool to answer the
question "Why does package X depend on package Y?", i.e. "What paths of
dependencies lead from package X to package Y?", without having to view
the entire dependency graph (which is often too complex to grasp
visually).

For now: how about changing the failing system test to inherit from
'emacs-no-x-toolkit' instead of 'emacs'.  That, combined with making
'librsvg' a conditional input to Emacs (but leaving 'gtk+' in Emacs'
inputs on all systems), should be enough to get past your immediate
problem.

What do you think?

> From e36c4cab40c5b97ffedc72acc586c0b560e7868e Mon Sep 17 00:00:00 2001
> From: Chris Marusich <cmmarusich@gmail.com>
> Date: Sun, 7 Mar 2021 15:58:19 -0800
> Subject: [PATCH] gnu: rust: Make it "supported" on all systems but i686-linux.
>
> * gnu/packages/rust.scm (rust-1.30)[supported-systems]: Instead of hard-coding
> this to just "x86_64-linux", calculate the supported systems by deleting
> "i686-linux" from %supported-systems.

I don't think we should do this until we have reason to believe that our
Rust packages actually build successfully on the other systems.

> I think both of these patches are important and needed.  The patch to
> restore supported systems to the rust package is important because we
> will want rust to build successfully on many systems.

I agree that we must soon prioritize getting Rust working on other
systems, but I doubt that this simple patch will accomplish much more
than to waste precious cycles on our few non-Intel build slaves.

       Mark


  reply	other threads:[~2021-03-08  5:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-07  7:56 core-updates: Emacs is only supported on x86_64-linux? Chris Marusich
2021-03-07 10:46 ` Mark H Weaver
2021-03-07 23:40   ` Leo Famulari
2021-03-08  2:53   ` Chris Marusich
2021-03-08  5:29     ` Mark H Weaver [this message]
2021-03-08  7:14       ` Ricardo Wurmus
2021-03-10  0:09         ` Mark H Weaver
2021-03-08  7:19       ` Ricardo Wurmus
2021-03-09  6:04       ` Chris Marusich
2021-03-09  8:20         ` Chris Marusich
2021-03-10  0:05           ` Mark H Weaver
2021-03-08 22:33     ` Christopher Baines
2021-03-09 23:47       ` Mark H Weaver
2021-03-07 13:41 ` Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sg56i55h.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=cmmarusich@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=leo@famulari.name \
    --cc=mail@cbaines.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).