Port isn't built

Красотин Артём a.krasotin at a-real.ru
Mon Apr 22 08:05:59 UTC 2019


Hello!

Building of port java/openjdk8 
<https://www.freshports.org/java/openjdk8/> on FreeBSD 11.2 RELEASE 
amd64 fails with configure_error. Logs in attachment.

Best regards, Artem Krasotin



---
Это сообщение проверено на вирусы антивирусом Avast.
https://www.avast.com/antivirus
-------------- next part --------------
=>> Building java/openjdk8
build started at Mon Apr 22 02:56:05 MSK 2019
port directory: /usr/ports/java/openjdk8
package name: openjdk8-8.212.4.1
building for: FreeBSD FreeBSD:11:amd64-develop-job-03 11.2-RELEASE-p6 FreeBSD 11.2-RELEASE-p6 amd64
maintained by: java at FreeBSD.org
Makefile ident:      $FreeBSD: head/java/openjdk8/Makefile 499386 2019-04-19 19:08:40Z glewis $
Poudriere version: 3.3.0
Host OSVERSION: 1102504
Jail OSVERSION: 1102000
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1102000
UNAME_v=FreeBSD 11.2-RELEASE-p6
UNAME_r=11.2-RELEASE-p6
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.0
MASTERMNT=/usr/local/poudriere/data/.m/FreeBSD_11_amd64-develop/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=su
PWD=/usr/local/poudriere/data/.m/FreeBSD_11_amd64-develop/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=FreeBSD:11:amd64-develop
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/FreeBSD_11_amd64-develop/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for openjdk8-8.212.4.1:
     ALSA=on: ALSA audio architecture support
     FONTCONFIG=off: X11 font configuration support
     POLICY=on: Install the Unlimited Strength Policy Files
     TEST=off: Run regression tests
     TZUPDATE=on: Update the time zone data
     X11=off: X11 (graphics) support
====> Select OpenJDK build type: you have to select exactly one of them
     DEBUG=off: Build for debugging (without optimizations)
     DEBUGFAST=off: Build for debugging (with optimizations)
     RELEASE=on: Build for release (default)
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
java at FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-boot-jdk=/usr/local/bootstrap-openjdk8 --with-build-number="b04" --with-update-version=212 --disable-freetype-bundling  --disable-zip-debug-info  --with-cacerts-file=/usr/ports/java/openjdk8/files/cacerts  --with-cups=/usr/local  --with-debug-level=release  --with-freetype=/usr/local  --with-freetype-include=/usr/local/include/freetype2  --with-jobs=1  --with-jvm-variants=server  --with-milestone=fcs  --with-package-path=/usr/local  --with-zlib=system --with-alsa=/usr/local --enable-unlimited-crypto --disable-debug-symbols --disable-headful --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf LIBCXX="-lc++" XDG_DATA_HOME=/wrkdirs/usr/ports/java/openjdk8/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/java/openjdk8/work  HOME=/wrkdirs/usr/ports/java/openjdk8/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/java/openjdk8/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
CLASSPATH="" JAVA_HOME="" LD_LIBRARY_PATH="" IGNORE_OLD_CONFIG=true COMPILER_WARNINGS_FATAL="false" BUILD_HEADLESS_ONLY=1  MAKEFLAGS=X_CFLAGS="-I/usr/local/include" COMPILER_WARNINGS_FATAL=false USE_CLANG=true XDG_DATA_HOME=/wrkdirs/usr/ports/java/openjdk8/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/java/openjdk8/work  HOME=/wrkdirs/usr/ports/java/openjdk8/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/java/openjdk8/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include -DLIBICONV_PLUG"  LDFLAGS=" -L/usr/local/lib -fstack-protector " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
 OSREL=11.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/openjdk"  EXAMPLESDIR="share/examples/openjdk"  DATADIR="share/openjdk"  WWWDIR="www/openjdk"  ETCDIR="etc/openjdk"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/openjdk DOCSDIR=/usr/local/share/doc/openjdk EXAMPLESDIR=/usr/local/share/examples/openjdk  WWWDIR=/usr/local/www/openjdk ETCDIR=/usr/local/etc/openjdk
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/FreeBSD:11:amd64-develop-make.conf ####
DEFAULT_VERSIONS+=php=7.2
DEFAULT_VERSIONS+=mysql=10.2m
DEFAULT_VERSIONS+=apache=2.4
DEFAULT_VERSIONS+=samba=4.6
DEFAULT_VERSIONS+=node=10
DEFAULT_VERSIONS+=gcc=7
OPTIONS_UNSET+= HAL 
OPTIONS_UNSET+= DEBUG 
OPTIONS_UNSET+= EGL
OPTIONS_UNSET+= NLS
OPTIONS_UNSET+= EXAMPLES
OPTIONS_UNSET+= DOCS
OPTIONS_UNSET+= MAN
OPTIONS_UNSET+= X11
WANT_OPENLDAP_SASL="YES"

# SQUID_CONFIGURE_ARGS="--enable-useragent-log"
# DEFAULT_VERSIONS+=ssl=openssl
# DEFAULT_VERSIONS+=ssl=libressl
WITH_CCACHE_BUILD=yes
CCACHE_DIR=/root/.ccache
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=11.2-RELEASE-p6
OSREL=11.2
OSVERSION=1102000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
_SMP_CPUS=8
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  19558
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   openjdk8-8.212.4.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[FreeBSD:11:amd64-develop-job-03] Installing pkg-1.10.5_5...
[FreeBSD:11:amd64-develop-job-03] Extracting pkg-1.10.5_5: .......... done
===>   openjdk8-8.212.4.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of openjdk8-8.212.4.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by openjdk8-8.212.4.1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by openjdk8-8.212.4.1 for building
=> SHA256 Checksum OK for jdk8u212-b04.1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by openjdk8-8.212.4.1 for building
===>  Extracting for openjdk8-8.212.4.1
=> SHA256 Checksum OK for jdk8u212-b04.1.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for openjdk8-8.212.4.1
===>  Applying FreeBSD patches for openjdk8-8.212.4.1
No such line 970 in input file, ignoring
===========================================================================
=======================<phase: build-depends  >============================
===>   openjdk8-8.212.4.1 depends on executable: zip - not found
===>   Installing existing package /packages/All/zip-3.0_1.txz
[FreeBSD:11:amd64-develop-job-03] Installing zip-3.0_1...
[FreeBSD:11:amd64-develop-job-03] Extracting zip-3.0_1: .......... done
===>   openjdk8-8.212.4.1 depends on executable: zip - found
===>   Returning to build of openjdk8-8.212.4.1
===>   openjdk8-8.212.4.1 depends on package: autoconf>0 - not found
===>   Installing existing package /packages/All/autoconf-2.69_2.txz
[FreeBSD:11:amd64-develop-job-03] Installing autoconf-2.69_2...
[FreeBSD:11:amd64-develop-job-03] `-- Installing autoconf-wrapper-20131203...
[FreeBSD:11:amd64-develop-job-03] `-- Extracting autoconf-wrapper-20131203: .......... done
[FreeBSD:11:amd64-develop-job-03] `-- Installing indexinfo-0.3.1...
[FreeBSD:11:amd64-develop-job-03] `-- Extracting indexinfo-0.3.1: .... done
[FreeBSD:11:amd64-develop-job-03] `-- Installing m4-1.4.18_1,1...
[FreeBSD:11:amd64-develop-job-03] `-- Extracting m4-1.4.18_1,1: ...... done
[FreeBSD:11:amd64-develop-job-03] `-- Installing perl5-5.28.1_1...
[FreeBSD:11:amd64-develop-job-03] `-- Extracting perl5-5.28.1_1: .......... done
[FreeBSD:11:amd64-develop-job-03] Extracting autoconf-2.69_2: .......... done
Message from perl5-5.28.1_1:

The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:

#!/usr/local/bin/perl

or

#!/usr/bin/env perl

