GNU bug report logs - #67044
C.utf8 locale cannot be built

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: Tomas Volf <~@wolfsden.cz>; dated Fri, 10 Nov 2023 14:53:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 67044) by debbugs.gnu.org; 28 Nov 2023 03:44:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 27 22:44:05 2023
Received: from localhost ([127.0.0.1]:45176 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r7p12-0002JB-F2
	for submit <at> debbugs.gnu.org; Mon, 27 Nov 2023 22:44:05 -0500
Received: from wolfsden.cz ([37.205.8.62]:48130)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ws@HIDDEN>) id 1r7mo8-0006oT-Rf
 for 67044 <at> debbugs.gnu.org; Mon, 27 Nov 2023 20:22:38 -0500
Received: by wolfsden.cz (Postfix, from userid 104)
 id 57DE625F4A7; Tue, 28 Nov 2023 01:22:28 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1701134548; bh=ebSEsK0hYnXZNTitfFzZWzPHc/QUBswhTai96wBEeio=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=uiUY7RwnZJDDcRqnfhKstRHkpk6mHBrCa5BfiTRXRiMtfk2Kam8ExTGtAWtPNoD9I
 vQBk6WCm0ezYcs2uWLhoe09zEjVMuLALY/zx76phqX4F1503cvaACOy9LE9puggRZ2
 SpIp07j4o5QztYT3vzHuxF107SrgzNnRPRPjChUNGs/6+TnljjYonTm6cNd1kqLPXd
 V1TZS/xH7BfWGD8KezFPHshSQT8HqWvHyBKSgb5xOHrPbaS3PJ2pb1gXrGo+Xt1r7F
 Spz2PAqf+ibSUfjVA/I/ffs9Yd705hD8AIMUyoVsFLuw2ns+tpxelWlEdPfDLQv/ck
 ga7xdsOZ27GFqBPYHLx8XwFk5ee8GrgBy7zpeXav36UpI/PxcQXAtc2XY8h606fRt1
 AQ9WK6G8+XzFe0rlM2o5/rGmwVawfO+HLc88e9MSshYl8OkBqtVW0NwomV+qXeRYbh
 Bi6IIRKtbDnOtaC86l3/ARr7JlmyAqEfV3ccR5NEOowbnn06xgyZ892ZIRsjLS+Rzs
 //vfVaouED5CAjwtpRVsXMBltDHefHZZXqF4UtNwi/4WYNojtfwpHULQr3t7ZJdAPE
 EVVW+1caMN69SFp7G2bbmTjqWk5tLXVv9jkvdEbVRPm3N3dZrgXJ6RObbofCvFyZzd
 KKex6G9UgJ/WjHJGUHRXR8p0=
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden
X-Spam-Level: 
X-Spam-Status: No, score=-0.9 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,
 T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no
 version=3.4.6
Received: from localhost (unknown [193.32.127.136])
 by wolfsden.cz (Postfix) with ESMTPSA id 671B525E1F6;
 Tue, 28 Nov 2023 01:22:27 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1701134547; bh=ebSEsK0hYnXZNTitfFzZWzPHc/QUBswhTai96wBEeio=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=nOYnOiQ4wcDK1s/pXBQb1Uddh9fQXzBs8tXyS5vMOjtvBBsnaGnlYD3w7pCh2Tgn4
 k7BXBimj3Pe2P174EffsxZeeGVqdLJFc0kRQcMcN2mK/p5UtS0aa3GQfL9N4lhXkE0
 WOqudDInGE1c6myzBZggA3xaWA5gozqsY3dilObZwjUjwJoWhneacHFtCwikyTRoZk
 zwnHtsmrg4X9q0W0u6Lo1EX4umr1ta2ByH0QvkoCBgWvGZnyBSR5hPfDdTrqlgWF60
 egPSGU/MnWYb0Q1hxFofywpNahXKxOpDpfSWrY00NO+m1tYteKgnx8jdnxuWtE7PBH
 z2xizp4yfts8Yyr68eYv+hEwQcCA+sBUWi524LD23TJ0S2EGXQAUnkQaOAqhxt6FQf
 knpCB3Zc2MsZxGZjSDDGDL76v7jxUrSICkWHJ5x2b8eUPhXwZ2BE+3/2WgpX3SEod9
 AvJSwTP8kSDGLEUVdccD3fUQmzALs6XIhKDjDG4wcEPIYQzTpMxlGKxEYtnB8RRcKX
 3l1t81cuZdx332rBDGfpCLBjMP4Q8klphCyX2mOpqUIfL/aYg8A6DIAcbD7cTDdcNG
 BbklOQU9wZd1dkYAykyeg4s8xKYHWnzyX7KAaHcwf32DI0053NdIKcNYShrGeyosg4
 lGGmhZuOjXaZ6rH3tTf0+NzQ=
