GNU bug report logs - #67586
guix package: error: package glibc-locales@2.37 does not support x86_64-linux

Previous Next

Package: guix;

Reported by: Nils Landt <nils <at> landt.email>

Date: Sat, 2 Dec 2023 17:05:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

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 67586 in the body.
You can then email your comments to 67586 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 bug-guix <at> gnu.org:
bug#67586; Package guix. (Sat, 02 Dec 2023 17:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nils Landt <nils <at> landt.email>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 02 Dec 2023 17:05:02 GMT) Full text and rfc822 format available.

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

From: Nils Landt <nils <at> landt.email>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: guix package: error: package glibc-locales <at> 2.37 does not support
 x86_64-linux
Date: Sat, 2 Dec 2023 18:03:48 +0100 (CET)
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 <at> 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 <at> 2.37 gnu/packages/base.scm:1276 7f4de8bd0420>
scheme@(guix-user)> (specification->package "glibc")
$2 = #<package glibc <at> 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").




Information forwarded to bug-guix <at> gnu.org:
bug#67586; Package guix. (Sun, 03 Dec 2023 22:13:01 GMT) Full text and rfc822 format available.

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

From: TakeV <takev <at> disroot.org>
To: 67586 <at> debbugs.gnu.org
Subject: guix package: error: package glibc-locales <at> 2.37 does not support
 x86_64-linux
Date: Sun, 3 Dec 2023 17:11:44 -0500
[Message part 1 (text/plain, inline)]
Came to report the same thing. Looks like every system seems to be 
missing from glibc-locales <at> 2.37

[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#67586; Package guix. (Wed, 06 Dec 2023 22:59:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Nils Landt <nils <at> landt.email>
Cc: TakeV <takev <at> disroot.org>, 67586 <at> debbugs.gnu.org
Subject: Re: bug#67586: guix package: error: package glibc-locales <at> 2.37 does
 not support x86_64-linux
Date: Wed, 06 Dec 2023 23:58:37 +0100
Hi,

Nils Landt <nils <at> 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 <at> 2.37 does not support x86_64-linux

Fixed with 4a6cef9d66ff26e96d63f2f1f886b8212154ca00.

The problem was that glibc-locales <at> 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 <at> 2.35

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

Thanks,
Ludo’.




bug closed, send any further explanations to 67586 <at> debbugs.gnu.org and Nils Landt <nils <at> landt.email> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 06 Dec 2023 23:00:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#67586; Package guix. (Thu, 07 Dec 2023 08:02:02 GMT) Full text and rfc822 format available.

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

From: Nils Landt <nils <at> landt.email>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 67586 <at> debbugs.gnu.org
Subject: Re: bug#67586: guix package: error: package glibc-locales <at> 2.37 does
 not support x86_64-linux
Date: Thu, 7 Dec 2023 09:00:55 +0100 (CET)
> Ludovic Courtès <ludo <at> gnu.org> hat am 06.12.2023 23:58 CET geschrieben:
> 
>  
> Hi,
> 
> Nils Landt <nils <at> 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 <at> 2.37 does not support x86_64-linux
> 
> Fixed with 4a6cef9d66ff26e96d63f2f1f886b8212154ca00.
> 
> The problem was that glibc-locales <at> 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 <at> 2.35

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




Information forwarded to bug-guix <at> gnu.org:
bug#67586; Package guix. (Thu, 14 Dec 2023 18:12:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Nils Landt <nils <at> landt.email>
Cc: 67586 <at> debbugs.gnu.org
Subject: Re: bug#67586: guix package: error: package glibc-locales <at> 2.37 does
 not support x86_64-linux
Date: Thu, 14 Dec 2023 19:11:36 +0100
Hi,

Nils Landt <nils <at> landt.email> skribis:

>> Ludovic Courtès <ludo <at> gnu.org> hat am 06.12.2023 23:58 CET geschrieben:
>> 
>>  
>> Hi,
>> 
>> Nils Landt <nils <at> 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 <at> 2.37 does not support x86_64-linux
>> 
>> Fixed with 4a6cef9d66ff26e96d63f2f1f886b8212154ca00.
>> 
>> The problem was that glibc-locales <at> 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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 12 Jan 2024 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 120 days ago.

Previous Next


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