GNU bug report logs - #27898
Clean-up of package phases

Previous Next

Package: guix-patches;

Reported by: Kei Kebreau <kei <at> openmailbox.org>

Date: Tue, 1 Aug 2017 07:20:02 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 27898 <at> debbugs.gnu.org (full text, mbox):

From: Kei Kebreau <kei <at> openmailbox.org>
To: Leo Famulari <leo <at> famulari.name>
Cc: Marius Bakke <mbakke <at> fastmail.com>, 27898 <at> debbugs.gnu.org
Subject: Re: [bug#27898] [PATCH 2/2] gnu: Put autoconf-related phases
 immediately	after the 'unpack phase.
Date: Wed, 02 Aug 2017 16:31:08 -0400
[Message part 1 (text/plain, inline)]
Leo Famulari <leo <at> famulari.name> writes:

> On Wed, Aug 02, 2017 at 09:33:01PM +0200, Marius Bakke wrote:
>> Kei Kebreau <kei <at> openmailbox.org> writes:
>
> [... move autoconf phases ...]
>
>> Phew! This too will cause a lot of rebuilds, but I guess we could put it
>> on 'staging'. It would have to be committed just before starting it to
>> reduce the amount of merge conflicts.
>
> Agreed
>
>> That said, I'm not sure how necessary this change is, but I don't have a
>> strong argument against it. Other opinions welcome!
>
> I guess there is a correct ordering and an incorrect ordering, depending
> on whether or not these phases should happen before or after the shebang
> patching phases. Does it work if it happens before the shebangs are
> patched?
>

What does the "it" in "does it work" mean here? If you mean the
builds themselves, then no. Success isn't guaranteed because the
configure scripts might not be patched, as the patching phases are
finished before the "build" phases. This change ensures that the
"patch-usr-bin-file" phase can operate on generated configure scripts if
necessary:

https://lists.gnu.org/archive/html/guix-devel/2017-07/msg00124.html

>> Maybe we could add an '#:autoreconf?' parameter to gnu-build-system,
>> which runs `autoreconf -vif` in a phase and automatically pulls in
>> automake and autoconf (and probably also libtool). Thoughts?
>
> Interesting!

I agree. It would cut down on repetitive, common code and potential for
"autoreconf-ing" incorrectly.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 7 years and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.