From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 16 14:20:32 2022 Received: (at submit) by debbugs.gnu.org; 16 Jul 2022 18:20:32 +0000 Received: from localhost ([127.0.0.1]:46026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmP2-0002xc-3a for submit@debbugs.gnu.org; Sat, 16 Jul 2022 14:20:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:46812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmMG-0002sa-Pm for submit@debbugs.gnu.org; Sat, 16 Jul 2022 14:17:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCmMG-0004ld-KL for guix-patches@gnu.org; Sat, 16 Jul 2022 14:17:40 -0400 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]:44912) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCmME-0006J6-Nf for guix-patches@gnu.org; Sat, 16 Jul 2022 14:17:40 -0400 Received: by mail-ej1-x629.google.com with SMTP id ss3so14246121ejc.11 for ; Sat, 16 Jul 2022 11:17:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=from:to:subject:message-id:date:mime-version; bh=E9ZT5L587ActrgcZhdLPDaX9IrhKGeWIjqmBxhdRugI=; b=pCDIlwU5getxVqh4YTA12kf7sHKACZIDYQ7L30odJ2gB8vKyEjoA+0CZPv3XoqT0kD L6tFJhWsq+ixn51nhq3Nld/1hVrBJTf3NZcR3sWQAjBkHJECWmIBEYw7IIQS3Oe1d2gY mr6TvtAihxzdevT+KHhuAuJ5e16wcIkgl+3qOgGVqqUygMpw33V6V3nT32ey/LslLTES ecY5I2OsPEL4+KfiK91jQ5+3XlTWwBIQRf03rrkok8k4sM0DFjaLoTuzDVd9eIUWAFsq zZZqf4H5RSG7AMkpPrEFQBokWt62YA33FAxKaMiEiV27vtZ2DpLznbCjdigvjeSzNyVI Nylw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:message-id:date:mime-version; bh=E9ZT5L587ActrgcZhdLPDaX9IrhKGeWIjqmBxhdRugI=; b=GTh9sD0miMSEK5eQGIdSdXiLdgrUr2pqU0uVUl5hIOnUxjbrVsrgQg6KAQfSheuqIQ 2kCJLQ5n328JyJ3UUhuUuhOjd7Z3ZFDDYEDlzmvodbXlpfMmRJXzTFBJ9R7kEvuNTk1K akoM5qhNpVNDQFFqXvtzcSG76+JZVbfuYSP+ibCafP6Fw+PRmMgLTwX6mg5gzT3d9+9A HUgCKa7SXiMhihfsXQA9V/XgbBIOa5ZEpe1AuRmnqkImq6g10F58/NrZBIPFe5f90XyG dl0H13N0/xVtWIXi2Yz4n7tTjB38APz8tx9/t30DxMVYmt4VQFyxWGCEF1Y9HwuZa/OI 4/wA== X-Gm-Message-State: AJIora+747cwasZ4sjxdI8XST2cAWAK8sasegZ+XhKu44A/PrtHG1OrU l9MbG9yZ1YmYW19lMHtC4+bEL6tfqe04W1J0 X-Google-Smtp-Source: AGRyM1szxoWEpRQz5V5sDOQt2Y32WGS8mKXg3Nd6uSRwQliWt9Zc6b/wW3HXDiyPM+CEYc9hDT3Q3Q== X-Received: by 2002:a17:907:7209:b0:72b:924b:60a8 with SMTP id dr9-20020a170907720900b0072b924b60a8mr19765024ejc.442.1657995456528; Sat, 16 Jul 2022 11:17:36 -0700 (PDT) Received: from thinkpad (tmo-117-210.customers.d1-online.com. [80.187.117.210]) by smtp.gmail.com with ESMTPSA id j4-20020a170906474400b0072aed3b2158sm3475159ejs.45.2022.07.16.11.17.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Jul 2022 11:17:35 -0700 (PDT) From: r0man To: guix-patches@gnu.org Subject: [PATCH 0/8] Update Clojure to 1.11.1. Message-Id: Date: Sat, 16 Jul 2022 20:17:34 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: none client-ip=2a00:1450:4864:20::629; envelope-from=roman@burningswell.com; helo=mail-ej1-x629.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 16 Jul 2022 14:20:31 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Hello Guix, This patch series updates Clojure and it's packages to 1.11.1. It also adds the 'reset-class-timestamps phase to the Clojure build system. This phase makes sure the timestamp of compiled class files is set to a later point in time than the timestamp of the corresponding Clojure source files. If the timestamps of the class and source files are the same, the Clojure compiler will compile the sources again which can lead to issues. This problem has been discussed here [1]. The suggested solution was to keep/adjust the timestamps of the class files. [1] https://www.mail-archive.com/clojure@googlegroups.com/msg99928.html Could you please review this? In the patch for clojure-instaparse, I disabled the AOT compilation because of a known issue. Is that ok? Btw, I was a bit surprised that in Guix Clojure packages are AOT compiled. The general wisdom in the Clojure community seems to be to avoid AOT compilation when distributing libraries, and only AOT compiling Uberjars for final deployment. Due to issues like I mentioned in clojure-instaparse. Are we sure that AOT compiling all Clojure source files by default is a good idea, instead of just compiling user declared namespaces which Leiningen and friends are doing? WDYT? Thanks Roman. r0man (8): gnu: clojure-tools-cli: Update to 1.0.206. gnu: clojure-tools-gitlibs: Update to 2.4.181. gnu: clojure-tools-deps-alpha: Update to 0.14.1212. gnu: clojure-tools: Update to 1.11.1.1149. gnu: clojure: Update to 1.11.1. gnu: clojure-algo-generic: Fix test failing under AOT in Clojure 1.11.1. gnu: clojure-core-match: Update to 1.0.0. gnu: clojure-instaparse: Update to 1.4.12 (disabled AOT). gnu/packages/clojure.scm | 185 +++++++++++++++++++--------- guix/build/clojure-build-system.scm | 53 +++++++- 2 files changed, 178 insertions(+), 60 deletions(-) -- 2.36.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFLBAEBCAA1FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmLTAL4XHHJvbWFuQGJ1 cm5pbmdzd2VsbC5jb20ACgkQPdpSUn0qwZl9Igf/elvkZLR9Xr6ATdVLI0yd+ktt jqrXTgoLH7vqphuO1Lj1hRFM741kxwHDex2FDO9GWUrsoriSgNu/Q3qZ3ytYqmi5 7WuubS6S0XJ0mVrlmNBIHcOIs2+QQ+fPEUpfEOMfLpqRpjiXg3IuzDYPJHc3idE4 TfyLOBGT4zk3ZAtoQRe8tSA29OMMsZevNCbite2gzKidg6B6D08VunKWDnX2oqc2 jmmyLN6Y6qA7fuKgZGMn6Jhb7rue0NhLfjGP1U890Oy//nctS0PpHXkotycyxpJj HK/+ynAmycIA/u1m3I9s+3SNYH8w+lTsKFxvim2lBgYRW5pCz0LNkA77GiouqA== =qV8D -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 16 14:24:15 2022 Received: (at 56604) by debbugs.gnu.org; 16 Jul 2022 18:24:15 +0000 Received: from localhost ([127.0.0.1]:46031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmSc-00033m-PB for submit@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:14 -0400 Received: from mail-ej1-f50.google.com ([209.85.218.50]:46875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmSa-00033V-EW for 56604@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:12 -0400 Received: by mail-ej1-f50.google.com with SMTP id ez10so14253921ejc.13 for <56604@debbugs.gnu.org>; Sat, 16 Jul 2022 11:24:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=from:to:subject:in-reply-to:references:message-id:date:mime-version; bh=Gw29KlaIuxQLm8W16CtBeadmWe9p03ZplnUAsifF59E=; b=ZxoPSZ/HDRxrLJBivgvqIO2qq8BUYJqHfpGkpZHZRsq6jmLScU8+hOq1a2yJoHtk7W /6dCvPxS42URt18jmK0N0G7U3gAMp+Ju08wkIduU7R8i2ctuy3iuSVmPr+KVpiixFmwI KDOU9bJg71TYy9NI5Rnv3e2Wfmpa9tQXaKilxcjUWayH10KF1L2jHjnxJKgZSfqMkBND zKWR6YDKgjhPDuoa2p1jDkmwHOpyuvFf3piV7PpcqOJmcoyYZxnnknO3bpC7nEpyxnSm 9kDizjvAvhTrKT8wLZiy1mSOX/7J/yuIiB8WFrnG7q22utZgv8lasOEUjTa8EHs+2+UR iqEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references :message-id:date:mime-version; bh=Gw29KlaIuxQLm8W16CtBeadmWe9p03ZplnUAsifF59E=; b=a7JPt1j5DhiJoibNl4PPmlRFghXyz2E+8w4K5/u6mD7jMoOZUNSN/iEX8OW0pdgTc7 KCp55/AMIQIiO7bkoSvlJdcZDJUgQ0AjTz1neu3vVwF74yTA3wE1v6ZVr6DEnKqxD+f3 MYoMCDVCE/jkH5ach+3ipPl2ELMScPIP+bmsmkKb/viZR+/NH/xbshXRI1zUALhlHKQ2 R5CLDFHBHfSO9XpsNLq7utjH2IPmwiKZFogfEoHWhsWkfI9+44AZJ8hqufH18Cbh5+KE pre6NaHPaNjGNptPQAerbOZpStuWkDp7qdIgYp2JGare0bzjifXwuEZieC2oytNWM7r9 HlTQ== X-Gm-Message-State: AJIora/2AHBda/lJlSx/icASSlanCNtkogC7Fi8bOZRTC/djeK26yTvo EJaci9EYpM8M8MG8m7ZXoI+g/vVY0yT5+HVU X-Google-Smtp-Source: AGRyM1sk/iZ6ONdNTiMroRORsxmlKULdJKdIKjSJWnLD8NWldw0EfGMJZ3srJpCzIXUE3nLmjq86wA== X-Received: by 2002:a17:907:2cf5:b0:72b:7656:f162 with SMTP id hz21-20020a1709072cf500b0072b7656f162mr18193761ejc.565.1657995846070; Sat, 16 Jul 2022 11:24:06 -0700 (PDT) Received: from thinkpad (tmo-117-210.customers.d1-online.com. [80.187.117.210]) by smtp.gmail.com with ESMTPSA id o20-20020aa7c7d4000000b0043a587eb95dsm5151988eds.5.2022.07.16.11.24.05 for <56604@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Jul 2022 11:24:05 -0700 (PDT) From: r0man To: 56604@debbugs.gnu.org Subject: [PATCH 1/8] gnu: clojure-tools-cli: Update to 1.0.206.--- In-Reply-To: References: Message-Id: <275e358571b6709a51f7ded2db64b12399155f0b.1657994905.git.roman@burningswell.com> Date: Sat, 16 Jul 2022 20:24:04 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56604 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-- gnu/packages/clojure.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index e6eb749501..0a30e1752a 100644 =2D-- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -457,7 +457,7 @@ (define-public clojure-tools-macro (define-public clojure-tools-cli (package (name "clojure-tools-cli") =2D (version "0.4.2") + (version "1.0.206") (home-page "https://github.com/clojure/tools.cli") (source (origin (method git-fetch) @@ -466,7 +466,7 @@ (define-public clojure-tools-cli (commit (string-append "tools.cli-" version)))) (file-name (git-file-name name version)) (sha256 =2D (base32 "1yqlm8lwbcjm0dp032z7vzc4bdlmc4jixznvf4adsqhvqw85= hvj2")))) + (base32 "1hvk5zacl3fr8lfcbfgckaicqjx697j0kzw2x5hwj8j5xlr8ri= 2r")))) (build-system clojure-build-system) (arguments '(#:source-dirs '("src/main/clojure/") =2D-=20 2.36.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFLBAEBCAA1FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmLTAkQXHHJvbWFuQGJ1 cm5pbmdzd2VsbC5jb20ACgkQPdpSUn0qwZkVOQf7B9gw+hcg0P1Zn1b7TwUeqv66 iyJASC6oEJAZ2FzL/JEbBGtKSL0qG46MkXnOHQCKe1cNItf/ToXpvAXPXVF9/L3m BGpTY9l4C3sqykfS2tRWq9RDZ4fkscFjv/JF0Aq4olb22FKAWhnoL59dtLwMbk/u nXfiz86H4asFFQRD2s9B+2lbK0eRp91JjfiLD8tZji5dqUy9Yx3F8Ho5iHDCq0PQ /62LaWqIudO9OoOK7O0S1vLi/aAJwa0RIwg3DGccyZgfvLL0Chymf0OQmUmETz5j JGXCL5+Luj7ub6fhmmiw+kPrOPMKPcMjxYON9O+eCOJ6oulpoYZn7AP/ixelAA== =c7iy -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 16 14:24:19 2022 Received: (at 56604) by debbugs.gnu.org; 16 Jul 2022 18:24:19 +0000 Received: from localhost ([127.0.0.1]:46034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmSh-000344-2l for submit@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:19 -0400 Received: from mail-ej1-f45.google.com ([209.85.218.45]:36415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmSe-00033b-C4 for 56604@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:17 -0400 Received: by mail-ej1-f45.google.com with SMTP id mf4so14328062ejc.3 for <56604@debbugs.gnu.org>; Sat, 16 Jul 2022 11:24:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=from:to:subject:in-reply-to:references:message-id:date:mime-version; bh=xaoXQPCXSzxh+p4HgSvKf1GHsXowTB+f/7kKQt+Xl6s=; b=NworMEgYM/jenORxFT73jadQWr7NwqzH8eWO3KObcjg+GPHVZ0VRQ85PrAAhXhMtsx woM3EMdw+NxjfHnqKoa1Q5YAGUYs3lEoGgI2o8JfvUSX+GPItOaIBZQm4Kcis2onShc0 oIoiDiT2vGX4Nc8NnIrP3O870OWYpO/1gPwSECxkU8ja3zReu4H4syhHLHRTTzhFHZHg s0Pz/2hht7bPC5Id8iyR7Gp2ahHIbS9UmEXzWpuoBazkfL+kSVdthmqZf/cntXAlsa3e EH2T90AcsRD2YxXiSiKpuxllkxq+yq6jGA7OCjR1P3Sy/J2rmv50jNJ9zVg36U6NMK4k SMzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references :message-id:date:mime-version; bh=xaoXQPCXSzxh+p4HgSvKf1GHsXowTB+f/7kKQt+Xl6s=; b=0UmokF1lIypraUFUCo4cL61G/akZW2hG+d9E4SHc10zDfR/dHbAR8P6Bs2kh6MuMZe 2NKle7CG60crBEXME4iYugqZIkxBpttkHdeAwljyvA52KVrPpGeESBGJbPXvfQ4LcaIj 7O+GsEzRGLfhKUUrJL0tr5ur15/CszOOLcPjQc76ZxnKsTMlGBI3pqrFfusNXXRDYu0h igdYWdVW8GJoQW93TUfR0JIXczNfQKyHB2J5fY0gFnHLG9AJOfjRaijuICYDBRN4Nxsx 8O0bdyJBJ30N8TQ2YqTMoCy0YrZcox119gz7QLK1lNVrkjPpj+uYgEgpZ2ArN26iXKr0 FywQ== X-Gm-Message-State: AJIora8Mwaoi3mGClvpfGHFw6nOrBuwa+cUOJ9FKEyO7+mjUJcDl9W4w UmzCwTIswB43R1QazdCDyyS0n+VUUu4qc/US X-Google-Smtp-Source: AGRyM1tyj9hEl/Eu+hI6rqTyzSUSsTy6ld3ymOJ6CjZJlDXMxSEP43dcsoqyd/zQniJh6o3UJClN/w== X-Received: by 2002:a17:907:28c9:b0:72b:6912:5453 with SMTP id en9-20020a17090728c900b0072b69125453mr18551731ejc.419.1657995850531; Sat, 16 Jul 2022 11:24:10 -0700 (PDT) Received: from thinkpad (tmo-117-210.customers.d1-online.com. [80.187.117.210]) by smtp.gmail.com with ESMTPSA id q10-20020a1709063d4a00b0072b3182368fsm3445503ejf.77.2022.07.16.11.24.09 for <56604@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Jul 2022 11:24:10 -0700 (PDT) From: r0man To: 56604@debbugs.gnu.org Subject: [PATCH 2/8] gnu: clojure-tools-gitlibs: Update to 2.4.181.--- In-Reply-To: References: Message-Id: <98d11e82764d191ede5a3e0e1791d59aba98e619.1657994905.git.roman@burningswell.com> Date: Sat, 16 Jul 2022 20:24:09 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56604 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-- gnu/packages/clojure.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 0a30e1752a..494ac25fc4 100644 =2D-- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -543,7 +543,7 @@ (define-public clojure-tools-deps-alpha (define-public clojure-tools-gitlibs (package (name "clojure-tools-gitlibs") =2D (version "2.4.172") + (version "2.4.181") (home-page "https://github.com/clojure/tools.gitlibs") (source (origin (method git-fetch) @@ -553,7 +553,7 @@ (define-public clojure-tools-gitlibs (file-name (git-file-name name version)) (sha256 (base32 =2D "19d83wigmigy66f5i61a3ishg7zrlv8jngj8m9brsh9v38a0fwdr"))= )) + "1d8c79f33axghadwqa955yjfsxa6fgl8jq4nfll2zrp6sjw0597k")))) (build-system clojure-build-system) (arguments '(#:source-dirs '("src/main/clojure") =2D-=20 2.36.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFLBAEBCAA1FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmLTAkkXHHJvbWFuQGJ1 cm5pbmdzd2VsbC5jb20ACgkQPdpSUn0qwZlgMwgAsieS2yOBXbiR6d1rmM7YE+Q8 MIn/zUm0giboMGfV6LhIL0REKGGhhesSqp+6DZrPgsLR8TQ4C3DnujWYXzFpc+VT peFdmyoY9RojrgEkvC6/C5dPG3kc+Vny+DbkltIv6v3ZIR4fcFW/6E2WWnZMoPwL Oiqgcyy+VnkfMGNZ/0j15pKCg1CMHLkOdKxz5X8aZKgPs2iJdlkNPeCft2l184Xz jz21ysBn57e+zUqqrNzF4rVxf56TUKre0eM+PN9+zdCGeg0FtjotD63NTsve8CII Yh/xLalOged8hsOMd6E88hVvUgt3nIzqpQcwT0evzsjs/q91XaY2zcTIYLeBsg== =Nbg8 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 16 14:24:21 2022 Received: (at 56604) by debbugs.gnu.org; 16 Jul 2022 18:24:21 +0000 Received: from localhost ([127.0.0.1]:46037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmSj-00034J-E7 for submit@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:21 -0400 Received: from mail-ed1-f50.google.com ([209.85.208.50]:40460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmSh-00033l-R2 for 56604@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:20 -0400 Received: by mail-ed1-f50.google.com with SMTP id r6so10172372edd.7 for <56604@debbugs.gnu.org>; Sat, 16 Jul 2022 11:24:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=from:to:subject:in-reply-to:references:message-id:date:mime-version; bh=/x52E0CF0KJr5+JDfUZLcJ79ZQtdqpUQ37W4vPv9fl4=; b=X77iXIHZSsn4JEDF0b+hYzkj92Gd/95T5vL0BLSwJSJ7q+DPoY4IUvOZWR+Wwaha5M 4D2EwsjoJvmeOs/esZKUzU3w5U/gIniRyQLzCAJaLtbLEvUzYSDn9fyWLZkPQsjK7HGW dVQj0QthP10vbLBA+UQzOY2s1XV30NtK60VRl0DUynht+tN/UfRax0Z6SBbn3jBKisFb AO98QJ4WrESAKK87JTkNS2x979qOrMttPPLjYFxzdrSgoQv8mGsw1lsF2XVlnEuqhUxV YMG9/7nLAWgsQ5kgXgfzf/lnoQxrWz2NJpyFHIjpQNJJQuXc24sQokLos7j3W6FDMlFt G+gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references :message-id:date:mime-version; bh=/x52E0CF0KJr5+JDfUZLcJ79ZQtdqpUQ37W4vPv9fl4=; b=TLSOTQkgAyYBDBnNnydHKz4oCQShyaUEmPmQOPIAVYwkLC8kJDsZf59YX6B2GNWbim 5Ck8ryZAIHr3wDrskDMtLXj4xVRQCHAdVNFXreVtgj4WVfdudXBZPL605r/6GRd2W7lf m5U8aY887QbvmuLcmnSfz/5L4PQmHI5fAmS858iKTm2WuxLdKGp+qcKu17ioWXdD8a1s 0zzh+B+0v+8b9Bg8+EcRhmes4+qmf5Y23lT4w/XwjeIkD3v6srdz0yq0yqmTj/ujFwwx e0YZegeM1eL0OWEVE+dOA/Nb2tOa6mjvEaQokQAVWAZds86yL1mm/UuQVDPtlbss+mIi 8LHw== X-Gm-Message-State: AJIora9NmZejcFXLK4aB0LBBsH5dmOaKdRb9cqwL/HI1FnNn33DMRutM pkol5QvRGXA3qOLWtYqkmmrUBdzKYBho4FFV X-Google-Smtp-Source: AGRyM1t7XQWcJHAZR16pVI4El/tkkL0Lb4INLL9a2+zGNesem1HGAyfldntJExirN3y7DDnPM5nOIA== X-Received: by 2002:aa7:cac7:0:b0:43a:c5ba:24a6 with SMTP id l7-20020aa7cac7000000b0043ac5ba24a6mr26640316edt.84.1657995853924; Sat, 16 Jul 2022 11:24:13 -0700 (PDT) Received: from thinkpad (tmo-117-210.customers.d1-online.com. [80.187.117.210]) by smtp.gmail.com with ESMTPSA id j22-20020a170906051600b0072b36cbcdaasm3431654eja.92.2022.07.16.11.24.13 for <56604@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Jul 2022 11:24:13 -0700 (PDT) From: r0man To: 56604@debbugs.gnu.org Subject: [PATCH 3/8] gnu: clojure-tools-deps-alpha: Update to 0.14.1212.--- In-Reply-To: References: Message-Id: Date: Sat, 16 Jul 2022 20:24:12 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56604 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-- gnu/packages/clojure.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 494ac25fc4..d33ee4f708 100644 =2D-- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -481,7 +481,7 @@ (define-public clojure-tools-cli (define-public clojure-tools-deps-alpha (package (name "clojure-tools-deps-alpha") =2D (version "0.12.1104") + (version "0.14.1212") (home-page "https://github.com/clojure/tools.deps.alpha") (source (origin (method git-fetch) @@ -491,7 +491,7 @@ (define-public clojure-tools-deps-alpha (file-name (git-file-name name version)) (sha256 (base32 =2D "174m83n5m3arai2vbg434zjibbsr3r4pp7lz3adja8lxq7g21r80"))= )) + "0r8qfihii6cf95kl86x6zfldnm7wlkgda2qmq3340j1x03v244dd")))) (build-system clojure-build-system) (arguments `(#:source-dirs '("src/main/clojure" "src/main/resources") =2D-=20 2.36.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFLBAEBCAA1FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmLTAkwXHHJvbWFuQGJ1 cm5pbmdzd2VsbC5jb20ACgkQPdpSUn0qwZlUjgf/W4txpOkoV7ylneXzj6ksSVKD vdJ1S1ejwGhFhDCZtLu9SO6VSpNWxGpGVzYRx6w+tcsZRn+AFsRhcY/VJnV3JxlS 27gWYShAVR8GiGeit5x+7lVVdumEa6UqnqZYcRzG5GgFOD7hlR+ZK5wyT6bM8tYq Ny318SRMCRx0XdiS1zWIKlUZkeVv0ZqLd0uXD7iZToyDsM86BR4/qJo6TyZvy724 8NwVNyO8XkETCo0qMV0W7H9SwLlkdZYhA4fXclvEuSG8+QwkJsB+tiPyk+Zir6ms /ftnU00tgVhVV/HTnsbJO2f3pfFuXJ5gWOW5S4axfYTYfNsDqY8uGmjEgNVczw== =Gliq -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 16 14:24:25 2022 Received: (at 56604) by debbugs.gnu.org; 16 Jul 2022 18:24:25 +0000 Received: from localhost ([127.0.0.1]:46040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmSm-00034a-Mn for submit@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:24 -0400 Received: from mail-ed1-f47.google.com ([209.85.208.47]:34789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmSk-00033v-Jy for 56604@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:23 -0400 Received: by mail-ed1-f47.google.com with SMTP id x91so10189884ede.1 for <56604@debbugs.gnu.org>; Sat, 16 Jul 2022 11:24:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=from:to:subject:in-reply-to:references:message-id:date:mime-version; bh=9S68kCf4GUh3WlQIDj8LlMb7Xjem+HJqoA1cSlI9RDY=; b=hnMvWx9JThmdLdKz8MyruvEFsyFSjTJo0wrpDykQK0hM++uT8jBBV4wTS/dffnuCe9 cnTDPI4jdzVL41Xa10oUxnx9zRnbB1fSEUJpczLiy+pF3Hw/XuNWnGKFrnHK3BwzhklP gb4SqdSfoS85CUA+Kh6G/qOjnFw444EUjnQHz8fz96BVOBVX6UfVj5LICzpQ6ooW67V2 Npzd82H3bzPcvfY9b17114x33Rx0StcTTU8MZ4ZT7OMJlGWQDgD3s5sDm07LT8kPoxnC n6/oAH0JptRTF3xGOsw4LF0KtZGPVDMdWpdYoEKGNhCNRH9EsXYGKIEHu1ydfHfC39m5 yI1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references :message-id:date:mime-version; bh=9S68kCf4GUh3WlQIDj8LlMb7Xjem+HJqoA1cSlI9RDY=; b=wSU6sNkRxQ1JlHNOycqX5sSErPxeavCzdIGfzmSl66qpYCheTXX1oxuhmJjeP6is6k q+kOXwhf5NP6NDuuWGodu0/ngHJyvl1RjuHrvID29ZuV6PetGDM2UbeykiHx6vdCVDrd 7xjU7xKsZXey2/LW9ocNxFm9Naam/Hw6/j/f/9htrC99ygsXx7bGJZQ4sBH4Utz0l+66 1YqdyytnA6/oeu0jctEsLyvO634kkQPlBkR2MuNnUzaCIEs3m3ZG00kSBQw2YWIv2Tnd stflSStgmJjlq00uI3lNjApFqavVbtDucFkFuRqPahO8DNHCm6zdRK93nif9QT4/0lAW S9mw== X-Gm-Message-State: AJIora9hHkX8wlI+fGx1THiJkWa4yHjvk2CzHw1yToFVKFeg+m9Yxih5 B9vxVwW04mmpiL4ZINWL4gtUb+gck0do/0O1 X-Google-Smtp-Source: AGRyM1vMp6JS9AWdzTIhwy4tZiM/mUTILv3o8Jz5vxTaGgR9tpOllJo12unap5YrgTYViwT3dmMtpg== X-Received: by 2002:a05:6402:1d51:b0:41f:cf6c:35a5 with SMTP id dz17-20020a0564021d5100b0041fcf6c35a5mr27728532edb.25.1657995856808; Sat, 16 Jul 2022 11:24:16 -0700 (PDT) Received: from thinkpad (tmo-117-210.customers.d1-online.com. [80.187.117.210]) by smtp.gmail.com with ESMTPSA id x7-20020a05640225c700b0043ac761db43sm5055468edb.55.2022.07.16.11.24.16 for <56604@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Jul 2022 11:24:16 -0700 (PDT) From: r0man To: 56604@debbugs.gnu.org Subject: [PATCH 4/8] gnu: clojure-tools: Update to 1.11.1.1149.--- In-Reply-To: References: Message-Id: <708e46c5ec0a27793c0be8f03250289dbc42ad12.1657994905.git.roman@burningswell.com> Date: Sat, 16 Jul 2022 20:24:15 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56604 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-- gnu/packages/clojure.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index d33ee4f708..fa201f3110 100644 =2D-- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -153,14 +153,14 @@ (define (extract-library name) (define-public clojure-tools (package (name "clojure-tools") =2D (version "1.10.3.1040") + (version "1.11.1.1149") (source (origin (method url-fetch) (uri (string-append "https://download.clojure.org/install/clojure-t= ools-" version ".tar.gz")) =2D (sha256 (base32 "0xvr9nmk9q789vp32zmmzj4macv8v7y9ivnfd6lf7i8vxgg6= hvgv")) + (sha256 (base32 "196wl87br8zg3npfwpr5c1q0knxd1810vzgb0b6h195hyjf6i2= 10")) ;; Remove AOT compiled JAR. The other JAR only contains uncompiled ;; Clojure source code. (snippet =2D-=20 2.36.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFLBAEBCAA1FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmLTAk8XHHJvbWFuQGJ1 cm5pbmdzd2VsbC5jb20ACgkQPdpSUn0qwZlerAf/aGv8jsKEjMOxZSAgRg6elaCf K5/x61fxmHdH3vZj2/VwTh06khVAI2dt/Rs5AcXUGlNa0wmJKV9Ss4rPSKc4vNKU i+0m2T0PZ9YQq5zdcXEYMJnnNOHphrfi+teDJAFGg4Wl6IVagm6UgnYEBF+hw6Zr VhglJayUpYUr6yPRDAHsepzfDV45/uQ01YmZERQPhgM+8i0rweJWtyOv+SnsTWqk MkGxPYR064V3mcO8342PoPihGAO9fhBbx3m6l6AB+ezT5rRjaKxOaGjj4lHlOOJA 2+9A0mozrdOf/P8g1PUR5TLbq4a7trRGHk3Dakj5AyVmghEsoQso9zdc/NXvVg== =aFmZ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 16 14:24:29 2022 Received: (at 56604) by debbugs.gnu.org; 16 Jul 2022 18:24:29 +0000 Received: from localhost ([127.0.0.1]:46043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmSr-00034u-0l for submit@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:29 -0400 Received: from mail-ej1-f46.google.com ([209.85.218.46]:35449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmSo-00034I-E2 for 56604@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:27 -0400 Received: by mail-ej1-f46.google.com with SMTP id j22so14323751ejs.2 for <56604@debbugs.gnu.org>; Sat, 16 Jul 2022 11:24:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=from:to:subject:in-reply-to:references:message-id:date:mime-version; bh=87jUbURBT3Q3T03QzoFqRaiZ0rtTjz5ssH2S5ERXMLk=; b=L49qbL9qEJivOpPIstAmzHM9DFRubCYv9HFG8FcQmGNDr7WtcduOw50lkmivpqk5Su BIynbMrJKl/knafuBNwFALoKddiNJWyDiH/Kj+ukVQSV+Vwx6fuRx9mIibZ2oHbJkUCC 4KkklFzfGEcuLJtVnXJ8yCsYTxdT2yNBeTNJpo2UcQzC2TiLI5bOewKYBECkYFGZ9Z6t Poz4zAjnVUzNP/V2rRjRwGHE9R8oMypfmaPD0m7z4JVqO0xG+jSFIl96PCnU3YG3B1Y+ 99tt0HfldcvFz6IygKed7HbOK0JiDLZZlEt+ItQpdx5EtlA9G+cwZMePhbIlY5SwkvEa XoNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references :message-id:date:mime-version; bh=87jUbURBT3Q3T03QzoFqRaiZ0rtTjz5ssH2S5ERXMLk=; b=7++V7n9/n7yu8biljW8lpkR6poRqVDH9MBWSVmusj6IxHnM/iWMZX/NQ5jrQguejeN W4VkXvTJOV58CM4vPzNd3fR9+LyLAIt6vxN1Wp4aTSM+FecO0REXVI9qrcAoYRU+FFFT hdSimP8E8oalslegQZcp+8cmBeKgS8KNKTt4/8vrGzyDSpFIuuN7gTQcMw8jznbq2XNe D8yqCMZq/acQ4EbEYLs/+u0px3DJnvOzxZIUZzgiODaUeK31S/9UCOw5+fUIpDWqy+uq X8yBnDM/A7bBt5q42AM5d7yuucOIuH85rcV9lH2mu4H18OjytMeL1qqsD+1qeeLv6tQe w2vQ== X-Gm-Message-State: AJIora8lp+cqDJOoRVoTi9syIvL4+3MO7g+CqokeBNxf2EJExIENVOrA IJAoeQU6Y3vD31l9E4idWzqYPqnyScsv9iDv X-Google-Smtp-Source: AGRyM1tOzN5BGeBA7OInz5edeiJGBue74Lfp0bTElcNkIi75FikkgyvedMe/2cRurB/DHvda6eklUg== X-Received: by 2002:a17:906:8472:b0:72b:5088:be7b with SMTP id hx18-20020a170906847200b0072b5088be7bmr19164741ejc.164.1657995860296; Sat, 16 Jul 2022 11:24:20 -0700 (PDT) Received: from thinkpad (tmo-117-210.customers.d1-online.com. [80.187.117.210]) by smtp.gmail.com with ESMTPSA id 4-20020a170906308400b0071cef6c53aesm3449909ejv.0.2022.07.16.11.24.19 for <56604@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Jul 2022 11:24:19 -0700 (PDT) From: r0man To: 56604@debbugs.gnu.org Subject: [PATCH 5/8] gnu: clojure: Update to 1.11.1.This patch updates Clojure to 1.11.1. It also adds the 'reset-class-timestamps In-Reply-To: References: Message-Id: <57f679a137761bd5954850c2cb2c5c3cd7055fac.1657994905.git.roman@burningswell.com> Date: Sat, 16 Jul 2022 20:24:18 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56604 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable This patch updates Clojure to 1.11.1. It also adds the 'reset-class-timesta= mps phase to the Clojure build system. This phase makes sure the timestamp of compiled class files is set to a lat= er point in time than the timestamp of the corresponding Clojure source files.= If the timestamps of the class and source files are the same, the Clojure compiler will compile the sources again which can lead to issues. This prob= lem has been discussed here [1]. The suggested solution was to keep/adjust the timestamps of the class files. [1] https://www.mail-archive.com/clojure@googlegroups.com/msg99928.html =2D-- gnu/packages/clojure.scm | 93 ++++++++++++++++++++++------- guix/build/clojure-build-system.scm | 53 +++++++++++++++- 2 files changed, 123 insertions(+), 23 deletions(-) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index fa201f3110..d51923acdb 100644 =2D-- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -43,36 +43,44 @@ (define-public clojure ;; The libraries below are needed to run the tests. (libraries `(("core-specs-alpha-src" =2D ,(lib "core.specs.alpha/archive/core.specs.alpha-" =2D "0.1.24" =2D "0v2a0svf1ar2y42ajxwsjr7zmm5j7pp2zwrd2jh3k7xzd1p9x1fv= ")) + ,(lib "core.specs.alpha/archive/v" + "0.2.62" + "0v6nhghsigpzm8y7dykfm318q5dvk5l8sykmn1hr0qgs1jsjqh9j")) ("data-generators-src" ,(lib "data.generators/archive/data.generators-" =2D "0.1.2" =2D "0kki093jp4ckwxzfnw8ylflrfqs8b1i1wi9iapmwcsy328dmgzp1= ")) + "1.0.0" + "0s3hf1njvs68b8igasikvzagzqxl0gbri7w2qhzsypkhfh60v2cp")) + ("java-classpath-src" + ,(lib "java.classpath/archive/java.classpath-" + "1.0.0" + "178zajjsc9phk5l61r8w9hcpk0wgc9a811pl7kjgvn7rg4l7fh7j")) ("spec-alpha-src" =2D ,(lib "spec.alpha/archive/spec.alpha-" =2D "0.1.143" =2D "00alf0347licdn773w2jarpllyrbl52qz4d8mw61anjksacxylzz= ")) + ,(lib "spec.alpha/archive/v" + "0.3.218" + "0h5nd9xlind1a2vmllr2yfhnirgj2pm5dndgqzrly78l5iwcc3wa")) ("test-check-src" =2D ,(lib "test.check/archive/test.check-" =2D "0.9.0" =2D "0p0mnyhr442bzkz0s4k5ra3i6l5lc7kp6ajaqkkyh4c2k5yck1md= ")) + ,(lib "test.check/archive/v" + "1.1.1" + "0kx8l79mhpnn94rpsgc7nac7gb222g7a47mzrycj8crfc54wf0c1")) ("test-generative-src" ,(lib "test.generative/archive/test.generative-" =2D "0.5.2" =2D "1pjafy1i7yblc7ixmcpfq1lfbyf3jaljvkgrajn70sws9xs7a9f8= ")) + "1.0.0" + "0yy2vc38s4j5n94jdcjx1v7l2gdq0lywam31id1jh07sx37lv5il")) ("tools-namespace-src" ,(lib "tools.namespace/archive/tools.namespace-" =2D "0.2.11" =2D "10baak8v0hnwz2hr33bavshm7y49mmn9zsyyms1dwjz45p5ymhy0= ")))) + "1.0.0" + "1ifpk93m33rj2xm1qnnninlsdvm1liqmsp9igr63pjjwwwjw1cnn")) + ("tools-reader-src" + ,(lib "tools.reader/archive/tools.reader-" + "1.3.2" + "1n4dhg61iyypnjbxmihhqjb7lfpc0lzfvlk4jd8w0yr6za414f3a")= ))) (library-names (match libraries (((library-name _) ...) library-name)))) =20 (package (name "clojure") =2D (version "1.10.0") + (version "1.11.1") (source (let ((name+version (string-append name "-" version))) (origin (method git-fetch) @@ -81,18 +89,23 @@ (define-public clojure (commit name+version))) (file-name (string-append name+version "-checkout")) (sha256 =2D (base32 "1kcyv2836acs27vi75hvf3r773ahv2nlh9b3j9xa9m9s= danz1h83"))))) + (base32 "1xbab21rm9zvhmw1i2h5lqm7612vrdkxprq0rgb2i3sbgs= xcdsn4"))))) (build-system ant-build-system) (inputs `(("jre" ,icedtea))) (arguments `(#:imported-modules ((guix build clojure-utils) + (guix build clojure-build-system) (guix build guile-build-system) ,@%ant-build-system-modules) #:modules ((guix build ant-build-system) + ((guix build clojure-build-system) #:prefix clj:) (guix build clojure-utils) (guix build java-utils) (guix build utils) + (guix build syscalls) + (ice-9 match) + (ice-9 regex) (srfi srfi-26)) #:test-target "test" #:phases @@ -106,22 +119,60 @@ (define (extract-library name) "--extract" "--verbose" "--file" (assoc-ref inputs name) =2D "--strip-components=3D1")) =2D (copy-recursively (string-append name "/src/main/clojur= e/") =2D "src/clj/")) + "--strip-components=3D1"))) (for-each extract-library ',library-names) + (copy-recursively "core-specs-alpha-src/src/main/clojure" + "src/clj/") + (copy-recursively "spec-alpha-src/src/main/clojure" + "src/clj/") #t)) (add-after 'unpack-library-sources 'fix-manifest-classpath (lambda _ (substitute* "build.xml" (("") "")) #t)) + (add-after 'unpack-library-sources 'clojure-spec-skip-macros + ;; Disable spec macro instrumentation when compiling clojure.= spec + ;; See: https://clojure.atlassian.net/browse/CLJ-2254 + (lambda _ + (substitute* "build.xml" + (("") + ,(string-join + '("" + "\n") + "\n"))) + #t)) + (add-after 'unpack-library-sources 'clojure-spec-compile + ;; Compile and include clojure.spec.alpha & clojure.core.spec= s.alpha + (lambda _ + (substitute* "build.xml" + (("") + ,(string-join + '("" + "" + "" + "" + "")))) + #t)) + (add-before 'build 'maven-classpath-properties + (lambda _ + (define (make-classpath libraries) + (string-join (map (lambda (library) + (string-append library "/src/main/clo= jure")) + libraries) ":")) + (with-output-to-file "maven-classpath.properties" + (lambda () + (let ((classpath (make-classpath ',library-names))) + (display (string-append "maven.compile.classpath=3D" = classpath "\n")) + (display (string-append "maven.test.classpath=3D" cla= sspath "\n"))))) + #t)) (add-after 'build 'build-javadoc ant-build-javadoc) (replace 'install (install-jars "./")) (add-after 'install-license-files 'install-doc (cut install-doc #:doc-dirs '("doc/clojure/") <...>)) (add-after 'install-doc 'install-javadoc =2D (install-javadoc "target/javadoc/"))))) + (install-javadoc "target/javadoc/")) + (add-after 'reset-gzip-timestamps 'reset-class-timestamps clj:r= eset-class-timestamps)))) (native-inputs libraries) (home-page "https://clojure.org/") (synopsis "Lisp dialect running on the JVM") diff --git a/guix/build/clojure-build-system.scm b/guix/build/clojure-build= -system.scm index 7d494078ea..82440e3b7a 100644 =2D-- a/guix/build/clojure-build-system.scm +++ b/guix/build/clojure-build-system.scm @@ -22,11 +22,15 @@ (define-module (guix build clojure-build-system) ant-build)) #:use-module (guix build clojure-utils) #:use-module (guix build java-utils) + #:use-module (guix build syscalls) #:use-module (guix build utils) + #:use-module (ice-9 match) + #:use-module (ice-9 regex) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:export (%standard-phases =2D clojure-build)) + clojure-build + reset-class-timestamps)) =20 ;; Commentary: ;; @@ -108,6 +112,50 @@ (define* (check #:key jar-names))) #t) =20 +(define (regular-jar-file-predicate file stat) + "Predicate returning true if FILE is ending on '.jar' +and STAT indicates it is a regular file." + (and ((file-name-predicate "\\.jar$") file stat) + (eq? 'regular (stat:type stat)))) + +(define* (reset-class-timestamps #:key outputs #:allow-other-keys) + "Unpack all jar archives, reset the timestamp of all contained class fil= es, +and repack them. This is necessary to ensure that archives are reproducib= le." + (define (repack-archive jar) + (format #t "resetting class timestamps and repacking ~a\n" jar) + (let* ((early-1980 315619200) ; 1980-01-02 UTC + (dir (mkdtemp! "jar-contents.XXXXXX")) + (manifest (string-append dir "/META-INF/MANIFEST.MF"))) + (with-directory-excursion dir + (invoke "jar" "xf" jar)) + (delete-file jar) + (for-each (lambda (file) + (let ((s (lstat file))) + (unless (eq? (stat:type s) 'symlink) + (when (string-match "^(.*)\\.class$" file) + (utime file early-1980 early-1980))))) + (find-files dir #:directories? #t)) + ;; The jar tool will always set the timestamp on the manifest file + ;; and the containing directory to the current time, even when we + ;; reuse an existing manifest file. To avoid this we use "zip" + ;; instead of "jar". It is important that the manifest appears + ;; first. + (with-directory-excursion dir + (let* ((files (find-files "." ".*" #:directories? #t)) + ;; To ensure that the reference scanner can detect all + ;; store references in the jars we disable compression + ;; with the "-0" option. + (command (if (file-exists? manifest) + `("zip" "-0" "-X" ,jar ,manifest ,@files) + `("zip" "-0" "-X" ,jar ,@files)))) + (apply invoke command))) + (utime jar 0 0))) + (for-each (match-lambda + ((output . directory) + (for-each repack-archive + (find-files directory regular-jar-file-predicate)= ))) + outputs)) + (define-with-docs install "Standard 'install' phase for clojure-build-system." (install-jars "./")) @@ -119,7 +167,8 @@ (define-with-docs %standard-phases (replace 'build build) (replace 'check check) (replace 'install install) =2D (add-after 'install-license-files 'install-doc install-doc))) + (add-after 'install-license-files 'install-doc install-doc) + (add-after 'reset-gzip-timestamps 'reset-class-timestamps reset-class-= timestamps))) =20 (define* (clojure-build #:key inputs =2D-=20 2.36.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFLBAEBCAA1FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmLTAlIXHHJvbWFuQGJ1 cm5pbmdzd2VsbC5jb20ACgkQPdpSUn0qwZmwEgf/dEVhn6c78eJSAd5XdntZmGug SKo7iatyggVjsDZHqDSlO278+/Z+DXYY4ushbJGibXi3YCMk7s72TVqkBFc9GDH6 oAlPQKHhfSh6HQCoNLqZLlz9BoTtfwJZ1LS411SL/O+R8TZUQd31FICWy0sHdXrQ riC/T479l70elfxh6NchhakmI8zU//mM843gbe/OHGZDqVj/tHTAPO1W1saKkXnm 2UZB5hcZGqILKQ1MavIyunPQ81QA2kKdLR71/izICfe33rc1mXiiNwA2YIVKRBt8 +vUhx1LMDUPKH6kxtaofE3n0I48y27UHbznP+IRfUPX4eWo49liodS0loZNTcg== =7ZSZ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 16 14:24:33 2022 Received: (at 56604) by debbugs.gnu.org; 16 Jul 2022 18:24:33 +0000 Received: from localhost ([127.0.0.1]:46046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmSu-00035A-PQ for submit@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:33 -0400 Received: from mail-ed1-f54.google.com ([209.85.208.54]:45639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmSr-00034Y-I6 for 56604@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:30 -0400 Received: by mail-ed1-f54.google.com with SMTP id g1so10138497edb.12 for <56604@debbugs.gnu.org>; Sat, 16 Jul 2022 11:24:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=from:to:subject:in-reply-to:references:message-id:date:mime-version; bh=gfSRV+60F8X/BIlqZZNxXgZAI5ycd9rY4NrWTLGeXTA=; b=bwqOm1wXtFaALqjry2VRhlNLSFw/akk15LZkVxqJt3ZXf6GFc7tW7o9+GBRC828dP4 GVa4ODf9eZ6oVnGvZ78l0hGNitVJWY6iVorBhbVMrp5Xl/j2i+hZb8vPnAcDEBs5Sl3W piij2CO6Jxz+U4OSWFo6dbr+41PL/gvpJ/HXzLh8RUZ6NcKGnR7/smfATZ8+J7eBNnGP JY0MU4SVVifNNzyRoYMqv1YkHrrsNk7BZ11POr/6GfFy2PUO22p8FpdEQPbBrdyQyQce qMbHgHo6oQJreO2YuEG2fB5DXQ0HRtYuoe4bzeh1GU5E1XO5B5fAZDMSqeEz12M+N7YV mI8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references :message-id:date:mime-version; bh=gfSRV+60F8X/BIlqZZNxXgZAI5ycd9rY4NrWTLGeXTA=; b=q+pFVlPlEqyEDCMyI/6wEpOuBiaP4kNsZN6MPzqBfiHFZGGUrIqL9bD0Bu1FTXCQ5t OryN7syRSTSxXVgvpimJznrebTGcNnPvCNjnI24pEMj97N9qs/KeqHwAdzWaRXARK/Uw YQSVp/5gUih0Dh7bvu984fWD7OF7YQtU3ckXWm6SzP9Zj+ABYlvHPUF9w0T/hYLJbOsO 3wamnkKjLlH9lmrQRFHLfwN61khTiVc/OfB7yED1cI8H1xV4bKMvF/xV74hHg/ib7GSq qSc35RheIk85K4245fPGoxp5QARxTwFlQWm98AHLQ42iqfVi0aEmyTcwQnEEt8ltfr27 Jdug== X-Gm-Message-State: AJIora9LRq7VocVQcPCvqA+KD8fEzh6V+dvwFWpFE4t5jJEJfSpKfTNQ kDUYZrB/pE/T2ECQ9Qi8Fn9nP5aRsAHR7Z3F X-Google-Smtp-Source: AGRyM1u/6GK86txhMhFxfiL5pXbnjCrl5UzZgbKBxylVkTPkAolT1mit+IerbCeNDRhzgAVskwdhjg== X-Received: by 2002:a05:6402:4390:b0:43a:bc4b:8ab4 with SMTP id o16-20020a056402439000b0043abc4b8ab4mr26711619edc.283.1657995863776; Sat, 16 Jul 2022 11:24:23 -0700 (PDT) Received: from thinkpad (tmo-117-210.customers.d1-online.com. [80.187.117.210]) by smtp.gmail.com with ESMTPSA id i23-20020a056402055700b0043a2338ca10sm5040968edx.92.2022.07.16.11.24.23 for <56604@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Jul 2022 11:24:23 -0700 (PDT) From: r0man To: 56604@debbugs.gnu.org Subject: [PATCH 6/8] gnu: clojure-algo-generic: Fix test failing under AOT in Clojure 1.11.1. In-Reply-To: References: Message-Id: <6fe1966d3cce8cda3f823a3a24f71ab70206a5ff.1657994905.git.roman@burningswell.com> Date: Sat, 16 Jul 2022 20:24:22 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56604 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-- gnu/packages/clojure.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index d51923acdb..36bb27013c 100644 =2D-- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -274,7 +274,15 @@ (define-public clojure-algo-generic (arguments '(#:source-dirs '("src/main/clojure/") #:test-dirs '("src/test/clojure/") =2D #:doc-dirs '())) + #:doc-dirs '() + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-import + (lambda _ + (substitute* + "src/main/clojure/clojure/algo/generic/math_functions.clj" + (("clojure.algo.generic.math-functions") + "clojure.algo.generic.math-functions\n(:refer-clojure :exc= lude [abs])"))))))) (synopsis "Generic versions of common functions") (description "Generic versions of commonly used functions, implemented as multimet= hods =2D-=20 2.36.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFLBAEBCAA1FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmLTAlYXHHJvbWFuQGJ1 cm5pbmdzd2VsbC5jb20ACgkQPdpSUn0qwZnxbgf/SymNpWUNSMAj8IDi9N4/MQS8 3Nxm5wMP4HRf5ajfqRkcqzM5VgzAIt/RPtdHqpdfcaLphkftLhfUKtgKp/ihoXh5 j6lNgx533Bhy6qiszoIItZZ6ZcWz93TfQzfXeQLuEG8w0UhiHNuHiVEssWmnQzRt 9GEysUDd9SrlqPvz5L3Z+kBBM8LXMg8vmB3UPK0kf5gXrdliEBV5XbUkWL6j+jHN RqwU+DEeKJkcOVjbPA5rQcTAO0sTZKVoE64ZDYJUjbcrZd2UQQUDdeHK/1gPgGcZ nSjZmr9HUB2EGp0TW7anLWPGzA9tNPG8HMPQYF3othvO3xwi8ZiKqFqTHqiUvA== =Y8gj -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 16 14:24:36 2022 Received: (at 56604) by debbugs.gnu.org; 16 Jul 2022 18:24:36 +0000 Received: from localhost ([127.0.0.1]:46049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmSy-00035Q-3d for submit@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:36 -0400 Received: from mail-ej1-f41.google.com ([209.85.218.41]:41651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmSv-00034s-AU for 56604@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:34 -0400 Received: by mail-ej1-f41.google.com with SMTP id z23so14300139eju.8 for <56604@debbugs.gnu.org>; Sat, 16 Jul 2022 11:24:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=from:to:subject:in-reply-to:references:message-id:date:mime-version; bh=jVsb1dRaz0/QrywReiwXyvb9703iBpJBfdB67OvdLTo=; b=gZWtEZgiFUknSS6s5+M2rW8CMP/e7uT9nUxOAh/n97J7N0y4ElAZPZM1YiMzjVp899 vnx3PNgkN9yIbSuBWMIgpbVSQKNcv82oxjsv8maB+AM4eiC1SajttmsHq7A9pc/Dp9Mj HlT0220vt6lRhXuNHW4CwxBMskcf9LJR5VEJfSYG1F92GCf2Urnf7GF8XwBr23A0dViY u60LDdf9dFXzDHWBug70t2ZW2ooL6WHrR/R6e4C8WaEhGo5zGq0Yi/2TDJwlEJpecZib hYjwc+PDUsriIU9R4NtI7Ska6GYHLe3CrSEC9bmR203hMwvi1t+i7vK2X4Uii4T/cusN e0jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references :message-id:date:mime-version; bh=jVsb1dRaz0/QrywReiwXyvb9703iBpJBfdB67OvdLTo=; b=VD0DGGORzsMbN3tT9CGD1gsOwFagZDY0S4WQhRHg2syqBL4b9o4kQ8wwAol1HVSHMk Tz7+9cVqux0DJN3XAkW3C+w3XV+54fMuWvWIMQ3MgC3Lt9eszkxwOcpV/bzqZcEi/TMY Z1b0MtAtRbsN0pBDMcQNN7L1c+Uwv3cpNiAj9QOo6/pGmlpppDqN17Ami3bH59A21KqT cmxzz9KYYGhR49wJG3aYG6cY7d2n63/OPVOirvXR7cVHA1BQjfY6xIXWZ0RQgTzpkykJ z0H690wnoQUdJsV3QARQdz7dWTj8WwLqIfzv0XGvFVwSm9jEwiQ2Izb/d5otfKdlYBHy hJWg== X-Gm-Message-State: AJIora+9hPEQscMYMBKcV70IkUgn54KisWVHMutJD9XnkgHT6nQOuwaJ 3H8tue5ljIFa8PMIjmXk3j9Ohs1YPkRPYlZx X-Google-Smtp-Source: AGRyM1t/OpY+Npsx2oOYAjQCNdU7/ZSC0JvWKacnSrxUgtyVaCjQ9gr/gi4KJGqAiZ2RkqqqT8GuCg== X-Received: by 2002:a17:906:84f0:b0:72b:72b6:c7b2 with SMTP id zp16-20020a17090684f000b0072b72b6c7b2mr19108657ejb.642.1657995867507; Sat, 16 Jul 2022 11:24:27 -0700 (PDT) Received: from thinkpad (tmo-117-210.customers.d1-online.com. [80.187.117.210]) by smtp.gmail.com with ESMTPSA id i2-20020a170906850200b0072ac6d41207sm3488366ejx.5.2022.07.16.11.24.26 for <56604@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Jul 2022 11:24:27 -0700 (PDT) From: r0man To: 56604@debbugs.gnu.org Subject: [PATCH 7/8] gnu: clojure-core-match: Update to 1.0.0.--- In-Reply-To: References: Message-Id: Date: Sat, 16 Jul 2022 20:24:25 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56604 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-- gnu/packages/clojure.scm | 46 +++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 36bb27013c..0c2bc1f1be 100644 =2D-- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -319,31 +319,29 @@ (define-public clojure-algo-monads (license license:epl1.0))) =20 (define-public clojure-core-match =2D (let ((commit "1837ffbd4a150e8f3953b2d9ed5cf4a4ad3720a7") =2D (revision "1")) ; this is the 1st commit buildable with clojure = 1.9 =2D (package =2D (name "clojure-core-match") =2D (version (git-version "0.3.0-alpha5" revision commit)) =2D (source (origin =2D (method git-fetch) =2D (uri (git-reference =2D (url "https://github.com/clojure/core.match") =2D (commit commit))) =2D (file-name (git-file-name name version)) =2D (sha256 =2D (base32 =2D "04bdlp5dgkrqzrz0lw3mfwmygj2218qnm1cz3dkb9wy4m0238s4d"= )))) =2D (build-system clojure-build-system) =2D (arguments =2D '(#:source-dirs '("src/main/clojure") =2D #:test-dirs '("src/test/clojure") =2D #:doc-dirs '())) =2D (synopsis "Optimized pattern matching for Clojure") =2D (description =2D "An optimized pattern matching library for Clojure. + (package + (name "clojure-core-match") + (version "1.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/clojure/core.match") + (commit (string-append "core.match-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ajpxjv4yc282cm0jw8819fay2j6jqp9nfy69k7vll09q7vqsd22")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '())) + (synopsis "Optimized pattern matching for Clojure") + (description + "An optimized pattern matching library for Clojure. It supports Clojure 1.5.1 and later as well as ClojureScript.") =2D (home-page "https://github.com/clojure/core.match") =2D (license license:epl1.0)))) + (home-page "https://github.com/clojure/core.match") + (license license:epl1.0))) =20 (define-public clojure-data-codec (package =2D-=20 2.36.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFLBAEBCAA1FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmLTAlkXHHJvbWFuQGJ1 cm5pbmdzd2VsbC5jb20ACgkQPdpSUn0qwZlKuQgA0RAlfZo3syKysC0kE4JxnhEi x1x5wPMP6AD66S1X6xZ33dJRsF8WQ8nJSiliCqdI/m+c4vUWUbsDt5t7CakfN7xk 6zWizo/i0r4tqcQQ44vz7YoHEpSkRCNsLx/kO4sr4Rz2yXsiUXMQObpkilR8l0z5 lBOa/ecmSdJ29GiyufgCLEA+f8zu3nzTL7QkoOwtSn6AuFo6/Ax3YK9czEsTXjYk iG/Ij0frviAeK8wWjM+zkk2ESOsKywm73hVY7xGIEvf66+G03PYnRoKYY233VO7V ruGolao5548BTblgk2G2PugQ/fTIaSjJKKkXJxcGfqrFmW0rbXIdzbslRiyrWA== =C58E -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 16 14:24:38 2022 Received: (at 56604) by debbugs.gnu.org; 16 Jul 2022 18:24:38 +0000 Received: from localhost ([127.0.0.1]:46052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmT0-00035h-Di for submit@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:38 -0400 Received: from mail-ej1-f41.google.com ([209.85.218.41]:33759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCmSy-000358-En for 56604@debbugs.gnu.org; Sat, 16 Jul 2022 14:24:36 -0400 Received: by mail-ej1-f41.google.com with SMTP id va17so14387670ejb.0 for <56604@debbugs.gnu.org>; Sat, 16 Jul 2022 11:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=from:to:subject:in-reply-to:references:message-id:date:mime-version; bh=3hFnGxWYqr2RBUW7jS6AycNcYoogTfoEuwR+Kp1KQrc=; b=kW8m8UT0tos9UY0T1MRf11cZlD8MP5iiwOPnVhR/46RfK19NHtQoCY6jrTHxV14jyt DvwMuYSYtt4+hQejEHrNC7z+lSkIwaHwMwKtEYqg7FPeijUY+eTZj/9tFaHafmtNHOH7 Ew3JUAHwSGneVnewBy2e8vsDTyOwZojsBPDWK01ullcm+GdsZGY7cT93HCJfti3mzw0x hv8cDXgSXM0jzNXV6nRtGCxDg2TurYUxrGQ3a2i10QoFAsk+XYX1u6F/p1VAXC6qEnpM I6ScPB+luUuvKfmkk4nPJIMrWMSQEfZuIkdUCjeG7ctTFsHSUiLxZfkpj/IRhnEXGpUP Wkyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references :message-id:date:mime-version; bh=3hFnGxWYqr2RBUW7jS6AycNcYoogTfoEuwR+Kp1KQrc=; b=6R2kuYJbb3YKFrhpXR0jHcVS6yC+fD4H0VbZDf9zq7f9cwr16hUNq8kL3bm/puTVov ylTdNiB1v0i4eovRIgj6EecrElGm+GliowqOJp1Be7PY2ksRB1AJuihydwJhoXv9suJj I998fE/8C+dZFWVoGFcGmujt8CegLrXVkuxOv5nvW1NHkCT7RhqqotyNLxjF6WAKJ5RP saQmK4tOCWPK4Xt/rW9Nqq/6TjxTXgxd4JSFTLi3Khkl0oZTsrqOfGMQMU+d7Rud1841 dc3yojctS1lCGYQWaawxj61Pnnqux1vCmFl+7+tHleMBd//GFZ0RNvaOQ92P77HjXywc UmxA== X-Gm-Message-State: AJIora/cf5jVzmeWT4EElcW4fiUKQN6kuykE/nthxcUNc6xQcM9Eixa3 c8vkBt2o/4Z1ATIqdlHGQExEjflB0/ai3VLM X-Google-Smtp-Source: AGRyM1ucK/96VoB8Dtm4YyLJKKrkxANsWw/b3Zu4zzw5jYJ6lRay7BBKqWrkyos2u1XozphzeJY4zw== X-Received: by 2002:a17:907:2856:b0:72b:54bd:40eb with SMTP id el22-20020a170907285600b0072b54bd40ebmr18735327ejc.542.1657995870694; Sat, 16 Jul 2022 11:24:30 -0700 (PDT) Received: from thinkpad (tmo-117-210.customers.d1-online.com. [80.187.117.210]) by smtp.gmail.com with ESMTPSA id wj18-20020a170907051200b0072af92fa086sm3449634ejb.32.2022.07.16.11.24.29 for <56604@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Jul 2022 11:24:30 -0700 (PDT) From: r0man To: 56604@debbugs.gnu.org Subject: [PATCH 8/8] gnu: clojure-instaparse: Update to 1.4.12 (disabled AOT).This patch updates clojure-instaparse to 1.4.12. Due to the following AOT In-Reply-To: References: Message-Id: <887daad8a00bf32f20feaa23847ee0c081c2d679.1657994905.git.roman@burningswell.com> Date: Sat, 16 Jul 2022 20:24:29 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56604 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable This patch updates clojure-instaparse to 1.4.12. Due to the following AOT related error I disabled AOT compilation for this package. ``` starting phase `build' Execution error (IllegalArgumentException) at instaparse.auto-flatten-seq/f= n$G (auto_flatten_seq.cljc:7). No implementation of method: :conj-flat of protocol: #'instaparse.auto-flat= ten-seq/ConjFlat found for class: instaparse.auto_flatten_seq.AutoFlattenSeq ``` This seems to be a known issue with AOT compilation. The issue has been discussed [1] and seems to be still an open issue. [1] https://github.com/Engelberg/instaparse/issues/85 =2D-- gnu/packages/clojure.scm | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 0c2bc1f1be..5332dd499a 100644 =2D-- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -410,8 +410,7 @@ (define-public clojure-data-xml (license license:epl1.0))) =20 (define-public clojure-instaparse =2D (let ((commit "dcfffad5b065e750f0f5835f017cdd8188b8ca2e") =2D (version "1.4.9")) ; upstream forget to tag this release + (let ((version "1.4.12")) (package (name "clojure-instaparse") (version version) @@ -419,14 +418,27 @@ (define-public clojure-instaparse (method git-fetch) (uri (git-reference (url "https://github.com/Engelberg/instaparse") =2D (commit commit))) + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "002mrgin4z3dqy88r1lak7smd0m7x8d22vmliw0m6w6mh5pa17lk"))= )) (build-system clojure-build-system) (arguments =2D '(#:doc-dirs '("docs/"))) + '(;; Disabled AOT, because of failing test: No implementation of + ;; method: :conj-flat of protocol: + ;; #'instaparse.auto-flatten-seq/ConjFlat found for class: + ;; instaparse.auto_flatten_seq.AutoFlattenSeq + #:aot-exclude '(#:all) + #:doc-dirs '("docs/") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-import + (lambda _ + (substitute* + "test/instaparse/defparser_test.cljc" + (("AssertionError") + "Exception"))))))) (synopsis "No grammar left behind") (description "Instaparse aims to be the simplest way to build parsers in Clojure. =2D-=20 2.36.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFLBAEBCAA1FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmLTAl0XHHJvbWFuQGJ1 cm5pbmdzd2VsbC5jb20ACgkQPdpSUn0qwZkpsAgAy5DV+Y+AlmFj3F9bpVRosVdl zZX/dp5UwnHKODJyM3DHZ8ihrBAc4sC2ZKvK44PV0tlfxkGyypxzlxwJz0cD7tol eU6i/W4kKPQ7yYAhvxl1Ct5IviKckLyxRa6sYKQ75f1V2Hekobhp/9O8VhKGBDZb jY/v1EZyEonbOnfCRbtQZYm0YOe2bLQZW3rC+4S9wqmfovnQan9nXr/lASAl1Tya oOsn+xOcpYQIl+ZnneOl0tvhq73U5M+VRu6f0GeWUVI0TmQE2xc43T7Xz6XJqKwT DJOdHo+4Nkyq0C0GrjjmvsxWuPEGEBDv+fouvrc2TDHVbi8FF4RUXiz0jSPSIQ== =w1ao -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 17 14:16:09 2022 Received: (at 56604) by debbugs.gnu.org; 17 Jul 2022 18:16:10 +0000 Received: from localhost ([127.0.0.1]:48527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oD8oL-0004nm-O2 for submit@debbugs.gnu.org; Sun, 17 Jul 2022 14:16:09 -0400 Received: from mail-ej1-f45.google.com ([209.85.218.45]:33560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oD8oG-0004n6-9Y for 56604@debbugs.gnu.org; Sun, 17 Jul 2022 14:16:07 -0400 Received: by mail-ej1-f45.google.com with SMTP id va17so17772786ejb.0 for <56604@debbugs.gnu.org>; Sun, 17 Jul 2022 11:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=aOMI9p9hGh9uhjXJ1fAYPOrgDgG9/oUhT52cYcP0ZtU=; b=mtIu6ou8QZXNboDmZeFuE0+znWsu4fKTSHlQJu4SptEpfU749NCBCpn24kAr26f4jB z0k71Tj5mhqxefohf1KzqzlUrIckusAYJdOyXZJOr1ktL+B2ow2DwqNq/vu117BCXnNr KN0DQG1CkjaKmX59c1lNG0aMtLZXiu6IAHs6oW8SudX7wx08u/CPMd3w6O2dMER+RLNb 1Upe6a4VKU3ZQvENirf8RTmPv7EslzpiDR10LVTHG1jCUh8e0/fMWC70gF39GsECfs8S 6lA2dhf2EFFAX1YdoTodjKsnCu6upjWvAoYB3pQYGuebVIfPPQPq6hBvuFYTXfMdk/o2 g0Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=aOMI9p9hGh9uhjXJ1fAYPOrgDgG9/oUhT52cYcP0ZtU=; b=ku4Mir6uQtZUkB268bJ4AIRlirgKr07OaKwWR2aDdNYH+7rM/zm+MqK++Qo5XkxH9Y nzNuSkULJlU4ev8P8Mnv3aGej7jFJr+6JldYEGsoyJSuCz343fY2NMXiBENHr0RoVNPg y4axaTAZm0dWoF44o31EsCmYrpctC3LL3rfvvWLvYj6t9MlFvQtBMy5kZJg/jBVk02z/ YXfZTqcOLPwD5hhUImKLGEQxIDoOSe79a2Y6hgg5T+FTE9P6vCDRu+Mz4oXqd3fNM194 bAe5RRVIS54Ht00+mXqBkkNv++C3QImKbjDoc9Yx2hO+z4SFkcV/TjwxajesUD6ZIqUN fjMg== X-Gm-Message-State: AJIora8GIonYzdEHboLmr2aPWPjMXA/Zze9IMisfa/Pfibdu1Idx6Zko Qwaj3+SFU/CXoltFOxxpUvpey8IMa7cTjhK+ X-Google-Smtp-Source: AGRyM1stMDDmdXlavXWeMzM9yiKHQxrocManSiwSuCvyZ9WDflrgcqY9KdV+p/U+aaXhzxNXJRBxcA== X-Received: by 2002:a17:907:75f5:b0:72b:40da:a7cd with SMTP id jz21-20020a17090775f500b0072b40daa7cdmr22764153ejc.662.1658081757877; Sun, 17 Jul 2022 11:15:57 -0700 (PDT) Received: from thinkpad (tmo-118-190.customers.d1-online.com. [80.187.118.190]) by smtp.gmail.com with ESMTPSA id fq37-20020a1709069da500b0072b55713daesm4554618ejc.56.2022.07.17.11.15.57 for <56604@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jul 2022 11:15:57 -0700 (PDT) References: User-agent: mu4e 1.6.11; emacs 28.1.50 From: Roman Scherer To: 56604@debbugs.gnu.org Subject: Re: bug#56604: Acknowledgement ([PATCH 0/8] Update Clojure to 1.11.1.) Date: Sun, 17 Jul 2022 20:14:43 +0200 In-reply-to: Message-ID: <87r12jmwpw.fsf@burningswell.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56604 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Sorry, somehow I messed up the the subject lines a bit :/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmLUUdsfHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmSwiCACp9ycedzhkrIhM Hhu2v77w8ADQm7T3wQt4yM0IIjDXTYcUDJ3oIyRCnDdfKgAiTGHN5NvXeBvTfjN2 dt5eZvIk492CTqsOV9vqXP4EgCaM1kCIhHlM75XBqAL+dRZGkGXvMMF/VXcX7XsS BIiPzyW1PdQi4EUJSvT3Jc+C346Npksc+opWmSTsCpIwXJCAPczik+8FHWItFFLH fjDNo2y9YHe5H9aQgoLUR0eWeeZw52qT0A1vMbQSW6Aksluo/EfcFZMGLTnf//av 1dGmsjthcSg4rx5cx75TisyfR6mnc5juWX/T3ln0bkMf3UnNSdsQoaGhvK/43eYY M9Joi2zP =gy5z -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 19 11:11:37 2022 Received: (at 56604) by debbugs.gnu.org; 19 Jul 2022 15:11:37 +0000 Received: from localhost ([127.0.0.1]:54919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDosq-0001TV-L7 for submit@debbugs.gnu.org; Tue, 19 Jul 2022 11:11:36 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:49262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDosn-0001TK-W7 for 56604@debbugs.gnu.org; Tue, 19 Jul 2022 11:11:35 -0400 Received: from ptr-bvsjgyig5nh0salm0pi.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by albert.telenet-ops.be with bizsmtp id x3BX2700C20ykKC063BYKx; Tue, 19 Jul 2022 17:11:32 +0200 Message-ID: <764a789f9e7ecc105720b2ba35705fa3cba34ec1.camel@telenet.be> Subject: Re: [bug#56604] [PATCH 0/8] Update Clojure to 1.11.1. From: Maxime Devos To: r0man , 56604@debbugs.gnu.org Date: Tue, 19 Jul 2022 17:11:31 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1658243492; bh=LfbLOUt5pZA4hJ4dt9b1uv5oi6SG08VCumXPRWwZ7P4=; h=Subject:From:To:Date:In-Reply-To:References; b=Q2r6SX/a48/vUBH35zCTXzaW83r64xDNzwv6huohYYu0XPRJt7k6Zx7Olo4yT6ofz GG8eUtImdiSFscoEuc/F/90+V9Ux2NMJVFllbsGB8dS9ivRHWbHnLA4wCPyJbtgzsw +wQM/XFsEAiZBsr62FlxaoygB5F/SAEtyNctCJSVYuE/fdVM2kudXr5tLNwc+75bKJ zF0gPhamlCHKNbXTCoHh6XBBjDP7tl/y6NpE0s4NnzGhZHz/ciZyZBGJfwks/Jbys8 jiTkhGvdE535pjf/mnu2opGlYX99iqXFDbSAwCCP90nhVX1b13euP+UCX41o5GZFLc E7UkBeipWIq1A== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56604 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > This phase makes sure the timestamp of compiled class files is set to a later > point in time than the timestamp of the corresponding Clojure source files. If Please check that this doesn't create reproducibility issues if you haven't already (I haven't looked at the related patches.) r0man schreef op za 16-07-2022 om 20:17 [+0200]: > Are we sure that AOT compiling all Clojure source files by default is > a good > idea, instead of just compiling user declared namespaces which > Leiningen and > friends are doing? WDYT? I think it's a good idea for the same reason that incremental compilation is good and the current Rust packaging is bad,  but I realise this is not supported in general for Clojure so we might often need to disable it. Anyway, possibly related previous e-mails: https://issues.guix.gnu.org/53765#47 and other AOT mails > +       '(;; Disabled AOT, because of failing test: No implementation > of > +         ;; method: :conj-flat of protocol: > +         ;; #'instaparse.auto-flatten-seq/ConjFlat found for class: > +         ;; instaparse.auto_flatten_seq.AutoFlattenSeq It had been suggested that disabling AOT for test files sometimes is sufficient, is this the case here? Greetongs, Maxime. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 22 18:11:15 2022 Received: (at 56604-done) by debbugs.gnu.org; 22 Jul 2022 22:11:15 +0000 Received: from localhost ([127.0.0.1]:42658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oF0rb-0001ev-0F for submit@debbugs.gnu.org; Fri, 22 Jul 2022 18:11:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oF0rZ-0001eg-TD for 56604-done@debbugs.gnu.org; Fri, 22 Jul 2022 18:11:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54424) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oF0rU-0003sL-FD; Fri, 22 Jul 2022 18:11:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=tNWs8Zn31rSGVwhABg88iEJrF3DcKnj/MvWFffGSUSo=; b=nY4aKZeKUvIu7eM1sFEQ OfZjFur5Da0CHSatkQyCd2jttMM6sYS8/5YC/abY0Xs6/MKGORso3/hV2/wfwt1msbg5g5mMseWex doidElPyxMwv5R4qWaKEEOa0kClvpnQWfDiAjkgHSFZeo1F2Upr/PL26/C5kKxAT5WbAimvxSKhGu qXQhB2UiTuUMOUSforwAUxO4JGJhgEloThfDr7vra/WCU8Fu/5Is0vmSTCEFWAskVf/xXLmof0sIJ q4m36VPr1Izp3VPuXCDkEEN6qGuRXDI+63GOR0hp5/q3xzScemGPwOGnzElMHHAeFJxukxOiiL39N dYdJ+05r64qceQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:59843 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oF0rU-000165-2Y; Fri, 22 Jul 2022 18:11:08 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: r0man Subject: Re: bug#56604: [PATCH 0/8] Update Clojure to 1.11.1. References: Date: Sat, 23 Jul 2022 00:11:05 +0200 In-Reply-To: (r0man's message of "Sat, 16 Jul 2022 20:17:34 +0200") Message-ID: <87fsisg5mu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56604-done Cc: 56604-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, r0man skribis: > This phase makes sure the timestamp of compiled class files is set to a l= ater > point in time than the timestamp of the corresponding Clojure source file= s. If > the timestamps of the class and source files are the same, the Clojure > compiler will compile the sources again which can lead to issues. This pr= oblem > has been discussed here [1]. The suggested solution was to keep/adjust the > timestamps of the class files. Sounds reasonable. It=E2=80=99s a bummer though that the whole phase is pa= sted from ant-build-system.scm, the only difference being the timestamps (1980 instead of 1970). I added a TODO comment in clojure-build-system.scm when applying the patch. Could you follow up with a patch to factorize that? > Btw, I was a bit surprised that in Guix Clojure packages are AOT compiled= . The > general wisdom in the Clojure community seems to be to avoid AOT compilat= ion > when distributing libraries, and only AOT compiling Uberjars for final > deployment. Due to issues like I mentioned in clojure-instaparse. > > Are we sure that AOT compiling all Clojure source files by default is a g= ood > idea, instead of just compiling user declared namespaces which Leiningen = and > friends are doing? WDYT? Not much, but as you might have seen in ./etc/teams.scm, the project is finally being structured as teams. There=E2=80=99s an opportunity for you = to start a Clojure team and to take the lead! :-) As a first step, I=E2=80=99d recommend getting in touch with people who have worked on =E2=80=98clojure-build-system=E2=80=99 and packaged things in the= past. > gnu: clojure-tools-cli: Update to 1.0.206. > gnu: clojure-tools-gitlibs: Update to 2.4.181. > gnu: clojure-tools-deps-alpha: Update to 0.14.1212. > gnu: clojure-tools: Update to 1.11.1.1149. > gnu: clojure: Update to 1.11.1. > gnu: clojure-algo-generic: Fix test failing under AOT in Clojure 1.11.1. > gnu: clojure-core-match: Update to 1.0.0. > gnu: clojure-instaparse: Update to 1.4.12 (disabled AOT). I adjusted all the commit logs to follow our conventions; please consider doing this next time: https://guix.gnu.org/manual/devel/en/html_node/Submitting-Patches.html The instaparse patch missed the hash update so I did that too. Thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 25 14:06:34 2022 Received: (at 56604) by debbugs.gnu.org; 25 Jul 2022 18:06:34 +0000 Received: from localhost ([127.0.0.1]:51464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oG2TR-00075f-Uy for submit@debbugs.gnu.org; Mon, 25 Jul 2022 14:06:34 -0400 Received: from mail-oa1-f48.google.com ([209.85.160.48]:35415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oG2TP-00075K-91 for 56604@debbugs.gnu.org; Mon, 25 Jul 2022 14:06:32 -0400 Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-10cf9f5b500so15767628fac.2 for <56604@debbugs.gnu.org>; Mon, 25 Jul 2022 11:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Db1hR3KQDaUknuyNTS2cFPmwDbV5xRX9ooTcXAduzG4=; b=vch1qSeuWUMENZsTbfqLn1hGQ7SQggyavFSZTuo8DbdFx2R/Zimh8zsiERE6xoIfvB PsaLxyMiXrx91SlBBbvWVvDXvkAM68l1QZiPoGYEVVOZZgLb4Qeoi5oZZgcUZJrCrC4s CI6POGh9N0uFJbZQu+oueYbeiGMZy6DUlV3M6zbiDIjNpn9NoO6Oq7oH7SS4CloyjFjn GfJmYJC2/oK1AgO0/yYzkznAiPakyVI3LOZHqVZzEDnX24EOyPHyUX1YtgvRT+NJoAS4 mSf+Fc+ElOy51Ty7GPYSma69ALqtdIdAaKgAAO82OR1SBW3MdCPZdC8RMOxPMDY1u+/y k9cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Db1hR3KQDaUknuyNTS2cFPmwDbV5xRX9ooTcXAduzG4=; b=kMIKCeYUxpE3+AXKPOElhxTEjRL/FWAZ90+yOkUzzOoTgErqHYqI2XQD2+i7prMfp4 sFYFM63o9F7+qYCCV7KMYuT//nM48M+3TIaKuebB6GPrNtTpP6FH0VUyLTduXn6jR0KR aa6CshZ2xsyeEh/NnFVYOHNcO0BT9G0ZnrZUkgX7ryRFyM/V72+nSNr1mBPy7JFIV2ec rIQjNROTpSmQyHQCnqP4fthu+yO7wtCfQYHkllHhSiIp+OuQv3/hlpko67SMkL2bokIY ffFqkyvERiEcz9nBVW0CpVBNKpa9XxKrN3nDdWmGO/JcZ4gDfnCmMfTU7NhMnwGgXoZa 9qNA== X-Gm-Message-State: AJIora8Zp+zRUzTsCMH+RAnA8mqpTW9fqcNUzvUltjBCTM6C7153HMaP IaSDCBcCE0cVonck9g26JDT17HhXRcaVuEg9zAZG2t+h5zu8Vw== X-Google-Smtp-Source: AGRyM1vgYIXRpU6V8qjNeTE07mrMgqnrbB5Sxl4T9iIG3f6cO5jhfNf3QtwFevYsFUnthik1VdQCI1/k5sydjK+LSY8= X-Received: by 2002:a05:6870:5aa:b0:10d:7d87:25b5 with SMTP id m42-20020a05687005aa00b0010d7d8725b5mr6912652oap.268.1658772385381; Mon, 25 Jul 2022 11:06:25 -0700 (PDT) MIME-Version: 1.0 References: <87fsisg5mu.fsf@gnu.org> In-Reply-To: From: Roman Scherer Date: Mon, 25 Jul 2022 20:06:15 +0200 Message-ID: Subject: Re: bug#56604: closed (Re: bug#56604: [PATCH 0/8] Update Clojure to 1.11.1.) To: 56604@debbugs.gnu.org Content-Type: multipart/alternative; boundary="000000000000cb51f805e4a50a5a" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56604 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000cb51f805e4a50a5a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Maxim and Ludo, thanks for your replies. Sorry that I was not answering earlier. The heat killed my laptop and I am having trouble to get set up again. I follow up when I have my new laptop. Thanks On Sat, Jul 23, 2022, 00:12 GNU bug Tracking System wrote: > Your bug report > > #56604: [PATCH 0/8] Update Clojure to 1.11.1. > > which was filed against the guix-patches package, has been closed. > > The explanation is attached below, along with your original report. > If you require more details, please reply to 56604@debbugs.gnu.org. > > -- > 56604: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D56604 > GNU Bug Tracking System > Contact help-debbugs@gnu.org with problems > > > > ---------- Forwarded message ---------- > From: "Ludovic Court=C3=A8s" > To: r0man > Cc: 56604-done@debbugs.gnu.org > Bcc: > Date: Sat, 23 Jul 2022 00:11:05 +0200 > Subject: Re: bug#56604: [PATCH 0/8] Update Clojure to 1.11.1. > Hi, > > r0man skribis: > > > This phase makes sure the timestamp of compiled class files is set to a > later > > point in time than the timestamp of the corresponding Clojure source > files. If > > the timestamps of the class and source files are the same, the Clojure > > compiler will compile the sources again which can lead to issues. This > problem > > has been discussed here [1]. The suggested solution was to keep/adjust > the > > timestamps of the class files. > > Sounds reasonable. It=E2=80=99s a bummer though that the whole phase is = pasted > from ant-build-system.scm, the only difference being the timestamps > (1980 instead of 1970). > > I added a TODO comment in clojure-build-system.scm when applying the > patch. Could you follow up with a patch to factorize that? > > > Btw, I was a bit surprised that in Guix Clojure packages are AOT > compiled. The > > general wisdom in the Clojure community seems to be to avoid AOT > compilation > > when distributing libraries, and only AOT compiling Uberjars for final > > deployment. Due to issues like I mentioned in clojure-instaparse. > > > > Are we sure that AOT compiling all Clojure source files by default is a > good > > idea, instead of just compiling user declared namespaces which Leininge= n > and > > friends are doing? WDYT? > > Not much, but as you might have seen in ./etc/teams.scm, the project is > finally being structured as teams. There=E2=80=99s an opportunity for yo= u to > start a Clojure team and to take the lead! :-) > > As a first step, I=E2=80=99d recommend getting in touch with people who h= ave > worked on =E2=80=98clojure-build-system=E2=80=99 and packaged things in t= he past. > > > gnu: clojure-tools-cli: Update to 1.0.206. > > gnu: clojure-tools-gitlibs: Update to 2.4.181. > > gnu: clojure-tools-deps-alpha: Update to 0.14.1212. > > gnu: clojure-tools: Update to 1.11.1.1149. > > gnu: clojure: Update to 1.11.1. > > gnu: clojure-algo-generic: Fix test failing under AOT in Clojure > 1.11.1. > > gnu: clojure-core-match: Update to 1.0.0. > > gnu: clojure-instaparse: Update to 1.4.12 (disabled AOT). > > I adjusted all the commit logs to follow our conventions; please > consider doing this next time: > > https://guix.gnu.org/manual/devel/en/html_node/Submitting-Patches.html > > The instaparse patch missed the hash update so I did that too. > > Thanks! > > Ludo=E2=80=99. > > > > > ---------- Forwarded message ---------- > From: r0man > To: guix-patches@gnu.org > Cc: > Bcc: > Date: Sat, 16 Jul 2022 20:17:34 +0200 > Subject: [PATCH 0/8] Update Clojure to 1.11.1. > Hello Guix, > > This patch series updates Clojure and it's packages to 1.11.1. > > It also adds the 'reset-class-timestamps phase to the Clojure build syste= m. > > This phase makes sure the timestamp of compiled class files is set to a > later > point in time than the timestamp of the corresponding Clojure source > files. If > the timestamps of the class and source files are the same, the Clojure > compiler will compile the sources again which can lead to issues. This > problem > has been discussed here [1]. The suggested solution was to keep/adjust th= e > timestamps of the class files. > > [1] https://www.mail-archive.com/clojure@googlegroups.com/msg99928.html > > Could you please review this? > > In the patch for clojure-instaparse, I disabled the AOT compilation > because of > a known issue. Is that ok? > > Btw, I was a bit surprised that in Guix Clojure packages are AOT compiled= . > The > general wisdom in the Clojure community seems to be to avoid AOT > compilation > when distributing libraries, and only AOT compiling Uberjars for final > deployment. Due to issues like I mentioned in clojure-instaparse. > > Are we sure that AOT compiling all Clojure source files by default is a > good > idea, instead of just compiling user declared namespaces which Leiningen > and > friends are doing? WDYT? > > Thanks Roman. > > r0man (8): > gnu: clojure-tools-cli: Update to 1.0.206. > gnu: clojure-tools-gitlibs: Update to 2.4.181. > gnu: clojure-tools-deps-alpha: Update to 0.14.1212. > gnu: clojure-tools: Update to 1.11.1.1149. > gnu: clojure: Update to 1.11.1. > gnu: clojure-algo-generic: Fix test failing under AOT in Clojure 1.11.1= . > gnu: clojure-core-match: Update to 1.0.0. > gnu: clojure-instaparse: Update to 1.4.12 (disabled AOT). > > gnu/packages/clojure.scm | 185 +++++++++++++++++++--------- > guix/build/clojure-build-system.scm | 53 +++++++- > 2 files changed, 178 insertions(+), 60 deletions(-) > > -- > 2.36.1 > > --000000000000cb51f805e4a50a5a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Maxim and Ludo,

thanks for your replies. Sorry that I was not answering earlier. The heat = killed my laptop and I am having trouble to get set up again.

I follow up when I have my new laptop= .

Thanks

On S= at, Jul 23, 2022, 00:12 GNU bug Tracking System <help-debbugs@gnu.org> wrote:
Your bug report

#56604: [PATCH 0/8] Update Clojure to 1.11.1.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 56604@debbugs.gnu.org.<= br>
--
56604: https://debbugs.gnu.org/cgi/b= ugreport.cgi?bug=3D56604
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems



---------- Forwarded message ----------
From:=C2=A0"Lud= ovic Court=C3=A8s" <ludo@gnu.org>
To:=C2=A0r0man <roman@= burningswell.com>
Cc:=C2=A056604-done@debbugs.gnu.org=
Bcc:=C2=A0
Date:=C2=A0Sat, 23 Jul 2022 00:11:05 +0200
Subject:=C2= =A0Re: bug#56604: [PATCH 0/8] Update Clojure to 1.11.1.
Hi,

r0man <roman@burningswell.com> skribis:

> This phase makes sure the timestamp of compiled class files is set to = a later
> point in time than the timestamp of the corresponding Clojure source f= iles. If
> the timestamps of the class and source files are the same, the Clojure=
> compiler will compile the sources again which can lead to issues. This= problem
> has been discussed here [1]. The suggested solution was to keep/adjust= the
> timestamps of the class files.

