openjdk11 and openjdk12 doesn't build

Wojciech Puchar wojtek at puchar.net
Wed May 29 15:49:26 UTC 2019


below typescript. please help
FreeBSD puchar.net 11.3-PRERELEASE FreeBSD 11.3-PRERELEASE #0 r347617: Sat 
May 18 19:54:54 CEST 2019 
root at puchar.net:/h/backup1/src/sys/amd64/compile/puchar  amd64



===>  License GPLv2 accepted by the user
===>   openjdk12-12.0.1+12.2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by openjdk12-12.0.1+12.2 for building
===>  Extracting for openjdk12-12.0.1+12.2
=> SHA256 Checksum OK for battleblow-openjdk-jdk12u-jdk-12.0.1+12-2_GH0.tar.gz.
===>  Patching for openjdk12-12.0.1+12.2
===>  Applying FreeBSD patches for openjdk12-12.0.1+12.2
===>   openjdk12-12.0.1+12.2 depends on executable: zip - found
===>   openjdk12-12.0.1+12.2 depends on package: autoconf>0 - found
===>   openjdk12-12.0.1+12.2 depends on file: /usr/local/include/cups/cups.h - found
===>   openjdk12-12.0.1+12.2 depends on executable: bash - found
===>   openjdk12-12.0.1+12.2 depends on executable: gmake - found
===>   openjdk12-12.0.1+12.2 depends on package: libiconv>=1.14_11 - found
===>   openjdk12-12.0.1+12.2 depends on package: pkgconf>=1.3.0_1 - found
===>   openjdk12-12.0.1+12.2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   openjdk12-12.0.1+12.2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   openjdk12-12.0.1+12.2 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found
===>   openjdk12-12.0.1+12.2 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc - found
===>   openjdk12-12.0.1+12.2 depends on file: /usr/local/libdata/pkgconfig/xrender.pc - found
===>   openjdk12-12.0.1+12.2 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found
===>   openjdk12-12.0.1+12.2 depends on file: /usr/local/libdata/pkgconfig/xtst.pc - found
===>   openjdk12-12.0.1+12.2 depends on shared library: libasound.so - found (/usr/local/lib/libasound.so)
===>   openjdk12-12.0.1+12.2 depends on shared library: libfontconfig.so - found (/usr/local/lib/libfontconfig.so)
===>   openjdk12-12.0.1+12.2 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so)
===>   openjdk12-12.0.1+12.2 depends on shared library: libgif.so - found (/usr/local/lib/libgif.so)
===>   openjdk12-12.0.1+12.2 depends on shared library: liblcms2.so - found (/usr/local/lib/liblcms2.so)
===>   openjdk12-12.0.1+12.2 depends on shared library: libpng16.so - found (/usr/local/lib/libpng16.so)
===>   openjdk12-12.0.1+12.2 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so)
===>  Configuring for openjdk12-12.0.1+12.2
Warning: You are using legacy autoconf cross-compilation flags.
It is recommended that you use --openjdk-target instead.