The first one will only work if you have a /usr/local/bin/perl,
the second will work as long as perl is in PATH.
===>   openjdk8-8.212.4.1 depends on package: autoconf>0 - found
===>   Returning to build of openjdk8-8.212.4.1
===>   openjdk8-8.212.4.1 depends on file: /usr/local/include/cups/cups.h - not found
===>   Installing existing package /packages/All/cups-2.2.11.txz
[FreeBSD:11:amd64-develop-job-03] Installing cups-2.2.11...
[FreeBSD:11:amd64-develop-job-03] `-- Installing avahi-app-0.7_2...
[FreeBSD:11:amd64-develop-job-03] |   `-- Installing dbus-1.12.12...
[FreeBSD:11:amd64-develop-job-03] |   | `-- Installing expat-2.2.6_1...
[FreeBSD:11:amd64-develop-job-03] |   | `-- Extracting expat-2.2.6_1: .......... done
===> Creating groups.
Creating group 'messagebus' with gid '556'.
===> Creating users
Creating user 'messagebus' with uid '556'.
[FreeBSD:11:amd64-develop-job-03] |   `-- Extracting dbus-1.12.12: ......... done
[FreeBSD:11:amd64-develop-job-03] |   `-- Installing dbus-glib-0.110...
[FreeBSD:11:amd64-develop-job-03] |   | `-- Installing gettext-runtime-0.19.8.1_2...
[FreeBSD:11:amd64-develop-job-03] |   | `-- Extracting gettext-runtime-0.19.8.1_2: .......... done
[FreeBSD:11:amd64-develop-job-03] |   | `-- Installing glib-2.56.3_4,1...
[FreeBSD:11:amd64-develop-job-03] |   |   `-- Installing libffi-3.2.1_3...
[FreeBSD:11:amd64-develop-job-03] |   |   `-- Extracting libffi-3.2.1_3: .......... done
[FreeBSD:11:amd64-develop-job-03] |   |   `-- Installing libiconv-1.14_11...
[FreeBSD:11:amd64-develop-job-03] |   |   `-- Extracting libiconv-1.14_11: .......... done
[FreeBSD:11:amd64-develop-job-03] |   |   `-- Installing libxml2-2.9.8...
[FreeBSD:11:amd64-develop-job-03] |   |   `-- Extracting libxml2-2.9.8: .......... done
[FreeBSD:11:amd64-develop-job-03] |   |   `-- Installing pcre-8.43_1...
[FreeBSD:11:amd64-develop-job-03] |   |   `-- Extracting pcre-8.43_1: .......... done
[FreeBSD:11:amd64-develop-job-03] |   |   `-- Installing python36-3.6.8_2...
[FreeBSD:11:amd64-develop-job-03] |   |   | `-- Installing readline-8.0.0...
[FreeBSD:11:amd64-develop-job-03] |   |   | `-- Extracting readline-8.0.0: .......... done
[FreeBSD:11:amd64-develop-job-03] |   |   `-- Extracting python36-3.6.8_2: .......... done
[FreeBSD:11:amd64-develop-job-03] |   | `-- Extracting glib-2.56.3_4,1: .......... done
No schema files found: doing nothing.
[FreeBSD:11:amd64-develop-job-03] |   `-- Extracting dbus-glib-0.110: .......... done
[FreeBSD:11:amd64-develop-job-03] |   `-- Installing gdbm-1.18.1_1...
[FreeBSD:11:amd64-develop-job-03] |   `-- Extracting gdbm-1.18.1_1: .......... done
[FreeBSD:11:amd64-develop-job-03] |   `-- Installing gnome_subr-1.0...
[FreeBSD:11:amd64-develop-job-03] |   `-- Extracting gnome_subr-1.0: .... done
[FreeBSD:11:amd64-develop-job-03] |   `-- Installing gobject-introspection-1.56.1,1...
[FreeBSD:11:amd64-develop-job-03] |   `-- Extracting gobject-introspection-1.56.1,1: .......... done
[FreeBSD:11:amd64-develop-job-03] |   `-- Installing libdaemon-0.14_1...
[FreeBSD:11:amd64-develop-job-03] |   `-- Extracting libdaemon-0.14_1: .......... done
===> Creating groups.
Creating group 'avahi' with gid '558'.
===> Creating users
Creating user 'avahi' with uid '558'.
[FreeBSD:11:amd64-develop-job-03] `-- Extracting avahi-app-0.7_2: .......... done
[FreeBSD:11:amd64-develop-job-03] `-- Installing gnutls-3.6.7...
[FreeBSD:11:amd64-develop-job-03] |   `-- Installing ca_root_nss-3.43...
[FreeBSD:11:amd64-develop-job-03] |   `-- Extracting ca_root_nss-3.43: ........ done
[FreeBSD:11:amd64-develop-job-03] |   `-- Installing gmp-6.1.2_1...
[FreeBSD:11:amd64-develop-job-03] |   `-- Extracting gmp-6.1.2_1: .......... done
[FreeBSD:11:amd64-develop-job-03] |   `-- Installing libidn2-2.1.1...
[FreeBSD:11:amd64-develop-job-03] |   | `-- Installing libunistring-0.9.10_1...
[FreeBSD:11:amd64-develop-job-03] |   | `-- Extracting libunistring-0.9.10_1: .......... done
[FreeBSD:11:amd64-develop-job-03] |   `-- Extracting libidn2-2.1.1: .......... done
[FreeBSD:11:amd64-develop-job-03] |   `-- Installing libtasn1-4.13_1...
[FreeBSD:11:amd64-develop-job-03] |   `-- Extracting libtasn1-4.13_1: .......... done
[FreeBSD:11:amd64-develop-job-03] |   `-- Installing nettle-3.4.1_1...
[FreeBSD:11:amd64-develop-job-03] |   `-- Extracting nettle-3.4.1_1: .......... done
[FreeBSD:11:amd64-develop-job-03] |   `-- Installing p11-kit-0.23.15...
[FreeBSD:11:amd64-develop-job-03] |   `-- Extracting p11-kit-0.23.15: .......... done
[FreeBSD:11:amd64-develop-job-03] |   `-- Installing trousers-0.3.14_2...
[FreeBSD:11:amd64-develop-job-03] |   | `-- Installing tpm-emulator-0.7.4_2...
===> Creating groups.
Creating group '_tss' with gid '601'.
===> Creating users
Creating user '_tss' with uid '601'.
[FreeBSD:11:amd64-develop-job-03] |   | `-- Extracting tpm-emulator-0.7.4_2: ......... done
===> Creating groups.
Using existing group '_tss'.
===> Creating users
Using existing user '_tss'.
[FreeBSD:11:amd64-develop-job-03] |   `-- Extracting trousers-0.3.14_2: .......... done
[FreeBSD:11:amd64-develop-job-03] `-- Extracting gnutls-3.6.7: .......... done
[FreeBSD:11:amd64-develop-job-03] `-- Installing libpaper-1.1.24.4...
[FreeBSD:11:amd64-develop-job-03] `-- Extracting libpaper-1.1.24.4: .......... done
===> Creating groups.
Creating group 'cups' with gid '193'.
===> Creating users
Creating user 'cups' with uid '193'.
[FreeBSD:11:amd64-develop-job-03] Extracting cups-2.2.11: .......... done
Message from python36-3.6.8_2:

===========================================================================

Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py36-gdbm       databases/py-gdbm at py36
py36-sqlite3    databases/py-sqlite3 at py36
py36-tkinter    x11-toolkits/py-tkinter at py36

===========================================================================
Message from ca_root_nss-3.43:

********************************* WARNING *********************************

FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.

*********************************** NOTE **********************************

This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem

***************************************************************************
Message from trousers-0.3.14_2:

To run tcsd automatically, add the following line to /etc/rc.conf:

tcsd_enable="YES"

You might want to edit /usr/local/etc/tcsd.conf to reflect your setup.

If you want to use tcsd with software TPM emulator, use the following
configuration in /etc/rc.conf:

tcsd_enable="YES"
tcsd_mode="emulator"
tpmd_enable="YES"

To use TPM, add your_account to '_tss' group like following:

# pw groupmod _tss -m your_account
===>   openjdk8-8.212.4.1 depends on file: /usr/local/include/cups/cups.h - found
===>   Returning to build of openjdk8-8.212.4.1
===>   openjdk8-8.212.4.1 depends on executable: bash - not found
===>   Installing existing package /packages/All/bash-5.0.7.txz
[FreeBSD:11:amd64-develop-job-03] Installing bash-5.0.7...
[FreeBSD:11:amd64-develop-job-03] Extracting bash-5.0.7: .......... done
===>   openjdk8-8.212.4.1 depends on executable: bash - found
===>   Returning to build of openjdk8-8.212.4.1
===>   openjdk8-8.212.4.1 depends on file: /usr/local/include/X11/Xlib.h - not found
===>   Installing existing package /packages/All/libX11-1.6.7,1.txz
[FreeBSD:11:amd64-develop-job-03] Installing libX11-1.6.7,1...
[FreeBSD:11:amd64-develop-job-03] `-- Installing libXau-1.0.9...
[FreeBSD:11:amd64-develop-job-03] `-- Extracting libXau-1.0.9: .......... done
[FreeBSD:11:amd64-develop-job-03] `-- Installing libXdmcp-1.1.3...
[FreeBSD:11:amd64-develop-job-03] |   `-- Installing xorgproto-2018.4...
[FreeBSD:11:amd64-develop-job-03] |   `-- Extracting xorgproto-2018.4: .......... done
[FreeBSD:11:amd64-develop-job-03] `-- Extracting libXdmcp-1.1.3: ......... done
[FreeBSD:11:amd64-develop-job-03] `-- Installing libxcb-1.13.1...
[FreeBSD:11:amd64-develop-job-03] |   `-- Installing libpthread-stubs-0.4...
[FreeBSD:11:amd64-develop-job-03] |   `-- Extracting libpthread-stubs-0.4: .... done
[FreeBSD:11:amd64-develop-job-03] `-- Extracting libxcb-1.13.1: .......... done
[FreeBSD:11:amd64-develop-job-03] Extracting libX11-1.6.7,1: .......... done
===>   openjdk8-8.212.4.1 depends on file: /usr/local/include/X11/Xlib.h - found
===>   Returning to build of openjdk8-8.212.4.1
===>   openjdk8-8.212.4.1 depends on file: /usr/local/include/X11/extensions/Xdbe.h - not found
===>   Installing existing package /packages/All/libXext-1.3.3_3,1.txz
[FreeBSD:11:amd64-develop-job-03] Installing libXext-1.3.3_3,1...
[FreeBSD:11:amd64-develop-job-03] Extracting libXext-1.3.3_3,1: .......... done
===>   openjdk8-8.212.4.1 depends on file: /usr/local/include/X11/extensions/Xdbe.h - found
===>   Returning to build of openjdk8-8.212.4.1
===>   openjdk8-8.212.4.1 depends on file: /usr/local/include/X11/extensions/Xrender.h - not found
===>   Installing existing package /packages/All/libXrender-0.9.10_2.txz
[FreeBSD:11:amd64-develop-job-03] Installing libXrender-0.9.10_2...
[FreeBSD:11:amd64-develop-job-03] Extracting libXrender-0.9.10_2: .......... done
===>   openjdk8-8.212.4.1 depends on file: /usr/local/include/X11/extensions/Xrender.h - found
===>   Returning to build of openjdk8-8.212.4.1
===>   openjdk8-8.212.4.1 depends on file: /usr/local/include/X11/Intrinsic.h - not found
===>   Installing existing package /packages/All/libXt-1.1.5_2,1.txz
[FreeBSD:11:amd64-develop-job-03] Installing libXt-1.1.5_2,1...
[FreeBSD:11:amd64-develop-job-03] `-- Installing libICE-1.0.9_3,1...
[FreeBSD:11:amd64-develop-job-03] `-- Extracting libICE-1.0.9_3,1: .......... done
[FreeBSD:11:amd64-develop-job-03] `-- Installing libSM-1.2.3,1...
[FreeBSD:11:amd64-develop-job-03] `-- Extracting libSM-1.2.3,1: .......... done
[FreeBSD:11:amd64-develop-job-03] Extracting libXt-1.1.5_2,1: .......... done
===>   openjdk8-8.212.4.1 depends on file: /usr/local/include/X11/Intrinsic.h - found
===>   Returning to build of openjdk8-8.212.4.1
===>   openjdk8-8.212.4.1 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_3.txz
[FreeBSD:11:amd64-develop-job-03] Installing gmake-4.2.1_3...
[FreeBSD:11:amd64-develop-job-03] Extracting gmake-4.2.1_3: .......... done
===>   openjdk8-8.212.4.1 depends on executable: gmake - found
===>   Returning to build of openjdk8-8.212.4.1
===>   openjdk8-8.212.4.1 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.6.1,1.txz
[FreeBSD:11:amd64-develop-job-03] Installing pkgconf-1.6.1,1...
[FreeBSD:11:amd64-develop-job-03] Extracting pkgconf-1.6.1,1: .......... done
===>   openjdk8-8.212.4.1 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of openjdk8-8.212.4.1
===>   openjdk8-8.212.4.1 depends on file: /usr/local/bootstrap-openjdk8/bin/javac - not found
===>   Installing existing package /packages/All/bootstrap-openjdk8-r450802.txz
[FreeBSD:11:amd64-develop-job-03] Installing bootstrap-openjdk8-r450802...
[FreeBSD:11:amd64-develop-job-03] Extracting bootstrap-openjdk8-r450802: .......... done
Message from bootstrap-openjdk8-r450802:

======================================================================

WARNING: This port only exists for bootstrapping java/openjdk8.
You are advised to remove this port as soon as a stable JDK is built.

This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and
procfs(5) mounted on /proc.

If you have not done it yet, please do the following:

	mount -t fdescfs fdesc /dev/fd
	mount -t procfs proc /proc

To make it permanent, you need the following lines in /etc/fstab:

	fdesc	/dev/fd		fdescfs		rw	0	0
	proc	/proc		procfs		rw	0	0

======================================================================
===>   openjdk8-8.212.4.1 depends on file: /usr/local/bootstrap-openjdk8/bin/javac - found
===>   Returning to build of openjdk8-8.212.4.1
===>   openjdk8-8.212.4.1 depends on file: /usr/local/bin/ccache - not found
===>   Installing existing package /packages/All/ccache-3.4.3_1.txz
[FreeBSD:11:amd64-develop-job-03] Installing ccache-3.4.3_1...
[FreeBSD:11:amd64-develop-job-03] Extracting ccache-3.4.3_1: ....... done
Create compiler links...
create symlink for cc
create symlink for cc (world)
create symlink for c++
create symlink for c++ (world)
create symlink for CC
create symlink for CC (world)
create symlink for clang
create symlink for clang (world)
create symlink for clang++
create symlink for clang++ (world)
Message from ccache-3.4.3_1:

NOTE:
Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for
information on using ccache with FreeBSD ports and src.
===>   openjdk8-8.212.4.1 depends on file: /usr/local/bin/ccache - found
===>   Returning to build of openjdk8-8.212.4.1
===========================================================================
=======================<phase: lib-depends    >============================
===>   openjdk8-8.212.4.1 depends on shared library: libfreetype.so - not found
===>   Installing existing package /packages/All/freetype2-2.9.1.txz
[FreeBSD:11:amd64-develop-job-03] Installing freetype2-2.9.1...
[FreeBSD:11:amd64-develop-job-03] Extracting freetype2-2.9.1: .......... done
Message from freetype2-2.9.1:

The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/ft2-toc.html, if documentation was installed).
===>   openjdk8-8.212.4.1 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so)
===>   Returning to build of openjdk8-8.212.4.1
===>   openjdk8-8.212.4.1 depends on shared library: libinotify.so - not found
===>   Installing existing package /packages/All/libinotify-20180201_1.txz
[FreeBSD:11:amd64-develop-job-03] Installing libinotify-20180201_1...
[FreeBSD:11:amd64-develop-job-03] Extracting libinotify-20180201_1: .......... done
Message from libinotify-20180201_1:

============================================================================

Libinotify functionality on FreeBSD is missing support for

  - detecting a file being moved into or out of a directory within the
    same filesystem
  - certain modifications to a symbolic link (rather than the
    file it points to.)

in addition to the known limitations on all platforms using kqueue(2)
where various open and close notifications are unimplemented.

This means the following regression tests will fail:

Directory notifications:
   IN_MOVED_FROM
   IN_MOVED_TO

Open/close notifications:
   IN_OPEN
   IN_CLOSE_NOWRITE
   IN_CLOSE_WRITE

Symbolic Link notifications:
   IN_DONT_FOLLOW
   IN_ATTRIB
   IN_MOVE_SELF
   IN_DELETE_SELF

Kernel patches to address the missing directory and symbolic link
notifications are available from:

https://github.com/libinotify-kqueue/libinotify-kqueue/tree/master/patches

=============================================================================
You might want to consider increasing the kern.maxfiles tunable if you plan
to use this library for applications that need to monitor activity of a lot
of files.
=============================================================================
===>   openjdk8-8.212.4.1 depends on shared library: libinotify.so - found (/usr/local/lib/libinotify.so)
===>   Returning to build of openjdk8-8.212.4.1
===>   openjdk8-8.212.4.1 depends on shared library: libasound.so - not found
===>   Installing existing package /packages/All/alsa-lib-1.1.2_2.txz
[FreeBSD:11:amd64-develop-job-03] Installing alsa-lib-1.1.2_2...
[FreeBSD:11:amd64-develop-job-03] Extracting alsa-lib-1.1.2_2: .......... done
===>   openjdk8-8.212.4.1 depends on shared library: libasound.so - found (/usr/local/lib/libasound.so)
===>   Returning to build of openjdk8-8.212.4.1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for openjdk8-8.212.4.1
Warning: You are using legacy autoconf cross-compilation flags.
It is recommended that you use --openjdk-target instead.

