Opened 7 years ago
Closed 7 years ago
#55806 closed defect (fixed)
kotlin's `-version` argument causes error.
Reported by: | outis | Owned by: | breun (Nils Breunese) |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | kotlin |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Summary
kotlin @1.2.21_0 generates error when displaying version.
Description
Running kotlin with the -version
argument:
$ kotlin -version
generates the message:
error: no build.txt was found at home=/opt/local/share/java/kotlin
While normally application run errors are the purview of the application developers, this appears to either be due to a missing file, which would be an installation issue.
System Info
- OS X 10.12.6
- Java 1.8.0_144
Change History (5)
comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | set to breun |
Status: | new → assigned |
comment:2 Changed 7 years ago by breun (Nils Breunese)
comment:3 Changed 7 years ago by breun (Nils Breunese)
The installation moves build.txt
to ${prefix}/share/doc/kotlin/build.txt
, but apparently the kotlin
binary expects this file to be in ${prefix}/share/java/kotlin
for displaying its version. I'll update the Portfile.
comment:4 Changed 7 years ago by breun (Nils Breunese)
I've created a pull request to fix this: https://github.com/macports/macports-ports/pull/1311
comment:5 Changed 7 years ago by breun (Nils Breunese)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
I'll look into it. Displaying the version does seem to work when invoking
kotlinc
: