GNU bug report logs - #66472
Wrong ‘glibc-utf8-locales’ package used on GNU/Hurd

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Ludovic Courtès <ludo@HIDDEN>; dated Wed, 11 Oct 2023 21:44:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 66472 <at> debbugs.gnu.org:


Received: (at 66472) by debbugs.gnu.org; 21 Oct 2023 14:35:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 21 10:35:11 2023
Received: from localhost ([127.0.0.1]:44821 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1quD4F-0005lZ-Gg
	for submit <at> debbugs.gnu.org; Sat, 21 Oct 2023 10:35:11 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39968)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1quD47-0005kb-1Y
 for 66472 <at> debbugs.gnu.org; Sat, 21 Oct 2023 10:35:02 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1quD3Z-0004Yp-HV; Sat, 21 Oct 2023 10:34:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=RM3+VH8uwRA6XkUini7ucU8pmbztmjo9J9niJy4VqDM=; b=nqesJ7rXiWKMmm7GlsRJ
 8gkoIWjVueYBjq4iOuHPvk01mHw1vOa1GxGjtgPqdO1p1pDWqkAaDodopQoJtrlZaPhZkgoXtqACv
 O/Ed8UjLgAnKztv2aCD9V4ofaWmH3xzxLZ05VwNjFe/sePc38dq7lqjVMfyzfekVKYw0MLKBL8lNR
 uNmcWUWVPlBco30tS1k4wEu7yev3hTCdj84AmD0W9qQw6ztEMXZzekIerq8QlE5ciQw0VPmwKRSLR
 fGWYIyJxp94gZcE4KGfdvqJeTxo8Qk+4lM9cLoMdt/Iol+3a+DML6h/hdSUMuPxPK4f1ImqfnGViF
 T1E32L5YQtKKAA==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Janneke Nieuwenhuizen <janneke@HIDDEN>
Subject: Re: bug#66472: Wrong =?utf-8?Q?=E2=80=98glibc-utf8-locales?=
 =?utf-8?Q?=E2=80=99?= package used on GNU/Hurd
In-Reply-To: <871qdxj6o8.fsf@HIDDEN> (Janneke Nieuwenhuizen's message of
 "Sat, 14 Oct 2023 22:22:15 +0200")
References: <87wmvsq1ia.fsf@HIDDEN> <87il7ckjz5.fsf@HIDDEN>
 <87o7h1cda6.fsf@HIDDEN> <871qdxj6o8.fsf@HIDDEN>
Date: Sat, 21 Oct 2023 16:34:23 +0200
Message-ID: <87r0looxhs.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66472
Cc: 66472 <at> debbugs.gnu.org, Josselin Poiret <dev@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Janneke Nieuwenhuizen <janneke@HIDDEN> skribis:

> Ludovic Court=C3=A8s writes:

[...]

>> Anyway, in both cases the core issue remains: we=E2=80=99re building pac=
kages
>> with the wrong locale data.
>>
>> The mismatch comes from the fact that =E2=80=98glibc-utf8-locales=E2=80=
=99 is a
>> system-independent package: you get 2.35 regardless of the system you=E2=
=80=99re
>> targeting.
>
> Right.  Is that easy, difficult, or impossible to change?

We could define =E2=80=98glibc-utf8-locales=E2=80=99 with =E2=80=98define/s=
ystem-dependent=E2=80=99, as
we=E2=80=99ve done in commencement.scm.  However, I don=E2=80=99t think tha=
t=E2=80=99s feasible
because then every place that does:

  (module-ref (resolve-interface '(gnu packages base))
              'glibc-utf8-locales)

will suddenly be broken, and that=E2=80=99s not acceptable.

So I=E2=80=99m not sure what to do.  Again I feel that maintaining two libc
variants is too costly.  Time to upgrade in =E2=80=98core-updates=E2=80=99?

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#66472; Package guix. Full text available.

Message received at 66472 <at> debbugs.gnu.org:


Received: (at 66472) by debbugs.gnu.org; 14 Oct 2023 20:22:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 14 16:22:53 2023
Received: from localhost ([127.0.0.1]:50633 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qrl9w-0000ne-Uh
	for submit <at> debbugs.gnu.org; Sat, 14 Oct 2023 16:22:53 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40474)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <janneke@HIDDEN>) id 1qrl9u-0000nQ-Kt
 for 66472 <at> debbugs.gnu.org; Sat, 14 Oct 2023 16:22:51 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <janneke@HIDDEN>)
 id 1qrl9R-0000o6-7O; Sat, 14 Oct 2023 16:22:21 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=neKTFpcZtGpaZlEcaPcepUJrI7GtgCQRo1oC8YWKGvE=; b=V02uXpelDTGsr+rpWUWd
 5gey7xFrn8+iqsg+Ew1buPdy+JL3KwTNjGI+DOpwFQjZYcBhzmdr0eKYxYnHDciOaOccZJJ7OlNKw
 xC6GiKTvQaR13ivcU2QTL5wrFBn0gTiRemagyiPKgcaynoZiWPnBbTayKT8ocDFPcR63rCuUBzaWE
 x1KZm/t2W7YRYcq3xHY2NVCpHVg3DQVU+s3QDnIufbJ0dQ4wHLXxl1RQU7U4i2kn6vwYt20DLZ7Ux
 mtlXT2WK/SqNqXh8hpo/sEhQgIbI65uzChOGBnQjrihtX6ZBln5QaK9CXJh44swAWlAKIYkwPm3pY
 YPUgZhp1kJgu2Q==;
