From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id AG3eE/neHmZIqAAA62LTzQ:P1 (envelope-from ) for ; Tue, 16 Apr 2024 22:26:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id AG3eE/neHmZIqAAA62LTzQ (envelope-from ) for ; Tue, 16 Apr 2024 22:26:33 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=reproducible-builds.org header.s=1.vagrant header.b=vDbDFNmH; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713299193; a=rsa-sha256; cv=none; b=ge01OKVh/AbT1LQDK+rzUo2TL0yZcTTdIRcu8aaLbLU5RclT6syVFzTO2AtebnFftUT/jR 2UzjQng8gBYHw9bArdFSxZE351aS9LFh6fFTwKsubq5noYYvxtqSFu2Egu8/1k04JCIgC7 gU4+x+D95uHglEsFFVXK7KiR1dwPUBlhU1GTRPTFtWqla0tgq6c3cxvLAMUpg9xyuN+FCJ u/woW2QlTzJZY+nmOj4KdQyj8oCNXFy/qTwXh19d6f5/1C8M/qGjrv7zr2l13iPsR3MtCM YVPgJw8tnY6RbcXqguvOKQZxwtsMLyfKOwtjyY9LOCU6T4//m/qOOLtSUd3PKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=reproducible-builds.org header.s=1.vagrant header.b=vDbDFNmH; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713299193; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=nj6f+g8qk/eUA7YvmltPOdOpCA5UgMpsC8efY21bFvU=; b=EUiQCW8pIt1LVlOqaFkhkZ2Tw9TZcVMYGnH4ZJBThesiydwspyItraoGtJLnzWAtb5lfKz /7rSe8QFPealewmCOpULe+5pV6LH069F3tzDyX6XaYBBN/Keb1MBCs4jE5fTZOX4ejWCfk UkbAcU+DMlYefH1kNBbTSRR9QEiIjH63rHz1gj4hv73ag/5/CpTyr4VGEu1Y6moDcv1zrY mZDb6XhWTyuypNhf/fQty2xkvHZGO3MKra7ZkNIksj90x14GRTPDSlhucAbjylrQZgij1w UM+L+alf6NZwyQ1/rzEvm18Mrf8tU5cZqe912mHd09dbz9e2BvfTjlx04sWulw== 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 69E3EDDD1 for ; Tue, 16 Apr 2024 22:26:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwpNG-0007wY-2k; Tue, 16 Apr 2024 16:25:50 -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 1rwpNC-0007wD-BY for guix-devel@gnu.org; Tue, 16 Apr 2024 16:25:47 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rwpN9-0003L1-Ex for guix-devel@gnu.org; Tue, 16 Apr 2024 16:25:45 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 3FEE01AAD6; Tue, 16 Apr 2024 13:25:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=reproducible-builds.org; s=1.vagrant; t=1713299136; bh=1YidjLPD5SkOKXnVK15DPrDpZdmEvfQlbdv6KsGCr7c=; h=From:To:Cc:Subject:Date:From; b=vDbDFNmHHJWA7u+JYCJZ/p1BQZFY7Xiy90/ZgBwjgjhs3ewX//oFI+DMNQmj+kQBx /DjN+WlsELxcgDB5cv+WOTQhVHBIMAO9JH/h2RyBVhQYvsMgyGHaGtkmFcVwhShwBB VGtugKdgA0AxDTMZYMAMaYo986ZFbMz/eoDr815klJYwNptCVwALMV6mipqblzy13B LquEWuGwbKh9pAWFtRblPZHvgLNBWs+3+p+6pfSLZyLJP/zoBt8+AKu1zribmjz5Uv s/B/YneE3x0tq9gIlVzU88CLMzvSQbgMQ4twncrthspz96RhOG6oETKjYlEk4j9edf aJLycHkZeVNLQ== From: Vagrant Cascadian To: guix-devel@gnu.org Cc: julien@lepiller.eu Subject: No default OpenJDK version? Date: Tue, 16 Apr 2024 13:25:33 -0700 Message-ID: <875xwh2gxu.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@reproducible-builds.org; helo=cascadia.aikidev.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -10.01 X-Migadu-Queue-Id: 69E3EDDD1 X-Migadu-Spam-Score: -10.01 X-Migadu-Scanner: mx10.migadu.com X-TUID: 5qpbsHwxKSKI --=-=-= Content-Type: text/plain When recently taking a look at diffoscope, I was reminded that there is effectively no default openjdk version, you have to pick a specific version for each package definition... At some time in diffoscope's history, that was openjdk@12. But there are quite a few versions to choose from: guix package -A openjdk | sort -V openjdk 9.181 out,jdk,doc gnu/packages/java.scm:869:2 openjdk 10.46 out,jdk,doc gnu/packages/java.scm:1140:2 openjdk 11.0.22 out,jdk,doc gnu/packages/java.scm:1218:2 openjdk 12.33 out,jdk,doc gnu/packages/java.scm:1536:2 openjdk 13.0.14 out,jdk,doc gnu/packages/java.scm:1576:2 openjdk 14.0.2 out,jdk,doc gnu/packages/java.scm:1583:2 openjdk 15.0.10 out,jdk,doc gnu/packages/java.scm:1598:2 openjdk 16.0.2 out,jdk,doc gnu/packages/java.scm:1617:2 openjdk 17.0.10 out,jdk,doc gnu/packages/java.scm:1625:2 openjdk 18.0.2.1 out,jdk,doc gnu/packages/java.scm:1642:2 openjdk 19.0.2 out,jdk,doc gnu/packages/java.scm:1646:2 openjdk 20.0.2 out,jdk,doc gnu/packages/java.scm:1663:2 openjdk 21.0.2 out,jdk,doc gnu/packages/java.scm:1667:2 Some packages may only work with a specific era of openjdk, but I suspect many of the packages in guix just picked whatever version happened to be present when it was added to guix. Which makes it hard to know when to update the openjdk dependency... In the diffoscope case, it seems to have work fine with openjdk@21, with the only result being that some openjdk-version-specific tests pass and some are skipped as a one-for-one trade compared to the old openjdk@12. Alternately, I would be tempted to switch to openjdk@17, which is the current default in Debian, so has a little more testing behind it... Though there is a bit of a perverse incentive to stick with the oldest version that still works, due to openjdk having a very long bootstrap chain of itself... And then the question gets to be of diffoscope's dependencies, what versions of openjdk do they pull in (notably enjarify, which uses openjdk@12, although that also seems to work ok with openjdk@21)? Would it make sense to have an openjdk "default" version, so packages could instead depend on that, and only need to specify a version if needed for some particular reason? Or is compatibility across openjdk versions troublesome enough that it really always needs to be handled on a case-by-case basis? live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZh7evQAKCRDcUY/If5cW qjZaAP9z76RB/CoFSRwPMrKccjsAjb0bsCbNlQFkgn7XDp4qIQD+I0PV67LkBIJS 0rws/57ieYVT6qrRAPoLpxAZ+0aBogg= =buha -----END PGP SIGNATURE----- --=-=-=--