unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#67586: guix package: error: package glibc-locales@2.37 does not support x86_64-linux
@ 2023-12-02 17:03 Nils Landt
  2023-12-03 22:11 ` TakeV via Bug reports for GNU Guix
  2023-12-06 22:58 ` Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Nils Landt @ 2023-12-02 17:03 UTC (permalink / raw)
  To: 67586

Hello,

I use guix home for almost everything, but I have installed glibc-locales in my "regular" guix (just by running guix package install glibc-locales).
Now, running guix package --upgrade fails with:
guix package: error: package glibc-locales@2.37 does not support x86_64-linux

But from my reading of (gnu packages base), glibc-locales version should be the same as glibc version. This is not the case for me though:
guix repl
GNU Guile 3.0.9
Copyright (C) 1995-2023 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guix-user)> ,use (gnu packages)
scheme@(guix-user)> (specification->package "glibc-locales")
$1 = #<package glibc-locales@2.37 gnu/packages/base.scm:1276 7f4de8bd0420>
scheme@(guix-user)> (specification->package "glibc")
$2 = #<package glibc@2.35 gnu/packages/base.scm:795 7f4de8bb76e0>

In my home profile, I was able to fix it by using (make-glibc-locales glibc) instead of (specification->package "glibc-locales").




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#67586: guix package: error: package glibc-locales@2.37 does not support x86_64-linux
  2023-12-02 17:03 bug#67586: guix package: error: package glibc-locales@2.37 does not support x86_64-linux Nils Landt
@ 2023-12-03 22:11 ` TakeV via Bug reports for GNU Guix
  2023-12-06 22:58 ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: TakeV via Bug reports for GNU Guix @ 2023-12-03 22:11 UTC (permalink / raw)
  To: 67586


[-- Attachment #1.1: Type: text/plain, Size: 104 bytes --]

Came to report the same thing. Looks like every system seems to be 
missing from glibc-locales@2.37


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#67586: guix package: error: package glibc-locales@2.37 does not support x86_64-linux
  2023-12-02 17:03 bug#67586: guix package: error: package glibc-locales@2.37 does not support x86_64-linux Nils Landt
  2023-12-03 22:11 ` TakeV via Bug reports for GNU Guix
@ 2023-12-06 22:58 ` Ludovic Courtès
  2023-12-07  8:00   ` Nils Landt
  1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2023-12-06 22:58 UTC (permalink / raw)
  To: Nils Landt; +Cc: TakeV, 67586

Hi,

Nils Landt <nils@landt.email> skribis:

> I use guix home for almost everything, but I have installed glibc-locales in my "regular" guix (just by running guix package install glibc-locales).
> Now, running guix package --upgrade fails with:
> guix package: error: package glibc-locales@2.37 does not support x86_64-linux

Fixed with 4a6cef9d66ff26e96d63f2f1f886b8212154ca00.

The problem was that glibc-locales@2.37 is marked as supported for
i586-gnu only (that’s GNU/Hurd).

The workaround on GNU/Linux would have been to run:

  guix install glibc-locales@2.35

but of course, hard to guess given the error message.

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#67586: guix package: error: package glibc-locales@2.37 does not support x86_64-linux
  2023-12-06 22:58 ` Ludovic Courtès
@ 2023-12-07  8:00   ` Nils Landt
  2023-12-14 18:11     ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Nils Landt @ 2023-12-07  8:00 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 67586


> Ludovic Courtès <ludo@gnu.org> hat am 06.12.2023 23:58 CET geschrieben:
> 
>  
> Hi,
> 
> Nils Landt <nils@landt.email> skribis:
> 
> > I use guix home for almost everything, but I have installed glibc-locales in my "regular" guix (just by running guix package install glibc-locales).
> > Now, running guix package --upgrade fails with:
> > guix package: error: package glibc-locales@2.37 does not support x86_64-linux
> 
> Fixed with 4a6cef9d66ff26e96d63f2f1f886b8212154ca00.
> 
> The problem was that glibc-locales@2.37 is marked as supported for
> i586-gnu only (that’s GNU/Hurd).

Thank you for the quick fix! 
But isn't the the real bug that guix package (--install, --upgrade) consider an unsupported package as the version to install / upgrade to? Expected behaviour for me would be that it checks for the newest version that can actually be installed on the architecture.

> The workaround on GNU/Linux would have been to run:
> 
>   guix install glibc-locales@2.35

Is this version pin persisted anywhere? Because I executed that, and --upgrade still tried tried to install 2.37.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#67586: guix package: error: package glibc-locales@2.37 does not support x86_64-linux
  2023-12-07  8:00   ` Nils Landt
@ 2023-12-14 18:11     ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2023-12-14 18:11 UTC (permalink / raw)
  To: Nils Landt; +Cc: 67586

Hi,

Nils Landt <nils@landt.email> skribis:

>> Ludovic Courtès <ludo@gnu.org> hat am 06.12.2023 23:58 CET geschrieben:
>> 
>>  
>> Hi,
>> 
>> Nils Landt <nils@landt.email> skribis:
>> 
>> > I use guix home for almost everything, but I have installed glibc-locales in my "regular" guix (just by running guix package install glibc-locales).
>> > Now, running guix package --upgrade fails with:
>> > guix package: error: package glibc-locales@2.37 does not support x86_64-linux
>> 
>> Fixed with 4a6cef9d66ff26e96d63f2f1f886b8212154ca00.
>> 
>> The problem was that glibc-locales@2.37 is marked as supported for
>> i586-gnu only (that’s GNU/Hurd).
>
> Thank you for the quick fix! 
> But isn't the the real bug that guix package (--install, --upgrade) consider an unsupported package as the version to install / upgrade to? Expected behaviour for me would be that it checks for the newest version that can actually be installed on the architecture.

Yes, you’re right, we should fix this.

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-12-14 18:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-02 17:03 bug#67586: guix package: error: package glibc-locales@2.37 does not support x86_64-linux Nils Landt
2023-12-03 22:11 ` TakeV via Bug reports for GNU Guix
2023-12-06 22:58 ` Ludovic Courtès
2023-12-07  8:00   ` Nils Landt
2023-12-14 18:11     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).