From: Janneke Nieuwenhuizen <janneke@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#66472: Wrong =?utf-8?Q?=E2=80=98glibc-utf8-locales?=
 =?utf-8?Q?=E2=80=99?= package used on GNU/Hurd
In-Reply-To: <87o7h1cda6.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Sat, 14 Oct 2023 19:41:21 +0200")
Organization: AvatarAcademy.nl
References: <87wmvsq1ia.fsf@HIDDEN> <87il7ckjz5.fsf@HIDDEN>
 <87o7h1cda6.fsf@HIDDEN>
X-Url: http://AvatarAcademy.nl
Date: Sat, 14 Oct 2023 22:22:15 +0200
Message-ID: <871qdxj6o8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66472
Cc: 66472 <at> debbugs.gnu.org, Josselin Poiret <dev@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Ludovic Court=C3=A8s writes:

> Hi,
>
> Janneke Nieuwenhuizen <janneke@HIDDEN> skribis:
>
>>> starting phase `remove-tests'
>>> error: in phase 'remove-tests': uncaught exception:
>>> decoding-error "decode-char" "input decoding error" 1073741930
>>> #<input: tests/misc/ls-misc.pl 15>
>
> [...]
>
>> Hmm.  I've briefly looked at this but failed to reproduce it.  I've
>> tried building coreutils, and coreutils-final in a childhurd created
>> from "a recent" hurd-team branch.
>>
>> root@guixydevel ~/src/guix/hurd-team [env]# ./pre-inst-env guix
>> build --keep-failed -e '(@@ (gnu packages commencement)
>> coreutils-final)' --without-tests=3Dcoreutils
>> [..]
>> environment variable `GUIX_LOCPATH' set to
>> `/gnu/store/sq6w1nfi59askjfq6b1nqq6z8ld5zh1l-glibc-utf8-locales-2.35/lib=
/locale'
>> [..]
>> phase `unpack' succeeded after 10.4 seconds
>> starting phase `remove-tests'
>> phase `remove-tests' succeeded after 0.5 seconds
>
> Maybe something differs on =E2=80=98hurd-team=E2=80=99?

Well, yeah.  I've been building in a childhurd created from
gnu/system/examples/devel-hurd.tmpl, which currently has

    (locale-libcs (if (system-hurd?)
                      (list glibc/hurd)
                      %default-locale-libcs))

> For me it=E2=80=99s 100% reproducible
> on =E2=80=98master=E2=80=99, even though my childhurd has
> /run/current-system/locale/2.37 (I thought this could interfere but
> luckily it doesn=E2=80=99t.)
>
> Anyway, in both cases the core issue remains: we=E2=80=99re building pack=
ages
> with the wrong locale data.
>
> The mismatch comes from the fact that =E2=80=98glibc-utf8-locales=E2=80=
=99 is a
> system-independent package: you get 2.35 regardless of the system you=E2=
=80=99re
> targeting.

Right.  Is that easy, difficult, or impossible to change?

Greetings,
Janneke

--=20
Janneke Nieuwenhuizen <janneke@HIDDEN>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade=
my.com




Information forwarded to bug-guix@HIDDEN:
bug#66472; Package guix. Full text available.

Message received at 66472 <at> debbugs.gnu.org:


