From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wJakLF7u4V/hOAAA0tVLHw (envelope-from ) for ; Tue, 22 Dec 2020 13:02:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uEaSKF7u4V9WDQAA1q6Kng (envelope-from ) for ; Tue, 22 Dec 2020 13:02:22 +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 12B1F94042C for ; Tue, 22 Dec 2020 13:02:22 +0000 (UTC) Received: from localhost ([::1]:52958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krhIy-0000wy-WA for larch@yhetil.org; Tue, 22 Dec 2020 08:02:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krhIg-0000wi-Vg for guix-patches@gnu.org; Tue, 22 Dec 2020 08:02:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37632) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1krhIg-00046a-Oe for guix-patches@gnu.org; Tue, 22 Dec 2020 08:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1krhIg-0003RT-MJ for guix-patches@gnu.org; Tue, 22 Dec 2020 08:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45368] [PATCH core-updates 0/3] Help2man updates Resent-From: Miguel =?UTF-8?Q?=C3=81ngel?= Arruga Vivas Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Dec 2020 13:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45368 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45368@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160864207413116 (code B ref -1); Tue, 22 Dec 2020 13:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Dec 2020 13:01:14 +0000 Received: from localhost ([127.0.0.1]:49178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krhHu-0003PS-E9 for submit@debbugs.gnu.org; Tue, 22 Dec 2020 08:01:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:47000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krhHq-0003PD-5p for submit@debbugs.gnu.org; Tue, 22 Dec 2020 08:01:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krhHp-0000qm-R2 for guix-patches@gnu.org; Tue, 22 Dec 2020 08:01:09 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:42876) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1krhHn-0003of-3b for guix-patches@gnu.org; Tue, 22 Dec 2020 08:01:09 -0500 Received: by mail-wr1-x42b.google.com with SMTP id m5so14422480wrx.9 for ; Tue, 22 Dec 2020 05:01:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=gqV8i3eR4ukYQ0hgUwPLQ4EwzJO9gCPFOjDg4r2fRBo=; b=aJZLoPZLjIgwdTM7bwNMkZdyGKpIG/ytPc/tvE9+ZBcygW9vlEGIGJMk0GHa5sX698 AunM+z0uwCidoZ5x9IAr3DN1zAszzuEdsbCANzMC7aNIa4nN20emQTcad5QJXs9e9n7O nLeOdLTEcfhWLJ6PO/+7Ch1ZuNxTrdB/Hlz/M6t5w7yo9/A5RXiKue5u/tCO+cABBPbR UDKIj4g/AfdxJTMH6l2F3YiGQQcd626rioOtyF3WbwQ1zCVtnjYK0gFLk0GB+Mq9GpgW w1jMmFXYtq452pcw3gX84kftc3a4biSZKV+hAXTPDgmCHwEJnokOMaRc6FqJf1yeYKtl odww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=gqV8i3eR4ukYQ0hgUwPLQ4EwzJO9gCPFOjDg4r2fRBo=; b=cuamm93XZe2QmccnvBC72MCoM13fZy3WEAv7KtkjFXyff7Ygucemw6F0ydy75BF6eh j0MG+L//5TumNBuiFzZpPQEStJCtKaPsWX5TB5Eqif5dsK6fgsOI0i8nHJRBX8CeTrnR zyEiUuLYJeGAYyFAqljO9aXQHCc56zDMBlfQrPH/yttd+h9fY2o+1XmqKgT5HgZ57I/7 MrBwB9E77RjcnCYKyQRBj0H3AQEAZILrwn9gT3cEGyupkrE1B8oXZKGpDGkBRC8hPyXT uuYSa0aJkrOeZKXg1tt40FlscChNBYyzxmTk9rVv5F1jMHHJyUaiHY/RrXavZ0kDT0hJ TIbQ== X-Gm-Message-State: AOAM530KkUrInegmvhrxlJZ564a7+L8/JR96h+1kT4S8Aun3Bqe5cJKs 53b1hmot36nfHHFsHoJGIVRmdkJU0sw= X-Google-Smtp-Source: ABdhPJzDWIZlt3WkKM4KwoZLAb3GfhLjj/7cE1nfKTYUoVm+yg+Lz2PJ6x9FicRDCGPyTllQ0kSmsQ== X-Received: by 2002:a5d:58fb:: with SMTP id f27mr16080096wrd.22.1608642064779; Tue, 22 Dec 2020 05:01:04 -0800 (PST) Received: from unfall (36.193.158.146.dynamic.jazztel.es. [146.158.193.36]) by smtp.gmail.com with ESMTPSA id j2sm30741619wrt.35.2020.12.22.05.01.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Dec 2020 05:01:03 -0800 (PST) From: Miguel =?UTF-8?Q?=C3=81ngel?= Arruga Vivas Date: Tue, 22 Dec 2020 14:01:02 +0100 Message-ID: <875z4uyoz5.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=rosen644835@gmail.com; helo=mail-wr1-x42b.google.com 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, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: -1.22 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=aJZLoPZL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 12B1F94042C X-Spam-Score: -1.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4U/DEsJkKZa9 Hi, The following patches do some work on help2man, namely: 1. Allow the generation of localized manual pages. 2. Update the package to the latest version. To perform the first objective, the library perl-gettext was imported from CPAN. Its path is encoded directly on the resulting binary to ensure it is loaded, as perl and the library should be propagated to the environment in order to achieve the same result with PERL5LIB. Nonetheless, currently there are two open issues with this approach: - The library used for a cross compilation could be different, but the generated version is used for its own documentation generation. Are the inputs correctly placed? Should it be patched on a later stage to the final input? - The compilation tries to generate translated man pages and sets LC_ALL to values not available on glibc-utf8-locales, therefore only languages available there have their manual page properly translated, such as french. You can see the following lines (and more) on the build log, which warn about this issue: --------------------------------8<-------------------------------- sh: warning: setlocale: LC_ALL: cannot change locale (uk_UA.UTF-8) sh: warning: setlocale: LC_ALL: cannot change locale (vi_VN.UTF-8) -------------------------------->8-------------------------------- IMHO, a change on gnu-build-system to allow the selection of the locales used for the build could be the best way forward, but I haven't implemented it yet. WDYT? Happy hacking! Miguel