GNU bug report logs - #37654
[PATCH] gnu-build-system: Don't try executing directories in bootstrap phase.

Previous Next

Package: guix-patches;

Reported by: Brendan Tildesley <mail <at> brendan.scot>

Date: Tue, 8 Oct 2019 03:40:01 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37654 in the body.
You can then email your comments to 37654 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#37654; Package guix-patches. (Tue, 08 Oct 2019 03:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brendan Tildesley <mail <at> brendan.scot>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 08 Oct 2019 03:40:02 GMT) Full text and rfc822 format available.

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

From: Brendan Tildesley <mail <at> brendan.scot>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu-build-system: Don't try executing directories in
 bootstrap phase.
Date: Tue, 8 Oct 2019 14:39:05 +1100
[Message part 1 (text/plain, inline)]
I just made this after discovering a source repo with a bootstrap
directory. Naturally it results in just about everything being rebuilt,
so it would a long time to fully test it, and I'm no experienced schemer
so I can't be sure this is the right way to add in this change. Feel
free to rewrite it a better way.
[0001-gnu-build-system-Don-t-try-executing-directories-in-.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#37654; Package guix-patches. (Thu, 30 Jan 2020 12:42:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: Brendan Tildesley <mail <at> brendan.scot>, 37654 <at> debbugs.gnu.org
Subject: Re: [bug#37654] [PATCH] gnu-build-system: Don't try executing
 directories in bootstrap phase.
Date: Thu, 30 Jan 2020 13:41:50 +0100
[Message part 1 (text/plain, inline)]
Hello Brendan, sorry for the sloooow response.

Brendan Tildesley <mail <at> brendan.scot> writes:

> I just made this after discovering a source repo with a bootstrap
> directory. Naturally it results in just about everything being rebuilt,
> so it would a long time to fully test it, and I'm no experienced schemer
> so I can't be sure this is the right way to add in this change. Feel
> free to rewrite it a better way.

Were you able to verify that it DTRT?

> From 3a602cccbd8711f40f6b981e5616289a5fdd0b56 Mon Sep 17 00:00:00 2001
> From: Brendan Tildesley <mail <at> brendan.scot>
> Date: Tue, 8 Oct 2019 02:55:03 +1100
> Subject: [PATCH] gnu-build-system: Don't try executing directories in
>  bootstrap phase.
>
> * guix/build/gnu-build-system.scm: (bootstrap): Change the file-exists?
> procedure to one that excludes directories, so that we do not mistake it for a
> script. For example if the source includes a bootstrap/ directory.

The patch LGTM.

Will push it in a few days unless anyone protests!
[signature.asc (application/pgp-signature, inline)]

Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Sun, 16 Feb 2020 15:48:02 GMT) Full text and rfc822 format available.

Notification sent to Brendan Tildesley <mail <at> brendan.scot>:
bug acknowledged by developer. (Sun, 16 Feb 2020 15:48:02 GMT) Full text and rfc822 format available.

Message #13 received at 37654-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Brendan Tildesley <mail <at> brendan.scot>, 37654-done <at> debbugs.gnu.org
Subject: Re: [bug#37654] [PATCH] gnu-build-system: Don't try executing
 directories in bootstrap phase.
Date: Sun, 16 Feb 2020 16:47:11 +0100
[Message part 1 (text/plain, inline)]
Brendan Tildesley <mail <at> brendan.scot> writes:

> Subject: [PATCH] gnu-build-system: Don't try executing directories in
>  bootstrap phase.
>
> * guix/build/gnu-build-system.scm: (bootstrap): Change the file-exists?
> procedure to one that excludes directories, so that we do not mistake it for a
> script. For example if the source includes a bootstrap/ directory.

Finally pushed in a21bd6d5c208111fbf96e9b402cc5ca872f95109, thanks!

I also added a copyright line for you, hope that was okay.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 16 Mar 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 42 days ago.

Previous Next


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