From patchwork Mon Jul 31 18:09:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danny Milosavljevic X-Patchwork-Id: 52439 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 E9B7F27BBE2; Mon, 31 Jul 2023 19:11:34 +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 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 79A2027BBE9 for ; Mon, 31 Jul 2023 19:11:33 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQXMZ-0003x2-Iz; Mon, 31 Jul 2023 14:11:24 -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 1qQXMF-0003qw-RS for guix-patches@gnu.org; Mon, 31 Jul 2023 14:11:06 -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 1qQXMF-00044J-In for guix-patches@gnu.org; Mon, 31 Jul 2023 14:11:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qQXMF-0007OG-Ey for guix-patches@gnu.org; Mon, 31 Jul 2023 14:11:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55751] [PATCH v2 4/7] gnu: openjdk12: Make reproducible. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 Jul 2023 18:11: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.169082702628305 (code B ref 55751); Mon, 31 Jul 2023 18:11:03 +0000 Received: (at 55751) by debbugs.gnu.org; 31 Jul 2023 18:10:26 +0000 Received: from localhost ([127.0.0.1]:53536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQXLd-0007MT-Mf for submit@debbugs.gnu.org; Mon, 31 Jul 2023 14:10:25 -0400 Received: from dd30410.kasserver.com ([85.13.145.193]:38548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQXLc-0007ML-8U for 55751@debbugs.gnu.org; Mon, 31 Jul 2023 14:10:24 -0400 Received: from nova.lan (84-115-230-178.cable.dynamic.surfer.at [84.115.230.178]) by dd30410.kasserver.com (Postfix) with ESMTPSA id 20DDB112069D; Mon, 31 Jul 2023 20:09:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scratchpost.org; s=kas202303142049; t=1690826975; bh=+9y2cA1Illc20YyUUQ5N1QgKahq7Y4Kkj614Bi8UyfA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Jru+NGQZxHt+Rr3Mv5V+UrZQBO2od739fvUt+oBry5l1vp3qIx6EP4N5cOUr2BdrG U0b4ukRtCJxgi7SuTmJU9+ciXd9jM1wjC2VnHzTnVhAlKT83ZDOFjhQXjpmAHNxhEq 6Su+VPGzX6FoyTZa/7QEndO++VbUX/lYV7R7WZ8QlegIPGp/oDWGv5YKGu8vrOxQKP F6xhFvTOfdhfCk7pSdLAlduvo4eeMnfIguAKptNBDgJXftrZL8LiZmkRD+Fv6ZO/Ap n7XDBPOkH4vmrgjC+MIWdk0+NJipDEvjzG2mYmyuGiC3PLaV1gp/P7uCcZ9u+qvHS0 T2q0HTyglSl4A== From: Danny Milosavljevic Date: Mon, 31 Jul 2023 20:09:16 +0200 Message-Id: <20230731180919.28047-5-dannym@scratchpost.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230731180919.28047-1-dannym@scratchpost.org> References: <20230731180919.28047-1-dannym@scratchpost.org> MIME-Version: 1.0 X-Spamd-Bar: -- 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 * 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 9ffd0dce7e..66dcc5023e 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1510,6 +1510,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 _ ;; 'blocked' was renamed to 'blacklisted' in this version for