Bug 262347 - math/ipopt configure error
Summary: math/ipopt configure error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-04 18:53 UTC by gja822
Modified: 2022-03-04 19:14 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gja822 2022-03-04 18:53:47 UTC
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?)
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2022-03-04 19:13:31 UTC
(In reply to gja822 from comment #0)

gja822@narod.ru,

Thanks for the report.

The problem is fixed.


Best,
Yuri
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-03-04 19:14:21 UTC
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(-)