From: Ben Sturmfels <ben@stumbles.id.au>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: 32709@debbugs.gnu.org
Subject: bug#32709: Clojure doesn't provide "clojure" executable
Date: Thu, 13 Dec 2018 14:08:47 +1100 [thread overview]
Message-ID: <b596999c-28ef-2b1d-f2dc-da53f888bd53@stumbles.id.au> (raw)
In-Reply-To: <878t456tnj.fsf@elephly.net>
[-- Attachment #1.1: Type: text/plain, Size: 1598 bytes --]
Thanks Ricardo,
On 14/09/18 06:15, Ricardo Wurmus wrote:
>
> Hi Ben,
>
>> When I install the "clojure" package, I can't seem to just run `clojure`
>> and get an interpreter like I would on Debian.
>>
>> My Java is a bit rusty, but I found I could get it going by installing the "icedtea" package and running:
>>
>> java -cp ~/.guix-profile/share/java/clojure-1.9.0.jar clojure.main
>>
>> or
>>
>> java -jar ~/.guix-profile/share/java/clojure-1.9.0.jar
>>
>> which is a bit of a mouthful.
>
> It is, but this is what upstream tells us to run after building the
> package. Neither pom.xml (for Maven) nor build.xml (for Ant) contain
> targets that generate a shell wrapper.
>
> It looks like adding a shell wrapper is a decision that was taken by
> Debian and is not what upstream does. So this is not due to a defect in
> the ant-build-system.
>
> To address this we may want to add a wrapper in a custom build phase.
I see what you mean about Debian's approach with the wrapper.
After some investigating I see that Clojure project's current approach
is different again to Debian. Their releases eg.
https://download.clojure.org/install/clojure-tools-1.9.0.XXX.tar.gz
include scripts `clj` and `clojure` which come from
https://github.com/clojure/brew-install. These scripts use functionality
from https://github.com/clojure/tools.deps.alpha/ to automatically
download any libraries you've declared a dependency on at runtime.
There will surely be a script that does this multi-repository build, but
I haven't found it yet.
Regards,
Ben
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2018-12-13 3:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-12 1:57 bug#32709: Clojure doesn't provide "clojure" executable Ben Sturmfels
2018-09-13 20:15 ` Ricardo Wurmus
2018-12-13 3:08 ` Ben Sturmfels [this message]
2018-12-13 5:36 ` Ben Sturmfels
2020-12-07 0:22 ` Ben Sturmfels
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b596999c-28ef-2b1d-f2dc-da53f888bd53@stumbles.id.au \
--to=ben@stumbles.id.au \
--cc=32709@debbugs.gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).