From unknown Tue Jun 17 01:26:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#77130 <77130@debbugs.gnu.org> To: bug#77130 <77130@debbugs.gnu.org> Subject: Status: [PATCH] gnu: clasp-cl: Update to 2.7.0. Reply-To: bug#77130 <77130@debbugs.gnu.org> Date: Tue, 17 Jun 2025 08:26:05 +0000 retitle 77130 [PATCH] gnu: clasp-cl: Update to 2.7.0. reassign 77130 guix-patches submitter 77130 ashish.is@lostca.se severity 77130 normal tag 77130 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 20 05:10:42 2025 Received: (at submit) by debbugs.gnu.org; 20 Mar 2025 09:10:42 +0000 Received: from localhost ([127.0.0.1]:55180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tvBvA-000855-Bx for submit@debbugs.gnu.org; Thu, 20 Mar 2025 05:10:42 -0400 Received: from lists.gnu.org ([2001:470:142::17]:56140) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tvBv6-00084m-4K for submit@debbugs.gnu.org; Thu, 20 Mar 2025 05:10:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tvBuv-0007HX-DH for guix-patches@gnu.org; Thu, 20 Mar 2025 05:10:22 -0400 Received: from anamika.lostca.se ([2a01:4f9:3b:505c::2]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tvBus-0001Ho-G7 for guix-patches@gnu.org; Thu, 20 Mar 2025 05:10:20 -0400 Received: from localhost.localdomain (2a02-9140-3881-0900-9269-7984-f93f-ec5a.red-2a02-914.customerbaf.ipv6.rima-tde.net [IPv6:2a02:9140:3881:900:9269:7984:f93f:ec5a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: abbe) by anamika.lostca.se (Postfix) with ESMTPSA id 6D44812FAA; Thu, 20 Mar 2025 09:10:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lostca.se; s=anamika; t=1742461806; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pROgaxdjEOkVUcvxmluEtDSuBjEaBRSRPQF8z+7v5O0=; b=Cuy3KQj5v7P6gk8WMITKs6NrL+sjBPWtpMM9t/3U5i8e0sIJ1v/H+1X3Hib+FYCtv1T+j5 DTh73p9hPVpzFwweFka+EcdTLdpDookR27UPiDOUwxSnzeDpXQuY0k+YCCcw0Q0vxaKzND xSMUGMoZMb41+YhJ0+VV3BAok445hh0= From: ashish.is@lostca.se To: guix-patches@gnu.org Subject: [PATCH] gnu: clasp-cl: Update to 2.7.0. Date: Thu, 20 Mar 2025 10:09:52 +0100 Message-ID: <6787eaf6ca97b8f93725aceb028d454f7445fd47.1742461792.git.ashish.is@lostca.se> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-Debbugs-Cc: Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a01:4f9:3b:505c::2; envelope-from=ashish.is@lostca.se; helo=anamika.lostca.se X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Ashish SHUKLA * gnu/packages/lisp.scm (clasp-cl): Update to 2.7.0. [inputs]: Replace clang, and llvm with clang-toolchain. Switch to LLVM 19 as per upstream release notes. [#:phases]: Add fix-sh-paths phase to patc [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL blocklist [URIs: clasp-developers.github.io] 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL blocklist [URIs: clasp-developers.github.io] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=ashish.is%40lostca.se; ip=2001%3A470%3A142%3A%3A17; r=debbugs.gnu.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] X-Debbugs-Envelope-To: submit Cc: Ashish SHUKLA 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: 0.7 (/) From: Ashish SHUKLA * gnu/packages/lisp.scm (clasp-cl): Update to 2.7.0. [inputs]: Replace clang, and llvm with clang-toolchain. Switch to LLVM 19 as per upstream release notes. [#:phases]: Add fix-sh-paths phase to patch "/bin/sh" references. Add install-lib phase to install libclasp.so file. : Update ld-flags, and pass more arguments. : Enable parallel building. Most of the changes here are derived from upstream[0]. [0] https://raw.githubusercontent.com/clasp-developers/clasp/refs/tags/2.7.0/guix/clasp.scm Change-Id: Id66086e0fe67ed2db62d1a0913b31e3946188519 --- gnu/packages/lisp.scm | 51 +++++++++++++++++++++++++++++-------------- 1 file changed, 35 insertions(+), 16 deletions(-) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 1af71bc9a2..b5b5128c55 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -28,7 +28,7 @@ ;;; Copyright © 2023 Andrew Kravchuk ;;; Copyright © 2024 Andreas Enge ;;; Copyright © 2024 bigbug -;;; Copyright © 2024 Ashish SHUKLA +;;; Copyright © 2024, 2025 Ashish SHUKLA ;;; Copyright © 2024 Omar Bassam ;;; Copyright © 2024 Suhail Singh ;;; Copyright © 2024 David Pflug @@ -382,7 +382,7 @@ (define-public ccl (define-public clasp-cl (package (name "clasp-cl") - (version "2.6.0") + (version "2.7.0") (source (origin (method url-fetch) @@ -390,16 +390,24 @@ (define-public clasp-cl "https://github.com/clasp-developers/clasp/releases/download/" version "/clasp-" version ".tar.gz")) (sha256 - (base32 "10jjhcid6qp64gx29iyy5rqqijwy8hrvx66f0xabdj8w3007ky39")))) + (base32 "1sf8m0w3d4kagf4chb7viqndnr152crpsy979ll61krcfxaybc4j")))) (build-system gnu-build-system) (inputs - (list boost clang-15 fmt `(,gcc "lib") gmp libelf libunwind llvm-15)) + (list boost clang-toolchain-19 fmt `(,gcc "lib") gmp libelf libunwind)) (native-inputs (list binutils-gold ninja pkg-config sbcl)) (arguments `(#:phases (modify-phases %standard-phases (delete 'check) + (add-after 'unpack 'fix-sh-paths + (lambda _ + (substitute* '("dependencies/quicklisp-client/asdf.lisp" + "src/lisp/modules/asdf/uiop/run-program.lisp" + "src/lisp/modules/asdf/uiop/launch-program.lisp" + "src/lisp/regression-tests/extensions.lisp") + (("\"/bin/sh\"") + (string-append "\"" (which "sh") "\""))))) (add-after 'unpack 'patch-koga (lambda* _ (call-with-port (open-file "src/koga/units.lisp" "a") @@ -415,15 +423,16 @@ (define-public clasp-cl "/__fasls")))) (replace 'configure (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (clang (assoc-ref inputs "clang")) - (ld-flags - (string-join - (apply append - (map (lambda (f) - (list "-L" f "-rpath" f)) - (string-split (getenv "LIBRARY_PATH") #\:))) - ","))) + (let* ((out (assoc-ref outputs "out")) + (clang (assoc-ref inputs "clang-toolchain")) + (ld-flags (string-join + (apply append + (map (lambda (f) + (list "-L" f "-rpath" f)) + ;; prepend self in rpaths + (cons (string-append out "/lib") + (string-split (getenv "LIBRARY_PATH") #\:)))) + ","))) (invoke "sbcl" "--script" "./koga" @@ -436,13 +445,23 @@ (define-public clasp-cl "--package-path=/" (string-append "--bin-path=" out "/bin") (string-append "--lib-path=" out "/lib/clasp") + (string-append "--dylib-path=" out "/lib") + (string-append "--pkgconfig-path=" out "/lib/pkgconfig") (string-append "--share-path=" out "/share/clasp"))))) (replace 'build - (lambda* _ - (invoke "ninja" "-C" "build"))) + (lambda* (#:key parallel-build? #:allow-other-keys) + (let ((jobs (if parallel-build? + (number->string (parallel-job-count)) + "1"))) + (setenv "CLASP_BUILD_JOBS" jobs) + (invoke "ninja" "-C" "build" "-j" jobs)))) (replace 'install (lambda* _ - (invoke "ninja" "-C" "build" "install")))))) + (invoke "ninja" "-C" "build" "install"))) + (add-after 'install 'install-lib + (lambda* (#:key outputs #:allow-other-keys) + (install-file "build/boehmprecise/lib/libclasp.so" + (string-append (assoc-ref outputs "out") "/lib"))))))) (home-page "https://clasp-developers.github.io/") (synopsis "Common Lisp implementation based on LLVM and C++") (description "Clasp is a new Common Lisp implementation that seamlessly base-commit: 18f956467a7e3e35e21a9b5616025bf33f307ad7 -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 23 23:23:30 2025 Received: (at 77130-done) by debbugs.gnu.org; 24 Mar 2025 03:23:31 +0000 Received: from localhost ([127.0.0.1]:53478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1twYPS-00017N-02 for submit@debbugs.gnu.org; Sun, 23 Mar 2025 23:23:30 -0400 Received: from mx2.dismail.de ([159.69.191.136]:5546) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1twYPK-00016y-Bs for 77130-done@debbugs.gnu.org; Sun, 23 Mar 2025 23:23:26 -0400 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 735d2886; Mon, 24 Mar 2025 04:23:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h= mime-version:date:content-type:content-transfer-encoding:from :message-id:subject:to:cc; s=20190914; bh=lHuXjtnGIwA8Zzr3bT7RPQ h03xIe4TvMRJ0gk9Qtcas=; b=vF/aoIUCa1Vqmwg7BSLRGcPwBszEYhd9p2MtMN Odcl30Dtge37aqN3gz97DysHfKVBy6hIWxe5DHOa+2jBGjzuHk3akfoO82XZxwdx mjjqkOpFDAaH4+fBLc85o+joTgMT0B5gYAoh864R2Yjvc9BWP9CQymeZ2aED8+n0 X00MPqomJq/V+52Q75bL0+VaTSpCOkYyOZ6jy3ExviOW42IOoomNOqiQU9+9yMyY jg7JjUnNEDh15TYRH4RTz+7KF1MZ+Slcii5v6d5IIzEbCVmMQV3iXzmhzkcgDqJ6 nNioz4vZ8e7hQcBERrWozpkGBd7SSgdYi2uusk5KsM8P0Z8Q== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx2.dismail.de (OpenSMTPD) with ESMTP id b92777f8; Mon, 24 Mar 2025 04:23:13 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id a8575ae2; Mon, 24 Mar 2025 04:23:12 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 7a2a6920 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 24 Mar 2025 04:23:11 +0100 (CET) MIME-Version: 1.0 Date: Mon, 24 Mar 2025 03:23:10 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: "jgart" Message-ID: <968d0505350e590bb451407fbe0e50ff49556586@dismail.de> TLS-Required: No Subject: Re: [PATCH] gnu: clasp-cl: Update to 2.7.0. To: 77130-done@debbugs.gnu.org X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77130-done Cc: ashish.is@lostca.se 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 (---) Applied, thanks. From unknown Tue Jun 17 01:26:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 21 Apr 2025 11:24:08 +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