Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Nov 2014 00:23:08 +0300
From:      iZEN <izen@mail.ru>
To:        freebsd-java@FreeBSD.org
Subject:   make: stopped in /usr/ports/java/openjdk8
Message-ID:  <545A953C.80605@mail.ru>

next in thread | raw e-mail | index | archive | help
% cd /usr/ports/java/openjdk8/ && make MAKE_JOBS_UNSAFE=yes
===>  License GPLv2 accepted by the user
===>  Found saved configuration for openjdk8-8.11.12_1
===>   openjdk8-8.11.12_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by openjdk8-8.11.12_1 for building
===>  Extracting for openjdk8-8.11.12_1
=> SHA256 Checksum OK for openjdk-8-src-b132-03_mar_2014.zip.
===>  Patching for openjdk8-8.11.12_1
===>   Converting DOS text files to UNIX text files
===>  Applying FreeBSD patches for openjdk8-8.11.12_1
===>   openjdk8-8.11.12_1 depends on executable: zip - found
===>   openjdk8-8.11.12_1 depends on file: 
/usr/local/include/cups/cups.h - found
===>   openjdk8-8.11.12_1 depends on executable: bash - found
===>   openjdk8-8.11.12_1 depends on executable: gmake - found
===>   openjdk8-8.11.12_1 depends on executable: pkgconf - found
===>   openjdk8-8.11.12_1 depends on file: 
/usr/local/libdata/pkgconfig/x11.pc - found
===>   openjdk8-8.11.12_1 depends on file: 
/usr/local/libdata/pkgconfig/xext.pc - found
===>   openjdk8-8.11.12_1 depends on file: 
/usr/local/libdata/pkgconfig/xi.pc - found
===>   openjdk8-8.11.12_1 depends on file: 
/usr/local/libdata/pkgconfig/xrender.pc - found
===>   openjdk8-8.11.12_1 depends on file: 
/usr/local/libdata/pkgconfig/xt.pc - found
===>   openjdk8-8.11.12_1 depends on file: 
/usr/local/libdata/pkgconfig/xtst.pc - found
===>   openjdk8-8.11.12_1 depends on file: /usr/local/bin/autoconf-2.69 
- found
===>   openjdk8-8.11.12_1 depends on shared library: libasound.so - 
found (/usr/local/lib/libasound.so.2.0.0)
===>   openjdk8-8.11.12_1 depends on shared library: libfontconfig.so - 
found (/usr/local/lib/libfontconfig.so.1.8.0)
===>   openjdk8-8.11.12_1 depends on shared library: libfreetype.so - 
found (/usr/local/lib/libfreetype.so.6.11.2)
===>   openjdk8-8.11.12_1 depends on shared library: libgif.so - found 
(/usr/local/lib/libgif.so.5)
===>  Configuring for openjdk8-8.11.12_1
===>   FreeBSD 10 autotools fix applied to 
/usr/ports/java/openjdk8/work/openjdk/common/autoconf/configure
===>   FreeBSD 10 autotools fix applied to 
/usr/ports/java/openjdk8/work/openjdk/configure
configure: loading site script /usr/ports/Templates/config.site
configure: Configuration created at Thu Nov  6 00:02:14 MSK 2014.
configure: configure script generated at timestamp @DATE_WHEN_GENERATED@.
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 cpio... /usr/bin/cpio
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 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 nawk... /usr/bin/nawk
checking for cygpath... no
checking for readlink... /usr/bin/readlink
checking for df... /bin/df
checking for SetFile... no
checking build system type... amd64-portbld-freebsd10.1
checking host system type... amd64-portbld-freebsd10.1
checking target system type... amd64-portbld-freebsd10.1
checking openjdk-build os-cpu... bsd-x86_64
checking openjdk-target os-cpu... bsd-x86_64
checking compilation type... native
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 variants of the JVM to build... server
checking which debug level to use... release
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: Resolving FOUND_MAKE (as /usr/local/bin/gmake) failed, using 
/usr/local/bin/gmake directly.
configure: Using GNU make 3.81 (or later) at /usr/local/bin/gmake 
(version: GNU Make 4.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 otool... no
checking for readelf... /usr/bin/readelf
checking for hg... /usr/local/bin/hg
checking for stat... /usr/bin/stat
checking for time... /usr/bin/time
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for 7z... 7z
checking for wget... no
checking for lftp... no
checking for ftp... ftp
checking headful support... include support for both headful and headless
configure: Found potential Boot JDK using configure arguments
checking for Boot JDK... /usr/local/openjdk7
checking Boot JDK version... openjdk version "1.7.0_71" OpenJDK Runtime 
Environment (build 1.7.0_71-b14) OpenJDK 64-Bit Server VM (build 
24.71-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 for jtreg... no
checking for cc... /usr/bin/cc
configure: Resolving CC (as /usr/bin/cc) failed, using /usr/bin/cc directly.
checking resolved symbolic links for CC... /usr/bin/cc
checking if CC is disguised ccache... no, keeping CC
configure: Using FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 
208032) C compiler version 20140512 (located at /usr/bin/cc)
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
checking for c++... /usr/bin/c++
configure: Resolving CXX (as /usr/bin/c++) failed, using /usr/bin/c++ 
directly.
checking resolved symbolic links for CXX... /usr/bin/c++
checking if CXX is disguised ccache... no, keeping CXX
configure: Using FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 
208032) C++ compiler version 20140512 (located at /usr/bin/c++)
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/c++ accepts -g... yes
checking for ar... ar
configure: Rewriting AR to "/usr/bin/ar"
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: Resolving CXXCPP (as /usr/bin/c++) failed, using /usr/bin/c++ 
directly.
checking for nm... nm
configure: Rewriting NM to "/usr/bin/nm"
checking for strip... strip
configure: Rewriting STRIP to "/usr/bin/strip"
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 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 compiler supports "-m64"... yes
checking if compiler supports "-m64"... yes
checking if we should generate debug symbols... false
checking if we should zip debug-info files... no
checking what is not needed on BSD?... pulse
checking for Mac OS X Java Framework... no
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
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 for main in -ljpeg... yes
checking for which giflib to use... system
checking gif_lib.h usability... yes
checking gif_lib.h presence... yes
checking for gif_lib.h... yes
checking for DGifGetCode in -lgif... yes
checking for compress in -lz... yes
checking for which zlib to use... system
checking for cos in -lm... yes
checking for dlopen in -ldl... no
checking if elliptic curve crypto implementation is present... yes
checking for number of cores... 4
checking for memory size... 11748 MB
checking whether to use sjavac... no
checking that precompiled headers work... yes
checking for ccache... explicitly disabled
checking if build directory is on local disk... yes
configure: creating 
/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release/config.status
config.status: creating 
/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release/spec.gmk
config.status: creating 
/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release/hotspot-spec.gmk
config.status: creating 
/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release/bootcycle-spec.gmk
config.status: creating 
/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release/compare.sh
config.status: creating 
/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release/spec.sh
config.status: creating 
/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release/Makefile
config.status: creating 
/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release/config.h

