With up to date ports tree and packages, this happens: ... =========================================================================== =======================<phase: configure >============================ ===> Configuring for openjdk8-8.121.13 Warning: You are using legacy autoconf cross-compilation flags. It is recommended that you use --openjdk-target instead. Running generated-configure.sh ./../../common/autoconf/generated-configure.sh: redirection error: cannot duplicate fd: Bad file descriptor ./../../common/autoconf/generated-configure.sh: line 560: 0: Bad file descriptor configure exiting with result code 1 ===> Script "../../configure" failed unexpectedly. Please report the problem to java@FreeBSD.org [maintainer] and attach the "/wrkdirs/usr/ports/java/openjdk8/work/openjdk/common/autoconf/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: stopped in /usr/ports/java/openjdk8
Maybe it is the same as https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217846
(In reply to w.schwarzenfeld from comment #1) Possibly, thanks for the hint! I'll rebuild world and all my ports and in about 40 hours we probably know more :-)
It seems this was the problem. Updating world to a recent revision resolves the issue. Thanks! *** This bug has been marked as a duplicate of bug 217846 ***