Problems compiling abcl-1.6.1

Gregory Baryza gabaryza at gmail.com
Tue Apr 28 19:23:01 UTC 2020


Mark:

Thank you! Especially for the quick turnaround. That works, but now
there is a warning about 'yield' becoming a restricted term in future
versions (presumably of Java).

The warning is for

src/org/armedbear/lisp/java/swing/REPLConsole.java

at line 144. It says to invoke a method called 'yield', qualify the yield
with a receiver or type name.

FYI: I sent my mail to the address specified in the README file.

Greg Baryza



On Tue, Apr 28, 2020 at 1:59 PM Mark Evenson <evenson at panix.com> wrote:

> [For some reason Greg’s message wasn’t delivered via email, so I am
> replying “out of band” without the proper SMTP headers.]
>
> > I am an ABCL user, but by no means an expert.  I just unpacked the source
> > zip file and tried to compile it without success. I am using Java 14.0.1
> > and Ant 1.9.6. The resulting output is attached.
>
>
> buildfile:
> C:\Users\baryza\__Library\Armed_Bear_Lisp\abcl-src-1.6.1\build.xml
>
> […]
>
> abcl.compile.java:
>     [javac] Compiling 271 source files to
> C:\Users\baryza\__Library\Armed_Bear_Lisp\abcl-src-1.6.1\build\classes
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with -source 6
>     [javac] error: Source option 6 is no longer supported. Use 7 or later.
>     [javac] error: Target option 6 is no longer supported. Use 7 or later.
>
> For Java 14, we need to tell the compiler to target the right source
> compatibility.
>
> There is a script in `ci/create-abcl-properties.bash` that works with Bash
> to do configuration, but I see from your logs that you are running under
> Windows.
>
> So do the steps manually:
>
> 1.  copy `abcl.properties.in` to `abcl.properties`
>
> 2.  Change the line with `abcl.javac.source` to read
>
> abcl.javac.source=1.8
>
>
> Then you should be able to compile (or at least get past this error).
>
> Not sure what is going on with the mailing list…
>
>
> --
> "A screaming comes across the sky.  It has happened before but there is
> nothing
> to compare to it now."
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20200428/061e5b37/attachment.htm>


More information about the armedbear-devel mailing list