From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id cIQ+BCt+dGXq+QAA9RJhRA:P1 (envelope-from ) for ; Sat, 09 Dec 2023 15:48:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cIQ+BCt+dGXq+QAA9RJhRA (envelope-from ) for ; Sat, 09 Dec 2023 15:48:11 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B3DCC46466 for ; Sat, 9 Dec 2023 15:48:10 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=I4jRiqKy; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702133291; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZSxKFSk1/teDJUpYy6OBGbHJyD++o1QHJgxWH9DsQ8E=; b=lW9d3qNc/Z02BVgcfk+TmtUYctztFgn1v9CkR4ZnMaEi0kY0so2yyIh8kvHMJkwuQ6j4v4 QMEIABIoZ8wnHXdwyglIfgy0gho0qESX+utaRFtbQnSwiAzYdT9WPiuaoEt8lL8MUyo/6w 0GAZAk7PdnI6nWkKotd6ndEt7RbjkDya8YfpgxTta+IfkGFy1c38Jyvw2ocaBXwDiZA2Xz 0JPhobD38EusIwkPcDsj7gI3U71/TlV6LIqZwXWc5CxOJcoYlUNUQ5yo2Hpd7cVQYFcwTQ IcEOkG3p9Zs+tP2sCsPYWSlG6JWh2mFQf+WAgDyZC5n4ONNC/Hteto1+mGCy1Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=I4jRiqKy; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702133291; a=rsa-sha256; cv=none; b=h+Cu3plkmD0wCQkmXUWIZ4Xjzk6e5OY6ExnWBQ+HhZU2EUR5O9SA6bj1HFAsxDDQMTRGhL pS+dvn/UmEeqosYE9YpuO3QZQySkRbzflWnrXgvvnCwt/dDEXLN/1KIgUMQdE2543BTNgo eGWWZq12V5GnvH+ZlF4W0kcd6BtxcLarpW5nf/LEU+WnF5t+yt2JNIlreXgzVmLEwj8feb aEjt5tSSiYEwQyeO8ZDK2dkrr1E1Rs8bw6n2m84Qw7hbAZ3D8IUsAdXcl12KqgDNPKzliO oS9R0MWbV/ebd8rsKh+CVke35NUJ51AdcyNrGuxy0w8WLJp0LzwlXg+bj07TOA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBycQ-00070y-Ul; Sat, 09 Dec 2023 09:47:50 -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 ) id 1rBycO-00070B-IL for bug-guix@gnu.org; Sat, 09 Dec 2023 09:47:48 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rBycO-00006s-A4 for bug-guix@gnu.org; Sat, 09 Dec 2023 09:47:48 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBycb-0001lO-ML for bug-guix@gnu.org; Sat, 09 Dec 2023 09:48:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#67044: [bug#67686] bug#67044: C.utf8 locale cannot be built Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 09 Dec 2023 14:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67044 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tomas Volf <~@wolfsden.cz> Cc: 67044@debbugs.gnu.org, 67686@debbugs.gnu.org Received: via spool by 67044-submit@debbugs.gnu.org id=B67044.17021332456650 (code B ref 67044); Sat, 09 Dec 2023 14:48:01 +0000 Received: (at 67044) by debbugs.gnu.org; 9 Dec 2023 14:47:25 +0000 Received: from localhost ([127.0.0.1]:47079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rByc1-0001j7-8q for submit@debbugs.gnu.org; Sat, 09 Dec 2023 09:47:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rByby-0001io-Fm; Sat, 09 Dec 2023 09:47:23 -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 ) id 1rBybd-0008PP-H6; Sat, 09 Dec 2023 09:47:02 -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=ZSxKFSk1/teDJUpYy6OBGbHJyD++o1QHJgxWH9DsQ8E=; b=I4jRiqKyGmeTxUUwLOmW o2jk36GNab9Ay6GbfRMiDfDXEQo3JHQUqleRme9UsG/3DLGqHroKAwDutVoMQciQwscCs3C0Ix1ve NfYp3quUoB/xkYLENP3Z/4L8CVva6MDRZSen2nvuWI7cRs+xZWExeLlQNnwlBgyXTLNbL1r6f1wwg 8QHGnWeiSWyEvXTpbkah9KBbcvKDfJmVb85aOyXhx9zZynsIf6SrYtB+I+3mP790mHdvHUqecoeY6 yseYsTLFhdSCQwUeBO0n0gm0hnbSWlL4eKzcTh7NccFtNu6ayrDX+SEs3z2IMf1a0qrVMOvDgXg+C zuAgwo3rPhu/hQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (Tomas Volf's message of "Thu, 7 Dec 2023 23:09:40 +0100") References: <87bkbex3bh.fsf@gnu.org> <87zfyme29z.fsf@gnu.org> Date: Sat, 09 Dec 2023 15:46:58 +0100 Message-ID: <87a5qj5t7h.fsf@gnu.org> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -2.11 X-Spam-Score: -2.11 X-Migadu-Queue-Id: B3DCC46466 X-TUID: iG9KHHi7soge Hi Tomas, Tomas Volf <~@wolfsden.cz> skribis: >> (glibc-2.35)[arguments]: Delete =E2=80=98install-utf8-c-locale=E2=80=99 = phase. > > I do think 2.35 should install the locale as well. That would require to= change > > (invoke (string-append bin "/localedef") > "--no-archive" "--prefix" locale > "-i" "C" "-f" "UTF-8" > (string-append locale "/C.UTF-8"))))) > > into > > (invoke (string-append bin "/localedef") > "-c" "--no-archive" "--prefix" locale > "-i" "C" "-f" "UTF-8" > (string-append locale "/C.UTF-8"))))) > > however I think that is fine. I am using locale built like that and it w= orks > well. What is more, from the discussion under the other issue[0], that is > exactly what is done during normal glibc build: > >> It turns out we ignore errors during the glibc build (--quiet -c). > > After that the drop of 'install-utf8-c-locale can be moved into some other > version < 2.35. I=E2=80=99m a bit wary of using =E2=80=98-c=E2=80=99 (aka. =E2=80=98--force= =E2=80=99) unconditionally as this could hide real problems. But more importantly, I think it won=E2=80=99t matter whether glibc 2.35 sh= ips C.UTF-8 since it=E2=80=99s no longer going to be used, except for building = old locale data via =E2=80=98locale-libcs=E2=80=99. > 2. > > I still believe it makes sense to add the -c also into the locale builder, > because my understanding is that this change will not allow using (locale > "C.utf8") in the operating-system definition (since that would still try = to > build it, and fail). > > If you are not opposed to the idea, I can send a patch if you would prefe= r not > to do it yourself. No you=E2=80=99re right, we could add =E2=80=98-c=E2=80=99 to the code in (= gnu system locale), though perhaps it would be safer to do so only in the 2.35 + C.UTF-8 case. (We can do that independently of this patch.) > 3. > >> I suspect libc builds an additional =E2=80=98localedef=E2=80=99 for the = build machine but I=E2=80=99m >> not sure where it is, hmm=E2=80=A6 > > I looked around a bit, and I am not sure that is true. In the meantime I found that this is wrong indeed: https://issues.guix.gnu.org/67686#11 Thanks for your feedback! Ludo=E2=80=99.