configure: loading site script /usr/ports/Templates/config.site
configure: Configuration created at Wed May 29 15:46:45 UTC 2019.
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 gunzip... /usr/bin/gunzip
checking for pigz... (cached) /usr/bin/gzip
checking for ln... /bin/ln
checking for ls... /bin/ls
checking for gmkdir... no
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 greadlink... no
checking for readlink... /usr/bin/readlink
checking for rm... /bin/rm
checking for rmdir... /bin/rmdir
checking for sh... /bin/sh
checking for sort... /usr/bin/sort
checking for tail... /usr/bin/tail
checking for gtar... no
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 df... /bin/df
checking for cpio... /usr/bin/cpio
checking for nice... /usr/bin/nice
checking for pandoc... no
checking build system type... amd64-portbld-freebsd11.3
checking host system type... amd64-portbld-freebsd11.3
checking target system type... amd64-portbld-freebsd11.3
checking openjdk-build os-cpu... bsd-x86_64
checking openjdk-target os-cpu... bsd-x86_64
checking openjdk-target os-env... bsd.freebsd
checking compilation type... native
checking for top-level directory... /usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.1-12-2
checking if custom source is suppressed (openjdk-only)... no
checking which debug level to use... release
checking which variants of the JVM to build... server
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-server-release
checking for apt-get... no
checking for yum... no
checking for brew... no
checking for port... no
checking for pkgutil... no
checking for pkgadd... no
configure: WARNING: Ignoring value of MAKE from the environment. Use command line variables instead.
checking for gmake... /usr/local/bin/gmake
configure: Testing potential make at /usr/local/bin/gmake, found using gmake in PATH
configure: Testing potential make at gmake, found using user supplied MAKE=gmake
configure: Rewriting FOUND_MAKE to "/usr/local/bin/gmake"
configure: Using GNU make at /usr/local/bin/gmake (version: GNU Make 4.2.1)
checking if make --output-sync is supported... yes
checking for output-sync value... none
checking if find supports -delete... yes
checking what type of tar was found... bsd
checking that grep (/usr/bin/grep) -Fx handles empty lines in the pattern list correctly... yes
checking for unzip... /usr/bin/unzip
checking for zip... /usr/local/bin/zip
checking for ldd... /usr/bin/ldd
checking for greadelf... no
checking for readelf... /usr/bin/readelf
checking for dot... no
checking for hg... no
checking for git... no
checking for stat... /usr/bin/stat
checking for time... /usr/bin/time
checking for flock... no
checking for dtrace... /usr/sbin/dtrace
checking for gpatch... no
checking for patch... /usr/bin/patch
checking bash version... 5.0.3
checking if bash supports pipefail... yes
checking if bash supports errexit (-e)... yes
checking pkg-config is at least version 0.9.0... yes
checking for default LOG value... 
checking headless only... no
checking for graphviz dot... no, cannot generate full docs
checking for pandoc... no, cannot generate full docs
checking full docs... no, missing dependencies
checking for cacerts file... /usr/ports/java/openjdk12/files/cacerts
checking for jni library path... default
checking if packaged modules are kept... yes (default)
checking for version string... 12+12-2
configure: Found potential Boot JDK using configure arguments
checking for Boot JDK... /usr/local/bootstrap-openjdk11
checking Boot JDK version... openjdk version "11.0.2" 2019-04-16 OpenJDK Runtime Environment (build 11.0.2+9-2) OpenJDK 64-Bit Server VM (build 11.0.2+9-2, mixed mode) 
checking for java in Boot JDK... ok
checking for javac in Boot JDK... ok
checking for javadoc in Boot JDK... ok
checking for jar in Boot JDK... ok
checking for jarsigner in Boot JDK... ok
checking if Boot JDK is 32 or 64 bits... 64
checking for local Boot JDK Class Data Sharing (CDS)... yes, created
checking for Build JDK... yes, will use output dir
configure: Using user selected toolchain clang (clang/LLVM). Default toolchain is gcc.
configure: WARNING: Ignoring CFLAGS(-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing ) found in environment. Use --with-extra-cflags
configure: WARNING: Ignoring CXXFLAGS(-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG ) found in environment. Use --with-extra-cxxflags
configure: WARNING: Ignoring LDFLAGS( -fstack-protector-strong ) found in environment. Use --with-extra-ldflags
configure: Will use user supplied compiler CC=/usr/bin/cc
checking resolved symbolic links for CC... no symlink
configure: Using clang C compiler version 7.0.1 [FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) 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/cc accepts -g... yes
checking for /usr/bin/cc option to accept ISO C89... none needed
configure: Will use user supplied compiler CXX=/usr/bin/c++
checking resolved symbolic links for CXX... no symlink
configure: Using clang C++ compiler version 7.0.1 [FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) 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/c++ 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/c++ -E
configure: Using clang linker version /usr/lib/crt1.o: In function `_start': [/usr/lib/crt1.o: In function `_start':]
checking for ar... ar
configure: Rewriting AR to "/usr/bin/ar"
checking for strip... strip
configure: Rewriting STRIP to "/usr/bin/strip"
checking for nm... nm
configure: Rewriting NM to "/usr/bin/nm"
checking for gobjcopy... no
checking for objcopy... objcopy
configure: Rewriting OBJCOPY to "/usr/bin/objcopy"
checking for gobjdump... no
checking for objdump... objdump
configure: Rewriting OBJDUMP to "/usr/bin/objdump"
checking for c++filt... c++filt
configure: Rewriting CXXFILT to "/usr/bin/c++filt"
checking for jtreg... no
checking for jtreg test harness... no, not found
checking for jmh (Java Microbenchmark Harness)... no, disabled
checking for jib... 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 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
checking if native warnings are errors... true (default)
checking if the C++ compiler supports "-std=gnu++98 -Werror"... yes
checking for library containing clock_gettime... none required
checking if the C compiler supports "-ffp-contract=off"... yes
checking if the C++ compiler supports "-ffp-contract=off"... yes
checking if both compilers support "-ffp-contract=off"... yes
checking what type of native debug symbols to use... none
checking for dtrace tool... /usr/sbin/dtrace
checking sys/sdt.h usability... yes
checking sys/sdt.h presence... yes
checking for sys/sdt.h... yes
checking if dtrace should be built... yes, dependencies present
checking if Hotspot gtest unit tests should be built... no, forced
checking if static link of stdc++ is possible... yes
checking how to link with libstdc++... static
checking for X... libraries /usr/local/lib, headers /usr/local/include
checking whether -R must be followed by a space... neither works
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... yes
checking for X11/Intrinsic.h... yes
checking for X11/extensions/Xrandr.h... yes
checking if XlinearGradient is defined in Xrender.h... yes
checking for cups headers... yes
checking for fontconfig headers... yes
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
Using freetype: system
checking for which libjpeg to use... system
checking for JPEG... yes
checking for which giflib to use... system
checking for PNG... yes
checking for which libpng to use... system
checking for compress in -lz... yes
checking for which zlib to use... system
checking for which lcms to use... system
checking for LCMS... yes
checking for cos in -lm... yes
checking for dlopen in -ldl... yes
checking if shenandoah can be built... yes
checking if zgc can be built... no, platform not supported
checking if jvmci module jdk.internal.vm.ci should be built... yes
checking if graal module jdk.internal.vm.compiler should be built... yes
checking if aot should be enabled... yes
checking if cds should be enabled... yes
checking if elliptic curve crypto implementation is present... yes
checking if jtreg failure handler should be built... no, missing jtreg
checking if the CDS classlist generation should be enabled... yes
checking if any translations should be excluded... no
checking if static man pages should be copied... yes
checking if a default CDS archive should be generated... yes
checking for number of cores... 16
checking for memory size... 32639 MB
checking for appropriate number of jobs to run in parallel... 16
checking flags for boot jdk java command ...  -Duser.language=en -Duser.country=US  -XX:+UnlockDiagnosticVMOptions -XX:-VerifySharedSpaces -XX:SharedArchiveFile=/usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.1-12-2/build/bsd-x86_64-server-release/configure-support/classes.jsa -Xshare:auto 
checking flags for boot jdk java command for big workloads...  -Xms64M -Xmx1600M -XX:ThreadStackSize=1536
checking flags for bootcycle 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 -XX:TieredStopAtLevel=1
checking whether to use sjavac... no
checking whether to use javac server... no
checking If precompiled header is enabled... yes
checking is ccache enabled... no, explicitly disabled
checking if build directory is on local disk... yes
checking JVM features for JVM variant 'server'... "aot cds cmsgc compiler1 compiler2 dtrace epsilongc g1gc graal jfr jni-check jvmci jvmti management nmt parallelgc serialgc services shenandoahgc vm-structs"
configure: creating /usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.1-12-2/build/bsd-x86_64-server-release/configure-support/config.status
config.status: creating /usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.1-12-2/build/bsd-x86_64-server-release/spec.gmk
config.status: creating /usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.1-12-2/build/bsd-x86_64-server-release/bootcycle-spec.gmk
config.status: creating /usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.1-12-2/build/bsd-x86_64-server-release/buildjdk-spec.gmk
config.status: creating /usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.1-12-2/build/bsd-x86_64-server-release/compare.sh
config.status: creating /usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.1-12-2/build/bsd-x86_64-server-release/Makefile