Running generated-configure.sh
configure: loading site script /usr/ports/Templates/config.site
configure: Configuration created at Sun Apr 21 23:58:45 UTC 2019.
configure: configure script generated at timestamp 1553405262.
checking for basename... /usr/bin/basename
checking for bash... /usr/local/bin/bash
checking for cat... /bin/cat
checking for chmod... /bin/chmod
checking for cmp... /usr/bin/cmp
checking for comm... /usr/bin/comm
checking for cp... /bin/cp
checking for cut... /usr/bin/cut
checking for date... /bin/date
checking for gdiff... no
checking for diff... /usr/bin/diff
checking for dirname... /usr/bin/dirname
checking for echo... /bin/echo
checking for expr... /bin/expr
checking for file... /usr/bin/file
checking for find... /usr/bin/find
checking for head... /usr/bin/head
checking for ln... /bin/ln
checking for ls... /bin/ls
checking for mkdir... /bin/mkdir
checking for mktemp... /usr/bin/mktemp
checking for mv... /bin/mv
checking for nawk... /usr/bin/nawk
checking for printf... /usr/bin/printf
checking for rm... /bin/rm
checking for sh... /bin/sh
checking for sort... /usr/bin/sort
checking for tail... /usr/bin/tail
checking for tar... /usr/bin/tar
checking for tee... /usr/bin/tee
checking for touch... /usr/bin/touch
checking for tr... /usr/bin/tr
checking for uname... /usr/bin/uname
checking for uniq... /usr/bin/uniq
checking for wc... /usr/bin/wc
checking for which... /usr/bin/which
checking for xargs... /usr/bin/xargs
checking for gawk... (cached) /usr/bin/awk
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for cygpath... no
checking for greadlink... no
checking for readlink... /usr/bin/readlink
checking for df... /bin/df
checking for SetFile... no
checking for cpio... /usr/bin/cpio
checking build system type... amd64-portbld-freebsd11.2
checking host system type... amd64-portbld-freebsd11.2
checking target system type... amd64-portbld-freebsd11.2
checking openjdk-build os-cpu... bsd-x86_64
checking openjdk-target os-cpu... bsd-x86_64
checking compilation type... native
checking for top-level directory... /wrkdirs/usr/ports/java/openjdk8/work/openjdk-jdk8u-jdk8u212-b04.1
checking for presence of closed sources... no
checking if closed source is suppressed (openjdk-only)... no
checking which variant of the JDK to build... normal
checking which interpreter of the JVM to build... template
checking which variants of the JVM to build... server
checking which debug level to use... release
checking for sysroot... 
checking for toolchain path... 
checking for extra path... 
checking where to store configuration... in default location
checking what configuration name to use... bsd-x86_64-normal-server-release
checking for apt-get... no
checking for yum... no
checking for port... no
checking for pkgutil... no
checking for pkgadd... no
configure: Testing potential make at /usr/local/bin/gmake, found using user supplied MAKE=/usr/local/bin/gmake
configure: Using GNU make 3.81 (or later) at /usr/local/bin/gmake (version: GNU Make 4.2.1)
checking if find supports -delete... yes
checking for unzip... /usr/bin/unzip
checking for zip... /usr/local/bin/zip
checking for ldd... /usr/bin/ldd
checking for readelf... /usr/bin/readelf
checking for hg... no
checking for stat... /usr/bin/stat
checking for time... /usr/bin/time
checking pkg-config is at least version 0.9.0... yes
checking for 7z... no
checking for unzip... unzip
checking for wget... no
checking for lftp... no
checking for ftp... ftp
checking headful support... headless only
configure: Found potential Boot JDK using configure arguments
checking for Boot JDK... /usr/local/bootstrap-openjdk8
checking Boot JDK version... openjdk version "1.8.0_144" OpenJDK Runtime Environment (build 1.8.0_144-b01) OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode) 
checking for java in Boot JDK... ok
checking for javac in Boot JDK... ok
checking for javah in Boot JDK... ok
checking for javap in Boot JDK... ok
checking for jar in Boot JDK... ok
checking for rmic in Boot JDK... ok
checking for native2ascii in Boot JDK... ok
checking if Boot JDK is 32 or 64 bits... 64
checking flags for boot jdk java command ...  
checking flags for boot jdk java command for big workloads...  -Xms64M -Xmx1600M -XX:ThreadStackSize=1536
checking flags for boot jdk java command for small workloads...  -XX:+UseSerialGC -Xms32M -Xmx512M
configure: Using default toolchain clang (clang/LLVM)
configure: Will use user supplied compiler CC=cc
checking for cc... /usr/local/libexec/ccache/cc
checking resolved symbolic links for CC... /usr/local/bin/ccache
checking if CC is disguised ccache... yes, trying to find proper C compiler
checking for clang... clang
configure: Rewriting PROPER_COMPILER_CC to "/usr/bin/clang"
checking for resolved symbolic links for CC... /usr/bin/clang
configure: Using clang C compiler version 6.0.0 [FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin]
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
configure: Will use user supplied compiler CXX=c++
checking for c++... /usr/local/libexec/ccache/c++
checking resolved symbolic links for CXX... /usr/local/bin/ccache
checking if CXX is disguised ccache... yes, trying to find proper C++ compiler
checking for clang++... clang++
configure: Rewriting PROPER_COMPILER_CXX to "/usr/bin/clang++"
checking for resolved symbolic links for CXX... /usr/bin/clang++
configure: Using clang C++ compiler version 6.0.0 [FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin]
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/clang++ accepts -g... yes
checking how to run the C preprocessor... cpp
configure: Rewriting CPP to "/usr/bin/cpp"
checking how to run the C++ preprocessor... /usr/bin/clang++ -E
checking for ar... ar
configure: Rewriting AR to "/usr/bin/ar"
checking for strip... strip
configure: Rewriting STRIP to "/usr/bin/strip"
checking for otool... no
checking for nm... nm
configure: Rewriting NM to "/usr/bin/nm"
configure: WARNING: Ignoring value of OBJCOPY from the environment. Use command line variables instead.
configure: Rewriting OBJCOPY to "/usr/bin/objcopy"
checking for gobjdump... no
checking for objdump... objdump
configure: Rewriting OBJDUMP to "/usr/bin/objdump"
checking for jtreg... no
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdio.h... (cached) yes
checking size of int *... 8
checking for target address size... 64 bits
checking whether byte ordering is bigendian... no
configure: WARNING: Ignoring CFLAGS(-O2 -pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing ) found in environment. Use --with-extra-cflags
configure: WARNING: Ignoring CXXFLAGS(-O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIBICONV_PLUG ) found in environment. Use --with-extra-cxxflags
configure: WARNING: Ignoring LDFLAGS( -L/usr/local/lib -fstack-protector ) found in environment. Use --with-extra-ldflags
checking if the C compiler supports "-fno-delete-null-pointer-checks -Werror"... no
checking if the C++ compiler supports "-fno-delete-null-pointer-checks -Werror"... no
checking if both compilers support "-fno-delete-null-pointer-checks -Werror"... no
checking if the C compiler supports "-fno-lifetime-dse -Werror"... no
checking if the C++ compiler supports "-fno-lifetime-dse -Werror"... no
checking if both compilers support "-fno-lifetime-dse -Werror"... no
checking if the C compiler supports "-m64"... yes
checking if the C++ compiler supports "-m64"... yes
checking if both compilers support "-m64"... yes
checking if the C compiler supports "-m64"... yes
checking if the C++ compiler supports "-m64"... yes
checking if both compilers support "-m64"... yes
checking if we should generate debug symbols... false
checking if we should zip debug-info files... no
checking what type of native debug symbols to use (this will override previous settings)... not specified
configure: --with-native-debug-symbols not specified. Using values from --disable-debug-symbols and --disable-zip-debug-info
checking what is not needed on BSD?... pulse
checking for X... libraries , headers 
checking for gethostbyname... (cached) yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for X11/extensions/shape.h... yes
checking for X11/extensions/Xrender.h... yes
checking for X11/extensions/XTest.h... no
configure: Found freetype include files at /usr/local/include/freetype2 using --with-freetype
checking for freetype includes... /usr/local/include/freetype2
checking for freetype libraries... /usr/local/lib
checking if we can compile and link with freetype... yes
checking if we should bundle freetype... no
checking fontconfig/fontconfig.h usability... no
checking fontconfig/fontconfig.h presence... no
checking for fontconfig/fontconfig.h... no
configure: error: Could not find fontconfig!  
configure exiting with result code 1
===>  Script "../../configure" failed unexpectedly.
Please report the problem to java at FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/java/openjdk8/work/openjdk-jdk8u-jdk8u212-b04.1/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
=>> Cleaning up wrkdir
===>  Cleaning for openjdk8-8.212.4.1
build of java/openjdk8 | openjdk8-8.212.4.1 ended at Mon Apr 22 02:59:35 MSK 2019
build time: 00:03:30
!!! build failure encountered !!!


More information about the freebsd-java mailing list