From: Luis Felipe <sirgazil@zoho.com>
To: Ekaitz Zarraga <ekaitz@elenq.tech>,
Felix Lechner <felix.lechner@lease-up.com>,
guix-devel@gnu.org
Subject: Re: Mystery of missing 'install' phase in guile-build-system
Date: Fri, 27 Sep 2024 16:00:53 +0000 [thread overview]
Message-ID: <7953316b-eec6-4dac-bcbe-a3c1f21e8b22@zoho.com> (raw)
In-Reply-To: <5b2cf647-cc52-98b7-f4d4-6c592ad94b06@elenq.tech>
[-- Attachment #1.1.1: Type: text/plain, Size: 1429 bytes --]
Hi Felix, Ekaitz,
On 26/09/24 21:26, Ekaitz Zarraga wrote:
> Hi,
>
> On 2024-09-26 23:13, Felix Lechner via Development of GNU Guix and the
> GNU System distribution. wrote:
>> Hi,
>>
>> A piece of software of mine using the guile-build-system runs tests
>> after the 'install' phase. A recent system update failed because there
>> is no such phase.
Sounds like what happened during my last failed upgrade
(https://lists.gnu.org/archive/html/help-guix/2024-09/msg00076.html).
>> Looking at the Guix source code, the 'install' phase never existed.
>> Shouldn't every build system have that phase?
>>
>> Why did the same package definition work three months ago?
>>
>> Thanks for helping with this mystery!
>>
>> Kind regards
>> Felix
>>
>
> The fast and simple answer is that the 'install phase is not
> mandatory. The build system defines which of the steps it uses and
> how, they don't need to have specific names.
Yeah, although that fact doesn't seem to be documented. Nor that,
currently, if you modify the phases of a build system using, say,
"(add-after 'install 'check check)", the "install" phase *must* exist,
otherwise the module fails to compile. And that wasn't the case in
previous versions of Guix.
So, maybe additional documentation might be necessary. I think the
documentation is missing more information on how define custom build
systems even (?).
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2881 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
next prev parent reply other threads:[~2024-09-27 16:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-26 21:13 Mystery of missing 'install' phase in guile-build-system Felix Lechner via Development of GNU Guix and the GNU System distribution.
2024-09-26 21:26 ` Ekaitz Zarraga
2024-09-27 16:00 ` Luis Felipe [this message]
2024-10-07 21:10 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
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=7953316b-eec6-4dac-bcbe-a3c1f21e8b22@zoho.com \
--to=sirgazil@zoho.com \
--cc=ekaitz@elenq.tech \
--cc=felix.lechner@lease-up.com \
--cc=guix-devel@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 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.