====================================================
A new configuration has been successfully created in
/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release
using default settings.

Configuration summary:
* Debug level:    release
* JDK variant:    normal
* JVM variants:   server
* OpenJDK target: OS: bsd, CPU architecture: x86, address length: 64

Tools summary:
* Boot JDK:       openjdk version "1.7.0_71" OpenJDK Runtime Environment 
(build 1.7.0_71-b14) OpenJDK 64-Bit Server VM (build 24.71-b01, mixed 
mode)  (at /usr/local/openjdk7)
* C Compiler:     FreeBSD clang version 3.4.1 
(tags/RELEASE_34/dot1-final 208032) version 20140512 (at /usr/bin/cc)
* C++ Compiler:   FreeBSD clang version 3.4.1 
(tags/RELEASE_34/dot1-final 208032) version 20140512 (at /usr/bin/c++)

Build performance summary:
* Cores to use:   1
* Memory limit:   11748 MB
* ccache status:  not installed (consider installing)

Build performance tip: ccache gives a tremendous speedup for C++ 
recompilations.
You do not have ccache installed. Try installing it.


===>  Building for openjdk8-8.11.12_1
gmake[2]: Entering directory '/usr/ports/java/openjdk8/work/openjdk'
Building OpenJDK for target 'all' in configuration 
'bsd-x86_64-normal-server-release'
...
...<skiped>
...
/usr/ports/java/openjdk8/work/openjdk/jdk/src/share/demo/jvmti/waiters/Thread.cpp:96:40: 
warning: unused parameter 'object' [-Wunused-parameter]
                jthread thread, jobject object, jboolean timed_out)
                                        ^