====================================================
A new configuration has been successfully created in
/usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.1-12-2/build/bsd-x86_64-server-release
using configure arguments '--with-boot-jdk=/usr/local/bootstrap-openjdk11 --disable-ccache --disable-javac-server --disable-hotspot-gtest --with-alsa=/usr/local --with-cups=/usr/local --with-fontconfig=/usr/local --with-freetype=system --with-freetype-include=/usr/local/include/freetype2 --with-freetype-lib=/usr/local/lib --with-libjpeg=system --with-giflib=system --with-giflib-include=/usr/local/include --with-giflib-lib=/usr/local/lib --with-libpng=system --with-zlib=system --with-lcms=system --with-toolchain-type=clang --x-includes=/usr/local/include --x-libraries=/usr/local/lib --with-cacerts-file=/usr/ports/java/openjdk12/files/cacerts --with-version-string=12+12-2 --with-native-debug-symbols=none --with-debug-level=release --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/share/info/ --build=amd64-portbld-freebsd11.3'.

Configuration summary:
* Debug level:    release
* HS debug level: product
* JVM variants:   server
* JVM features:   server: 'aot cds cmsgc compiler1 compiler2 dtrace epsilongc g1gc graal jfr jni-check jvmci jvmti management nmt parallelgc serialgc services shenandoahgc vm-structs' 
* OpenJDK target: OS: bsd, CPU architecture: x86, address length: 64
* Version string: 12+12-2 (12)