Received: (at 66472) by debbugs.gnu.org; 14 Oct 2023 17:42:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 14 13:42:06 2023
Received: from localhost ([127.0.0.1]:50410 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qrieL-0003jW-Or
	for submit <at> debbugs.gnu.org; Sat, 14 Oct 2023 13:42:06 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40176)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1qrieG-0003iw-GC
 for 66472 <at> debbugs.gnu.org; Sat, 14 Oct 2023 13:42:04 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1qridh-00032h-5s; Sat, 14 Oct 2023 13:41:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=7lTXUlTke1XbgJTiOGCjY/TjlRTiid5Vf0yI0NzuyFk=; b=A/AG196Lu7/7K40bM0ZL
 +0DTDMGm9za1NZ/TwC5ocH8TxUKJ4z0zxBp8zD5fhhx4+X+stfwG0jswEfR1/Y+o58afgMRWFof/8
 zzn0jxjkDuICSNj+S2fBODXBkZNI4n22Lj3vp3xGHYykBumdNjSNK1955VToPSzWAf6hinqJGgxB4
 UQg4v4AjVvYdb2Ojqx3WHXGr7yQd55prRZaYl+JN+OLyhvGdMe7mCqa5IleJNF8qJJevR0sI9WdIm
 et5DADuIk6Y7TJaL2IWS7AWuXkT83jBA98z8N3zOI89uC+e44l0ASx69XQWzvQuIRJKkczzQVrPni
 fVOuBb+3dvcUGQ==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Janneke Nieuwenhuizen <janneke@HIDDEN>
Subject: Re: bug#66472: Wrong =?utf-8?Q?=E2=80=98glibc-utf8-locales?=
 =?utf-8?Q?=E2=80=99?= package used on GNU/Hurd
In-Reply-To: <87il7ckjz5.fsf@HIDDEN> (Janneke Nieuwenhuizen's message of
 "Thu, 12 Oct 2023 16:12:46 +0200")
References: <87wmvsq1ia.fsf@HIDDEN> <87il7ckjz5.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Tridi 23 =?utf-8?Q?Vend=C3=A9miaire?= an 232 de la
 =?utf-8?Q?R=C3=A9volution=2C?= jour du Navet
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Sat, 14 Oct 2023 19:41:21 +0200
Message-ID: <87o7h1cda6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66472
Cc: 66472 <at> debbugs.gnu.org, Josselin Poiret <dev@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Janneke Nieuwenhuizen <janneke@HIDDEN> skribis:

>> starting phase `remove-tests'
>> error: in phase 'remove-tests': uncaught exception:
>> decoding-error "decode-char" "input decoding error" 1073741930 #<input: =
tests/misc/ls-misc.pl 15>=20

[...]

> Hmm.  I've briefly looked at this but failed to reproduce it.  I've
> tried building coreutils, and coreutils-final in a childhurd created
> from "a recent" hurd-team branch.
>
> root@guixydevel ~/src/guix/hurd-team [env]# ./pre-inst-env guix build --k=
eep-failed -e '(@@ (gnu packages commencement) coreutils-final)' --without-=
tests=3Dcoreutils
> [..]
> environment variable `GUIX_LOCPATH' set to `/gnu/store/sq6w1nfi59askjfq6b=
1nqq6z8ld5zh1l-glibc-utf8-locales-2.35/lib/locale'
> [..]
> phase `unpack' succeeded after 10.4 seconds
> starting phase `remove-tests'
> phase `remove-tests' succeeded after 0.5 seconds

Maybe something differs on =E2=80=98hurd-team=E2=80=99?  For me it=E2=80=99=
s 100% reproducible
on =E2=80=98master=E2=80=99, even though my childhurd has
/run/current-system/locale/2.37 (I thought this could interfere but
luckily it doesn=E2=80=99t.)

Anyway, in both cases the core issue remains: we=E2=80=99re building packag=
es
with the wrong locale data.

The mismatch comes from the fact that =E2=80=98glibc-utf8-locales=E2=80=99 =
is a
system-independent package: you get 2.35 regardless of the system you=E2=80=
=99re
targeting.

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#66472; Package guix. Full text available.

Message received at 66472 <at> debbugs.gnu.org:


Received: (at 66472) by debbugs.gnu.org; 12 Oct 2023 14:13:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 12 10:13:33 2023
Received: from localhost ([127.0.0.1]:43931 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqwRQ-0003sO-WC
	for submit <at> debbugs.gnu.org; Thu, 12 Oct 2023 10:13:33 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55816)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <janneke@HIDDEN>) id 1qqwRN-0003s5-8F
 for 66472 <at> debbugs.gnu.org; Thu, 12 Oct 2023 10:13:31 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <janneke@HIDDEN>)
 id 1qqwQu-00019w-Aq; Thu, 12 Oct 2023 10:13:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=lVOFepoBUEiJVoCARAVaqijYaXg+lRz4LxNTO5Rz3lE=; b=rE/8wGxsOsVfT61E7R+s
 Vhl/fEI3woypfuqAWeLqyY6kGbGjD0yei1pWRJq3sf0SIZm2uHMTTAVEsI9lj2Tkc1Dp2RgTmwgwd
 53vsCG6asxrAYGjbituVzXQrG8kw+FnuseSp2vu+uxxf85Upo9es1XP5Wea5stdlRk7WauGTvjLPc
 958oUpiHv3nfNjx0LZr3ALY6JhcbjHSCzjW7SU0vQAuHCa3zfQ8KfZf68hvrLCt6psWp49tHer93Q
 vUhDhfDpZ7ilcWIkbmYTQ2PYm96Ua8t/0gm0jVvn3gfNdEaDPmkFhi6E3tQMjocdntTZ0oBCD9Pt0
 z/mmn24hDEfTgw==;
From: Janneke Nieuwenhuizen <janneke@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#66472: Wrong =?utf-8?Q?=E2=80=98glibc-utf8-locales?=
 =?utf-8?Q?=E2=80=99?= package used on GNU/Hurd
In-Reply-To: <87wmvsq1ia.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?=
 =?utf-8?Q?'s?= message of "Wed, 11 Oct 2023 23:42:53 +0200")
References: <87wmvsq1ia.fsf@HIDDEN>
Date: Thu, 12 Oct 2023 16:12:46 +0200
Message-ID: <87il7ckjz5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66472
Cc: 66472 <at> debbugs.gnu.org, Josselin Poiret <dev@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Ludovic Court=C3=A8s writes:

Hey!

> We discussed it briefly on IRC the other day: our packages get built on
> i586-gnu with the wrong =E2=80=98glibc-utf8-locales=E2=80=99 package (2.3=
5 instead of
> 2.37), which causes Coreutils among others to fail to build:
>
> environment variable `GUIX_LOCPATH' set to `/gnu/store/sq6w1nfi59askjfq6b=
1nqq6z8ld5zh1l-glibc-utf8-locales-2.35/lib/locale'
> phase `set-paths' succeeded after 0.0 seconds
> starting phase `install-locale'
> warning: failed to install 'en_US.utf8' locale: Invalid argument
> phase `install-locale' succeeded after 0.0 seconds
> [=E2=80=A6]
> starting phase `remove-tests'
> error: in phase 'remove-tests': uncaught exception:
> decoding-error "decode-char" "input decoding error" 1073741930 #<input: t=
ests/misc/ls-misc.pl 15>=20
> phase `remove-tests' failed after 0.1 seconds
> [=E2=80=A6]
> builder for `/gnu/store/vvp0yxvyxsrwmmzli7dsxinr6p9ba3mj-coreutils-9.1.dr=
v' failed with exit code 1
>
> (This is from <https://ci.guix.gnu.org/build/2062597/details>, made with
> commit cdbd81ce144f17644ceebd3d08723aa244696a05.)
>
> So we need a better fix than the local workaround in
> 21deb89e287b5821975544118bf137562a91d4e1.
>
> Thoughts?  Perhaps you=E2=80=99ve looked into it already?

Hmm.  I've briefly looked at this but failed to reproduce it.  I've
tried building coreutils, and coreutils-final in a childhurd created
from "a recent" hurd-team branch.

--8<---------------cut here---------------start------------->8---
root@guixydevel ~/src/guix/hurd-team [env]# ./pre-inst-env guix build --kee=
p-failed -e '(@@ (gnu packages commencement) coreutils-final)' --without-te=
sts=3Dcoreutils
[..]
environment variable `GUIX_LOCPATH' set to `/gnu/store/sq6w1nfi59askjfq6b1n=
qq6z8ld5zh1l-glibc-utf8-locales-2.35/lib/locale'
[..]
phase `unpack' succeeded after 10.4 seconds
starting phase `remove-tests'
phase `remove-tests' succeeded after 0.5 seconds
starting phase `bootstrap'
[..]
successfully built /gnu/store/zryfw42ayqpmk3s15a7s2cn231xsyjf0-coreutils-9.=
1.drv
/gnu/store/zbdppljxvvw3vc6lz64h5ic3fvihdr7q-coreutils-9.1
--8<---------------cut here---------------end--------------->8---

and similar for coreutils.

I've seen a similar error before trying to build guile-avahi a while ago
(before 21deb89e287b5821975544118bf137562a91d4e1) and it really puzzled
me.  The idea that a mismatch between GUIX_LOCPATH's glibc version for
locales (2.35) and the glibc actually used (2.37) would cause this
mysterious bug, is kind of a relief...