14 warnings generated.
/usr/ports/java/openjdk8/work/openjdk/jdk/src/share/demo/jvmti/waiters/waiters.cpp:246:36: 
warning: unused parameter 'options' [-Wunused-parameter]
     Agent_OnLoad(JavaVM *vm, char *options, void *reserved)
                                    ^
/usr/ports/java/openjdk8/work/openjdk/jdk/src/share/demo/jvmti/waiters/waiters.cpp:246:51: 
warning: unused parameter 'reserved' [-Wunused-parameter]
     Agent_OnLoad(JavaVM *vm, char *options, void *reserved)
                                                   ^
/usr/ports/java/openjdk8/work/openjdk/jdk/src/share/demo/jvmti/waiters/waiters.cpp:291:28: 
warning: unused parameter 'vm' [-Wunused-parameter]
     Agent_OnUnload(JavaVM *vm)
                            ^
3 warnings generated.
Updating jdk/demo/jvmti/waiters/src.zip
/usr/ports/java/openjdk8/work/openjdk/jdk/src/share/demo/jvmti/versionCheck/versionCheck.c:75:34: 
warning: unused parameter 'env' [-Wunused-parameter]
vm_init(jvmtiEnv *jvmti, JNIEnv *env, jthread thread)
                                  ^
/usr/ports/java/openjdk8/work/openjdk/jdk/src/share/demo/jvmti/versionCheck/versionCheck.c:75:47: 
warning: unused parameter 'thread' [-Wunused-parameter]
vm_init(jvmtiEnv *jvmti, JNIEnv *env, jthread thread)
                                               ^
/usr/ports/java/openjdk8/work/openjdk/jdk/src/share/demo/jvmti/versionCheck/versionCheck.c:92:32: 
warning: unused parameter 'options' [-Wunused-parameter]
Agent_OnLoad(JavaVM *vm, char *options, void *reserved)
                                ^
/usr/ports/java/openjdk8/work/openjdk/jdk/src/share/demo/jvmti/versionCheck/versionCheck.c:92:47: 
warning: unused parameter 'reserved' [-Wunused-parameter]
Agent_OnLoad(JavaVM *vm, char *options, void *reserved)
                                               ^
/usr/ports/java/openjdk8/work/openjdk/jdk/src/share/demo/jvmti/versionCheck/versionCheck.c:119:24: 
warning: unused parameter 'vm' [-Wunused-parameter]
Agent_OnUnload(JavaVM *vm)
                        ^
5 warnings generated.
Updating jdk/demo/jvmti/versionCheck/src.zip
gmake[4]: Leaving directory '/usr/ports/java/openjdk8/work/openjdk/jdk/make'
gmake[4]: Entering directory 
'/usr/ports/java/openjdk8/work/openjdk/jdk/make'
gmake[4]: Leaving directory '/usr/ports/java/openjdk8/work/openjdk/jdk/make'
gmake[3]: Leaving directory '/usr/ports/java/openjdk8/work/openjdk/jdk/make'
## Finished demos (build time 00:01:04)

