all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Vagrant Cascadian <vagrant@reproducible-builds.org>
Cc: 55813@debbugs.gnu.org
Subject: [bug#55813] autogen: Use guile-3.0
Date: Fri, 10 Jun 2022 23:13:57 +0200	[thread overview]
Message-ID: <871qvwz0fe.fsf@gnu.org> (raw)
In-Reply-To: <87ilpe4o09.fsf@contorta> (Vagrant Cascadian's message of "Sun, 05 Jun 2022 17:46:46 -0700")

Hi!

Vagrant Cascadian <vagrant@reproducible-builds.org> skribis:

> Some relatively simply patches make autogen build with guile-3.0. Used
> by both Debian an openSUSE, so already has a bit of field testing.
>
> I'm not 100% sure that it wasn't just dumb luck, but it seemed like
> building autogen with guile-3.0 was more likely to build reproducibly.

Nice.  :-)

> It did require adding automake and autoconf to inputs, seeming to detect
> that something changed since configure was generated. Not sure if that
> could be avoided by being cleverer, or if that is an acceptible change.

It could be avoided by changing just ‘configure’ (which this patch
already does actually), but it’s fine either way.

> From 9745d65234b70115a07d324f5514b125ad97369a Mon Sep 17 00:00:00 2001
> From: Vagrant Cascadian <vagrant@reproducible-builds.org>
> Date: Sun, 5 Jun 2022 16:05:02 -0700
> Subject: [PATCH 3/3] gnu: autogen: Build with guile 3.0.
>
> * gnu/packages/autogen.scm (autogen)[arguments]: Add 'support-guile-3.0 phase.
>   [inputs]: Remove guile-2.2 and add automake, autoconf and guile-3.0.

[...]

> +             (substitute*
> +                 "agen5/guile-iface.h"

You can move that string to the previous line.

> +             (substitute*
> +                 (list
> +                  "configure"
> +                  "config/guile.m4")
> +               (("2.2 2.0 1.8") "3.0 2.2 2.0 1.8"))))

Here you should either modify ‘config/guile.m4’, in which case
‘autoreconf’ will have to run (that should be automatic), or modify
‘configure’, in which case the dependency on Autotools is unnecessary.

The latter is a fine solution.

OK with a change along these lines!

Thanks,
Ludo’.




  reply	other threads:[~2022-06-10 21:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-06  0:46 [bug#55813] autogen: Use guile-3.0 Vagrant Cascadian
2022-06-10 21:13 ` Ludovic Courtès [this message]
2022-06-14  4:02   ` bug#55813: " Vagrant Cascadian

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

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

  git send-email \
    --in-reply-to=871qvwz0fe.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=55813@debbugs.gnu.org \
    --cc=vagrant@reproducible-builds.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.