From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id SADAM8grcmVHcwAAauVa8A:P1 (envelope-from ) for ; Thu, 07 Dec 2023 21:32:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SADAM8grcmVHcwAAauVa8A (envelope-from ) for ; Thu, 07 Dec 2023 21:32:08 +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 980BF45751 for ; Thu, 7 Dec 2023 21:32:08 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=GMdQXdRa; 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=1701981128; 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: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=hgWGHCPIRkupX44tiDMfHGlhZl+gzGa/PCMJjgF3M2Q=; b=DCaASp82NZt9aYgnOzhoRI9Y5lu2XrUIkMD0kzdENBj+hfwRO05yLPRRcm9Xjh21N5aJvL CU+DlSkNH7ZTTrzD5SJJePztNeAeQn2Q0fi7fEtI2imsB6OR4upjE1W3gaG3OlQtpZXJM5 Yotanb88onAuRyWDjY46tMFhMQwSJ+YlgrcRTgdaN+6JEZqDuOchUEgAExK7T1Gh2bKZNE 863+ghwtvIEoPVyqdFnBuZPWEn96Cll8wjtHjJNTpJ+MvO+C1IoDkXKlDmzwstoPYI7HMU bRcWS0Hp9+UiMS9A8V7BtosiRYLnhIc+7mI8v0HFk5OzKZBSC9YsBGVRQiCnYQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701981128; a=rsa-sha256; cv=none; b=ZKrOxFGEdhU2MzLjiN5WCh5M+Zee9eh1lhz/a7Jo1Tw9dVTl5QcsHl6hWLDWSx9o63UC+u 4YSC9n+VkEBVqsKdSeod0zc4b1GducbEHPKOrwJLT+31Ov3v/Y4UOdghbRzV56If7bVevI b1DMDgH92uzCuuUzUqbBbBO7X6PbqzCBp+QEsMVrlZXFVUrDvV1BTl6iMrrC60KmFToCev 6xuPFnFuGcklK4NnedT6y5DuOwyWG9WUSekKrY2mUpQvJhkYFSf0TZin7ewVAMVvcZNeLB qaPKQaB9DGEMEELPI2a8ktGG7URcuVQyCwDHJpxtZcooHNS+n36znmmtjX1kTQ== 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=GMdQXdRa; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBL2J-0004OV-TS; Thu, 07 Dec 2023 15:31:55 -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 1rBL2E-0004OD-2z for guix-patches@gnu.org; Thu, 07 Dec 2023 15: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 1rBL2D-0002jY-Ql for guix-patches@gnu.org; Thu, 07 Dec 2023 15:31:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBL2P-0001qg-Rg for guix-patches@gnu.org; Thu, 07 Dec 2023 15:32:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67686] [PATCH core-updates 4/5] gnu: glibc: Install C.UTF-8 locale. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Dec 2023 20:32:01 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 67686@debbugs.gnu.org Received: via spool by 67686-submit@debbugs.gnu.org id=B67686.17019811017063 (code B ref 67686); Thu, 07 Dec 2023 20:32:01 +0000 Received: (at 67686) by debbugs.gnu.org; 7 Dec 2023 20:31:41 +0000 Received: from localhost ([127.0.0.1]:43226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBL24-0001pr-JF for submit@debbugs.gnu.org; Thu, 07 Dec 2023 15:31:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBL21-0001pW-Bw for 67686@debbugs.gnu.org; Thu, 07 Dec 2023 15:31:39 -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 1rBL1i-0002ga-Tt; Thu, 07 Dec 2023 15:31:18 -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=hgWGHCPIRkupX44tiDMfHGlhZl+gzGa/PCMJjgF3M2Q=; b=GMdQXdRagMLlbn8/2Nl9 0eG6zHU4ccPDH4BT6ZiZxwM6CS0kXAm4NhQu+wJHQcxh7/W/e8GNgHx3SLVZe1qXRlanyzYdobFzw q27BVl+Q/65VvrlQhJ/7h6uFcu+ZnsBzLMiAvgdVW0U/C6BUER5V0RiHZmfWDryZxj1mlMiQ9ZytB 9TaeMgXWl3gB5g8mL20n/mXgPlBN5EMTyad2KXm8nDGMV3tl1eDbqdVhsFP5vhsNlyv1pZCPCySaA 5Hu5tpj8n+fkUt6CB3ezUgopAWSMAPB2PY40qVO1UUj5FS0PujOshvOJVzss0JHHbhGjeU1sKmKOH 5S/Ncsiyy9QCvQ==; From: Janneke Nieuwenhuizen In-Reply-To: <87v89ae24t.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 07 Dec 2023 11:30:10 +0100") Organization: AvatarAcademy.nl References: <3e187cf8646059a513b502a17abe9f88daae6f6b.1701943221.git.ludo@gnu.org> <87v89ae24t.fsf@gnu.org> X-Url: http://AvatarAcademy.nl Date: Thu, 07 Dec 2023 21:31:14 +0100 Message-ID: <87wmtp7o19.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: mx11.migadu.com X-Migadu-Spam-Score: -6.85 X-Spam-Score: -6.85 X-Migadu-Queue-Id: 980BF45751 X-TUID: sdgeW4xb1Lrr --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: Hello! > Ludovic Court=C3=A8s skribis: > >> + ;; Install the C.UTF-8 locale so there's always a = UTF-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 ma= chine. > > I suspect libc builds an additional =E2=80=98localedef=E2=80=99 for the b= uild machine > but I=E2=80=99m not sure where it is, hmm=E2=80=A6 So far, I haven't encountered this problem yet. Trying to create a hurd image with this patch set, but mpfr fails for me. --8<---------------cut here---------------start------------->8--- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D MPFR 4.2.0: tests/test-suite.log =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # TOTAL: 197 # PASS: 196 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: tsprintf =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Error in mpfr_vsprintf (s, "%0+ -'13.10Pd:", ...); expected: "+01,234,567 :" got: "+0001,234,567:" FAIL tsprintf (exit status: 1) --8<---------------cut here---------------end--------------->8--- Updating to 4.2.1 (see attached patch) seems to fix it for me. Greetings, Janneke --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-mpfr-Update-to-4.2.1.patch >From e8b5a6c064b0395ca84749987c97dd9e1172b9ab Mon Sep 17 00:00:00 2001 Message-ID: From: Janneke Nieuwenhuizen Date: Thu, 7 Dec 2023 21:28:24 +0100 Subject: [PATCH] gnu: mpfr: Update to 4.2.1. This fixes building mpfr with glibc-2.38. * gnu/packages/multiprecision.scm (mpfr): Update to 4.2.1. Change-Id: Ib8a8eecc9e72587e0fc1b8b0ee965aa274b85c7b --- gnu/packages/multiprecision.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/multiprecision.scm b/gnu/packages/multiprecision.scm index 3aa5dccfab..3d11523a07 100644 --- a/gnu/packages/multiprecision.scm +++ b/gnu/packages/multiprecision.scm @@ -120,13 +120,13 @@ (define-public gmp-6.0 (define-public mpfr (package (name "mpfr") - (version "4.2.0") + (version "4.2.1") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/mpfr/mpfr-" version ".tar.xz")) (sha256 (base32 - "14yr4sf4mys64nzbgnd997l6l4n8l9vsjnnvnb0lh4jh2ggpi8q6")))) + "1cnb3y7y351qg6r7ynwsgaykm7l2a8zg2nlljs4rf9k778shfy17")))) (arguments (list #:phases (if (system-hurd?) base-commit: 36a126b0580a2d3e01704db7bbe4c3c0da8356d3 -- 2.41.0 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade= my.com --=-=-=--