...although I've got no idea what causes this mismatch or how to fix it
;)

Greetings,
Janneke

--=20
Janneke Nieuwenhuizen <janneke@HIDDEN>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade=
my.com




Information forwarded to bug-guix@HIDDEN:
bug#66472; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Oct 2023 21:43:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 11 17:43:44 2023
Received: from localhost ([127.0.0.1]:40173 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqgzJ-0000X4-76
	for submit <at> debbugs.gnu.org; Wed, 11 Oct 2023 17:43:44 -0400
Received: from lists.gnu.org ([2001:470:142::17]:45354)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1qqgzE-0000Wg-9S
 for submit <at> debbugs.gnu.org; Wed, 11 Oct 2023 17:43:27 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1qqgym-0000Ok-Dg
 for bug-guix@HIDDEN; Wed, 11 Oct 2023 17:42:56 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1qqgym-0001wq-5f
 for bug-guix@HIDDEN; Wed, 11 Oct 2023 17:42:56 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to:
 references; bh=VgE48En/WPnaYHo71Ul67km6rywcbzKZb1XVYKGOnL4=; b=CKIyHNz4sWybe4
 jpOq28LW1xJHFrnIpnxvZoezlwsSFHp5J7I9YPFH7xmYQcayYYxw9+kywdZXaWuJpNpvdrwB7ixBh
 Ep2NK5jsNL+YQYUdP6Is8V/2BrWzvUZMT6n4w7oNaUfSOkIqiCaWiAJclXDjwt9E1KT3H3A4z1hTR
 jVghWnrmoUFbkuSTzHQ4OmqWASw1BafHkQ/7hrKlzSnDYPHubzFErgyIeJtF3WFMxVa0Cvs1tv23N
 C5kGKY5+9vUDzooMrK4+xEiU7y8RoHZvMrrYk95sfEEaZYpTd8WbzRAMFb8NlfxNjuRH3OF3Tj34h
 nTbZWSANabIT2syaB4aA==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: bug-guix@HIDDEN
Subject: Wrong =?utf-8?Q?=E2=80=98glibc-utf8-locales=E2=80=99?= package used
 on GNU/Hurd
X-Debbugs-Cc: Janneke Nieuwenhuizen <janneke@HIDDEN>, Josselin Poiret
 <dev@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 20 =?utf-8?Q?Vend=C3=A9miair?=
 =?utf-8?Q?e?= an 232 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du
 Pressoir
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Wed, 11 Oct 2023 23:42:53 +0200
Message-ID: <87wmvsq1ia.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi!

We discussed it briefly on IRC the other day: our packages get built on
i586-gnu with the wrong =E2=80=98glibc-utf8-locales=E2=80=99 package (2.35 =
instead of
2.37), which causes Coreutils among others to fail to build:

--8<---------------cut here---------------start------------->8---
environment variable `GUIX_LOCPATH' set to `/gnu/store/sq6w1nfi59askjfq6b1n=
qq6z8ld5zh1l-glibc-utf8-locales-2.35/lib/locale'
phase `set-paths' succeeded after 0.0 seconds
starting phase `install-locale'
warning: failed to install 'en_US.utf8' locale: Invalid argument
phase `install-locale' succeeded after 0.0 seconds
[=E2=80=A6]
starting phase `remove-tests'
error: in phase 'remove-tests': uncaught exception:
decoding-error "decode-char" "input decoding error" 1073741930 #<input: tes=
ts/misc/ls-misc.pl 15>=20
phase `remove-tests' failed after 0.1 seconds
[=E2=80=A6]
builder for `/gnu/store/vvp0yxvyxsrwmmzli7dsxinr6p9ba3mj-coreutils-9.1.drv'=
 failed with exit code 1
--8<---------------cut here---------------end--------------->8---

(This is from <https://ci.guix.gnu.org/build/2062597/details>, made with
commit cdbd81ce144f17644ceebd3d08723aa244696a05.)

So we need a better fix than the local workaround in
21deb89e287b5821975544118bf137562a91d4e1.

Thoughts?  Perhaps you=E2=80=99ve looked into it already?

Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludo@HIDDEN>:
New bug report received and forwarded. Copy sent to janneke@HIDDEN, dev@HIDDEN, bug-guix@HIDDEN. Full text available.
Report forwarded to janneke@HIDDEN, dev@HIDDEN, bug-guix@HIDDEN:
bug#66472; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 21 Oct 2023 14:45:02 UTC

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