Tools summary:
* Boot JDK:       openjdk version "11.0.2" 2019-04-16 OpenJDK Runtime Environment (build 11.0.2+9-2) OpenJDK 64-Bit Server VM (build 11.0.2+9-2, mixed mode)  (at /usr/local/bootstrap-openjdk11)
* Toolchain:      clang (clang/LLVM)
* C Compiler:     Version 7.0.1 (at /usr/bin/cc)
* C++ Compiler:   Version 7.0.1 (at /usr/bin/c++)

Build performance summary:
* Cores to use:   16
* Memory limit:   32639 MB
* ccache status:  Disabled

The following warnings were produced. Repeated here for convenience:
WARNING: Ignoring value of MAKE from the environment. Use command line variables instead.
WARNING: Ignoring CFLAGS(-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing ) found in environment. Use --with-extra-cflags
WARNING: Ignoring CXXFLAGS(-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG ) found in environment. Use --with-extra-cxxflags
WARNING: Ignoring LDFLAGS( -fstack-protector-strong ) found in environment. Use --with-extra-ldflags

===>  Building for openjdk12-12.0.1+12.2
gmake[1]: Entering directory '/usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.1-12-2'
Error: The configuration is not up to date for 'bsd-x86_64-server-release'.

Please rerun configure! Easiest way to do this is by running
'make reconfigure'.
This behavior may also be changed using CONF_CHECK=<ignore|auto>.

gmake[1]: *** [/usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.1-12-2/make/Init.gmk:145: /usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.1-12-2/build/bsd-x86_64-server-release/spec.gmk] Error 2
gmake[1]: Leaving directory '/usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.1-12-2'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/java/openjdk12
[root at php72 /usr/ports/java/openjdk12]# le^C
[root at php72 /usr/ports/java/openjdk12]# exit

Script done on Wed May 29 15:47:06 2019


More information about the freebsd-ports mailing list