Error: SPEC mismatch! Current working directory does not match either TOPDIR, ORIGINAL_TOPDIR or CANONICAL_TOPDIR

Martijn Verburg martijnverburg at gmail.com
Wed Jun 17 10:00:07 UTC 2015


Hi all,

Sitting in the build OpenJDK workshop at Devoxx UK and I have the following
issue on Mac OS X (building jdk9).

Error: SPEC mismatch! Current working directory
/Users/karianna/Documents/workspace/AdoptOpenJDK_Projects/jdk9

-------

Seems to be related to:
http://hg.openjdk.java.net/jdk9/jdk9/rev/f077ae77feb1 and/or
http://hg.openjdk.java.net/jdk9/jdk9/rev/f658baecb743  ?

-------

Full configure and command details:

A new configuration has been successfully created in
/Users/karianna/Documents/workspace/AdoptOpenJDK_projects/jdk9/build/macosx-x86_64-normal-server-release
using configure arguments
'--with-boot-jdk=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/'.

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

Tools summary:
* Boot JDK:       java version "1.8.0_45" Java(TM) SE Runtime Environment
(build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02,
mixed mode)  (at
/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home)
* Toolchain:      clang (clang/LLVM)
* C Compiler:     Version Apple LLVM version 6.1.0 (clang-602.0.53) (based
on LLVM 3.6.0svn) Target: x86_64-apple-darwin14.3.0 Thread model: posix (at
/usr/bin/clang)
* C++ Compiler:   Version Apple LLVM version 6.1.0 (clang-602.0.53) (based
on LLVM 3.6.0svn) Target: x86_64-apple-darwin14.3.0 Thread model: posix (at
/usr/bin/clang++)

Build performance summary:
* Cores to use:   4
* Memory limit:   16384 MB

Martijns-MacBook-Pro:jdk9 karianna$ make clean install
Compiling 5 files for BUILD_GENMODULESLIST
Error: SPEC mismatch! Current working directory
/Users/karianna/Documents/workspace/AdoptOpenJDK_Projects/jdk9
does not match either TOPDIR, ORIGINAL_TOPDIR or CANONICAL_TOPDIR
/Users/karianna/Documents/workspace/AdoptOpenJDK_projects/jdk9
/Users/karianna/Documents/workspace/AdoptOpenJDK_projects/jdk9
/Users/karianna/Documents/workspace/AdoptOpenJDK_projects/jdk9
/Users/karianna/Documents/workspace/AdoptOpenJDK_Projects/jdk9/make/Init.gmk:206:
*** Cannot continue.  Stop.
make: *** [clean] Error 2

Cheers,
Martijn



More information about the build-dev mailing list