Sounds reasonable.=C2=A0 It=E2=80=99s a bummer though that the whole phase = is pasted
from ant-build-system.scm, the only difference being the timestamps
(1980 instead of 1970).

I added a TODO comment in clojure-build-system.scm when applying the
patch.=C2=A0 Could you follow up with a patch to factorize that?

> Btw, I was a bit surprised that in Guix Clojure packages are AOT compi= led. The
> general wisdom in the Clojure community seems to be to avoid AOT compi= lation
> when distributing libraries, and only AOT compiling Uberjars for final=
> deployment. Due to issues like I mentioned in clojure-instaparse.
>
> Are we sure that AOT compiling all Clojure source files by default is = a good
> idea, instead of just compiling user declared namespaces which Leining= en and
> friends are doing? WDYT?

Not much, but as you might have seen in ./etc/teams.scm, the project is
finally being structured as teams.=C2=A0 There=E2=80=99s an opportunity for= you to
start a Clojure team and to take the lead!=C2=A0 :-)

As a first step, I=E2=80=99d recommend getting in touch with people who hav= e
worked on =E2=80=98clojure-build-system=E2=80=99 and packaged things in the= past.

>=C2=A0 =C2=A0gnu: clojure-tools-cli: Update to 1.0.206.
>=C2=A0 =C2=A0gnu: clojure-tools-gitlibs: Update to 2.4.181.
>=C2=A0 =C2=A0gnu: clojure-tools-deps-alpha: Update to 0.14.1212.
>=C2=A0 =C2=A0gnu: clojure-tools: Update to 1.11.1.1149.
>=C2=A0 =C2=A0gnu: clojure: Update to 1.11.1.
>=C2=A0 =C2=A0gnu: clojure-algo-generic: Fix test failing under AOT in C= lojure 1.11.1.
>=C2=A0 =C2=A0gnu: clojure-core-match: Update to 1.0.0.
>=C2=A0 =C2=A0gnu: clojure-instaparse: Update to 1.4.12 (disabled AOT).<= br>
I adjusted all the commit logs to follow our conventions; please
consider doing this next time:

=C2=A0 https://guix= .gnu.org/manual/devel/en/html_node/Submitting-Patches.html

The instaparse patch missed the hash update so I did that too.

Thanks!

Ludo=E2=80=99.




---------- Forwarded message ----------
From:=C2=A0r0man <= ;roman@burningswell.com>
To:=C2=A0guix-patches@gnu.org<= br>Cc:=C2=A0
Bcc:=C2=A0
Date:=C2=A0Sat, 16 Jul 2022 20:17:34 +0200Subject:=C2=A0[PATCH 0/8] Update Clojure to 1.11.1.
Hello Guix,

This patch series updates Clojure and it's packages to 1.11.1.

It also adds the 'reset-class-timestamps phase to the Clojure build sys= tem.

This phase makes sure the timestamp of compiled class files is set to a lat= er
point in time than the timestamp of the corresponding Clojure source files.= If
the timestamps of the class and source files are the same, the Clojure
compiler will compile the sources again which can lead to issues. This prob= lem
has been discussed here [1]. The suggested solution was to keep/adjust the<= br> timestamps of the class files.

[1] https://www.mail-a= rchive.com/clojure@googlegroups.com/msg99928.html

Could you please review this?

In the patch for clojure-instaparse, I disabled the AOT compilation because= of
a known issue. Is that ok?

