From owner-freebsd-java@freebsd.org Wed May 1 20:13:00 2019 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4522159FCAA for ; Wed, 1 May 2019 20:12:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6C37F8BD07 for ; Wed, 1 May 2019 20:12:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2CFC1159FCA9; Wed, 1 May 2019 20:12:59 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08F7A159FCA8 for ; Wed, 1 May 2019 20:12:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 827FE8BD03 for ; Wed, 1 May 2019 20:12:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C047518B55 for ; Wed, 1 May 2019 20:12:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x41KCvMr051670 for ; Wed, 1 May 2019 20:12:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x41KCv7p051669 for java@FreeBSD.org; Wed, 1 May 2019 20:12:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 237208] java/openjdk11: port to powerpc64 Date: Wed, 01 May 2019 20:12:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: oggy@farscape.co.uk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 May 2019 20:13:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237208 --- Comment #23 from Francis Little --- (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 the assignee for the bug.=