#56640 closed defect (wontfix)
abcl @1.5.0: No applicable method named getURLs found
Reported by: | carlofdtam (Carlo Tambuatco) | Owned by: | easye |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | abcl |
Description
Attempted a reinstall of the abcl port under java 10 and the port fails to build. Also unsuccessfully attempted to build port under java 1.8_161 and the port failed to build.
Attachments (1)
Change History (6)
Changed 6 years ago by carlofdtam (Carlo Tambuatco)
Attachment: | abcl-build.log added |
---|
comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to easye |
---|---|
Port: | abcl added |
Status: | new → assigned |
Summary: | abcl port fails to build. → abcl @1.5.0: No applicable method named getURLs found |
comment:2 Changed 6 years ago by easye
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
abcl will not compile under Java 9 or Java 10.
The port builds find under jdk-1.8.0_162 for me. I see no evidence in the the attached log that jdk-1.8.0_161 was used.
If you have evidence of the port failing to build under a pure JDK8 environment, please attach that log, and I will examine the ticket again.
comment:3 Changed 6 years ago by carlofdtam (Carlo Tambuatco)
I have 3 jdk's installed on my system. Java 1.8.0_161, Java 9 and Java 10. My $JAVA_HOME environment variable is set to java 1.8.0_161. However, macports seems to still be using Java 10 to compile this port as evidenced in the logfile. So the question becomes, how do I tell macports to use jdk 1.8.0_161 to build this port?
comment:4 Changed 6 years ago by kencu (Ken)
which one do you get by default if you just type java -version
?
On 10.13, all stock, I get this:
$ java -version java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
and abcl
builds and runs OK, it seems:
$ abcl Armed Bear Common Lisp 1.5.0 Java 1.8.0_131 Oracle Corporation Java HotSpot(TM) 64-Bit Server VM Low-level initialization completed in 0.426 seconds. Startup completed in 2.664 seconds. Type ":help" for a list of available commands. CL-USER(1):
comment:5 Changed 6 years ago by carlofdtam (Carlo Tambuatco)
I finally resolved this issue by using
sudo -E port install abcl
My java -version gives
java version "1.8.0_161"
I used the -E flag on sudo to export all environment variables before executing the port command. This finally caused macports to recognize my $JAVA_HOME variable.
Log file generated under abcl build...