From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id SD8AMtsNdWR0dwAASxT56A (envelope-from ) for ; Mon, 29 May 2023 22:40:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oMbuMdsNdWTNLwEA9RJhRA (envelope-from ) for ; Mon, 29 May 2023 22:40:59 +0200 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 AA5CB3B1E4 for ; Mon, 29 May 2023 22:40:59 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3jfD-00058Y-F4; Mon, 29 May 2023 16:40:23 -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 1q3jf1-000512-WA for guix-patches@gnu.org; Mon, 29 May 2023 16:40:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q3jf1-0001gG-Nc for guix-patches@gnu.org; Mon, 29 May 2023 16:40:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3jf1-0007qS-KZ for guix-patches@gnu.org; Mon, 29 May 2023 16:40:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56729] [RFC PATCH v3 20/32] gnu: gap: Build reproducibly. Resent-From: vicvbcun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 May 2023 20:40:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56729@debbugs.gnu.org Cc: Andreas Enge Received: via spool by 56729-submit@debbugs.gnu.org id=B56729.168539279729990 (code B ref 56729); Mon, 29 May 2023 20:40:11 +0000 Received: (at 56729) by debbugs.gnu.org; 29 May 2023 20:39:57 +0000 Received: from localhost ([127.0.0.1]:59286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3jen-0007nX-6H for submit@debbugs.gnu.org; Mon, 29 May 2023 16:39:57 -0400 Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.130]:44665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3jeV-0007jf-RB for 56729@debbugs.gnu.org; Mon, 29 May 2023 16:39:44 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1685392778; cv=none; d=strato.com; s=strato-dkim-0002; b=NjNvdWj/MMAxCMBPgAyLHFC3vTzn9Yt9iaMYi4GZvh/lNxzaI3I2Yr6nLWAgkT+P0M B4PNV45zlhZbUyOSWKO/le8E/VWwdSshiTIzTWV+ODCnFVJa3DUUrJbCmx3B5nsDKDXr 8yWU/skgbpZwV+EHIIL4B/JvYqeqoj/bfgFA9U6nVQTwN5euQxp79ECUb53nzrX3o3ap i+8jf4wiT+raImggAQ4ngT2oNc1sA8jSoKdPqVgHWuD2v2ALRzOJqN1cu7mnRktbpL9d aqv8AKe5Y0UcCd6NUCu/9/15djAkVWTb2abrKotSM3FunBScSol1dZQVwrJQ3qI1so0y 2I3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1685392778; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=seyQLy006jdDqhqhRIOWWfWARfr/uyKeXtXpEo66wtw=; b=LXQl4vvJBVJ8/9V0dignO+cr90fgWvnZPANhXfTnFhJMP+JnpIguEne7jGav/2K2WT eR+ElcbUTNg2ZfGBP4VDOTYKJ39kDTwTkRUoMu5mMeV4psw7V/sZK74LUzrHBAL192xG KfH7rj9AIYxeMJewfcr/3Wv2ewlD4Lz3sA42BjOGB3sIyssVyQRcViQSQth3t2aHEk5g urx+4lvxkY07/R46QYh0tGCNZPSNuCNELUW16mP4CWDeDHWcXRu5LRdxkJkJiuKTO3T3 tkgY/CGuQvyzYcn7V0pxicRJtyEuW+819/NFcOdmS5jys6uHygoXK+bVeKaRnpY7a95g 6G5Q== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1685392778; s=strato-dkim-0002; d=ikherbers.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=seyQLy006jdDqhqhRIOWWfWARfr/uyKeXtXpEo66wtw=; b=UVR9X1eHXClcCtLVi44fd48nNsqQwM+6czI5Z465G9LIPqR30AHoWVDung1iAKEF2B Tiax7ifW/ylvEtFrc7ipCSAJFsWbaYZiM1S5bgKY6TKc5JyuJt4s7mEZNCNG7B4UR3BW Y1XsBYCIMuocDjyAFu7s28Ht+w1EXFHcelFrSrgJ+R1EYIRIdXv978S3lADcaxB501HH 4havj7KNmYowUWARI0aljBSbSOI57xyvc+xl6nRlaI+qIHh+nJ9O3Vvq6aonvWXnzW6d WvPaK2hoBXB3zJ8Fxz44xkwHgq6xK4HsRrTPRapnxoRasz/ldgV6b56kiJrxf5lQqz41 PNLA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1685392778; s=strato-dkim-0003; d=ikherbers.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=seyQLy006jdDqhqhRIOWWfWARfr/uyKeXtXpEo66wtw=; b=rnHENJHM3UMUrIHe7/vOlbPv7NNFztrS9EzNL/J2tlDGzrHxLaCBjkOGIcCqkdPX9j 4GvgJqYefOrHiyjT/0DA== X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9KsAGjusLvi119VyBPc" X-RZG-CLASS-ID: mo05 Received: from lambda.localdomain by smtp.strato.de (RZmta 49.4.0 DYNA|AUTH) with ESMTPSA id z055e6z4TKdcn7W (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 29 May 2023 22:39:38 +0200 (CEST) From: vicvbcun Date: Mon, 29 May 2023 22:38:29 +0200 Message-Id: <81c81c228c3c1df489194d3f5229c7dce6ed5e5f.1685391447.git.guix@ikherbers.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="us-ascii" 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 ARC-Seal: i=2; s=key1; d=yhetil.org; t=1685392859; a=rsa-sha256; cv=fail; b=RgxZElw+ueMbOSk9HGHj45ZCWiDJE8lpt2/HftLMnYmfVXWvjK6emzxQ5dirXqkyIv3l2N WIn5brULQKAdpFN/51Meweuz+PYrob77Rzwv68Pd98JGf5XU5mmc9MGHjZqGuGiicj7QhS /QrVPoLo4ODlNF08CsBzldz18ZiS/0OGrBJw1fEwsY3KWjnQ42oCCrfMsUpdr2pJ8WqrAl fp2S3nBzPlLEqVym99st80WmjD3APRzV5Ryv5QVZcsC5TdB0Ardl9ZMBWB3OOMnmFAQOdl htzoFikQ4s/OHSP8bKhtLOCFPEPSo9gkLx1txSNpZ3YzIElW3FQp1clEvX5Ejg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=UVR9X1eH; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=rnHENJHM; dmarc=none; 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=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685392859; 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: content-transfer-encoding:content-transfer-encoding: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=seyQLy006jdDqhqhRIOWWfWARfr/uyKeXtXpEo66wtw=; b=BsWZLReg9dKyEQ8xf8/efV1b5YhKzIMS/Y7uz65NGzUDiaqjxPUh470kS9K6WPOUmD3Jso zBLWBJJflgs85UBQF7t8jB74EtqF7bRnjiZikjuHwQndMDV6IdBaQiE70nDKkcnnWVtof7 KzDVHMLlZSaCVzznUhZG96jITGCzszQDy3omsYail14IPEcqJppm5iJRRLP+OtuqRkQOoJ X7d41A5HpopankkI5dLSkqn+uuN+n+sfWjTaCo9W4nTkaoD/61C9dlR1y/UTLq/QVCprqC tdFmVLzbzWLGZ+w33qRNS5P6/1toMP+4rFRo6gNkgTFFO4NXN2elEi7gS0RYVA== X-Migadu-Spam-Score: 1.39 X-Spam-Score: 1.39 X-Migadu-Queue-Id: AA5CB3B1E4 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=UVR9X1eH; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=rnHENJHM; dmarc=none; 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=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") X-TUID: u/tMPH71CTkK * gnu/packages/algebra.scm (gap)[arguments]<#:phases> {'pin-build-time} {'remove-logs}: New phases. --- Notes: Some packages seem to include pdfs, LaTeX output; pdflatex missing gnu/packages/algebra.scm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index c2d1c3ce1e..4d5483bf4d 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -1412,6 +1412,12 @@ (define-public gap (guix build utils)) #:phases (modify-phases %standard-phases + (add-after 'unpack 'pin-build-time + ;; https://github.com/gap-system/gap/issues/5204 + (lambda _ + (substitute* "src/version.c.in" + (("@GAP_BUILD_DATETIME@") + "@GAP_RELEASEDAY@")))) (add-after 'build 'build-packages ;; Compile all packages that have not been deleted by the ;; code snippet above. @@ -1428,7 +1434,14 @@ (define-public gap (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (share (string-append out "/share/gap"))) - (copy-recursively "pkg" (string-append share "/pkg")))))))) + (copy-recursively "pkg" (string-append share "/pkg"))))) + ;; configure logs and LaTeX output that contains timestamps, uname + ;; output etc + (add-after 'install-packages 'remove-logs + (lambda* (#:key outputs #:allow-other-keys) + (for-each + delete-file + (find-files (assoc-ref outputs "out") "\\.(out|log)$"))))))) (home-page "https://www.gap-system.org/") (synopsis "System for computational group theory") -- 2.40.1