emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51801: closed (No warning when attempting to build unsupported syste


From: GNU bug Tracking System
Subject: bug#51801: closed (No warning when attempting to build unsupported system with --system)
Date: Fri, 18 Feb 2022 13:19:01 +0000

Your message dated Fri, 18 Feb 2022 14:18:02 +0100
with message-id <87bkz4jotx.fsf@gnu.org>
and subject line Re: bug#51801: No warning when attempting to build unsupported 
system with --system
has caused the debbugs.gnu.org bug report #51801,
regarding No warning when attempting to build unsupported system with --system
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
51801: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51801
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: No warning when attempting to build unsupported system with --system Date: Fri, 12 Nov 2021 21:51:45 -0500
Hello Guix,

I was surprised that:

--8<---------------cut here---------------start------------->8---
guix build fpc --system=armhf-linux
--8<---------------cut here---------------end--------------->8---

would send me in a dead end without any word of caution, given that
armhf-linux is *not* listed in the supported-systems field.

We should at least warn near the beginning of the build, and remind of
that fact at the end of the build in case of failure.

Thanks,

Maxim



--- End Message ---
--- Begin Message --- Subject: Re: bug#51801: No warning when attempting to build unsupported system with --system Date: Fri, 18 Feb 2022 14:18:02 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Ludovic Courtès <ludo@gnu.org> skribis:

> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> I was surprised that:
>>
>> guix build fpc --system=armhf-linux
>>
>> would send me in a dead end without any word of caution, given that
>> armhf-linux is *not* listed in the supported-systems field.
>>
>> We should at least warn near the beginning of the build, and remind of
>> that fact at the end of the build in case of failure.
>
> I came up with the patches below.
>
> The first part forbids unsupported packages altogether in user-facing
> commands: ‘guix install’, ‘guix shell’, etc.  Until now, they’d just
> start building things that were bound to fail.
>
> The second part adds a mere warning for ‘guix build’ (it does not repeat
> it at the end, though).

I went ahead and pushed them:

  0ca26437cb guix build: Warn when attempting to build an unsupported package.
  5a57313918 profiles: 'profile-derivation' rejects unsupported packages.
  0572737a62 packages: 'package-transitive-supported-systems' ignores 
'%current-target-system'.

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]