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: 38622 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 49C6F27BBEA; Sun, 17 Apr 2022 12:42:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B8D3C27BBE9 for ; Sun, 17 Apr 2022 12:42:10 +0100 (BST) Received: from localhost ([::1]:56266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ng3I9-0001NY-V7 for patchwork@mira.cbaines.net; Sun, 17 Apr 2022 07:42:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ng3H5-0001N9-5h for guix-patches@gnu.org; Sun, 17 Apr 2022 07:41:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41241) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ng3H3-0006wp-LC for guix-patches@gnu.org; Sun, 17 Apr 2022 07:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ng3H3-00034Z-J3 for guix-patches@gnu.org; Sun, 17 Apr 2022 07:41:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH v5 1/2] gnu: clojure-tools-deps-alpha: Patch unpackageable deps warning. References: <87y22r32hi.fsf@reilysiegel.com> In-Reply-To: <87y22r32hi.fsf@reilysiegel.com> Resent-From: Reily Siegel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Apr 2022 11:41:01 +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.165019565111783 (code B ref 53765); Sun, 17 Apr 2022 11:41:01 +0000 Received: (at 53765) by debbugs.gnu.org; 17 Apr 2022 11:40:51 +0000 Received: from localhost ([127.0.0.1]:35138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ng3Gt-00033z-1Y for submit@debbugs.gnu.org; Sun, 17 Apr 2022 07:40:51 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:54845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ng3Gr-00033l-Ff for 53765@debbugs.gnu.org; Sun, 17 Apr 2022 07:40:50 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [80.241.60.245]) (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-101.mailbox.org (Postfix) with ESMTPS id 4Kh7RZ5RjKz9sSl; Sun, 17 Apr 2022 13:40:42 +0200 (CEST) From: Reily Siegel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1650195640; 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; bh=eDCfyBAGJ4zAXTeqfOv1/XBiyTF7y7oXJipIKbl+Zmg=; b=xVErb7G/wy6ep7Iaz6CWfYuPWhsriQPRITyRvihtuk5Cl0twsAlzfiEyATxRlOYwstkH2Z 2aUrmixnfzrZT5Dtpw3TxbKm3jV7abm/ZE9pG+V5IiUt9Flp4glqS2i2djIHeeH7x89lCZ X7s/a8JLBv2fyyjN3QLuq95zCqjETAkc6xth/redMKudFvYOgJJL21z0bRtaum+ei2NWxF XUzvWbWTCOhWNlzpndoBdkUe3kvW0z56fu3Kvou6bT9VuW/rWzn01I0d//RXdc1SzSwM8g NG7NOwNlZLT09eJLIwrSAWHEvaUCVMDgnIN42luRaul8ytfXvppIjr7N6VCuUg== Date: Sat, 16 Apr 2022 23:59:15 +0200 Message-Id: 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 (clojure-tools-deps-alpha) [arguments] <#:phases> {remove-s3-transporter}: Patch out warning for missing S3TransporterFactory, caused by a missing dependency that cannot be included in Guix. --- 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..8ec04bd94d 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. + ;; FIXME: Currently, the S3 transporter depends on + ;; com.cognitect.aws/s3, which is built from Amazon's aws-sdk-js + ;; using a non-free 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