Btw, I was a bit surprised that in Guix Clojure packages are AOT compiled. = The
general wisdom in the Clojure community seems to be to avoid AOT compilatio= n
when distributing libraries, and only AOT compiling Uberjars for final
deployment. Due to issues like I mentioned in clojure-instaparse.

Are we sure that AOT compiling all Clojure source files by default is a goo= d
idea, instead of just compiling user declared namespaces which Leiningen an= d
friends are doing? WDYT?

Thanks Roman.

r0man (8):
=C2=A0 gnu: clojure-tools-cli: Update to 1.0.206.
=C2=A0 gnu: clojure-tools-gitlibs: Update to 2.4.181.
=C2=A0 gnu: clojure-tools-deps-alpha: Update to 0.14.1212.
=C2=A0 gnu: clojure-tools: Update to 1.11.1.1149.
=C2=A0 gnu: clojure: Update to 1.11.1.
=C2=A0 gnu: clojure-algo-generic: Fix test failing under AOT in Clojure 1.1= 1.1.
=C2=A0 gnu: clojure-core-match: Update to 1.0.0.
=C2=A0 gnu: clojure-instaparse: Update to 1.4.12 (disabled AOT).

=C2=A0gnu/packages/clojure.scm=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 1= 85 +++++++++++++++++++---------
=C2=A0guix/build/clojure-build-system.scm |=C2=A0 53 +++++++-
=C2=A02 files changed, 178 insertions(+), 60 deletions(-)

