Believe that I have been. Ran again this AM: JDCMacBook:9dev jdc$ hg pull -u pulling from http://hg.openjdk.java.net/jdk9/dev searching for changes adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Same errors are produced in the 'make all'. diff'd the console output from yesterday and today and did not see any unexpected differences. FWIW: Have not made any changes to any of the code on the local machine, so this should be a clean build of the 'dev' repo. John Crowley Westport, CT 203-856-2396 > On Apr 29, 2016, at 2:42 AM, David Holmes <david.hol...@oracle.com> wrote: > > On 29/04/2016 7:22 AM, John Crowley wrote: >> Cannot build JDK 9 on a Mac. >> >> This was building successfully about 10 days ago, but since pulling down all >> new changes, have been getting the failures below. >> >> Have tried this over several days, pulling down updates each day with no >> change. > > Are you sure you are applying all the updates to all repos ie "hg pull -u" > and that they are succeeding (the update will be skipped if there are > uncommitted changes). > > David > >> Any suggestions appreciated, this has had me stuck for a week. >> >> John Crowley >> Westport, CT >> >> ====================== Full transcript - with a couple of annotations >> ================ >> >> Last login: Thu Apr 28 17:16:35 on ttys001 >> JDCMacBook:9dev jdc$ >> JDCMacBook:9dev jdc$ >> JDCMacBook:9dev jdc$ >> JDCMacBook:9dev jdc$ hg pull >> pulling from http://hg.openjdk.java.net/jdk9/dev >> searching for changes >> no changes found <====== in sync with >> 'dev' repository >> JDCMacBook:9dev jdc$ >> JDCMacBook:9dev jdc$ >> JDCMacBook:9dev jdc$ >> JDCMacBook:9dev jdc$ >> JDCMacBook:9dev jdc$ <================ have not changed the >> 'configure' options used ========== >> >> JDCMacBook:9dev jdc$ bash ./configure >> --with-freetype-include=/usr/X11/include/freetype2 >> --with-freetype-lib=/usr/X11/lib --disable-warnings-as-errors >> Configure source code has been updated, checking time stamps >> Running generated-configure.sh >> configure: Configuration created at Thu Apr 28 17:18:08 EDT 2016. >> configure: configure script generated at timestamp 1460963400. >> checking for basename... /usr/bin/basename >> checking for bash... /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 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... no >> checking for gawk... no >> checking for awk... /usr/bin/awk >> checking for printf... /usr/bin/printf >> 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 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... no >> checking for awk... awk >> 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 greadlink... no >> checking for readlink... /usr/bin/readlink >> checking for df... /bin/df >> checking for cpio... /usr/bin/cpio >> checking for nice... /usr/bin/nice >> checking build system type... x86_64-apple-darwin15.4.0 >> checking host system type... x86_64-apple-darwin15.4.0 >> checking target system type... x86_64-apple-darwin15.4.0 >> checking openjdk-build os-cpu... macosx-x86_64 >> checking openjdk-target os-cpu... macosx-x86_64 >> checking compilation type... native >> checking for top-level directory... /Projects/JavaTags/9dev >> 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 debug level to use... release >> checking which variants of the JVM to build... server >> checking for xcodebuild... /usr/bin/xcodebuild >> checking for sdk name... >> checking for sysroot... >> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk >> checking for toolchain path... >> checking for extra path... >> checking where to store configuration... in default location >> checking what configuration name to use... >> macosx-x86_64-normal-server-release >> checking for apt-get... no >> checking for yum... no >> checking for port... no >> checking for pkgutil... pkgutil >> checking for gmake... no >> checking for make... /usr/bin/make >> configure: Testing potential make at /usr/bin/make, found using make in PATH >> configure: Using GNU make at /usr/bin/make (version: GNU Make 3.81) >> checking if make --output-sync is supported... no >> checking if find supports -delete... yes >> checking for unzip... /usr/bin/unzip >> checking for zip... /usr/bin/zip >> checking for ldd... no >> checking for otool... /usr/bin/otool >> checking for greadelf... no >> checking for readelf... no >> checking for hg... /usr/local/bin/hg >> checking for stat... /usr/bin/stat >> checking for time... /usr/bin/time >> checking for dtrace... /usr/sbin/dtrace >> checking for gpatch... no >> checking for patch... /usr/bin/patch >> checking for dsymutil... /usr/bin/dsymutil >> checking for xattr... /usr/bin/xattr >> checking for codesign... /usr/bin/codesign >> checking if openjdk_codesign certificate is present... no >> checking for SetFile... /usr/bin/SetFile >> 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 headful support... include support for both headful and headless >> yes (default) >> checking for version string... 9-internal+0-2016-04-28-171810.jdc.9dev >> configure: Found potential Boot JDK using /usr/libexec/java_home >> checking for Boot JDK... >> /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home >> checking Boot JDK version... java version "1.8.0_66" Java(TM) SE Runtime >> Environment (build 1.8.0_66-b17) Java HotSpot(TM) 64-Bit Server VM (build >> 25.66-b17, 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 jar in Boot JDK... ok >> checking for jarsigner in Boot JDK... ok >> checking if Boot JDK supports modules... no >> checking if Boot JDK is 32 or 64 bits... 64 >> checking for Build JDK... yes, will use output dir >> configure: Xcode major version: 7 >> configure: Using default toolchain clang (clang/LLVM) >> checking for clang... /usr/bin/clang >> checking resolved symbolic links for CC... no symlink >> configure: Using clang C compiler version 7.3.0 [Apple LLVM version 7.3.0 >> (clang-703.0.29) Target: x86_64-apple-darwin15.4.0 Thread model: posix >> InstalledDir: >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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/clang accepts -g... yes >> checking for /usr/bin/clang option to accept ISO C89... none needed >> checking for clang++... /usr/bin/clang++ >> checking resolved symbolic links for CXX... no symlink >> configure: Using clang C++ compiler version 7.3.0 [Apple LLVM version 7.3.0 >> (clang-703.0.29) Target: x86_64-apple-darwin15.4.0 Thread model: posix >> InstalledDir: >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin] >> checking whether we are using the GNU C++ compiler... yes >> checking whether /usr/bin/clang++ accepts -g... yes >> checking how to run the C preprocessor... /usr/bin/clang -E >> checking how to run the C++ preprocessor... /usr/bin/clang++ -E >> checking for ar... ar >> configure: Rewriting AR to "/usr/bin/ar" >> checking for lipo... /usr/bin/lipo >> checking for strip... strip >> configure: Rewriting STRIP to "/usr/bin/strip" >> checking for nm... nm >> configure: Rewriting NM to "/usr/bin/nm" >> checking for gobjdump... no >> checking for objdump... no >> checking for jtreg... no >> checking for ANSI C header files... yes >> checking for sys/types.h... yes >> checking for sys/stat.h... yes >> checking for stdlib.h... yes >> checking for string.h... yes >> checking for memory.h... yes >> checking for strings.h... yes >> checking for inttypes.h... yes >> checking for stdint.h... yes >> checking for unistd.h... yes >> checking stdio.h usability... yes >> checking stdio.h presence... yes >> checking for stdio.h... yes >> checking size of int *... 8 >> checking for target address size... 64 bits >> checking whether byte ordering is bigendian... 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 if the C compiler supports "-m64"... yes >> checking if the C++ compiler supports "-m64"... yes >> checking if both compilers support "-m64"... yes >> checking if native warnings are errors... no >> checking what type of native debug symbols to use... zipped >> 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 cups/cups.h usability... yes >> checking cups/cups.h presence... yes >> checking for cups/cups.h... yes >> checking cups/ppd.h usability... yes >> checking cups/ppd.h presence... yes >> checking for cups/ppd.h... yes >> configure: Found freetype include files at /usr/X11/include/freetype2 using >> --with-freetype >> checking for freetype includes... /usr/X11/include/freetype2 >> checking for freetype libraries... /usr/X11/lib >> checking if we can compile and link with freetype... yes >> checking if we should bundle freetype... yes >> checking for which libjpeg to use... bundled >> checking for which giflib to use... bundled >> checking for which libpng to use... bundled >> checking for compress in -lz... yes >> checking for which zlib to use... system >> checking for which lcms to use... bundled >> checking for cos in -lm... yes >> checking for dlopen in -ldl... yes >> checking if elliptic curve crypto implementation is present... yes >> checking if jtreg failure handler should be built... no, missing jtreg >> checking for number of cores... 8 >> checking for memory size... 16384 MB >> checking for appropriate number of jobs to run in parallel... 8 >> checking flags for boot jdk java command ... >> checking flags for 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 >> checking whether to use sjavac... no >> checking whether to use javac server... yes >> checking If precompiled header is enabled... yes >> checking is ccache enabled... no >> checking if build directory is on local disk... yes >> checking JVM features for JVM variant 'server'... all-gcs cds compiler1 >> compiler2 dtrace fprof jni-check jvmci jvmti management nmt services >> vm-structs >> configure: creating >> /Projects/JavaTags/9dev/build/macosx-x86_64-normal-server-release/configure-support/config.status >> config.status: creating >> /Projects/JavaTags/9dev/build/macosx-x86_64-normal-server-release/spec.gmk >> config.status: creating >> /Projects/JavaTags/9dev/build/macosx-x86_64-normal-server-release/hotspot-spec.gmk >> config.status: creating >> /Projects/JavaTags/9dev/build/macosx-x86_64-normal-server-release/bootcycle-spec.gmk >> config.status: creating >> /Projects/JavaTags/9dev/build/macosx-x86_64-normal-server-release/buildjdk-spec.gmk >> config.status: creating >> /Projects/JavaTags/9dev/build/macosx-x86_64-normal-server-release/compare.sh >> config.status: creating >> /Projects/JavaTags/9dev/build/macosx-x86_64-normal-server-release/Makefile >> >> ==================================================== >> The existing configuration has been successfully updated in >> /Projects/JavaTags/9dev/build/macosx-x86_64-normal-server-release >> using configure arguments >> '--with-freetype-include=/usr/X11/include/freetype2 >> --with-freetype-lib=/usr/X11/lib --disable-warnings-as-errors'. >> >> Configuration summary: >> * Debug level: release >> * HS debug level: product >> * JDK variant: normal >> * JVM variants: server >> * OpenJDK target: OS: macosx, CPU architecture: x86, address length: 64 >> * Version string: 9-internal+0-2016-04-28-171810.jdc.9dev (9-internal) >> >> Tools summary: >> * Boot JDK: java version "1.8.0_66" Java(TM) SE Runtime Environment >> (build 1.8.0_66-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, >> mixed mode) (at >> /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home) >> * Toolchain: clang (clang/LLVM from Xcode 7.3) >> * C Compiler: Version 7.3.0 (at /usr/bin/clang) >> * C++ Compiler: Version 7.3.0 (at /usr/bin/clang++) >> >> Build performance summary: >> * Cores to use: 8 >> * Memory limit: 16384 MB >> >> WARNING: The result of this configuration has overridden an older >> configuration. You *should* run 'make clean' to make sure you get a >> proper build. Failure to do so might result in strange build problems. >> >> JDCMacBook:9dev jdc$ >> JDCMacBook:9dev jdc$ >> JDCMacBook:9dev jdc$ >> JDCMacBook:9dev jdc$ <======================= >> 'make clean' appears OK =================== >> JDCMacBook:9dev jdc$ make clean >> Building target 'clean' in configuration >> 'macosx-x86_64-normal-server-release' >> Cleaning hotspot build artifacts ... done >> Cleaning jdk build artifacts ... done >> Cleaning bootcycle-build build artifacts ... done >> Cleaning test build artifacts ... done >> Cleaning buildtools build artifacts ... done >> Cleaning support build artifacts ... done >> Cleaning images build artifacts ... done >> Cleaning make-support build artifacts ... done >> Cleaning test-make build artifacts ... done >> Cleaning bundles build artifacts ... done >> Cleaning buildjdk build artifacts ... done >> Cleaned all build artifacts. >> Finished building target 'clean' in configuration >> 'macosx-x86_64-normal-server-release' >> JDCMacBook:9dev jdc$ >> JDCMacBook:9dev jdc$ >> JDCMacBook:9dev jdc$ >> JDCMacBook:9dev jdc$ >> JDCMacBook:9dev jdc$ make all <================== but >> then 'make all' falls apart ===================== >> >> Building target 'all' in configuration 'macosx-x86_64-normal-server-release' >> make[2]: *** No rule to make target `java.security.jgss-java', needed by >> `zip-security'. Stop. >> make[2]: *** Waiting for unfinished jobs.... >> CompileInterim.gmk:39: *** SRC specified to SetupJavaCompilation >> BUILD_INTERIM_LANGTOOLS contains missing directory >> >/Projects/JavaTags/9dev/build/macosx-x86_64-normal-server-release/support/gensrc/jdk.compiler<. >> Stop. >> make[2]: *** [interim-langtools] Error 2 >> Compiling 1 files for BUILD_DEMO_APPLET_ArcTest >> Error: Could not find or load main class com.sun.tools.sjavac.Main >> make[3]: *** >> [/Projects/JavaTags/9dev/build/macosx-x86_64-normal-server-release/support/demos/image/applets/ArcTest/_the.BUILD_DEMO_APPLET_ArcTest_batch] >> Error 1 >> make[3]: *** Waiting for unfinished jobs.... >> make[2]: *** [demos-jdk] Error 2 >> Updating support/src.zip >> >> ERROR: Build failed for target 'all' in configuration >> 'macosx-x86_64-normal-server-release' (exit code 2) >> === Output from failing command(s) repeated here === >> * For target >> support_demos_image_applets_ArcTest__the.BUILD_DEMO_APPLET_ArcTest_batch: >> Error: Could not find or load main class com.sun.tools.sjavac.Main >> === End of repeated output === >> No indication of failed target found. >> Hint: Try searching the build log for '] Error'. >> Hint: If caused by a warning, try configure --disable-warnings-as-errors. >> >> make[1]: *** [main] Error 2 >> make: *** [all] Error 2 >> JDCMacBook:9dev jdc$ >>