Received: from localhost (localhost [local])
 by localhost (OpenSMTPD) with ESMTPA id f31e5683;
 Tue, 28 Nov 2023 01:22:26 +0000 (UTC)
Date: Tue, 28 Nov 2023 02:22:26 +0100
From: Tomas Volf <~@wolfsden.cz>
To: Ludovic =?iso-8859-1?Q?Court=E8s?= <ludo@HIDDEN>
Subject: Re: bug#67044: C.utf8 locale cannot be built
Message-ID: <ZWVA0iZhNXLZpfLV@ws>
References: <ZU5Bcz1vIcoH1COM@ws>
 <87bkbex3bh.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="f9JAAyI27Xq6Kzpr"
Content-Disposition: inline
In-Reply-To: <87bkbex3bh.fsf@HIDDEN>
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 67044
X-Mailman-Approved-At: Mon, 27 Nov 2023 22:44:02 -0500
Cc: 67044 <at> debbugs.gnu.org
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: -0.8 (/)


--f9JAAyI27Xq6Kzpr
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2023-11-27 23:02:26 +0100, Ludovic Court=C3=A8s wrote:
> Hi Tomas!

Hi! :)

>=20
> Tomas Volf <~@wolfsden.cz> skribis:
>=20
> > when trying to build a system with C.utf8 locale, I end up with the fol=
lowing
> > error:
> >
> >     building /gnu/store/v6jma6kmwywr509n4y0vypchnh4y5s3m-locale-2.35.dr=
v...
> >     building locale 'C.utf8'...
> >     [error] LC_MONETARY: value for field `mon_decimal_point' must not b=
e an empty string
> >     [error] no output file produced because errors were issued
>=20
> [...]
>=20
> > This seems to be a known problem in 2.35,
> > https://sourceware.org/bugzilla/show_bug.cgi?id=3D28861 .  On the page =
there is
> > also a workaround, and that is to compile with the locales with -c.
> >
> > So that would be one solution until we update to 2.36 or higher.  I do =
not see a
> > way to override this (add the -c) from the operating-system definition.
>=20
> We could/should fix this in (gnu system locale).

That is currently not possible I am afraid, since %default-locale-definitio=
ns is
global, not per-version, and glibc-2.33 is installed by default.

>=20
> Now, it would also be nice if C.utf8 were built-in, shipped with the
> =E2=80=98glibc=E2=80=99 package we have (to me that=E2=80=99s the whole p=
oint of C.utf8).  We
> should fix that now in =E2=80=98core-updates=E2=80=99.  Ideas on how to d=
o that?

After short research, I do have an idea.  My knowledge of Guix's internals =
is
not good enough (yet? :)) to implement it though.  And I am not even sure it
should be done.  Anyway here it goes:

1. Add a phase after 'install that builds and installs the C.utf8 locale, as
documented here[0].
2. Make glibc package add the directory into GUIX_LOCPATH.  Since it accept=
s :
separated directories, it should be possible, however I am unsure how.

I think that should do it.  However, I am not sure what the benefit would b=
e.
The base locale is C, anything else (like C.utf8) is extra, and user needs =
to
modify LANG to get it working anyway.  So installing it via the glibc-local=
es
seems fine enough.

In my opinion, the correct long-term approach here is to just add C.utf8 in=
to
%default-locale-definitions.  That however cannot be done until glibc-2.33 =
is
dropped from %default-locale-libcs.

For the time being however, using C.utf8 is solvable[1] from the
operating-system definition, with the exception of compiling the locale.  A=
bout
which is this issue and the fix is trivial[2].

I am not sure this issue is worth overthinking it.

0: https://www.gnu.org/software/libc/manual/html_node/Running-make-install.=
html
1: https://emacs.ch/@graywolf/111404592336140803
2: https://git.sr.ht/~graywolf/guix/commit/1e94b59a7b27d44435f321083a01242b=
df16c566



Let me know what you think :)

Tomas

--=20
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

--f9JAAyI27Xq6Kzpr
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmVlQNIACgkQL7/ufbZ/
wan0AQ/+OHiwyDN13D0zAWS2o0MkFfs3bxt3ayWWNZE4QSvlWoYXnIlZnB56qREq
JKbfEc3ujuFZRrwIwhJ3cDQR3yr2edoIAZVv2VLPAR1BjUbeVe5Wm0MJxDvlSLr6
dNQqJEL8NIHMN2COWzQbyxPHP5eREDFgAW5JdB3UXiVVI4LRYwogD92kZO0x6Uj3
T21Ndqu7B1qOHWAOXdnwOqqvjUFoHxR/WF94PNs89CDKHdcR5vM9GJ2QM1y6CjXb
+S6PPO/v6O1x+rCMo+BbLHTiSitObwVhY5fQ9iVXqUcGAqKaQaqhd80vAELjzBYj
SFsxZb9JPPbabuYDrmQqVnmKbKsa7HqTbH2NzQFAU+n5ig4NytMDUuG8EFGXip71
n+9gmyc6/sHTDIxk0sRrBRwGmKmIFTl8GgcVFWADaQsVvvd1RtfVIweCSlabfwfY
vgBLqlvjHrP6Pzo9n3j+c84kwvkRCoR/Xs2VJEpVnkl1jy8bKiMTAjcZaX8MWcI7
vIcINUh0AG8vQtcrBPiV3ubURm8qgjhfMh0JquJKkge29CrAGXtAGG1vh0t/nqow
S+RTYKIhuSrGC6nUdGvI3ISXwflGp/hEnMdq7UgXvuk9zqoRQiKiZ7RET8snHguB
bm6YGKvbumIqMER9aPQUL1JwRGCxTtp1MLTaSCY7V41oVwXtnQA=
=+I50
-----END PGP SIGNATURE-----

--f9JAAyI27Xq6Kzpr--




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

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


Received: (at 67044) by debbugs.gnu.org; 27 Nov 2023 22:02:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 27 17:02:44 2023
Received: from localhost ([127.0.0.1]:45020 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r7jgh-0004qI-Q0
	for submit <at> debbugs.gnu.org; Mon, 27 Nov 2023 17:02:44 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:45066)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1r7jgf-0004q2-47
 for 67044 <at> debbugs.gnu.org; Mon, 27 Nov 2023 17:02:42 -0500
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 1r7jgS-00042s-HY; Mon, 27 Nov 2023 17:02:28 -0500
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=QXYP5TnZvrsQZ9x+sDzG4QTX6Sqz35FbyiYdfNVyp54=; b=L1b0cPYlPG0Vd7wSoBDV
 jf6rxAOgD2qHX6oJwzk151TRIO92+8oJK1oidPyHO9oi95spIP9vPHHH4urc+fpB8b52r5h6D016m
 8SMluATGCI8KnU+GNB/NQIvUY9TVyfAKsK/rRUTl51WKbuuygzDNIyo12Ee+K7zL2WCPlcEWS/RWq
 /lPr1vzAtk7iWHFVFG8ZmETIb+f8V76uAHXCWA3VJ25Lu9h7keSix7z36Pxrwiejreq2LmY++eGtl
 MWDllsAI/28f29BbZgThmHZ5sKuA7sQxkOLTOvifpa4FGHu9vi2TMqYy4OHFYCCGqec5Mzgth+1Ss
 fID7PltYFrxGCQ==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Tomas Volf <~@wolfsden.cz>
Subject: Re: bug#67044: C.utf8 locale cannot be built
In-Reply-To: <ZU5Bcz1vIcoH1COM@ws> (Tomas Volf's message of "Fri, 10 Nov 2023
 15:42:59 +0100")
References: <ZU5Bcz1vIcoH1COM@ws>
Date: Mon, 27 Nov 2023 23:02:26 +0100
Message-ID: <87bkbex3bh.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: 67044
Cc: 67044 <at> debbugs.gnu.org
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 Tomas!

Tomas Volf <~@wolfsden.cz> skribis:

> when trying to build a system with C.utf8 locale, I end up with the follo=
wing
> error:
>
>     building /gnu/store/v6jma6kmwywr509n4y0vypchnh4y5s3m-locale-2.35.drv.=
..
>     building locale 'C.utf8'...
>     [error] LC_MONETARY: value for field `mon_decimal_point' must not be =
an empty string
>     [error] no output file produced because errors were issued

