unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: 01/01: gnu: ocaml@4.01: Remove aarch64-linux from supported-systems.
Date: Sun, 02 Dec 2018 15:51:58 -0500	[thread overview]
Message-ID: <87zhtnmz1y.fsf@netris.org> (raw)
In-Reply-To: <87ftvgowit.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 02 Dec 2018 15:04:10 +0100")

ludo@gnu.org (Ludovic Courtès) writes:

> Efraim Flashner <efraim@flashner.co.il> skribis:
>
>> On Sat, Dec 01, 2018 at 05:23:32PM -0500, Mark H Weaver wrote:
>>> Hi Efraim,
>>> 
>>> guix-commits@gnu.org writes:
>>> 
>>> > efraim pushed a commit to branch master
>>> > in repository guix.
>>> >
>>> > commit 454e7132d6fffb5c9a5ce086ffd1b687416feb83
>>> > Author: Efraim Flashner <efraim@flashner.co.il>
>>> > Date:   Sat Dec 1 22:41:19 2018 +0200
>>> >
>>> >     gnu: ocaml@4.01: Remove aarch64-linux from supported-systems.
>>> >     
>>> >     * gnu/packages/ocaml.scm (ocaml@4.01)[supported-systems]: New field.
>>> 
>>> What's the rationale for this change?
>>> Debian includes OCaml 4.01 in its arm64 port.
>>> 
>>>   https://packages.debian.org/search?arch=arm64&keywords=ocaml
>>>   http://http.us.debian.org/debian/pool/main/o/ocaml/ocaml_4.01.0-5_arm64.deb
>>> 
>>>       Mark
>>
>> starting phase `configure'
>> ../gnu/config.guess: unable to guess system type
>
> Would it be enough to add Automake as a native input and copy
> ‘config.guess’ from there?

Ideally, we shouldn't need 'config.guess' at all.  Normally, it is only
used if the GNU triplet is not explicitly passed to ./configure.  A few
years ago, I fixed most instances of this problem by unconditionally
passing --build=<triplet> to ./configure in the default 'configure'
phase of gnu-build-system.

  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3c7d023d6458669c6bfa23bc85e098c91f699892

However, our OCaml package has a custom 'configure' phase that does not
pass --build.  I'm not sure if that's because OCaml's configure phase
doesn't support --build, or if it was omitted because it's not typically
needed on x86_64.

* * *

Anyway, more generally, I hope that we will not get in the habit of
simply removing systems from 'supported-systems' when builds fail on
those systems, without investigating and concluding that it would be
prohibitively difficult to support the software on that system.

To my mind, it's *good* to see failed builds on other architectures, to
be reminded of bugs on non-x86_64 systems that should be fixed.  When we
remove systems from 'supported-systems' without good reason, this is
somewhat analogous to deleting unfixed bug reports.

What do you think?

      Mark

  reply	other threads:[~2018-12-02 20:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20181201204303.4663.74240@vcs0.savannah.gnu.org>
     [not found] ` <20181201204304.CAB1820A18@vcs0.savannah.gnu.org>
2018-12-01 22:23   ` 01/01: gnu: ocaml@4.01: Remove aarch64-linux from supported-systems Mark H Weaver
2018-12-02 10:57     ` Efraim Flashner
2018-12-02 14:04       ` Ludovic Courtès
2018-12-02 20:51         ` Mark H Weaver [this message]
2018-12-03  8:55           ` Efraim Flashner

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=87zhtnmz1y.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /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).