From patchwork Sat Apr 16 21:59:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reily Siegel X-Patchwork-Id: 38611 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D39E427BBEA; Sun, 17 Apr 2022 00:04:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9AFCB27BBE9 for ; Sun, 17 Apr 2022 00:04:14 +0100 (BST) Received: from localhost ([::1]:34942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfrSf-0004zz-LJ for patchwork@mira.cbaines.net; Sat, 16 Apr 2022 19:04:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfrSU-0004z5-Iu for guix-patches@gnu.org; Sat, 16 Apr 2022 19:04:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nfrSU-0001ET-84 for guix-patches@gnu.org; Sat, 16 Apr 2022 19:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nfrSU-0004A4-4j for guix-patches@gnu.org; Sat, 16 Apr 2022 19:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH v4 1/2] gnu: clojure-tools-deps-alpha: Patch unpackageable References: <87y22r32hi.fsf@reilysiegel.com> Resent-From: Reily Siegel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 16 Apr 2022 23:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53765 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53765@debbugs.gnu.org Cc: Maxime Devos Received: via spool by 53765-submit@debbugs.gnu.org id=B53765.165015018215909 (code B ref 53765); Sat, 16 Apr 2022 23:04:02 +0000 Received: (at 53765) by debbugs.gnu.org; 16 Apr 2022 23:03:02 +0000 Received: from localhost ([127.0.0.1]:34549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfrRV-00048N-UX for submit@debbugs.gnu.org; Sat, 16 Apr 2022 19:03:02 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]:38522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfrRU-00047v-LG for 53765@debbugs.gnu.org; Sat, 16 Apr 2022 19:03:01 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4KgpdB5jkLz9sR6; Sun, 17 Apr 2022 01:02:54 +0200 (CEST) From: Reily Siegel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1650150172; 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: in-reply-to:in-reply-to; bh=mG1oNpO56fJpRZvy1yZzamCtyJlmAAiHNdJao7HEwl0=; b=jsL8+3izn0lEQhXyMFVVS1bSBumN/lKgFlDU3k2Zhrmbgd/2fWQ5U1163gDOQrk5rZMazR mOjqwDAcRviW9ib6W9HE7U1vSEfZStlgkPYWDhkfIDrg+bnlcW2c4ypGC0aPi++ojG5XQn iC3MaL4ByiH5qRHmiktplL3YmsMETmliEa/xBqVwjQamp6q7naAsvg1Oo5XTuAQPBJ21To A0imEF60Xv35zfn83EYM5UG/y+i9LHEXWRXa7MCeDzpqMtm0/v5qdKY5Eme8vOt1+gdX+h t3AL79vyQSd+RKgtx/BHZwnKXE1lC+tAYWHAhBQZ5hSWuJEaFnWdfDUVbzR1EA== In-Reply-To: Date: Sat, 16 Apr 2022 23:59:15 +0200 Message-Id: <3981f1dd891e8cd863dc9fecffe30c97235ce643.1650150000.git.mail@reilysiegel.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/clojure.scm | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index e6eb749501..0d9e984bd6 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -501,11 +501,11 @@ (define-public clojure-tools-deps-alpha #:tests? #f #:phases (modify-phases %standard-phases - ;; FIXME: Currently, the S3 transporter depends on ClojureScript, - ;; which is very difficult to package due to dependencies on Java - ;; libraries with non-standard build systems. Instead of actually - ;; packaging these libraries, we just remove the S3 transporter that - ;; depends on them. + ;; Currently, the S3 transporter depends on com.cognitect.aws/s3, + ;; which is built from Amazon's aws-sdk-js using a closed-source + ;; script. For more information see: + ;; https://issues.guix.gnu.org/53765 + ;; https://github.com/cognitect-labs/aws-api/issues/116 (add-after 'unpack 'remove-s3-transporter (lambda _ (for-each delete-file @@ -519,9 +519,10 @@ (define-public clojure-tools-deps-alpha (string-append "src/test/clojure/clojure/" "tools/deps/alpha/util/test_s3_transporter.clj"))) - (substitute* - "src/main/clojure/clojure/tools/deps/alpha/util/maven.clj" + (substitute* "src/main/clojure/clojure/tools/deps/alpha/util/maven.clj" (("clojure.tools.deps.alpha.util.s3-transporter") + "") + (("(printerrln \"Warning: failed to load the S3TransporterFactory class\")") ""))))))) (propagated-inputs (list maven-resolver-api maven-resolver-spi From patchwork Sat Apr 16 22:00:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reily Siegel X-Patchwork-Id: 38610 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 89B9427BBEA; Sun, 17 Apr 2022 00:04:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5E83927BBE9 for ; Sun, 17 Apr 2022 00:04:14 +0100 (BST) Received: from localhost ([::1]:34940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfrSf-0004zq-FB for patchwork@mira.cbaines.net; Sat, 16 Apr 2022 19:04:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfrSU-0004zC-TS for guix-patches@gnu.org; Sat, 16 Apr 2022 19:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40656) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nfrSU-0001EZ-KV for guix-patches@gnu.org; Sat, 16 Apr 2022 19:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nfrSU-0004AB-Gh for guix-patches@gnu.org; Sat, 16 Apr 2022 19:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH v4 2/2] gnu: clojure-tools: Fix logging warnings. References: <87y22r32hi.fsf@reilysiegel.com> Resent-From: Reily Siegel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 16 Apr 2022 23:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53765 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53765@debbugs.gnu.org Cc: Maxime Devos Received: via spool by 53765-submit@debbugs.gnu.org id=B53765.165015019215935 (code B ref 53765); Sat, 16 Apr 2022 23:04:02 +0000 Received: (at 53765) by debbugs.gnu.org; 16 Apr 2022 23:03:12 +0000 Received: from localhost ([127.0.0.1]:34552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfrRg-00048x-DC for submit@debbugs.gnu.org; Sat, 16 Apr 2022 19:03:12 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:46739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfrRe-00048i-9L for 53765@debbugs.gnu.org; Sat, 16 Apr 2022 19:03:10 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4KgpdN23sDz9sTC; Sun, 17 Apr 2022 01:03:04 +0200 (CEST) From: Reily Siegel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1650150182; 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: in-reply-to:in-reply-to; bh=TcS4HGJfclDb9gE10tir2mA42kaI7Yi1D7mr21c/OGQ=; b=I5PdVPaRmyBioCWFyu3jXdftxLEbsucL1Kv4jagQFDKXJhiDGigkgbQ/guvm8mSr9ynxPD lJbUB5kgUkvefE4W89FdXJzRXRY5ioDrA1F/6VIiH5mfV57OWqEo1yA8L+Ko7kJ4UXULrk EXABuvEi/jJfuWReUtnDcrl2yOwWpH99EtPZKbAN7L94RSdz2GKattGUy66fqsrU5zC5ar EMkVVF0EaNdlfO2sAqvUd0lqRKGwxRxhrt3iSSuHxMEzqQygaUlMYd1lUJFRcFzYe2Zhs1 naYDj2r/LV5iuEUscSlE1nTXqzrnwDXwFxsUrMl1x3+Hy8bVYZhLADxbpckr5g== In-Reply-To: Date: Sun, 17 Apr 2022 00:00:50 +0200 Message-Id: <9f741e49cb8a75b42825cb166f7a7940a0b43991.1650150000.git.mail@reilysiegel.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/clojure.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 0d9e984bd6..e10a0ced11 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -199,7 +199,8 @@ (define-public clojure-tools (inputs (list rlwrap clojure clojure-tools-deps-alpha - java-commons-logging-minimal)) + java-commons-logging-minimal + java-slf4j-simple)) (home-page "https://clojure.org/releases/tools") (synopsis "CLI tools for the Clojure programming language") (description "The Clojure command line tools can be used to start a