[...]

> This seems to be a known problem in 2.35,
> https://sourceware.org/bugzilla/show_bug.cgi?id=3D28861 .  On the page th=
ere is
> also a workaround, and that is to compile with the locales with -c.
>
> So that would be one solution until we update to 2.36 or higher.  I do no=
t see a
> way to override this (add the -c) from the operating-system definition.

We could/should fix this in (gnu system locale).

Now, it would also be nice if C.utf8 were built-in, shipped with the
=E2=80=98glibc=E2=80=99 package we have (to me that=E2=80=99s the whole poi=
nt of C.utf8).  We
should fix that now in =E2=80=98core-updates=E2=80=99.  Ideas on how to do =
that?

Thanks,
Ludo=E2=80=99.




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

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


Received: (at submit) by debbugs.gnu.org; 10 Nov 2023 14:52:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 10 09:52:15 2023
Received: from localhost ([127.0.0.1]:49749 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r1Srm-00061z-Al
	for submit <at> debbugs.gnu.org; Fri, 10 Nov 2023 09:52:15 -0500
Received: from lists.gnu.org ([2001:470:142::17]:53166)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ws@HIDDEN>) id 1r1Sjk-0005iZ-2Z
 for submit <at> debbugs.gnu.org; Fri, 10 Nov 2023 09:43:59 -0500
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 <ws@HIDDEN>) id 1r1Siz-0000md-Oi
 for bug-guix@HIDDEN; Fri, 10 Nov 2023 09:43:10 -0500
