From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GB8qOuHYMmAtUgAA0tVLHw (envelope-from ) for ; Sun, 21 Feb 2021 22:04:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UNcGNuHYMmBgHwAA1q6Kng (envelope-from ) for ; Sun, 21 Feb 2021 22:04:17 +0000 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 401DB1A62F for ; Sun, 21 Feb 2021 23:04:16 +0100 (CET) Received: from localhost ([::1]:41308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDwpr-0005bY-JD for larch@yhetil.org; Sun, 21 Feb 2021 17:04:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDwmk-0001tr-Vr for guix-patches@gnu.org; Sun, 21 Feb 2021 17:01:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43557) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDwmk-0001Vi-Bq for guix-patches@gnu.org; Sun, 21 Feb 2021 17:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDwmk-0003lx-8w for guix-patches@gnu.org; Sun, 21 Feb 2021 17:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45368] [PATCH core-updates 0/3] Help2man updates Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Feb 2021 22:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45368 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Miguel =?UTF-8?Q?=C3=81ngel?= Arruga Vivas Cc: 45368@debbugs.gnu.org Received: via spool by 45368-submit@debbugs.gnu.org id=B45368.161394484914474 (code B ref 45368); Sun, 21 Feb 2021 22:01:02 +0000 Received: (at 45368) by debbugs.gnu.org; 21 Feb 2021 22:00:49 +0000 Received: from localhost ([127.0.0.1]:55103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDwmX-0003lN-7w for submit@debbugs.gnu.org; Sun, 21 Feb 2021 17:00:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDwmS-0003l7-AX for 45368@debbugs.gnu.org; Sun, 21 Feb 2021 17:00:48 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42368) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDwmG-0001Df-Hb; Sun, 21 Feb 2021 17:00:37 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40318 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lDwmF-0006PG-4t; Sun, 21 Feb 2021 17:00:31 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <875z4uyoz5.fsf@gmail.com> <877dou12cg.fsf@gnu.org> <87r1my10bx.fsf@gmail.com> <87a6tlhuzb.fsf@gnu.org> <87y2h4zz7n.fsf@gmail.com> Date: Sun, 21 Feb 2021 23:00:28 +0100 In-Reply-To: <87y2h4zz7n.fsf@gmail.com> ("Miguel =?UTF-8?Q?=C3=81ngel?= Arruga Vivas"'s message of "Thu, 07 Jan 2021 13:52:12 +0100") Message-ID: <87blcdgjyb.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) 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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.87 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 401DB1A62F X-Spam-Score: -2.87 X-Migadu-Scanner: scn1.migadu.com X-TUID: fqVGom17M64L Hi, Apologies for the laaaate reply! Miguel =C3=81ngel Arruga Vivas skribis: > Ludovic Court=C3=A8s writes: > >> Hi! >> >> Miguel =C3=81ngel Arruga Vivas skribis: >>> Ludovic Court=C3=A8s writes: >>> >>>> If the problem is just the generation of help2man=E2=80=99s own docume= ntation >>>> when cross-compiling, perhaps we need to add itself as a native input >>>> when cross-compiling? >>> >>> Yup, that sounds the cleanest solution. Nonetheless... >>> >>>> Anyhow that doesn=E2=80=99t sound like a showstopper to me. >>> >>> It currently isn't at all, as it says as soon as I tried: >>> >>> [...] build system `perl' does not support cross builds >>> >>> Also, they use a LD_PRELOAD library for the translation, which seems >>> suspicious too. >> >> Hmm OK. > > Would it make sense to keep a help2man-minimal without nls support (or a > new help2man-with-nls variable) for bootstrapping purposes? =E2=80=98help2man-minimal=E2=80=99 sounds like a good idea, yes. Would that solve the problem at hand? >>>> Yes, that=E2=80=99s a good idea. There=E2=80=99s already a procedure = to generate a >>>> locale package IIRC. We just have to make sure its result is properly >>>> memoized so that performance doesn=E2=80=99t suffer. >>> >>> I was thinking about the implicit input "locales" and replacing it with >>> a package generated based on the arguments provided to the build system, >>> but I guess you're thinking about build-locale from (gnu build locale) >>> and its usage for the system locales on (gnu system locale). Should it >>> be then another derivation at (guix build-system gnu) level? Any >>> pointer about this is more than welcome. >> >> I was actually thinking about a variant of =E2=80=98make-glibc-utf8-loca= les=E2=80=99 >> that=E2=80=A6 never got committed?! >> >> https://issues.guix.gnu.org/44075#7 >> >> The patch you proposed there LGTM. Looks like you forgot to commit it. >> :-) > > And now you know why I wasn't getting it, I even forgot that it was > already there. :-( > > There's still a dependency chain between (gnu packages base) and (gnu > packages man)---I tried to use the full glibc-locales to do the test > before remembering this, so I need to spend a bit of time on this too. OK. Ludo=E2=80=99.