From patchwork Sun Apr 14 09:56:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janneke Nieuwenhuizen X-Patchwork-Id: 2470 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A9F6A27BBE9; Sun, 14 Apr 2024 10:58:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 862CF27BBE2 for ; Sun, 14 Apr 2024 10:58:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rvwcZ-0007ax-0P; Sun, 14 Apr 2024 05:57:59 -0400 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 1rvwcW-0007ah-Vu for guix-patches@gnu.org; Sun, 14 Apr 2024 05:57:57 -0400 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 1rvwcW-00048P-Ke for guix-patches@gnu.org; Sun, 14 Apr 2024 05:57:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rvwcg-0002p0-U0 for guix-patches@gnu.org; Sun, 14 Apr 2024 05:58:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70380] [PATCH 0/3] Reproducible `make dist' tarball: Avoid override stamp-N warnings. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Apr 2024 09:58:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70380 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70380@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171308867610652 (code B ref -1); Sun, 14 Apr 2024 09:58:05 +0000 Received: (at submit) by debbugs.gnu.org; 14 Apr 2024 09:57:56 +0000 Received: from localhost ([127.0.0.1]:34343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvwcO-0002l2-SG for submit@debbugs.gnu.org; Sun, 14 Apr 2024 05:57:54 -0400 Received: from lists.gnu.org ([2001:470:142::17]:34746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvwcC-0002j1-Nf for submit@debbugs.gnu.org; Sun, 14 Apr 2024 05:57:44 -0400 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 1rvwbv-0007Tb-Hl for guix-patches@gnu.org; Sun, 14 Apr 2024 05:57:20 -0400 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 1rvwbu-00044Y-QR; Sun, 14 Apr 2024 05:57:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=dDQKtRpc9MgaMdHcUaQIPIJUWfwy27ct5v0qczD7uzo=; b=I73Tdwz8E5eozu SxU8m0yFJX1/AWs7QNheMKbC6+sNpYFuapOHFqXWOAn74Np4vBBbs8EZRThAW0Ku+m/8YHXWxdzOK Qp8zmY88BDvXFmCUwK605zke9MkL/m/KQjHIchttfBvEdID6JC4aIZYu50NM4h2MeaQ+2UkKgoGXJ NfteKb2eVCOQPl4tgTR2D3jUe4CZXLlC3QD61dgmNnLsjzUcvLZwLKzUgSmFhEnCiQzEnTx5xa8Q4 C+z1z0qFdFDwr/ZTuPxYUdtiiVmT2Ez7T9AOGzN65ptV6G1+OqkluDkzkuvFGpE/bCuoYLiYOZBeR /S8sj+12uzAogXSKJX3A==; From: Janneke Nieuwenhuizen Date: Sun, 14 Apr 2024 11:56:36 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hi! Reproducibility is fine and all that but the forteen new make warnings --8<---------------cut here---------------start------------->8--- Makefile:7400: warning: overriding recipe for target 'doc/stamp-vti' Makefile:5117: warning: ignoring old recipe for target 'doc/stamp-vti' Makefile:7401: warning: overriding recipe for target 'doc/stamp-1' Makefile:5182: warning: ignoring old recipe for target 'doc/stamp-1' [..] --8<---------------cut here---------------end--------------->8--- already started to annoy me so much that I found another solution: Overwrite build-aux/mdate-sh with our own, new build-aux/mdate-from-git.scm script. It comes with a bit of a hack: because of how Automake's stamp-N rules are written, the new script needs knowledge about where to get the timestamp for doc/guix.LANG.texi files. WDYT? Greetings, Janneke Janneke Nieuwenhuizen (3): maint: Generate doc/version[-LANG].texi using `mdate-from-git.scm'. Revert "maint: Generate 'doc/version-LANG.texi' reproducibly." Revert "maint: Generate 'doc/version.texi' reproducibly." bootstrap | 7 +++ build-aux/mdate-from-git.scm | 88 ++++++++++++++++++++++++++++++++++++ doc/local.mk | 32 ------------- 3 files changed, 95 insertions(+), 32 deletions(-) create mode 100755 build-aux/mdate-from-git.scm base-commit: e5dda412c2e28fb65a549824f492895e72c33813