--
2.36.1

--000000000000cb51f805e4a50a5a-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 15 11:48:56 2022 Received: (at 56604-done) by debbugs.gnu.org; 15 Aug 2022 15:48:56 +0000 Received: from localhost ([127.0.0.1]:43902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNcKm-0007ZZ-3E for submit@debbugs.gnu.org; Mon, 15 Aug 2022 11:48:56 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:43677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNcKk-0007ZL-3B for 56604-done@debbugs.gnu.org; Mon, 15 Aug 2022 11:48:54 -0400 Received: by mail-wr1-f44.google.com with SMTP id n4so9492622wrp.10 for <56604-done@debbugs.gnu.org>; Mon, 15 Aug 2022 08:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc; bh=h74UlrG8AkaArG59KK2tF2L3UmfXS9gip0vpFTWMv9M=; b=bc+PumEiYr21O8rVaC0cqxLZLqEUKBfLw59nb70YncCgqmBnkx+tod0IKD55dhk5m3 5dzmx6O0QUShwjNzZCf8YoPp4LxQHovVzFjXDWxph39Enay3sr16WT+Mu+BXL/aAgN1V baoFPGb4MnLVrZvXSG9iaTpO+U3rsAJtAQknuMJH7PMqcTRYUy8QMjsqPvDPOEPOdiq+ 4MC4a20q9pkdzBOWIJUPG86h6vLqDh1gURUYXJViMYNEuiBm6EinZBPlvgb62gTqEuDz ziZwbVrJqlqUsmYyDMMsy/lMMuHZ8PW/QlPm4bDMVf9lGIrkwb3tDgOOTy5LtEa4YM2c oEww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc; bh=h74UlrG8AkaArG59KK2tF2L3UmfXS9gip0vpFTWMv9M=; b=2fuErp9wYmhUu7kl38RopRjHUmnATalt8oXJoLxzTzIEElELAViaVdqXGzmO4LVazU 99B7almINzTf2XHKq31ED46tUJturMtLLTcnuyaNAk8EyZN2rxh+FVax/QwnIrLLowZH AnqmqqjELjGIiEFPEGZ9f9as5WQdABSVrGDmRRaD3DJgwml/DE86S/J9YtAfpr2vmuPE 73+PG9TirOadcLAo9lfnGXufJpJjdJAQ7Nz+fuNYOEmc0XfswgjtFR60eOBJbUSGFDpN +HIQ84w/ZCf2ZC1ufNV5+6pl0L3RN4p0RQH2/ugDPg/7awYkRyh0kXAoPiI5/G6/vFJs 6ung== X-Gm-Message-State: ACgBeo3hTv3xrdixGuIh1GLQ/U1V3CdZeD9YYx3a51hGhksXDK227mXZ 9K2dB5jsVf3pgKlPngDrJeX1EcJysXp4hNfI X-Google-Smtp-Source: AA6agR6v0Isbc0TtIhesvCDrSXdfqhJIneDBlj92OQeqwLDrPDvIFHwVnW+Wfldlum7CnXxqx9A4bQ== X-Received: by 2002:a05:6000:18af:b0:222:c48d:9064 with SMTP id b15-20020a05600018af00b00222c48d9064mr9433891wri.18.1660578527780; Mon, 15 Aug 2022 08:48:47 -0700 (PDT) Received: from precision (tmo-119-192.customers.d1-online.com. [80.187.119.192]) by smtp.gmail.com with ESMTPSA id j3-20020a5d6043000000b0021d6dad334bsm7745313wrt.4.2022.08.15.08.48.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Aug 2022 08:48:47 -0700 (PDT) References: <87fsisg5mu.fsf@gnu.org> User-agent: mu4e 1.8.7; emacs 28.1 From: Roman Scherer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#56604: [PATCH 0/8] Update Clojure to 1.11.1. Date: Mon, 15 Aug 2022 15:36:32 +0000 In-reply-to: <87fsisg5mu.fsf@gnu.org> Message-ID: <87zgg55wyq.fsf@burningswell.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56604-done Cc: 56604-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hi Ludo, here's the promised patch to follow up with the code duplication I introduced in my previous patch. I tested this by compiling Clojure which uses the Ant build system, and by compiling clojure-tools-deps-alpha which uses the Clojure build system. Both of the build systems now call the repack-jar function. Could you have a look at it please? A related question: When I run the following commands after modifying the build systems they run for quite some time, because they were compiling a ton (the jdk, jetty) of things. ./pre-inst-env guix build clojure ./pre-inst-env guix build clojure-tools I guess this is expected, since a change in a build system might affect all packages being built with it. But I was wondering if there is a way to force only building the packages specified on the command line. Does such a thing exists? I was wondering what is the most efficient way to quickly iterate on changes to a build system, without recompiling the whole world for that build system. How would you do that? Thanks, Roman. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-build-system-Add-repack-jar-and-use-it-in-Ant-Clojur.patch Content-Transfer-Encoding: quoted-printable Content-Description: Add repack-jar and use it in Ant & Clojure build systems From=20756bfd3458ded38e1041ebb255c6b6ffe737732d Mon Sep 17 00:00:00 2001 From: Roman Scherer Date: Mon, 15 Aug 2022 15:29:25 +0000 Subject: [PATCH] build-system: Add repack-jar and use it in Ant & Clojure build systems * guix/build/ant-build-system.scm: Add repack-jar and use it in strip-jar-t= imestamps * guix/build/clojure-build-system.scm: Use repack-jar in reset-class-timest= amps =2D-- guix/build/ant-build-system.scm | 26 ++++++++------ guix/build/clojure-build-system.scm | 55 +++++------------------------ 2 files changed, 24 insertions(+), 57 deletions(-) diff --git a/guix/build/ant-build-system.scm b/guix/build/ant-build-system.= scm index fae1b47ec5..63bdee4651 100644 =2D-- a/guix/build/ant-build-system.scm +++ b/guix/build/ant-build-system.scm @@ -195,10 +195,9 @@ (define (generate-index jar) outputs) #t) =20 =2D(define* (strip-jar-timestamps #:key outputs =2D #:allow-other-keys) =2D "Unpack all jar archives, reset the timestamp of all contained files, = and =2Drepack them. This is necessary to ensure that archives are reproducible= ." +(define-public (repack-jar outputs repack-fn) + "Unpack all jar archives, invoke repack-fn for each JAR with the directo= ry +it has been unpacked to, and pack them again." (define (repack-archive jar) (format #t "repacking ~a\n" jar) (let* ((dir (mkdtemp! "jar-contents.XXXXXX")) @@ -206,13 +205,7 @@ (define (repack-archive jar) (with-directory-excursion dir (invoke "jar" "xf" jar)) (delete-file jar) =2D ;; XXX: copied from (gnu build install) =2D (for-each (lambda (file) =2D (let ((s (lstat file))) =2D (unless (eq? (stat:type s) 'symlink) =2D (utime file 0 0 0 0)))) =2D (find-files dir #:directories? #t)) =2D + (repack-fn dir) ;; The jar tool will always set the timestamp on the manifest file ;; and the containing directory to the current time, even when we ;; reuse an existing manifest file. To avoid this we use "zip" @@ -237,6 +230,17 @@ (define (repack-archive jar) outputs) #t) =20 +(define* (strip-jar-timestamps #:key outputs + #:allow-other-keys) + "Unpack all jar archives, reset the timestamp of all contained files, and +repack them. This is necessary to ensure that archives are reproducible." + (repack-jar outputs (lambda (dir) + (for-each (lambda (file) + (let ((s (lstat file))) + (unless (eq? (stat:type s) 'symlink) + (utime file 0 0 0 0)))) + (find-files dir #:directories? #t))))) + (define* (check #:key target (make-flags '()) (tests? (not target)) (test-target "check") #:allow-other-keys) diff --git a/guix/build/clojure-build-system.scm b/guix/build/clojure-build= -system.scm index cacbefb386..b82ebc30fe 100644 =2D-- a/guix/build/clojure-build-system.scm +++ b/guix/build/clojure-build-system.scm @@ -19,7 +19,7 @@ (define-module (guix build clojure-build-system) #:use-module ((guix build ant-build-system) #:select ((%standard-phases . %standard-phases@ant) =2D ant-build)) + ant-build repack-jar)) #:use-module (guix build clojure-utils) #:use-module (guix build java-utils) #:use-module (guix build syscalls) @@ -112,54 +112,17 @@ (define* (check #:key jar-names))) #t) =20 =2D(define (regular-jar-file? file stat) =2D "Predicate returning true if FILE is ending on '.jar' =2Dand STAT indicates it is a regular file." =2D (and (string-suffix? ".jar" file) =2D (eq? 'regular (stat:type stat)))) =2D =2D;; XXX: The only difference compared to 'strip-jar-timestamps' in =2D;; ant-build-system.scm is the date. TODO: Adjust and factorize. (define* (reset-class-timestamps #:key outputs #:allow-other-keys) "Unpack all jar archives, reset the timestamp of all contained class fil= es, and repack them. This is necessary to ensure that archives are reproducib= le." =2D (define (repack-archive jar) =2D (format #t "resetting class timestamps and repacking ~a\n" jar) =2D =2D ;; Note: .class files need to be strictly newer than source files, =2D ;; otherwise the Clojure compiler will recompile sources. =2D (let* ((early-1980 315619200) ; 1980-01-02 UTC =2D (dir (mkdtemp! "jar-contents.XXXXXX")) =2D (manifest (string-append dir "/META-INF/MANIFEST.MF"))) =2D (with-directory-excursion dir =2D (invoke "jar" "xf" jar)) =2D (delete-file jar) =2D (for-each (lambda (file) =2D (let ((s (lstat file))) =2D (unless (eq? (stat:type s) 'symlink) =2D (when (string-match "^(.*)\\.class$" file) =2D (utime file early-1980 early-1980))))) =2D (find-files dir #:directories? #t)) =2D ;; The jar tool will always set the timestamp on the manifest file =2D ;; and the containing directory to the current time, even when we =2D ;; reuse an existing manifest file. To avoid this we use "zip" =2D ;; instead of "jar". It is important that the manifest appears =2D ;; first. =2D (with-directory-excursion dir =2D (let* ((files (find-files "." ".*" #:directories? #t)) =2D ;; To ensure that the reference scanner can detect all =2D ;; store references in the jars we disable compression =2D ;; with the "-0" option. =2D (command (if (file-exists? manifest) =2D `("zip" "-0" "-X" ,jar ,manifest ,@files) =2D `("zip" "-0" "-X" ,jar ,@files)))) =2D (apply invoke command))) =2D (utime jar 0 0))) =2D (for-each (match-lambda =2D ((output . directory) =2D (for-each repack-archive =2D (find-files directory regular-jar-file?)))) =2D outputs)) + (repack-jar outputs (lambda (dir) + (for-each (lambda (file) + (let ((s (lstat file)) + (early-1980 315619200)) ; 1980-0= 1-02 UTC + (unless (eq? (stat:type s) 'symlink) + (when (string-match "^(.*)\\.class= $" file) + (utime file early-1980 early-198= 0))))) + (find-files dir #:directories? #t))))) =20 (define-with-docs install "Standard 'install' phase for clojure-build-system." =2D-=20 2.37.1 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi, > > r0man skribis: > >> This phase makes sure the timestamp of compiled class files is set to a = later >> point in time than the timestamp of the corresponding Clojure source fil= es. If >> the timestamps of the class and source files are the same, the Clojure >> compiler will compile the sources again which can lead to issues. This p= roblem >> has been discussed here [1]. The suggested solution was to keep/adjust t= he >> timestamps of the class files. > > Sounds reasonable. It=E2=80=99s a bummer though that the whole phase is = pasted > from ant-build-system.scm, the only difference being the timestamps > (1980 instead of 1970). > > I added a TODO comment in clojure-build-system.scm when applying the > patch. Could you follow up with a patch to factorize that? > >> Btw, I was a bit surprised that in Guix Clojure packages are AOT compile= d. The >> general wisdom in the Clojure community seems to be to avoid AOT compila= tion >> when distributing libraries, and only AOT compiling Uberjars for final >> deployment. Due to issues like I mentioned in clojure-instaparse. >> >> Are we sure that AOT compiling all Clojure source files by default is a = good >> idea, instead of just compiling user declared namespaces which Leiningen= and >> friends are doing? WDYT? > > Not much, but as you might have seen in ./etc/teams.scm, the project is > finally being structured as teams. There=E2=80=99s an opportunity for yo= u to > start a Clojure team and to take the lead! :-) > > As a first step, I=E2=80=99d recommend getting in touch with people who h= ave > worked on =E2=80=98clojure-build-system=E2=80=99 and packaged things in t= he past. > >> gnu: clojure-tools-cli: Update to 1.0.206. >> gnu: clojure-tools-gitlibs: Update to 2.4.181. >> gnu: clojure-tools-deps-alpha: Update to 0.14.1212. >> gnu: clojure-tools: Update to 1.11.1.1149. >> gnu: clojure: Update to 1.11.1. >> gnu: clojure-algo-generic: Fix test failing under AOT in Clojure 1.11.= 1. >> gnu: clojure-core-match: Update to 1.0.0. >> gnu: clojure-instaparse: Update to 1.4.12 (disabled AOT). > > I adjusted all the commit logs to follow our conventions; please > consider doing this next time: > > https://guix.gnu.org/manual/devel/en/html_node/Submitting-Patches.html > > The instaparse patch missed the hash update so I did that too. > > Thanks! > > Ludo=E2=80=99. --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmL6at0fHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmTSbCAChA5Zmz5Uw95Tn y2/F76iHia9IGhAbK7KACAi7IRkNXu22aDvsFtOMaAn3jso+VeciA7JuqDk0NfUp SOfxnPDhQEvt+GP5rpFcz3tXdmWKwM53IRmV1iCYALpgc2fQQIohfMHJRGtcsZA6 ea1gSmZD81jCElpJO3P6by4IqfBGFZ+VshQise2lbsmIOM1Li/ny7XCqiTzh/h7+ Ol1tnDcBPorVA3z8Q39FaJG08+9spvSqvAkIn871MHxeU4Hvn6MsfuM2h5WCJBHY +2+s68dYz35jK7aZacdlFrulucpstApkCzXu/qRj6/yoU5dnje2bBtfvHURONGY7 Bd7aKeIB =k8Hv -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 01 05:09:22 2022 Received: (at 56604-done) by debbugs.gnu.org; 1 Sep 2022 09:09:22 +0000 Received: from localhost ([127.0.0.1]:41221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTgCQ-00008k-0i for submit@debbugs.gnu.org; Thu, 01 Sep 2022 05:09:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTgCN-00008T-Cg for 56604-done@debbugs.gnu.org; Thu, 01 Sep 2022 05:09:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34760) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTgCH-0006bX-VS; Thu, 01 Sep 2022 05:09:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=UWdnYB2xMNg2fjJ78e2+8Uv6M53jshOv5i/9en0koMA=; b=DnHvVwMjo7zqVBUkUPsb m8QYlPmVP9r5nSJ3/xhGr9NyuBsqK45eNU63TMz7i7p5k6tySc2r0CB8g/KJuqWZWLs+3f0TC0Yni UeQhDpkNSNkwsB1g/bHhFlBoNW3BSuERTCEEunAoNBfKC/HYuFJJIKwffFMzyfdELyfFIxjDCDo2n 0IAqbyC8ApHssg9p2CpORIhR4240pBzRP9r4hSJx6lnIF3TWor73CCOm6xQfvKqDc9YPYBZrBQkdm KaiPpJe9e87Nfi1NgkyowVp268EClYz7PZ8HjkW3WEtYNS6DWq+OCtFvk7xGmwx2ebrA9TYHzxTZ6 dpX/VY+BsQPGlw==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40696 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTgCH-0002Dr-Hy; Thu, 01 Sep 2022 05:09:13 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Roman Scherer Subject: Re: bug#56604: [PATCH 0/8] Update Clojure to 1.11.1. References: <87fsisg5mu.fsf@gnu.org> <87zgg55wyq.fsf@burningswell.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 15 Fructidor an 230 de la =?utf-8?Q?R=C3=A9?= =?utf-8?Q?volution=2C?= jour de la Truite X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 01 Sep 2022 11:09:11 +0200 In-Reply-To: <87zgg55wyq.fsf@burningswell.com> (Roman Scherer's message of "Mon, 15 Aug 2022 15:36:32 +0000") Message-ID: <87tu5r4g20.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56604-done Cc: 56604-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Roman, (Catching up after vacation=E2=80=A6) Roman Scherer skribis: > here's the promised patch to follow up with the code duplication I > introduced in my previous patch. Awesome. > When I run the following commands after modifying the build systems they > run for quite some time, because they were compiling a ton (the jdk, > jetty) of things. > > ./pre-inst-env guix build clojure > ./pre-inst-env guix build clojure-tools > > I guess this is expected, since a change in a build system might affect > all packages being built with it. But I was wondering if there is a way > to force only building the packages specified on the command line. Does > such a thing exists? No, it doesn=E2=80=99t exist, because that would be building something different. In this case, building everything that depends on =E2=80=98ant-build-system.scm=E2=80=99 is unavoidable. > I was wondering what is the most efficient way to quickly iterate on > changes to a build system, without recompiling the whole world for that > build system. How would you do that? There=E2=80=99s no ideal solution as you=E2=80=99ll have to recompile the w= orld anyway. When changing build systems, I=E2=80=99d usually stare at my changes for qu= ite some time first, to make sure I don=E2=80=99t have to rebuild the world on = the next day because of a typo. :-) Then, for small local changes, I=E2=80=99d build just the bottom of the dependency graph to check for breakage (in this case, making sure the =E2=80=98strip-jar-timestamps=E2=80=99 phase still works as intended). The= n we can let ci.guix build the whole thing afterwards, and make sure nothing goes wrong. > From 756bfd3458ded38e1041ebb255c6b6ffe737732d Mon Sep 17 00:00:00 2001 > From: Roman Scherer > Date: Mon, 15 Aug 2022 15:29:25 +0000 > Subject: [PATCH] build-system: Add repack-jar and use it in Ant & Clojure > build systems > > * guix/build/ant-build-system.scm: Add repack-jar and use it in strip-jar= -timestamps > * guix/build/clojure-build-system.scm: Use repack-jar in reset-class-time= stamps Please use the ChangeLog format, specifying procedure/variable names and their actual changes. [...] > +(define-public (repack-jar outputs repack-fn) > + "Unpack all jar archives, invoke repack-fn for each JAR with the direc= tory > +it has been unpacked to, and pack them again." Instead of =E2=80=98define-public=E2=80=99, I=E2=80=99d move =E2=80=98repac= k-jar=E2=80=99 to #:export at the top, like the other procedures. But=E2=80=A6 > @@ -206,13 +205,7 @@ (define (repack-archive jar) > (with-directory-excursion dir > (invoke "jar" "xf" jar)) > (delete-file jar) > - ;; XXX: copied from (gnu build install) > - (for-each (lambda (file) > - (let ((s (lstat file))) > - (unless (eq? (stat:type s) 'symlink) > - (utime file 0 0 0 0)))) > - (find-files dir #:directories? #t)) > - > + (repack-fn dir) Looking at the code, the only difference between the two repack functions is the timestamp, right? In that case, I=E2=80=99d lean towards adding a #:jar-timestamp parameter to =E2=80=98strip-jar-timestamps=E2=80= =99 (rather than this =E2=80=98repack-fn=E2=80=99 argument) that=E2=80=99d be passed to =E2= =80=98utime=E2=80=99. The default for #:jar-timestamp would be '(0 0 0 0); for Clojure we=E2=80=99d set the defau= lt #:jar-timestamp in (guix build-system clojure) to: #:jar-timestamp (list early-1980 early-1980) WDYT? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 01 06:03:51 2022 Received: (at 56604-done) by debbugs.gnu.org; 1 Sep 2022 10:03:51 +0000 Received: from localhost ([127.0.0.1]:41291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTh39-0001Xk-7K for submit@debbugs.gnu.org; Thu, 01 Sep 2022 06:03:51 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:40806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTh2y-0001XS-0m for 56604-done@debbugs.gnu.org; Thu, 01 Sep 2022 06:03:49 -0400 Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16] ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by xavier.telenet-ops.be with bizsmtp id Ea3d2800920ykKC01a3dF5; Thu, 01 Sep 2022 12:03:38 +0200 Message-ID: <6d7b347b-1798-6622-c9d8-3b0492c5dc05@telenet.be> Date: Thu, 1 Sep 2022 12:03:37 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Content-Language: en-US To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= , Roman Scherer References: <87fsisg5mu.fsf@gnu.org> <87zgg55wyq.fsf@burningswell.com> <87tu5r4g20.fsf@gnu.org> From: Maxime Devos Subject: Re: [bug#56604] [PATCH 0/8] Update Clojure to 1.11.1. In-Reply-To: <87tu5r4g20.fsf@gnu.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------k7P800NfQgAlCXK61P3qLt4x" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1662026618; bh=tM+indyuew4borFXC97iykdXQA3PJLwkfqwqoDpNNuA=; h=Date:To:Cc:References:From:Subject:In-Reply-To; b=c1dORLbRpC4+CgB2CbwWIOlGvhRfTkL90ilCE0Ak1tG/Ov75YDsTZe+qPMjd2gSB7 AVi++49labsQxayL56UxmKO11IY5NhfkXVa6S4YpSjA1N+mNxsvU0cJ4fjBGx+j0d6 ze8rtrdsL+O1kuCkWy2seqVLYSr1d3Nmvnk4YF0l/arlnxjHu0muIV70pKx7qttBGI RRx0euf1EsHwgwJRYkhRuGrIwROYKmDcHlh/8OwK/qC4tIc4acprvSPNZUFtpxHF/x lao1ZUKAKCWZGTmw+QhLkVOHqPV151us26H4DAE3+HFR5rKpRUl4T/hKW44z0qpSvc isl2psdM+MgyA== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56604-done Cc: 56604-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------k7P800NfQgAlCXK61P3qLt4x Content-Type: multipart/mixed; boundary="------------GSTl7U7741jDimwkaJu9iX0H"; protected-headers="v1" From: Maxime Devos To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= , Roman Scherer Cc: 56604-done@debbugs.gnu.org Message-ID: <6d7b347b-1798-6622-c9d8-3b0492c5dc05@telenet.be> Subject: Re: [bug#56604] [PATCH 0/8] Update Clojure to 1.11.1. References: <87fsisg5mu.fsf@gnu.org> <87zgg55wyq.fsf@burningswell.com> <87tu5r4g20.fsf@gnu.org> In-Reply-To: <87tu5r4g20.fsf@gnu.org> --------------GSTl7U7741jDimwkaJu9iX0H Content-Type: multipart/mixed; boundary="------------OpOX0hWnvGHKJDHHoah9kqlc" --------------OpOX0hWnvGHKJDHHoah9kqlc Content-Type: multipart/alternative; boundary="------------BV27BxsX3aOAaMrDmFkHAgTv" --------------BV27BxsX3aOAaMrDmFkHAgTv Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 DQpPbiAwMS0wOS0yMDIyIDExOjA5LCBMdWRvdmljIENvdXJ0w6hzIHdyb3RlOg0KPj4gSSBn dWVzcyB0aGlzIGlzIGV4cGVjdGVkLCBzaW5jZSBhIGNoYW5nZSBpbiBhIGJ1aWxkIHN5c3Rl bSBtaWdodCBhZmZlY3QNCj4+IGFsbCBwYWNrYWdlcyBiZWluZyBidWlsdCB3aXRoIGl0LiBC dXQgSSB3YXMgd29uZGVyaW5nIGlmIHRoZXJlIGlzIGEgd2F5DQo+PiB0byBmb3JjZSBvbmx5 IGJ1aWxkaW5nIHRoZSBwYWNrYWdlcyBzcGVjaWZpZWQgb24gdGhlIGNvbW1hbmQgbGluZS4g RG9lcw0KPj4gc3VjaCBhIHRoaW5nIGV4aXN0cz8NCj4gTm8sIGl0IGRvZXNu4oCZdCBleGlz dCwgYmVjYXVzZSB0aGF0IHdvdWxkIGJlIGJ1aWxkaW5nIHNvbWV0aGluZw0KPiBkaWZmZXJl bnQuICBJbiB0aGlzIGNhc2UsIGJ1aWxkaW5nIGV2ZXJ5dGhpbmcgdGhhdCBkZXBlbmRzIG9u DQo+IOKAmGFudC1idWlsZC1zeXN0ZW0uc2Nt4oCZIGlzIHVuYXZvaWRhYmxlLg0KPg0KPj4g SSB3YXMgd29uZGVyaW5nIHdoYXQgaXMgdGhlIG1vc3QgZWZmaWNpZW50IHdheSB0byBxdWlj a2x5IGl0ZXJhdGUgb24NCj4+IGNoYW5nZXMgdG8gYSBidWlsZCBzeXN0ZW0sIHdpdGhvdXQg cmVjb21waWxpbmcgdGhlIHdob2xlIHdvcmxkIGZvciB0aGF0DQo+PiBidWlsZCBzeXN0ZW0u IEhvdyB3b3VsZCB5b3UgZG8gdGhhdD8NCj4gVGhlcmXigJlzIG5vIGlkZWFsIHNvbHV0aW9u IGFzIHlvdeKAmWxsIGhhdmUgdG8gcmVjb21waWxlIHRoZSB3b3JsZCBhbnl3YXkuDQoNCkl0 IGlzIHBvc3NpYmxlLCBhY3R1YWxseSwgdG8gdGVzdCBpdCBmb3IgYSBzaW5nbGUgcGFja2Fn ZSBmaXJzdCANCihhbHRob3VnaCB3aXRob3V0IGludGVyYWN0aW9uIHdpdGggdGhlIGNvbW1h bmQgbGluZSkuIEluIHRoZSBwYWNrYWdlIHlvdSANCndvdWxkIGxpa2UgdG8gdGVzdCB0aGlu Z3Mgd2l0aCwgdXNlICc9PicgaW4gIzppbXBvcnRlZC1tb2R1bGVzOg0KDQooKHRoaXMgbW9k dWxlKQ0KIMKgKCh0aGF0IG1vZHVsZSkgPT4gKGxvY2FsLWZpbGUgImN1c3RvbWlzZWQtdGhh dC1tb2R1bGUuc2NtIikpKQ0KDQphbmQga2VlcCB0aGUgb3JpZ2luYWwgdGhhdC9tb2R1bGUu c2NtIHVubW9kaWZpZWQuDQoNCkF0IGxlYXN0LCBzb21ldGhpbmcgbGlrZSB0aGF0IGlzIGRv bmUgaW4gJ2J1aWxkLXByb2dyYW0nIGluIA0KYnVpbGQtYXV4L2J1aWxkLXNlbGYuc2NtIC0t IEkgaGF2ZW4ndCB0cmllZCBpdCBvdXQgZm9yIHNvbWV0aGluZyBsaWtlIA0KdGhpcyBteXNl bGYuDQoNCkdyZWV0aW5ncywNCk1heGltZQ0KDQo= --------------BV27BxsX3aOAaMrDmFkHAgTv Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 01-09-2022 11:09, Ludovic Court=C3=A8= s wrote:
I guess this is expected, =
since a change in a build system might affect
all packages being built with it. But I was wondering if there is a way
to force only building the packages specified on the command line. Does
such a thing exists?
No, it doesn=E2=80=99t exist=
, because that would be building something
different.  In this case, building everything that depends on
=E2=80=98ant-build-system.scm=E2=80=99 is unavoidable.

I was wondering what is th=
e most efficient way to quickly iterate on
changes to a build system, without recompiling the whole world for that
build system. How would you do that?
There=E2=80=99s no ideal sol=
ution as you=E2=80=99ll have to recompile the world anyway.

It is possible, actually, to test it for a single package first (although without interaction with the command line). In the package you would like to test things with, use '=3D>' in #:imported-modules:

((this module)
=C2=A0((that module) =3D> (local-file "customised-that-module.sc= m")))

and keep the original that/module.scm unmodified.

At least, something like that is done in 'build-program' in build-aux/build-self.scm -- I haven't tried it out for something like this myself.

Greetings,
Maxime

--------------BV27BxsX3aOAaMrDmFkHAgTv-- --------------OpOX0hWnvGHKJDHHoah9kqlc Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc" Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2 ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc /gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4 LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0 k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D =3DOVqp -----END PGP PUBLIC KEY BLOCK----- --------------OpOX0hWnvGHKJDHHoah9kqlc-- --------------GSTl7U7741jDimwkaJu9iX0H-- --------------k7P800NfQgAlCXK61P3qLt4x Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYxCDeQUDAAAAAAAKCRBJ4+4iGRcl7vu+ AP9pK19xjzPUQ6oQgT8h1DZ/1xjoc234+BLOMawmT1Zq+QEAv4RW1x/luV4pprmeJn4O6UhbuNTP sKzFLvNLrrzl3AU= =rg7y -----END PGP SIGNATURE----- --------------k7P800NfQgAlCXK61P3qLt4x-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 02 06:02:51 2022 Received: (at 56604-done) by debbugs.gnu.org; 2 Sep 2022 10:02:51 +0000 Received: from localhost ([127.0.0.1]:44909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU3Vi-0004kd-FD for submit@debbugs.gnu.org; Fri, 02 Sep 2022 06:02:51 -0400 Received: from mail-ej1-f46.google.com ([209.85.218.46]:42874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU3Vf-0004kQ-UR for 56604-done@debbugs.gnu.org; Fri, 02 Sep 2022 06:02:48 -0400 Received: by mail-ej1-f46.google.com with SMTP id p16so2797410ejb.9 for <56604-done@debbugs.gnu.org>; Fri, 02 Sep 2022 03:02:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date; bh=eh0gZYj43wLm7dfsjxmOa6fsPWMbur+VbAw6qtQ3Cu4=; b=GOfJM1hFalnuneJyk0dJbe5Nrv61o0efaWrBGCUcVVW+4LpS8dBok75ndUERnbRbzH nJFxz2mvp33TIt9VzTqPYYFuy4vxEin9muRH7ADWUZGCFgT+Qo8bNQmCqJE3diWsTOe7 H9lk4/AO6wqUgpsiiJRwA4ytTpAPd1RPTVkOcO+1UyeNS0dB+nsFXxLCHkQuoUXMfuMg xZOaLTm3cVj+KJHRekUep3cxj2EiUHQbZuW+hJRU+0g8MU2V69PjqrvtKjM7ZauWiKUP c/d3vCZ6/mUeeRUgPU69QJ0QdYNzrRhjqp0g22EmJYdhKgOE0MLL1ff/iqKuyYp8pqH+ OKLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date; bh=eh0gZYj43wLm7dfsjxmOa6fsPWMbur+VbAw6qtQ3Cu4=; b=bh4D25DL4mLWgjIiPRysJiZt8+zuvbdQyzPpoFetAiBddyyVS914UUc+a3TuShrEMI 5kCEYqRuCWoB9Vufzb8wnt9g6Esci6ix9K+4LRPkz9IxZf5YZWHpibyOXrPGr4cmEU7f xLcca2uUAiVHMgP9wJwIKjA/vmZFj2rDAIwN2F+xjMeRV/uvtB8eyajNifum4qX5UG+m tlqm/7JC0bdnMUIzjbGe5jDVyIA9AA1rn7DrD/SkqWs+RkZTeBlGfWsaXwT1DfK7zXym /PEGBg1ixHROIqi+IiUb8+zmQUEGEp8X85JNXDeNFFzFQKxJnPsyTzk0htT0hqGyImzJ 92yQ== X-Gm-Message-State: ACgBeo3ie/3qQmaSn1venA8IWkK+chBNLrd/Ag98OZ+0q8bPbelXi84v PtQjdewnrPJO7FOUW7OOTCsd+Xbf7DQlzAaP X-Google-Smtp-Source: AA6agR4AV8GzwvtP46cvvr2l3LdiBQC2Ymg2dvLy0YeUn73Dtx46fzjiixt69iAmtpvK14aJsV8t/w== X-Received: by 2002:a17:906:3bd2:b0:731:3f03:1697 with SMTP id v18-20020a1709063bd200b007313f031697mr27624725ejf.289.1662112961571; Fri, 02 Sep 2022 03:02:41 -0700 (PDT) Received: from precision (tmo-119-93.customers.d1-online.com. [80.187.119.93]) by smtp.gmail.com with ESMTPSA id m14-20020a50ef0e000000b0043d5ead65a6sm1072333eds.84.2022.09.02.03.02.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 03:02:40 -0700 (PDT) References: <87fsisg5mu.fsf@gnu.org> <87zgg55wyq.fsf@burningswell.com> <87tu5r4g20.fsf@gnu.org> User-agent: mu4e 1.8.9; emacs 28.1 From: Roman Scherer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#56604: [PATCH 0/8] Update Clojure to 1.11.1. Date: Fri, 02 Sep 2022 09:52:37 +0000 In-reply-to: <87tu5r4g20.fsf@gnu.org> Message-ID: <87k06mksap.fsf@burningswell.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56604-done Cc: 56604-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hi Ludo, thanks for taking a look. Here's a new patch. I changed the patch to not use define-public and I'm exporting the repack-jar function now as per your suggestion. I also updated the commit message to (hopefully) match the changelog style. Is that correct now? I did not add the #:jar-timestamp parameter because there is one more difference. The strip-jar-timestamps function in the Ant build system changes the timestamp of all files in the JAR. The reset-class-timestamps function in the Clojure build system sets the timestamp of only the class files. I could add another parameter called "extension" to the strip-jar-timestamps function if you prefer that. It would default to "*", matching all filenames and use it with "*.class" from the Clojure build system. I have the feeling the repack-jar function is more flexible as is, but I'm open to doing this change or any other suggestion you have. Wdyt? Roman --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-build-system-Remove-code-duplication-in-Ant-Clojure-.patch Content-Transfer-Encoding: quoted-printable From=20c3e06172044264ff871cbe8637236415bfd6077f Mon Sep 17 00:00:00 2001 From: Roman Scherer Date: Mon, 15 Aug 2022 15:29:25 +0000 Subject: [PATCH] build-system: Remove code duplication in Ant & Clojure bui= ld systems * guix/build/ant-build-system.scm (repack-jar): Add repack-jar function to unpack, modify, and repack a JAR file. * guix/build/ant-build-system.scm (strip-jar-timestamps): Use the repack-jar function to set the timestamps of all files in the JAR file to 1980-01-01. * guix/build/clojure-build-system.scm (reset-class-timestamps): Use the repack-jar function from the Ant build system to set the timestamps of all class files in the JAR file to 1980-01-02 to prevent the Clojure compiler f= rom re-compiling Clojure source files. =2D-- guix/build/ant-build-system.scm | 29 ++++++++------- guix/build/clojure-build-system.scm | 55 +++++------------------------ 2 files changed, 26 insertions(+), 58 deletions(-) diff --git a/guix/build/ant-build-system.scm b/guix/build/ant-build-system.= scm index fae1b47ec5..dec261cb82 100644 =2D-- a/guix/build/ant-build-system.scm +++ b/guix/build/ant-build-system.scm @@ -27,7 +27,8 @@ (define-module (guix build ant-build-system) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:export (%standard-phases =2D ant-build)) + ant-build + repack-jar)) =20 ;; Commentary: ;; @@ -195,10 +196,9 @@ (define (generate-index jar) outputs) #t) =20 =2D(define* (strip-jar-timestamps #:key outputs =2D #:allow-other-keys) =2D "Unpack all jar archives, reset the timestamp of all contained files, = and =2Drepack them. This is necessary to ensure that archives are reproducible= ." +(define (repack-jar outputs repack-fn) + "Unpack all jar archives, invoke repack-fn for each JAR with the directo= ry +it has been unpacked to, and pack them again." (define (repack-archive jar) (format #t "repacking ~a\n" jar) (let* ((dir (mkdtemp! "jar-contents.XXXXXX")) @@ -206,13 +206,7 @@ (define (repack-archive jar) (with-directory-excursion dir (invoke "jar" "xf" jar)) (delete-file jar) =2D ;; XXX: copied from (gnu build install) =2D (for-each (lambda (file) =2D (let ((s (lstat file))) =2D (unless (eq? (stat:type s) 'symlink) =2D (utime file 0 0 0 0)))) =2D (find-files dir #:directories? #t)) =2D + (repack-fn dir) ;; The jar tool will always set the timestamp on the manifest file ;; and the containing directory to the current time, even when we ;; reuse an existing manifest file. To avoid this we use "zip" @@ -237,6 +231,17 @@ (define (repack-archive jar) outputs) #t) =20 +(define* (strip-jar-timestamps #:key outputs + #:allow-other-keys) + "Unpack all jar archives, reset the timestamp of all contained files, and +repack them. This is necessary to ensure that archives are reproducible." + (repack-jar outputs (lambda (dir) + (for-each (lambda (file) + (let ((s (lstat file))) + (unless (eq? (stat:type s) 'symlink) + (utime file 0 0 0 0)))) + (find-files dir #:directories? #t))))) + (define* (check #:key target (make-flags '()) (tests? (not target)) (test-target "check") #:allow-other-keys) diff --git a/guix/build/clojure-build-system.scm b/guix/build/clojure-build= -system.scm index cacbefb386..b82ebc30fe 100644 =2D-- a/guix/build/clojure-build-system.scm +++ b/guix/build/clojure-build-system.scm @@ -19,7 +19,7 @@ (define-module (guix build clojure-build-system) #:use-module ((guix build ant-build-system) #:select ((%standard-phases . %standard-phases@ant) =2D ant-build)) + ant-build repack-jar)) #:use-module (guix build clojure-utils) #:use-module (guix build java-utils) #:use-module (guix build syscalls) @@ -112,54 +112,17 @@ (define* (check #:key jar-names))) #t) =20 =2D(define (regular-jar-file? file stat) =2D "Predicate returning true if FILE is ending on '.jar' =2Dand STAT indicates it is a regular file." =2D (and (string-suffix? ".jar" file) =2D (eq? 'regular (stat:type stat)))) =2D =2D;; XXX: The only difference compared to 'strip-jar-timestamps' in =2D;; ant-build-system.scm is the date. TODO: Adjust and factorize. (define* (reset-class-timestamps #:key outputs #:allow-other-keys) "Unpack all jar archives, reset the timestamp of all contained class fil= es, and repack them. This is necessary to ensure that archives are reproducib= le." =2D (define (repack-archive jar) =2D (format #t "resetting class timestamps and repacking ~a\n" jar) =2D =2D ;; Note: .class files need to be strictly newer than source files, =2D ;; otherwise the Clojure compiler will recompile sources. =2D (let* ((early-1980 315619200) ; 1980-01-02 UTC =2D (dir (mkdtemp! "jar-contents.XXXXXX")) =2D (manifest (string-append dir "/META-INF/MANIFEST.MF"))) =2D (with-directory-excursion dir =2D (invoke "jar" "xf" jar)) =2D (delete-file jar) =2D (for-each (lambda (file) =2D (let ((s (lstat file))) =2D (unless (eq? (stat:type s) 'symlink) =2D (when (string-match "^(.*)\\.class$" file) =2D (utime file early-1980 early-1980))))) =2D (find-files dir #:directories? #t)) =2D ;; The jar tool will always set the timestamp on the manifest file =2D ;; and the containing directory to the current time, even when we =2D ;; reuse an existing manifest file. To avoid this we use "zip" =2D ;; instead of "jar". It is important that the manifest appears =2D ;; first. =2D (with-directory-excursion dir =2D (let* ((files (find-files "." ".*" #:directories? #t)) =2D ;; To ensure that the reference scanner can detect all =2D ;; store references in the jars we disable compression =2D ;; with the "-0" option. =2D (command (if (file-exists? manifest) =2D `("zip" "-0" "-X" ,jar ,manifest ,@files) =2D `("zip" "-0" "-X" ,jar ,@files)))) =2D (apply invoke command))) =2D (utime jar 0 0))) =2D (for-each (match-lambda =2D ((output . directory) =2D (for-each repack-archive =2D (find-files directory regular-jar-file?)))) =2D outputs)) + (repack-jar outputs (lambda (dir) + (for-each (lambda (file) + (let ((s (lstat file)) + (early-1980 315619200)) ; 1980-0= 1-02 UTC + (unless (eq? (stat:type s) 'symlink) + (when (string-match "^(.*)\\.class= $" file) + (utime file early-1980 early-198= 0))))) + (find-files dir #:directories? #t))))) =20 (define-with-docs install "Standard 'install' phase for clojure-build-system." =2D-=20 2.37.2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi Roman, > > (Catching up after vacation=E2=80=A6) > > Roman Scherer skribis: > >> here's the promised patch to follow up with the code duplication I >> introduced in my previous patch. > > Awesome. > >> When I run the following commands after modifying the build systems they >> run for quite some time, because they were compiling a ton (the jdk, >> jetty) of things. >> >> ./pre-inst-env guix build clojure >> ./pre-inst-env guix build clojure-tools >> >> I guess this is expected, since a change in a build system might affect >> all packages being built with it. But I was wondering if there is a way >> to force only building the packages specified on the command line. Does >> such a thing exists? > > No, it doesn=E2=80=99t exist, because that would be building something > different. In this case, building everything that depends on > =E2=80=98ant-build-system.scm=E2=80=99 is unavoidable. > >> I was wondering what is the most efficient way to quickly iterate on >> changes to a build system, without recompiling the whole world for that >> build system. How would you do that? > > There=E2=80=99s no ideal solution as you=E2=80=99ll have to recompile the= world anyway. > > When changing build systems, I=E2=80=99d usually stare at my changes for = quite > some time first, to make sure I don=E2=80=99t have to rebuild the world o= n the > next day because of a typo. :-) > > Then, for small local changes, I=E2=80=99d build just the bottom of the > dependency graph to check for breakage (in this case, making sure the > =E2=80=98strip-jar-timestamps=E2=80=99 phase still works as intended). T= hen we can let > ci.guix build the whole thing afterwards, and make sure nothing goes > wrong. > >> From 756bfd3458ded38e1041ebb255c6b6ffe737732d Mon Sep 17 00:00:00 2001 >> From: Roman Scherer >> Date: Mon, 15 Aug 2022 15:29:25 +0000 >> Subject: [PATCH] build-system: Add repack-jar and use it in Ant & Clojure >> build systems >> >> * guix/build/ant-build-system.scm: Add repack-jar and use it in strip-ja= r-timestamps >> * guix/build/clojure-build-system.scm: Use repack-jar in reset-class-tim= estamps > > Please use the ChangeLog format, specifying procedure/variable names and > their actual changes. > > [...] > >> +(define-public (repack-jar outputs repack-fn) >> + "Unpack all jar archives, invoke repack-fn for each JAR with the dire= ctory >> +it has been unpacked to, and pack them again." > > Instead of =E2=80=98define-public=E2=80=99, I=E2=80=99d move =E2=80=98rep= ack-jar=E2=80=99 to #:export at the > top, like the other procedures. > > But=E2=80=A6 > >> @@ -206,13 +205,7 @@ (define (repack-archive jar) >> (with-directory-excursion dir >> (invoke "jar" "xf" jar)) >> (delete-file jar) >> - ;; XXX: copied from (gnu build install) >> - (for-each (lambda (file) >> - (let ((s (lstat file))) >> - (unless (eq? (stat:type s) 'symlink) >> - (utime file 0 0 0 0)))) >> - (find-files dir #:directories? #t)) >> - >> + (repack-fn dir) > > Looking at the code, the only difference between the two repack > functions is the timestamp, right? In that case, I=E2=80=99d lean towards > adding a #:jar-timestamp parameter to =E2=80=98strip-jar-timestamps=E2=80= =99 (rather than > this =E2=80=98repack-fn=E2=80=99 argument) that=E2=80=99d be passed to = =E2=80=98utime=E2=80=99. The default for > #:jar-timestamp would be '(0 0 0 0); for Clojure we=E2=80=99d set the def= ault > #:jar-timestamp in (guix build-system clojure) to: > > #:jar-timestamp (list early-1980 early-1980) > > WDYT? > > Thanks, > Ludo=E2=80=99. --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmMR1L4fHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmU0sB/9tYMjHbknoHVs1 eCMW9Qm/hfWCTYcASDlD/zCDMcBelfcCIYFdn1QDck0r6Yp/U6YaRTD1KrF7V28U ntsS3ne2hEmUNVkhru47yjZBrwL1H29nTBuN/h29i6IobpotiWQ+YTaBX4NF9zh/ 4iyhtdm/8TOWOQhoXDM3ZllNSIObdNJUcm1pQzDAwybP3LPsY7BgPa7BrFqqjDEQ fG/w9KCRLF/oVL551xmswNeEOM5VSKs7CniYV/qGj3zxMek3O48LTKDLTTk8/MsO Cx0gOrNvmoQwGATi1IJ/BSj5+FjhJPOuq73jPktLFBSyjqKdJihItfWFWiMHrkzv kmD52sdo =hB/J -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 02 06:24:40 2022 Received: (at 56604-done) by debbugs.gnu.org; 2 Sep 2022 10:24:40 +0000 Received: from localhost ([127.0.0.1]:44948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU3qq-0007Rg-Hf for submit@debbugs.gnu.org; Fri, 02 Sep 2022 06:24:40 -0400 Received: from mail-ej1-f49.google.com ([209.85.218.49]:36584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU3qo-0007RT-Qh for 56604-done@debbugs.gnu.org; Fri, 02 Sep 2022 06:24:39 -0400 Received: by mail-ej1-f49.google.com with SMTP id h5so2953714ejb.3 for <56604-done@debbugs.gnu.org>; Fri, 02 Sep 2022 03:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date; bh=MMPj4Pikl16Zj3rflkAAfAuq7yEUxVjdgn4S6qh8LDU=; b=pdmmrsdQC0+c1GszOK+xSFWZAo8kC+GIS1jfwB3W2pU13N16qIq4d9O0bQbxXpeRAp eCJIUhLmupyOYIESbsMYa8Fb59rRAEGH7SZlLhElyVZDygB5L/BiCnH1DgUmK8POvic4 sdM/6NPtxX9NGKse3Eu0OAUcuPW5XPUvHnhGsKNjxFzEKT3aqGW3ibkthA7qOhuZqnGp mSNgCickFw8J9T89cKEH3gOlXKGmoac3KeJN68YAP2pqRwHf+jrnYJBqXxJTHVqkeguT ETAPNuaF+296xpwEOcKoWszAjYmpYj/qU115vaU8eotRS71Ej+l3/CLSti85KVgPkxcq I6Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date; bh=MMPj4Pikl16Zj3rflkAAfAuq7yEUxVjdgn4S6qh8LDU=; b=kDwpxX9uhOGbuUa5WitLA26HAyelxU3rVkwwaLEZ6qozJg3iGhjcymQ280d41gvMjJ 5LrxyST1HPXdfSDZsQdU2lDCI9qhDOAQfUvMKSWiC0QkMSjcpzTyoRs5oyD7W8HKKh5n 70gaIN3UQS/CdkyLaXh36Cpw7raRlY/raiLIyKECIw6uZCtAscmyNg54ggXhQ70L+VDD 1n+3d9GhbI+xLcpwlJ3DUJDKDUuhI1Ru66XXfuCJYBggXU+Ow11JhSv2mnRfvb2YkFZe RHUUsC156UGI7YGcHw8INl5xJOC7QIOtZS/fajRdH7peB6TyAF7Qt2m+Mj1EzmscY3IR Q/IA== X-Gm-Message-State: ACgBeo25d+YrMoNv4oIbSkFvM8APgFHllS971DryWF/Y8GRGDVKrt5D8 ElPfV0WflG9nsmVm1//ZRe87ulk1oSp94nEu X-Google-Smtp-Source: AA6agR6W10vPer4H+GiW9N8llG0HJ9Vm/XG+knkZS0E3AqVHXOXFHjiyCUu8tIq6nN1hL/aP/2XsnA== X-Received: by 2002:a17:907:a058:b0:741:72ed:5606 with SMTP id gz24-20020a170907a05800b0074172ed5606mr17496786ejc.452.1662114272531; Fri, 02 Sep 2022 03:24:32 -0700 (PDT) Received: from precision (tmo-119-93.customers.d1-online.com. [80.187.119.93]) by smtp.gmail.com with ESMTPSA id u1-20020a1709060ec100b0073c1e339a37sm1011887eji.149.2022.09.02.03.24.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 03:24:31 -0700 (PDT) References: <87fsisg5mu.fsf@gnu.org> <87zgg55wyq.fsf@burningswell.com> <87tu5r4g20.fsf@gnu.org> <6d7b347b-1798-6622-c9d8-3b0492c5dc05@telenet.be> User-agent: mu4e 1.8.9; emacs 28.1 From: Roman Scherer To: Maxime Devos Subject: Re: [bug#56604] [PATCH 0/8] Update Clojure to 1.11.1. Date: Fri, 02 Sep 2022 10:12:38 +0000 In-reply-to: <6d7b347b-1798-6622-c9d8-3b0492c5dc05@telenet.be> Message-ID: <87fshakra9.fsf@burningswell.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56604-done Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 56604-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Maxime, I just rebuilt the world again (to be sure it works), but will give this a try the next time. Thanks for the tip! Roman Maxime Devos writes: > [[PGP Signed Part:Undecided]] > On 01-09-2022 11:09, Ludovic Court=C3=A8s wrote: > > I guess this is expected, since a change in a build system might affect > all packages being built with it. But I was wondering if there is a way > to force only building the packages specified on the command line. Does > such a thing exists? > > No, it doesn=E2=80=99t exist, because that would be building something > different. In this case, building everything that depends on > =E2=80=98ant-build-system.scm=E2=80=99 is unavoidable. > > I was wondering what is the most efficient way to quickly iterate on > changes to a build system, without recompiling the whole world for that > build system. How would you do that? > > There=E2=80=99s no ideal solution as you=E2=80=99ll have to recompile the= world anyway. > > It is possible, actually, to test it for a single package first (although= without interaction with the command line). In the > package you would like to test things with, use '=3D>' in #:imported-modu= les: > > ((this module) > ((that module) =3D> (local-file "customised-that-module.scm"))) > > and keep the original that/module.scm unmodified. > > At least, something like that is done in 'build-program' in build-aux/bui= ld-self.scm -- I haven't tried it out for something > like this myself. > > Greetings, > Maxime > > [4. OpenPGP public key --- application/pgp-keys; OpenPGP_0x49E3EE22191725= EE.asc]... > > [[End of PGP Signed Part]] --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmMR2d4fHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmb9WCACRBZwhmwROyyih I83tUqqyYChKfCpfmEU4c5RUiODFtPVjOz30SBK0UeTxb4BggqVSrurvejWfjdN3 Ajd2UBTwFgts/j5ViVJ0nDdeFz7aCyK3Ez1ewwH25t4TZb+Ep8SZDZkQECnH+EwB yvR1q/l10NA583froK4MFHR41CJmVjg2fphEXItWLkvxkLjovmm6p1oJ8g0wo8XY IPDfwEjpCa0gPZxMdwinRM0w09Sa7UaJncRSvVeFKyjS/w2zJFCDVNivKymzPKNU Tb1X79vo/9pxVswF7Ws0eZHtnrCJAAxZbcm0otlidko0myiCm740JHVUY/A3tsb0 8+P5i+25 =pohi -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Aug 17 22:12:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 30 Sep 2022 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator