Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 May 2019 09:14:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [Bug 237208] java/openjdk11: port to powerpc64
Message-ID:  <bug-237208-25139-7cbnSFZzcH@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 #36 from Francis Little <oggy@farscape.co.uk> ---
(In reply to Curtis Hamilton from comment #35)

Tried another build, without  --disable-dtrace and
--disable-precompiled-headers:

=3D=3D=3D Output from failing command(s) repeated here =3D=3D=3D
/usr/bin/printf "* For target
buildtools_jdk_tools_classes__the.BUILD_TOOLS_JDK_batch:\n"
* For target buildtools_jdk_tools_classes__the.BUILD_TOOLS_JDK_batch:
(/usr/bin/grep -v -e "^Note: including file:" <=20
/root/jdk/openjdk-jdk11u/build/bsd-ppc64-normal-server-release/make-support=
/failure-logs/buildtools_jdk_tools_classes__the.BUILD_TOOLS_JDK_batch.log
|| true) | /usr/bin/head -n 12
Failed to create server process: Cannot run program
"/usr/local/openjdk11/bin/java": error=3D13, Permission denied
IOException caught during compilation: java.io.IOException: Cannot run prog=
ram
"/usr/local/openjdk11/bin/java": error=3D13, Permission denied
if test `/usr/bin/wc -l <
/root/jdk/openjdk-jdk11u/build/bsd-ppc64-normal-server-release/make-support=
/failure-logs/buildtools_jdk_tools_classes__the.BUILD_TOOLS_JDK_batch.log`
-gt 12; then /bin/echo "   ... (rest of output omitted)" ; fi
/usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_jni.o:\n"
* For target hotspot_variant-server_libjvm_objs_jni.o:
(/usr/bin/grep -v -e "^Note: including file:" <=20
/root/jdk/openjdk-jdk11u/build/bsd-ppc64-normal-server-release/make-support=
/failure-logs/hotspot_variant-server_libjvm_objs_jni.o.log
|| true) | /usr/bin/head -n 12
In file included from
/root/jdk/openjdk-jdk11u/src/hotspot/share/utilities/dtrace.hpp:52,
                 from
/root/jdk/openjdk-jdk11u/src/hotspot/share/prims/jni.cpp:86:
/root/jdk/openjdk-jdk11u/build/bsd-ppc64-normal-server-release/hotspot/vari=
ant-server/gensrc/dtracefiles/hotspot_jni.h:
In function '_jstring* jni_NewStringUTF(JNIEnv*, const char*)':
/root/jdk/openjdk-jdk11u/build/bsd-ppc64-normal-server-release/hotspot/vari=
ant-server/gensrc/dtracefiles/hotspot_jni.h:3421:45:
error: 'ret' may be used uninitialized in this function
[-Werror=3Dmaybe-uninitialized]
  __dtrace_hotspot_jni___NewStringUTF__return(arg0)
                                             ^
/root/jdk/openjdk-jdk11u/src/hotspot/share/prims/jni.cpp:2510:11: note: 're=
t'
was declared here
   jstring ret;
           ^~~
In file included from
/root/jdk/openjdk-jdk11u/src/hotspot/share/utilities/dtrace.hpp:52,
                 from
/root/jdk/openjdk-jdk11u/src/hotspot/share/prims/jni.cpp:86:
/root/jdk/openjdk-jdk11u/build/bsd-ppc64-normal-server-release/hotspot/vari=
ant-server/gensrc/dtracefiles/hotspot_jni.h:
In function '_jobject* jni_NewObjectA(JNIEnv*, jclass, jmethodID, const
jvalue*)':
if test `/usr/bin/wc -l <
/root/jdk/openjdk-jdk11u/build/bsd-ppc64-normal-server-release/make-support=
/failure-logs/hotspot_variant-server_libjvm_objs_jni.o.log`
-gt 12; then /bin/echo "   ... (rest of output omitted)" ; fi
   ... (rest of output omitted)
/usr/bin/printf "\n* All command lines available in
/root/jdk/openjdk-jdk11u/build/bsd-ppc64-normal-server-release/make-support=
/failure-logs.\n"

* All command lines available in
/root/jdk/openjdk-jdk11u/build/bsd-ppc64-normal-server-release/make-support=
/failure-logs.
/usr/bin/printf "=3D=3D=3D End of repeated output =3D=3D=3D\n"
=3D=3D=3D End of repeated output =3D=3D=3D
if /usr/bin/grep -q "recipe for target .* failed"
/root/jdk/openjdk-jdk11u/build/bsd-ppc64-normal-server-release/build.log 2>
/dev/null; then /usr/bin/printf "\n=3D=3D=3D Make failed targets repeated h=
ere =3D=3D=3D\n"
; /usr/bin/grep "recipe for target .* failed"
/root/jdk/openjdk-jdk11u/build/bsd-ppc64-normal-server-release/build.log ;
/usr/bin/printf "=3D=3D=3D End of repeated output =3D=3D=3D\n" ; /usr/bin/p=
rintf "\nHint:
Try searching the build log for the name of the first failed target.\n" ; e=
lse
/usr/bin/printf "\nNo indication of failed target found.\n" ; /usr/bin/prin=
tf
"Hint: Try searching the build log for '] Error'.\n" ; fi

No indication of failed target found.
Hint: Try searching the build log for '] Error'.
/usr/bin/printf "Hint: See doc/building.html#troubleshooting for
assistance.\n\n"
Hint: See doc/building.html#troubleshooting for assistance.

gmake[2]: Leaving directory '/root/jdk/openjdk-jdk11u'
gmake[1]: *** [/root/jdk/openjdk-jdk11u/make/Init.gmk:305: main] Error 2
gmake[1]: Leaving directory '/root/jdk/openjdk-jdk11u'
gmake: *** [/root/jdk/openjdk-jdk11u/make/Init.gmk:186: images] Error 2


I'm not sure why it can't run /usr/local/openjdk11/bin/java, because:

/usr/local/openjdk11/bin/java --version
openjdk 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)

I may be doing something wrong!

--=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-7cbnSFZzcH>