From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kCyTMnuS9mCA2gAAgWs5BA (envelope-from ) for ; Tue, 20 Jul 2021 11:08:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gEw3LnuS9mCpGgAAbx9fmQ (envelope-from ) for ; Tue, 20 Jul 2021 09:08:11 +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 221576BC6 for ; Tue, 20 Jul 2021 11:08:11 +0200 (CEST) Received: from localhost ([::1]:48698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5ljW-0001GN-6o for larch@yhetil.org; Tue, 20 Jul 2021 05:08:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5ljO-0001Di-1U for guix-patches@gnu.org; Tue, 20 Jul 2021 05:08:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5ljN-0000oI-Pq for guix-patches@gnu.org; Tue, 20 Jul 2021 05:08:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5ljN-0001nu-MA for guix-patches@gnu.org; Tue, 20 Jul 2021 05:08:01 -0400 Subject: bug#49517: [PATCH] gnu: txr: Build documentation and update to 265. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Tue, 20 Jul 2021 09:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 49517 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Paul A. Patience" Cc: Kaz Kylheku , 49517-done@debbugs.gnu.org Mail-Followup-To: 49517@debbugs.gnu.org, glv@posteo.net, paul@apatience.com Received: via spool by 49517-done@debbugs.gnu.org id=D49517.16267720666908 (code D ref 49517); Tue, 20 Jul 2021 09:08:01 +0000 Received: (at 49517-done) by debbugs.gnu.org; 20 Jul 2021 09:07:46 +0000 Received: from localhost ([127.0.0.1]:32777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5lj3-0001nH-2A for submit@debbugs.gnu.org; Tue, 20 Jul 2021 05:07:45 -0400 Received: from mout01.posteo.de ([185.67.36.65]:51263) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5liz-0001n2-Ce for 49517-done@debbugs.gnu.org; Tue, 20 Jul 2021 05:07:39 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id C282424002A for <49517-done@debbugs.gnu.org>; Tue, 20 Jul 2021 11:07:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1626772050; bh=GxKVp9ChFPu5pNiavoifWSdZivDf17XBx0c8eY2AuI4=; h=From:To:Cc:Subject:Date:From; b=sHS5oC2qgbOOdjLo9HAW7aGxGP6DGwVjRIkrE7tIfFgE7IBGfxPhZKL3NEptqRnFa og6AmNLBAJJ//sxGd8Wbq4yHgbnkrykpUNjoZw0VbOw8VTkpDHUsLmChKVTl4FZZrx iZN9x9wV5vYUccepHl+6EJhSHA6lCqt5HuYNZlFk3ITs6ByCnzsobyJUQ3pQUP8hHJ uVZWfzKSa4neyMCa0s7pMZPj1UmBh91p3eb7BS//q9RhHgxNc32FzHGn9k67mcKOxn QMyQ1SY55n2Ouo1JzINHa/1rt7qzKH2CgvERd98Xb3S8Ajc5ttDZEpouFGknbHdv8A DYwYNQJmfY1qw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GTXss1jW1z9rxK; Tue, 20 Jul 2021 11:07:25 +0200 (CEST) References: <87o8b1p8k1.fsf@kitej> <3ae1061ea0a61b579c48f9ea7b4f4832@mail.kylheku.com> <96d55c0d8940c64eca79aa4a15a3cb8f@mail.kylheku.com> <874kcr7vt7.fsf@kitej> From: Guillaume Le Vaillant In-reply-to: Date: Tue, 20 Jul 2021 09:07:20 +0000 Message-ID: <87eebtbbg7.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626772091; 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-to: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=i4ZCPAYjULNIoU0VUhKbLEUHzofaLLyPlttyvYky7s0=; b=Ua9VlNXu6bL9xXM7Z8dvmeX3Q1yRRjgl7fH/7jR8n4vGsd6X3QRuKn84gmLhgWzUw6RUFu ah9ndhH8jzIwH553FvTF2u+EtkNUTyFAMJTmg9IyvoYxNinafxtms30R6jrWcR8xcqqiG+ NwbSf7cJXExWUz4WvcEUKdpb/3MnocIzqRkaxVy0vVym2d6rKjIMPq4Otug6fjUZPVh988 U5Z8RXLWseuzQRr8AYtSFiUcWGhbMJwQf6x57ecHCz0H8OR2WqYw2l+szH92XmsjA2cAqD FaucXXDy5EtestX64sPjJ9Jc6k3bhjBjKj6MwYtwOHARX0fjhMD3s+07z8Hl3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626772091; a=rsa-sha256; cv=none; b=d+eev+PKctYJl5PQDUWrISK2sqWfkcOvuzEIJTsc8/Xo3nDbdsU7xUv1aLhBz2CbmCZLj+ TCOK6Em4tXCpW7/6d6PHaKezYopOBK81UGLv5lIehkusEYf2iglGv/6NwXzUUuvRXPenPW OLrP1ZXVMWg76am2DDbsAgqdeHxESP0tCLECNP+xsinc5aZxFiJwZbJXrkUCuwE85MRfXO 2vCLk/ieTnw5cJQAdtPT2LJy+qFOcJjBy8YOUPRFHQIFU5MDJu+mn4NreEbtZytUtHD4VS mWjciRVBUO5BoR6pkLzbtBmogbzzPZfXmBdVPjnOqqKzPxO9Cq3Hb3eYS4TtfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=sHS5oC2q; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=sHS5oC2q; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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: 221576BC6 X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8iOZdDeNihQe --=-=-= Content-Type: text/plain Paul A. Patience skribis: > I've updated the first patch to fix this by setting GS_GENERATE_UUIDS > to 0, which seems to be the standard Guix way to patch groff's use of > Ghostscript. > It removes most of the date (i.e., the hours, minutes and seconds) and > the UUID, but leaves the year, month and day: > > $ xxd /gnu/store/h94iilsa2xsp2ymn3k9x3ckmvfjha731-txr-266/share/doc/txr-266/txr-manpage.pdf | grep -C 1 Date > 00231430: 702f 312e 302f 273e 3c78 6d70 3a4d 6f64 p/1.0/'> 00231440: 6966 7944 6174 653e 3230 3231 2d30 372d ifyDate>2021-07- > 00231450: 3138 3c2f 786d 703a 4d6f 6469 6679 4461 18 -- > 00231470: 6174 653e 3230 3231 2d30 372d 3138 3c2f ate>2021-07-18 00231480: 786d 703a 4372 6561 7465 4461 7465 3e0a xmp:CreateDate>. > 00231490: 3c78 6d70 3a43 7265 6174 6f72 546f 6f6c > Is this acceptable? > Otherwise we may have to resort to a variation of the method Kaz > mentioned, though it's probably better to fix the Ghostscript patches > implementing GS_GENERATE_UUIDS, because otherwise any package relying on > groff to make PDFs will suffer from this very problem. Hi Paul, I pushed your patches as 75922458af60081bf6964006d5b9c180ff9ec8ca and following with some modifications. I added a phase replacing the hardcoded "/bin/sh" by the real path to bash in "/gnu/store/...", which makes all the tests pass. For now the PDF documentation still has the "ModifyDate" and "CreateDate" fields. The fix for this is in the core-updates branch, so when core-updates gets merged into master, the PDF should become reproducible. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYPaSSA8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/QnQD+KTKlGhqCEdPu+FiCybUCuxlufc0ParQU23tb HVaKCQ0BAIOLqAdOtZpy3CkalV1JlrAumb9BK7+oU7Cizls6SDOT =An7V -----END PGP SIGNATURE----- --=-=-=--