Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 May 2019 20:12:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [Bug 237208] java/openjdk11: port to powerpc64
Message-ID:  <bug-237208-25139-sTXQYFZwMW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237208-25139@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237208-25139@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237208

--- Comment #23 from Francis Little <oggy@farscape.co.uk> ---
(In reply to Greg Lewis from comment #22)

Hi, now I fully expect I may be doing something wrong... but trying to help!

I get an error:

So, I completed the following:

* Download the bootstrap (there are links in the first comment and the most
recent one before this).
* Unpack the bootstrap somewhere.  Let's say /usr/local/openjdk11
* Checkout the upstream repo from git (link in my previous comment)

    I checked out the bsd-port branch....

* Run the configure script, e.g.

env CC=3D/usr/local/bin/gcc8 \
    CXX=3D/usr/local/bin/g++8 \
    bash configure \
        --with-boot-jdk=3D/usr/local/openjdk11 \
        --disable-ccache \
        --disable-hotspot-gtest \
        --with-alsa=3D/usr/local \
        --with-cups=3D/usr/local \
        --with-fontconfig=3D/usr/local \
        --with-freetype=3Dsystem \
        --with-freetype-include=3D/usr/local/include/freetype2 \
        --with-freetype-lib=3D/usr/local/lib \
        --with-milestone=3Dfcs \
        --with-libjpeg=3Dsystem \
        --with-giflib=3Dsystem \
        --with-giflib-include=3D/usr/local/include \
        --with-giflib-lib=3D/usr/local/lib \
        --with-libpng=3Dsystem \
        --with-zlib=3Dsystem \
        --with-lcms=3Dsystem \
        --with-toolchain-type=3Dclang \
        --x-includes=3D/usr/local/include \
        --x-libraries=3D/usr/local/lib \
        --with-debug-level=3Drelease

After running this first step, I get this output:

Runnable configure script is not present
Generating runnable configure script at
/root/jdk/openjdk-jdk11u/build/.configure-support/generated-configure.sh
Using autoconf at /usr/local/bin/autoconf [autoconf (GNU Autoconf) 2.69]
configure: Configuration created at Wed May  1 21:07:03 BST 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... no
checking for gzip... /usr/bin/gzip
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 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... no
checking for mawk... no
checking for nawk... nawk
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for a sed that does not truncate output... /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... powerpc64-unknown-freebsd12.0
checking host system type... powerpc64-unknown-freebsd12.0
checking target system type... powerpc64-unknown-freebsd12.0
checking openjdk-build os-cpu... bsd-ppc64
checking openjdk-target os-cpu... bsd-ppc64
checking openjdk-target os-env... bsd.freebsd
checking compilation type... native
checking for top-level directory... /root/jdk/openjdk-jdk11u
checking if custom source is suppressed (openjdk-only)... no
checking which variant of the JDK to build... normal
checking which debug level to use... release
checking which variants of the JVM to build... server
checking for sysroot...=20
checking for toolchain path...=20
checking for extra path...=20
checking where to store configuration... in default location
checking what configuration name to use... bsd-ppc64-normal-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
checking for gmake... /usr/local/bin/gmake
configure: Testing potential make at /usr/local/bin/gmake, found using gmak=
e in
PATH
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 l=
ist
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... /usr/local/bin/dot
checking for hg... 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.7
checking if bash supports pipefail... yes
checking if bash supports errexit (-e)... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for default LOG value...=20
checking headless only... no
checking for graphviz dot... yes
checking for pandoc... no, cannot generate full docs
checking full docs... no, missing dependencies
checking for cacerts file... default
checking if packaged modules are kept... yes (default)
configure: WARNING: Option --with-milestone is deprecated and will be ignor=
ed.
checking for version string... 11.0.3-internal+0-adhoc.root.openjdk-jdk11u
configure: Found potential Boot JDK using configure arguments
checking for Boot JDK... /usr/local/openjdk11
checking Boot JDK version... openjdk version "11.0.2" 2019-04-16 OpenJDK
Runtime Environment (build 11.0.2+9-4) OpenJDK 64-Bit Server VM (build
11.0.2+9-4, mixed mode)=20
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 toolch=
ain
is gcc.
configure: Will use user supplied compiler CC=3D/usr/local/bin/gcc8
checking resolved symbolic links for CC... no symlink
configure: The C compiler (located as /usr/local/bin/gcc8) does not seem to=
 be
the required clang compiler.
configure: The result from running with --version was: "gcc8 (FreeBSD Ports
Collection) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
configure: error: A clang compiler is required. Try setting --with-tools-di=
r.
configure exiting with result code 1

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237208-25139-sTXQYFZwMW>