Could not build math/ipopt 3.14.4_1 from ports due to configuration problem. === It complains on jikes: === checking whether drand48 is declared... yes checking whether rand is declared... yes checking for std::srand... yes checking whether feenableexcept is declared... yes checking for gcj... no checking for guavac... no checking for jikes... jikes checking if jikes works... configure: error: The Java compiler jikes failed (see config.log, check the CLASSPATH?) ===> Script "configure" failed unexpectedly. Please report the problem to yuri@FreeBSD.org [maintainer] and attach the "/usr/ports/math/ipopt/work/Ipopt-releases-3.14.4/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make[1]: stopped in /usr/ports/math/ipopt *** Error code 1 Stop. make: stopped in /usr/ports/math/ipopt === And in config.log file: === configure:25885: checking for jikes configure:25906: found /usr/local/bin/jikes configure:25917: result: jikes configure:25984: checking if jikes works configure:25999: jikes Test.java Found 1 system error: *** Semantic Error: You need to modify your classpath, sourcepath, bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in: . configure:26002: $? = 1 configure:26006: error: The Java compiler jikes failed (see config.log, check the CLASSPATH?)
(In reply to gja822 from comment #0) gja822@narod.ru, Thanks for the report. The problem is fixed. Best, Yuri
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0358837921aa74b09045b942f36a228dc82f86d commit a0358837921aa74b09045b942f36a228dc82f86d Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-03-04 19:11:49 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-03-04 19:11:49 +0000 math/ipopt: Disable Java option It was breaking when guavac, jikes, or javac executables were found. PR: 262347 Reported by: gja822@narod.ru math/ipopt/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)