From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 CN7gODKfcWUOWQEAauVa8A:P1 (envelope-from ) for ; Thu, 07 Dec 2023 11:32:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CN7gODKfcWUOWQEAauVa8A (envelope-from ) for ; Thu, 07 Dec 2023 11:32:19 +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 C0CE343455 for ; Thu, 7 Dec 2023 11:32:18 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=JS5sfvp1; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701945138; a=rsa-sha256; cv=none; b=m3j0ImuUDybyvBCO8QogtJAXcagLyLa8IaS77wYJ+mNH6y7EOslEnutyoBXIosM9ZQqKEJ kYtJkx3clPGkms5T8WS4iBX/ThhVqWLyefRWxs/zbVrUeZGuwyQEP7zsJpQcVa7riMnFeT s9aaSIU0i8BpQzCjF4ZXmKy2znWjh1K/KEXr2Ixv5fVS7eKmwh4n07Dl/Pp8IH3cSC2IQU yZ7HR2/lgqzAV4kXyr2J30uMmgdEG3qLNQifftcrntoHUSRRsfrcXXGTgpBFW+JpP4wuaQ NPXvsCGd147OckTSmAbtknEPH1uAnq+UWpd8qIF9Ezgjl6DQ6CoL7wx5nAt3pQ== 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=JS5sfvp1; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701945138; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=ZSbbXu3wcanmzJZoqi4N+uKCkCTu0eMNx6Rt2iIuuBo=; b=jA9kysEvPwNrzy1t1LVA05oAXruHQrY5Yp0wTL0sOSJCpUo25HlpB5XBffEq9/3HCWpMBi pY7tV1CV/N10LC8FuiDrXvprU385nwUTERS00uzV4SUUauxV378RsPfyqHScQVihafJ9D9 6gL0VFi4OBQbJZU+jumEYAwV50ZKKKrIBOmxLCv7rgoUSs+QANlbggsqOHadkHUmWzi7RZ GwUFSaPIKx/yRvS4MYSL/XwVbYqaNJycGGg6lK31MijR/qns7f3OihKybj6/3lXP1Xf/Qz 7zxkt06jkFk7qQOcf80rW+J5vCCRPN59Jei2ZLsu8QVq88Z5TqXE/6D+7w+50g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBBfd-0008RB-QH; Thu, 07 Dec 2023 05:31:53 -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 1rBBfb-0008Qx-I0 for guix-patches@gnu.org; Thu, 07 Dec 2023 05:31:52 -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 1rBBfb-0002YG-A5 for guix-patches@gnu.org; Thu, 07 Dec 2023 05:31:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBBfm-0005ks-6W for guix-patches@gnu.org; Thu, 07 Dec 2023 05:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67686] [PATCH core-updates 4/5] gnu: glibc: Install C.UTF-8 locale. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Dec 2023 10:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67686 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67686@debbugs.gnu.org Received: via spool by 67686-submit@debbugs.gnu.org id=B67686.170194507722071 (code B ref 67686); Thu, 07 Dec 2023 10:32:02 +0000 Received: (at 67686) by debbugs.gnu.org; 7 Dec 2023 10:31:17 +0000 Received: from localhost ([127.0.0.1]:41168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBBf2-0005jv-Qy for submit@debbugs.gnu.org; Thu, 07 Dec 2023 05:31:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBBez-0005jh-CC for 67686@debbugs.gnu.org; Thu, 07 Dec 2023 05:31:15 -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 1rBBeh-0002Pp-C8 for 67686@debbugs.gnu.org; Thu, 07 Dec 2023 05:30:55 -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=ZSbbXu3wcanmzJZoqi4N+uKCkCTu0eMNx6Rt2iIuuBo=; b=JS5sfvp1CKdNb05GtLrr NKiQXfY66OY2+rQ1TojAirV4OgvTXXhUSpr97q8fNsqhXjxggyG2yl9AxhS+cHVB5gZ/Lemi/b7oY EmPqePlDRk9QPCdAd+P7MgmRvK+IxIKF4axPJ7AgAVK64EIB9ZmMYc0m68VuU7RXxXDl13q4ladzN tWIMjWI4GXMo2Vjh3pLdlPPH4sTzRgOVPX4qjSCrp02IXGLwRwv0JWR7fVxGlRTYxvHDf4XIhUTcf FiZ9gyxrmBSepp33Z8IFN1m5Yp3w3HNYNyi7skhEPk0s/qAK7REzwmjzk3NDfj1PWM9XowiGuOHtL Y+4updlpFoUxrA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <3e187cf8646059a513b502a17abe9f88daae6f6b.1701943221.git.ludo@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 7 Dec 2023 11:22:47 +0100") References: <3e187cf8646059a513b502a17abe9f88daae6f6b.1701943221.git.ludo@gnu.org> Date: Thu, 07 Dec 2023 11:30:10 +0100 Message-ID: <87v89ae24t.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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-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: -6.85 X-Spam-Score: -6.85 X-Migadu-Queue-Id: C0CE343455 X-TUID: s+NiDOdgVh/l Ludovic Court=C3=A8s skribis: > + ;; Install the C.UTF-8 locale so there's always a U= TF-8 > + ;; locale around. > + (let* ((out (assoc-ref outputs "out")) > + (bin (string-append out "/bin")) > + (locale (string-append out "/lib/locale/" > + ,(package-version > + this-package)))) > + (mkdir-p locale) > + (invoke (string-append bin "/localedef") > + "--no-archive" "--prefix" locale > + "-i" "C" "-f" "UTF-8" > + (string-append locale "/C.UTF-8"))))) I realize now that this cannot work when cross-compiling, because the this =E2=80=98localedef=E2=80=99 binary is not executable on the build mach= ine. I suspect libc builds an additional =E2=80=98localedef=E2=80=99 for the bui= ld machine but I=E2=80=99m not sure where it is, hmm=E2=80=A6 Ludo=E2=80=99.