Received: from wolfsden.cz ([37.205.8.62])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ws@HIDDEN>) id 1r1Six-0000li-3j
 for bug-guix@HIDDEN; Fri, 10 Nov 2023 09:43:09 -0500
Received: by wolfsden.cz (Postfix, from userid 104)
 id 7FFAA27CB8B; Fri, 10 Nov 2023 14:43:01 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1699627381; bh=lb23cfRjVjYbA08l6UesrQ2KaIygLUMIV6z+XSu8veI=;
 h=Date:From:To:Subject;
 b=p0VFr3eehPDk7rxlHRVymAuvAmcvmzdZ44PenK4JuMO9YGo4WCvBZClX5zAGneNZ5
 qRpw5K42VHCqVNw5SHWBzK2T4/kztqbOOUZ//V6a+ZwIeQv85l06ryA+zs41P56P0u
 qEEPC/usvyDvDNr7jz27VVjxDfzJN/Hp9XIeUfCd+RNSeLdPKuRsRhgJxVm0aDvV2X
 tNWRzhaeaoXrVKKRfUqnu/plRjaKDRHHCYVlbX4ncHgo5JAlTTU0/pAJ+xQPZphGJY
 mPjDg/Pv89FhawTozxZt0vxWtfngAcoB5lTnlzRrlzWHc9akmrJA13JpBGumqhuwAW
 kfNrVftxVdDBV/0mpLerMchP/MBcp1VdZsuncXu4L2OpgHVx8mLAtt/qccMEpxNBHn
 SngVu5B4GiFp1P3a7zZOg9O5N4l6t1PUiuvP/Bu+y4LiZ1TBxusYznNXIpLIo+tGnI
 Wyn76IDGdhwIUx6RriOv8rOxQaDQX714eDPGSCgxgTBNRQTuZ0EgNouP65loPlanOk
 2P67ybyQo3UDvgHxTh7N4wblkoYUSV2Q8rYmNb2AtVxCNaXZhBL4/q7BAzJiWES3TP
 k98U211UORY0tjiqkZ3p+UKJRCpzGDwIckLmujBlNCyOkUSS6nr96+UYJo70DoRJ5L
 VipggR7Z434e+RUHdXIsd2CU=
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden
X-Spam-Level: 
X-Spam-Status: No, score=-0.9 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,
 T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no
 version=3.4.6
Received: from localhost (unknown [193.32.127.155])
 by wolfsden.cz (Postfix) with ESMTPSA id A420427CB8A
 for <bug-guix@HIDDEN>; Fri, 10 Nov 2023 14:43:00 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1699627380; bh=lb23cfRjVjYbA08l6UesrQ2KaIygLUMIV6z+XSu8veI=;
 h=Date:From:To:Subject;
 b=JkJhS4hLqDqroEL3Qc/OE4Wmbz9gXAC/L6yYwxE6unHslBTfxhGvvBM6jNSOH1O3O
 z48gmqEmRiND+tpEKPlEXPog13ovfMnIZbrM5wPFqpBTKZptryBZmIXwQiFNtZLrfz
 44cs2lgbkcPvPzpY3RE+F9X0p5RwbqUuvaXbFaxAKOR+Ad6KChklwulkVGKAPWDDi/
 6ZK8AUb/SDwYXRid5gPK8qOChAjd5KURl/ahjzf9agCbZkkHvUz92S5XTOBivcmgKF
 XX9MlkLg4PbMJEYY+jce6MnWHEXiJjA3TWP4KXoiyLc+9hzYscP7G/fQD1KknNnxol
 OV2pIaIHKX12WoOWPRPAANIxoCwol389vVk5MakCDOf+4dO2MvlkWyUqL0/64Xdlsl
 EzpLVAyKO5m4QvK9S/xk0V+BO8mCqxynjOo6kLyGGoOxAWFMjdZAaxE3Rf1y2Jd77G
 9KT/0L8BYp+wl/TamMK1/LY5xUVIjL/FIQAwgaDA38Ss4K5SfVm8vSJo+AcXQ7+96T
 0yeKaxnIpCpAgPqz9FutdhjmyJhsDhOn5iFCjaiit/vMJZX3QS/ei/V4PElOcsQZGY
 G6YAWSMYA2mfoqPhH90QpJRQf/Gng8/dXO/h7wg+jveznqhka+Cnw4S3V7jvbbjc95
 VjtCo6M0sOnZtxgqgr9C8Q/U=
Received: from localhost (localhost [local])
 by localhost (OpenSMTPD) with ESMTPA id 5b97f5f5
 for <bug-guix@HIDDEN>; Fri, 10 Nov 2023 14:42:59 +0000 (UTC)
Date: Fri, 10 Nov 2023 15:42:59 +0100
From: Tomas Volf <~@wolfsden.cz>
To: bug-guix@HIDDEN
Subject: C.utf8 locale cannot be built
Message-ID: <ZU5Bcz1vIcoH1COM@ws>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="NLv58qHvWQU3lTQq"
Content-Disposition: inline
Received-SPF: none client-ip=37.205.8.62; envelope-from=ws@HIDDEN;
 helo=wolfsden.cz
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
 SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01,
 UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 10 Nov 2023 09:52:11 -0500
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: -0.8 (/)


--NLv58qHvWQU3lTQq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

