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 ms5.migadu.com with LMTPS id eEtYB9Rjl2JD6QAAbAwnHQ (envelope-from ) for ; Wed, 01 Jun 2022 15:04:20 +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 aDdAB9Rjl2IFWwEA9RJhRA (envelope-from ) for ; Wed, 01 Jun 2022 15:04:20 +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 BBA7836A18 for ; Wed, 1 Jun 2022 15:04:19 +0200 (CEST) Received: from localhost ([::1]:44650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwO1L-0005jW-0Q for larch@yhetil.org; Wed, 01 Jun 2022 09:04:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwNyC-0003hU-UB for guix-patches@gnu.org; Wed, 01 Jun 2022 09:01:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56085) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwNyB-0003wp-Ga for guix-patches@gnu.org; Wed, 01 Jun 2022 09:01:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nwNyB-0002Om-Fe for guix-patches@gnu.org; Wed, 01 Jun 2022 09:01:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55751] [PATCH 4/8] gnu: openjdk12: Make reproducible. Resent-From: dannym@scratchpost.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Jun 2022 13:01:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55751 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55751@debbugs.gnu.org Cc: Danny Milosavljevic Received: via spool by 55751-submit@debbugs.gnu.org id=B55751.16540884479135 (code B ref 55751); Wed, 01 Jun 2022 13:01:03 +0000 Received: (at 55751) by debbugs.gnu.org; 1 Jun 2022 13:00:47 +0000 Received: from localhost ([127.0.0.1]:49970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwNxv-0002NA-Dx for submit@debbugs.gnu.org; Wed, 01 Jun 2022 09:00:47 -0400 Received: from dd30410.kasserver.com ([85.13.145.193]:50294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwNxm-0002M3-A8 for 55751@debbugs.gnu.org; Wed, 01 Jun 2022 09:00:42 -0400 Received: from dayas.lan (84-115-234-55.cable.dynamic.surfer.at [84.115.234.55]) by dd30410.kasserver.com (Postfix) with ESMTPSA id 9A9931120D3E; Wed, 1 Jun 2022 15:00:37 +0200 (CEST) From: dannym@scratchpost.org Date: Wed, 1 Jun 2022 15:00:07 +0200 Message-Id: <20220601130011.9910-5-dannym@scratchpost.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220601125741.9898-1-dannym@scratchpost.org> References: <20220601125741.9898-1-dannym@scratchpost.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654088659; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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; bh=EHjNo008H1VyBE0xmHO/FUP2g7fcDG8qkj9h7KdRzSc=; b=mL9eANXx6ykkxKQlTF59FveydxD4ee0g1cpe8y8txWbXZmaBRPEZt106rMNfvWCEgTDkcR jE7bSxs/dw5D6FQ3mFHvcJg03ZlW/zxjpzA+lRFbcHdpALoibrQEtTrd2qCkq1YiQk6+5N aNI14pAsWI6Kbd5SLXajqXH5soSsKNgFgnC51dSc+8uQIDAGGOMZ8nMp+iZyLuaORbBx58 I693KeBECnFoYUjx3TvBBRNRGm09+GsU8w5q4V23u1pyoKnkNNwIA21UkjlFycCY9dBYzl HKCkXQokN/HB1b3c2QAVwtJenGaMGgBPnEql6O/PDz5OxBG+5asPcZHYlJOUoA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654088659; a=rsa-sha256; cv=none; b=E+mnm+jkXPReNgOfnauXn4HT7dIsGYSLVRKMhi6O1MSw36oue+tTU+ArGKzgKPdyhql+Kg iP57K4HrrNrEyWrRztcGPR/4dxOubyxFL7HFxmTz/yPrRXSt5NMQnsZaQVadJNqLW1DkST 9D1c9j++mFYKxfl+Ajf+Hhqy7QHQlj85RvWAORxsNNt5V5t7D+cl8/EhNxPtlX2jc/yUB7 qdyLk2SI9wqnfP1I0JpXcZpgUpo3egstXxNY0TmbfscRZ8qkrWgTjzmh3K698TYeoNNinM lhWqjiSRh7RT87SpamheQXDxIGU5L2bBP6pljSgXTNion1DjNtSHtpbHjkEz2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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" X-Migadu-Spam-Score: -0.83 Authentication-Results: aspmx1.migadu.com; dkim=none; 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" X-Migadu-Queue-Id: BBA7836A18 X-Spam-Score: -0.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: u0phQh8tfihV From: Danny Milosavljevic * gnu/packages/java.scm (openjdk12)[arguments]<#:phases>[remove-timestamping]: Modify phase. --- gnu/packages/java.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 5a1e45ca68..1a872ce786 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -2138,6 +2138,11 @@ (define-public openjdk12 (substitute-keyword-arguments (package-arguments openjdk11) ((#:phases phases) `(modify-phases ,phases + (replace 'remove-timestamping + (lambda _ + (substitute* "src/hotspot/share/runtime/vm_version.cpp" + (("__DATE__") "") + (("__TIME__") "")))) (replace 'fix-java-shebangs (lambda _ ;; This file was "fixed" by patch-source-shebangs, but it requires -- 2.36.1