## Starting nashorn
gmake[3]: Entering directory 
'/usr/ports/java/openjdk8/work/openjdk/nashorn/make'
Compiling 435 files for BUILD_NASHORN
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Compiling 111 files for BUILD_NASGEN
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Running nasgen
Creating version.properties
Creating nashorn/dist/nashorn.jar
gmake[3]: Leaving directory 
'/usr/ports/java/openjdk8/work/openjdk/nashorn/make'
## Finished nashorn (build time 00:00:21)

## Starting images
gmake[3]: Entering directory 
'/usr/ports/java/openjdk8/work/openjdk/jdk/make'
gmake[4]: Entering directory 
'/usr/ports/java/openjdk8/work/openjdk/jdk/make'
Creating images/lib/charsets.jar
Creating images/lib/ext/cldrdata.jar
Creating images/lib/ext/dnsns.jar
Creating images/lib/ext/localedata.jar
'u' flag requires manifest, 'e' flag or input files to be specified!
Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C 
dir] files ...
Options:
     -c  create new archive
     -t  list table of contents for archive
     -x  extract named (or all) files from archive
     -u  update existing archive
     -v  generate verbose output on standard output
     -f  specify archive file name
     -m  include manifest information from specified manifest file
     -e  specify application entry point for stand-alone application
         bundled into an executable jar file
     -0  store only; use no ZIP compression
     -M  do not create a manifest file for the entries
     -i  generate index information for the specified jar files
     -C  change to the specified directory and include the following file
If any file is a directory then it is processed recursively.
The manifest file name, the archive file name and the entry point name are
specified in the same order as the 'm', 'f' and 'e' flags.

Example 1: to archive two class files into an archive called classes.jar:
        jar cvf classes.jar Foo.class Bar.class
Example 2: use an existing manifest file 'mymanifest' and archive all the
            files in the foo/ directory into 'classes.jar':
        jar cvfm classes.jar mymanifest -C foo/ .

CreateJars.gmk:83: recipe for target 
'/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release/images/lib/ext/localedata.jar' 
failed
gmake[4]: *** 
[/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release/images/lib/ext/localedata.jar] 
Error 1
gmake[4]: Leaving directory '/usr/ports/java/openjdk8/work/openjdk/jdk/make'
BuildJdk.gmk:101: recipe for target 'images' failed
gmake[3]: *** [images] Error 2
gmake[3]: Leaving directory '/usr/ports/java/openjdk8/work/openjdk/jdk/make'
/usr/ports/java/openjdk8/work/openjdk//make/Main.gmk:139: recipe for 
target 'images-only' failed
gmake[2]: *** [images-only] Error 2
gmake[2]: Leaving directory '/usr/ports/java/openjdk8/work/openjdk'
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/java/openjdk8
*** Error code 1

Stop.
make: stopped in /usr/ports/java/openjdk8

% uname -a
FreeBSD evita.fire 10.1-PRERELEASE FreeBSD 10.1-PRERELEASE #0 r274083: 
Tue Nov  4 14:08:01 MSK 2014 root@evita.fire:/usr/obj/usr/src/sys/EVITA  
amd64

% cat /etc/make.conf
KERNCONF=EVITA
DISTDIR=/store/distfiles
PACKAGES=/store/pckgs64
MAKE_JOBS_NUMBER=5
LOADER_ZFS_SUPPORT=true
LOCALIZED_LANG=ru
WITH_XFT=true
WITHOUT_TTF_BYTECODE_ENABLED=false
WITH_MSWINDOWS_LICENSE=true # x11-fonts/webfonts
WITHOUT_DEBUG=true
WITHOUT_NOUVEAU=true
OVERRIDE_LINUX_BASE_PORT=c6
OVERRIDE_LINUX_NONBASE_PORTS=c6
DEFAULT_VERSIONS=python=2.7 perl5=5.18 ruby=2.0 tcltk=8.6



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?545A953C.80605>