when trying to build a system with C.utf8 locale, I end up with the followi=
ng
error:

    building /gnu/store/v6jma6kmwywr509n4y0vypchnh4y5s3m-locale-2.35.drv...
    building locale 'C.utf8'...
    [error] LC_MONETARY: value for field `mon_decimal_point' must not be an=
 empty string
    [error] no output file produced because errors were issued
    Backtrace:
               2 (primitive-load "/gnu/store/ccv2qfrqxk166ysg6anrzj1kz4h?")
    In ice-9/boot-9.scm:
       285:13  1 (for-each #<procedure 7fffeef5c540 at ice-9/eval.scm:3?> ?)
    In guix/build/utils.scm:
        812:6  0 (invoke "localedef" "--no-archive" "--prefix" "/gnu/st?" ?)
   =20
    guix/build/utils.scm:812:6: In procedure invoke:
    ERROR:
      1. &invoke-error:
          program: "localedef"
          arguments: ("--no-archive" "--prefix" "/gnu/store/08rlginv27b9v1b=
a4n94plp7lmxjihja-locale-2.35/2.35" "-i" "C" "-f" "UTF-8" "/gnu/store/08rlg=
inv27b9v1ba4n94plp7lmxjihja-locale-2.35/2.35/C.utf8")
          exit-status: 4
          term-signal: #f
          stop-signal: #f
    builder for `/gnu/store/v6jma6kmwywr509n4y0vypchnh4y5s3m-locale-2.35.dr=
v' failed with exit code 1
    build of /gnu/store/v6jma6kmwywr509n4y0vypchnh4y5s3m-locale-2.35.drv fa=
iled
    View build log at '/var/log/guix/drvs/v6/jma6kmwywr509n4y0vypchnh4y5s3m=
-locale-2.35.drv.gz'.
    cannot build derivation `/gnu/store/g47g7zqs5la6qpfmn6q1zgbhp291l1ha-sy=
stem.drv': 1 dependencies couldn't be built
    guix system: error: build of `/gnu/store/g47g7zqs5la6qpfmn6q1zgbhp291l1=
ha-system.drv' failed

This seems to be a known problem in 2.35,
https://sourceware.org/bugzilla/show_bug.cgi?id=3D28861 .  On the page ther=
e is
also a workaround, and that is to compile with the locales with -c.

So that would be one solution until we update to 2.36 or higher.  I do not =
see a
way to override this (add the -c) from the operating-system definition.

Tomas Volf

--=20
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

--NLv58qHvWQU3lTQq
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmVOQXMACgkQL7/ufbZ/
wanOIxAAsQ4oVlXZstZeu8QpLGguMOd/11y+1DKoiuVx1LJLaHQzMHnA9QRLb3vV
DFIGNBWO0d/BDgc1Wss6Qj1dbhHUUwWk8MmBLJtpfe4mRoz6ZIdpT5stpZgpMlty
NuMEUgPDXz3lkKUkoH2YxKMwrq149+atGwHrAJONi9qVCDF8iy1d3ByZNVWfjmAK
xtB3AHPNWjZI9NXD3KY+DfjZw1J1EM+CGIj3TnZXDWyPP9WRdH9fvzTD9hUx+TG8
M8N0jcEfGgtuARvq8R4LVywNV7gnDwHpn3P7YaM+iFlNG9AmPqdXGaIi1YGzrGqp
CkZlYLHTiXzzIQitDyffoRx022DToavLx4GKWIRy5ZOVgSb72+GUX921MEQPeYse
KNzPByeqS8wjZCuhDrKs/Wm+s0Bguvb1zVxVJJrXhc12lXgDQDrD6KSYTSmKW8n6
AeQZ5Pnen+4zspF5WUV4Qpte5WdVCDL4Q+n0BVTWjfQWawwgzWCOqcxP186Tw1ri
xkz3mx1zOasyeZ4tU6oZPiY5LejLrQpwJV7n/2RN5F60meILixgTGErNuYF1UYUD
+cZd+Se4gi7wCJFs0+QOAPpUKDydLHVv74HYsCjzpsRP5TpSyziDtilbyOJ9xuVC
nGwoZMCSubjPvAlQBkgSqL6qgXWIUSKyHGyiB3lpGqcSaPer1wU=
=g/4a
-----END PGP SIGNATURE-----

--NLv58qHvWQU3lTQq--




Acknowledgement sent to Tomas Volf <~@wolfsden.cz>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#67044; 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: Tue, 28 Nov 2023 04:00:02 UTC

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