make[2]: *** No rule to make target..'/home/*/...needed by jtreg_tests
Erik Joelsson
erik.joelsson at oracle.com
Wed May 20 15:15:57 UTC 2015
It seems jdk/test/Makefile is still looking for j2sdk-image as a
fallback default, but it has been changed to be just images/jdk. If you
run tests from the top level that shouldn't happen. Alternatively you
can specify PRODUCT_HOME=/path/to/your/jdk/image. You could of course
also fix the bug in jdk/test/Makefile.
/Erik
On 2015-04-26 22:44, Kingsley Osime wrote:
> I am trying to build openjdk and everything seems to have gone ok except
> when I test i get make[2]: *** No rule to make target
> `/home/hellofadude/dev/openjdk/jdk9/build/linux-x86_64-normal-server-release/images/j2sdk-image',
> needed by `jtreg_tests'.
>
> I also notice my build does not produce the j2sdk-image directory even
> after several tries and can not understand why?
>
> Perhaps someone can cast an expert eye over my build log ?
>
> Thanks
>
> Compiling 5 files for BUILD_GENMODULESLIST
> Compiling 8 files for BUILD_TOOLS_LANGTOOLS
> Compiling 20 properties into resource bundles for jdk.compiler
> Parsing 1 properties into enum-like class for jdk.compiler
> Compiling 5 properties into resource bundles for jdk.dev
> Compiling 10 properties into resource bundles for jdk.javadoc
> Compiling 821 files for BUILD_INTERIM_LANGTOOLS
> Creating buildtools/interim_langtools.jar
> Compiling 23 files for BUILD_INTERIM_JIMAGE
> Compiling 161 files for BUILD_TOOLS_JDK
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Creating sun/util/locale/provider/EnLocaleDataMetaInfo.java from 424 found
> resources.
> Generating sun/misc/Version.java
> Creating genSocketOptionRegistry from 1 file(s)
> Creating genUnixConstants from 1 file(s)
> Generating buffer classes
> Generating exceptions classes
> Compiling 11 properties into resource bundles for java.base
> Compiling 22 properties into resource bundles for java.base
> Compiling 2752 files for java.base
> Compiling 1814 files for java.xml
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Compiling 13 files for java.prefs
> Compiling 131 files for jdk.charsets
> Compiling 16 files for java.datatransfer
> Compiling 11 properties into resource bundles for java.logging
> Compiling 32 files for java.logging
> Generating icon classes
> Generating X11 wrapper (64-bit version)
> Verifying
> /home/hellofadude/dev/openjdk/jdk9/build/linux-x86_64-normal-server-release/support/gensrc/java.desktop/_x11wrappers/sizes.64.verification.tmp
> to
> /home/hellofadude/dev/openjdk/jdk9/build/linux-x86_64-normal-server-release/support/gensrc/java.desktop/_x11wrappers/sizes.64
> Generating beaninfo
> Generating Nimbus source files
> Compiling 100 properties into resource bundles for java.desktop
> Compiling 2755 files for java.desktop
> Compiling 24 files for java.activation
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Compiling 5 files for java.annotations.common
> Compiling 4 files for BUILD_BREAKITERATOR
> Generating blacklisted certs
> Creating support/jce/policy/unlimited/US_export_policy.jar
> Creating support/jce/policy/limited/local_policy.jar
> Creating support/jce/policy/unlimited/local_policy.jar
> Generating java.security
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Warning: generation and use of skeletons and static stubs for JRMP
> is deprecated. Skeletons are unnecessary, and static stubs have
> been superseded by dynamically generated stubs. Users are
> encouraged to migrate away from using rmic to generate skeletons and static
> stubs. See the documentation for java.rmi.server.UnicastRemoteObject.
> All done.
> Generating linux_amd64_docs/jvmti.html
> Creating libverify.so from 2 file(s)
> Creating libjava.so from 60 file(s)
> Creating libfdlibm.a from 62 file(s)
> Creating libzip.so from 21 file(s)
> Creating libjli.so from 15 file(s)
> Creating libnet.so from 21 file(s)
> Creating libnio.so from 25 file(s)
> Creating java from 1 file(s)
> Creating keytool from 1 file(s)
> Creating jexec from 1 file(s)
> Compiling 114 files for java.compiler
> Compiling 141 files for BUILD_IDLJ
> Note:
> /home/hellofadude/dev/openjdk/jdk9/corba/src/java.corba/share/classes/com/sun/tools/corba/se/idl/som/idlemit/MetaPragma.java
> uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Compiling 6 files for BUILD_TOOLS_CORBA
> Compiling 133 files for java.rmi
> Compiling 3 files for java.transaction
> Compiling 29 files for java.security.sasl
> Compiling 191 files for java.naming
> Compiling 1476 files for java.corba
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Creating idlj from 1 file(s)
> Creating orbd from 1 file(s)
> Creating servertool from 1 file(s)
> Creating tnameserv from 1 file(s)
> Generating HTML DTD file
> [Parsed DTD html32 in 897ms]
> Creating libmlib_image.so from 55 file(s)
> Creating libawt.so from 72 file(s)
> Creating libawt_xawt.so from 53 file(s)
> /home/hellofadude/dev/openjdk/jdk9/jdk/src/java.desktop/unix/native/common/awt/awt_Font.c:
> In function ‘awtJNI_GetFontData’:
> /home/hellofadude/dev/openjdk/jdk9/jdk/src/java.desktop/unix/native/common/awt/awt_Font.c:643:23:
> warning: comparison between pointer and integer [enabled by default]
> if (xfont == (Font) NULL || xfont->ascent < 0) {
> ^
> /home/hellofadude/dev/openjdk/jdk9/jdk/src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.c:69:0:
> warning: "MIN" redefined [enabled by default]
> #define MIN(a, b) (((a) < (b)) ? (a) : (b))
> ^
> In file included from
> /home/hellofadude/dev/openjdk/jdk9/jdk/src/java.base/unix/native/include/jvm_md.h:35:0,
> from
> /home/hellofadude/dev/openjdk/jdk9/jdk/src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.c:33:
> /usr/include/x86_64-linux-gnu/sys/param.h:99:0: note: this is the location
> of the previous definition
> #define MIN(a,b) (((a)<(b))?(a):(b))
> ^
> Creating liblcms.so from 26 file(s)
> Creating libjavajpeg.so from 46 file(s)
> Creating libawt_headless.so from 26 file(s)
> Creating libfontmanager.so from 94 file(s)
> cc1: warning: command line option ‘-Wno-reorder’ is valid for C++/ObjC++
> but not for C [enabled by default]
> cc1: warning: command line option ‘-Wno-delete-non-virtual-dtor’ is valid
> for C++/ObjC++ but not for C [enabled by default]
> cc1: warning: command line option ‘-Wno-reorder’ is valid for C++/ObjC++
> but not for C [enabled by default]
> cc1: warning: command line option ‘-Wno-delete-non-virtual-dtor’ is valid
> for C++/ObjC++ but not for C [enabled by default]
> cc1: warning: command line option ‘-Wno-reorder’ is valid for C++/ObjC++
> but not for C [enabled by default]
> cc1: warning: command line option ‘-Wno-delete-non-virtual-dtor’ is valid
> for C++/ObjC++ but not for C [enabled by default]
> cc1: warning: command line option ‘-Wno-reorder’ is valid for C++/ObjC++
> but not for C [enabled by default]
> cc1: warning: command line option ‘-Wno-delete-non-virtual-dtor’ is valid
> for C++/ObjC++ but not for C [enabled by default]
> cc1: warning: command line option ‘-Wno-reorder’ is valid for C++/ObjC++
> but not for C [enabled by default]
> cc1: warning: command line option ‘-Wno-delete-non-virtual-dtor’ is valid
> for C++/ObjC++ but not for C [enabled by default]
> /home/hellofadude/dev/openjdk/jdk9/jdk/src/java.desktop/share/native/libfontmanager/sunFont.c:
> In function ‘freeLayoutTableCache’:
> /home/hellofadude/dev/openjdk/jdk9/jdk/src/java.desktop/share/native/libfontmanager/sunFont.c:357:7:
> warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from
> pointer target type [enabled by default]
> if(ltc->entries[i].ptr) free (ltc->entries[i].ptr);
> ^
> In file included from
> /home/hellofadude/dev/openjdk/jdk9/jdk/src/java.desktop/share/native/libfontmanager/sunFont.c:26:0:
> /usr/include/stdlib.h:483:13: note: expected ‘void *’ but argument is of
> type ‘const void *’
> extern void free (void *__ptr) __THROW;
> ^
> Creating libjawt.so from 1 file(s)
> Creating libsplashscreen.so from 84 file(s)
> Creating libjsound.so from 2 file(s)
> Creating libjsoundalsa.so from 17 file(s)
> Creating appletviewer from 1 file(s)
> Compiling 7 files for java.instrument
> Creating libinstrument.so from 12 file(s)
> Compiling 11 properties into resource bundles for java.management
> Compiling 393 files for java.management
> Compiling 1688 files for BUILD_INTERIM_CORBA
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Creating buildtools/interim_corba.jar
> Compiling 198 files for BUILD_INTERIM_RMIC
> Warning: generation and use of skeletons and static stubs for JRMP
> is deprecated. Skeletons are unnecessary, and static stubs have
> been superseded by dynamically generated stubs. Users are
> encouraged to migrate away from using rmic to generate skeletons and
> static
> stubs. See the documentation for java.rmi.server.UnicastRemoteObject.
> Warning: generation and use of skeletons and static stubs for JRMP
> is deprecated. Skeletons are unnecessary, and static stubs have
> been superseded by dynamically generated stubs. Users are
> encouraged to migrate away from using rmic to generate skeletons and
> static
> stubs. See the documentation for java.rmi.server.UnicastRemoteObject.
> Creating libmanagement.so from 16 file(s)
> Creating libprefs.so from 1 file(s)
> Warning: generation and use of skeletons and static stubs for JRMP
> is deprecated. Skeletons are unnecessary, and static stubs have
> been superseded by dynamically generated stubs. Users are
> encouraged to migrate away from using rmic to generate skeletons and
> static
> stubs. See the documentation for java.rmi.server.UnicastRemoteObject.
> Warning: generation and use of skeletons and static stubs for JRMP
> is deprecated. Skeletons are unnecessary, and static stubs have
> been superseded by dynamically generated stubs. Users are
> encouraged to migrate away from using rmic to generate skeletons and
> static
> stubs. See the documentation for java.rmi.server.UnicastRemoteObject.
> Creating rmid from 1 file(s)
> Creating rmiregistry from 1 file(s)
> Compiling 13 files for java.scripting
> Creating jrunscript from 1 file(s)
> Compiling 211 files for java.security.jgss
> Creating libj2gss.so from 3 file(s)
> Compiling 20 files for java.smartcardio
> Creating libj2pcsc.so from 2 file(s)
> Compiling 72 files for java.sql
> Compiling 50 files for java.sql.rowset
> Compiling 745 files for java.xml.bind
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Compiling 281 files for java.xml.crypto
> Compiling 43 files for jdk.httpserver
> Compiling 1224 files for java.xml.ws
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Compiling 17 files for jdk.accessibility
> Compiling 68 files for jdk.jvmstat
> Compiling 14 files for jdk.attach
> Creating libattach.so from 1 file(s)
> Compiling 442 files for jdk.compiler
> Creating javac from 1 file(s)
> Creating javah from 1 file(s)
> Creating javap from 1 file(s)
> Creating serialver from 1 file(s)
> Compiling 8 files for jdk.crypto.ec
> Creating libsunec.so from 28 file(s)
> Compiling 66 files for jdk.crypto.pkcs11
> Creating libj2pkcs11.so from 14 file(s)
> Compiling 1 properties into resource bundles for jdk.dev
> Compiling 90 files for jdk.dev
> Compiling 1 files for jdk.hprof.agent
> Compiling 11 properties into resource bundles for jdk.jartool
> Compiling 25 files for jdk.jartool
> Compiling 252 files for jdk.javadoc
> Compiling 36 files for jdk.jcmd
> Compiling 63 files for jdk.jconsole
> Compiling 3 properties into resource bundles for jdk.jdi
> Compiling 246 files for jdk.jdi
> Creating sun/util/resources/provider/NonEnLocaleDataMetaInfo.java from 424
> found resources.
> Compiling 209 properties into resource bundles for jdk.localedata
> Compiling 1569 files for jdk.localedata
> Compiling 16 files for jdk.naming.dns
> Compiling 6 files for jdk.naming.rmi
> Compiling 13 files for jdk.policytool
> Compiling 226 files for jdk.rmic
> Note:
> /home/hellofadude/dev/openjdk/jdk9/corba/src/jdk.rmic/share/classes/sun/rmi/rmic/iiop/DirectoryLoader.java
> uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Compiling 605 files for BUILD_NASHORN
> Compiling 111 files for BUILD_NASGEN
> Running nasgen
> Creating version.properties
> Compiling 32 files for jdk.sctp
> Compiling 36 files for jdk.security.auth
> Compiling 12 files for jdk.security.jgss
> Compiling 777 files for jdk.xml.bind
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Compiling 89 files for jdk.xml.dom
> Compiling 234 files for jdk.xml.ws
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Compiling 12 files for jdk.zipfs
> Warning: generation and use of skeletons and static stubs for JRMP
> is deprecated. Skeletons are unnecessary, and static stubs have
> been superseded by dynamically generated stubs. Users are
> encouraged to migrate away from using rmic to generate skeletons and
> static
> stubs. See the documentation for java.rmi.server.UnicastRemoteObject.
> Creating jdeps from 1 file(s)
> Creating jimage from 1 file(s)
> Creating jhat from 1 file(s)
> Creating native2ascii from 1 file(s)
> Creating jsadebugd from 1 file(s)
> Creating libhprof.so from 26 file(s)
> Creating libjava_crw_demo.so from 1 file(s)
> Creating jar from 1 file(s)
> Creating jarsigner from 1 file(s)
> Creating javadoc from 1 file(s)
> Creating jinfo from 1 file(s)
> Creating jmap from 1 file(s)
> Creating jps from 1 file(s)
> Creating jstack from 1 file(s)
> Creating jstat from 1 file(s)
> Creating jcmd from 1 file(s)
> Creating jconsole from 1 file(s)
> Creating jdb from 1 file(s)
> Creating libdt_socket.so from 2 file(s)
> Creating libjdwp.so from 41 file(s)
> Creating jstatd from 1 file(s)
> Creating libunpack.so from 7 file(s)
> Creating pack200 from 1 file(s)
> Creating unpack200 from 7 file(s)
> /home/hellofadude/dev/openjdk/jdk9/jdk/src/jdk.pack200/share/native/unpack200/main.cpp:
> In static member function ‘static int unpacker::run(int, char**)’:
> /home/hellofadude/dev/openjdk/jdk9/jdk/src/jdk.pack200/share/native/unpack200/main.cpp:438:55:
> warning: ignoring return value of ‘size_t fread(void*, size_t, size_t,
> FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
> fread(&filecrc, sizeof(filecrc), 1, u.infileptr);
> ^
> Creating policytool from 1 file(s)
> Creating rmic from 1 file(s)
> Creating jjs from 1 file(s)
> Creating libsctp.so from 3 file(s)
> Creating libjaas_unix.so from 1 file(s)
> Creating schemagen from 1 file(s)
> Creating xjc from 1 file(s)
> Creating wsgen from 1 file(s)
> Creating wsimport from 1 file(s)
> Updating support/src.zip
> Compiling 1 files for BUILD_DEMO_APPLET_ArcTest
> Compiling 1 files for BUILD_DEMO_APPLET_BarChart
> Compiling 1 files for BUILD_DEMO_APPLET_Blink
> Compiling 1 files for BUILD_DEMO_APPLET_CardTest
> Compiling 1 files for BUILD_DEMO_APPLET_Clock
> Compiling 1 files for BUILD_DEMO_APPLET_DitherTest
> Compiling 1 files for BUILD_DEMO_APPLET_DrawTest
> Compiling 1 files for BUILD_DEMO_APPLET_Fractal
> Compiling 2 files for BUILD_DEMO_APPLET_GraphicsTest
> Compiling 1 files for BUILD_DEMO_APPLET_NervousText
> Compiling 1 files for BUILD_DEMO_APPLET_SimpleGraph
> Compiling 5 files for BUILD_DEMO_APPLET_SortDemo
> Compiling 1 files for BUILD_DEMO_APPLET_SpreadSheet
> Compiling 3 files for BUILD_DEMO_CodePointIM
> Creating support/demo/image/jfc/CodePointIM/src.zip
> Updating support/demo/image/jfc/CodePointIM/src.zip
> Compiling 2 files for BUILD_DEMO_MoleculeViewer
> Creating support/demo/image/applets/MoleculeViewer/src.zip
> Updating support/demo/image/applets/MoleculeViewer/src.zip
> Compiling 2 files for BUILD_DEMO_WireFrame
> Creating support/demo/image/applets/WireFrame/src.zip
> Updating support/demo/image/applets/WireFrame/src.zip
> Compiling 1 files for BUILD_DEMO_SwingApplet
> Creating support/demo/image/jfc/SwingApplet/src.zip
> Updating support/demo/image/jfc/SwingApplet/src.zip
> Compiling 3 files for BUILD_DEMO_FileChooserDemo
> Note:
> /home/hellofadude/dev/openjdk/jdk9/jdk/src/demo/share/jfc/FileChooserDemo/FileChooserDemo.java
> uses unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Creating support/demo/image/jfc/FileChooserDemo/src.zip
> Updating support/demo/image/jfc/FileChooserDemo/src.zip
> Compiling 4 files for BUILD_DEMO_Font2DTest
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Creating support/demo/image/jfc/Font2DTest/src.zip
> Updating support/demo/image/jfc/Font2DTest/src.zip
> Compiling 15 files for BUILD_DEMO_Metalworks
> Note:
> /home/hellofadude/dev/openjdk/jdk9/jdk/src/demo/share/jfc/Metalworks/MetalworksPrefs.java
> uses unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Creating support/demo/image/jfc/Metalworks/src.zip
> Updating support/demo/image/jfc/Metalworks/src.zip
> Compiling 2 files for BUILD_DEMO_Notepad
> Creating support/demo/image/jfc/Notepad/src.zip
> Updating support/demo/image/jfc/Notepad/src.zip
> Compiling 5 files for BUILD_DEMO_SampleTree
> Creating support/demo/image/jfc/SampleTree/src.zip
> Updating support/demo/image/jfc/SampleTree/src.zip
> Compiling 8 files for BUILD_DEMO_TableExample
> Note:
> /home/hellofadude/dev/openjdk/jdk9/jdk/src/demo/share/jfc/TableExample/TableExample4.java
> uses unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Creating support/demo/image/jfc/TableExample/src.zip
> Updating support/demo/image/jfc/TableExample/src.zip
> Compiling 1 files for BUILD_DEMO_TransparentRuler
> Creating support/demo/image/jfc/TransparentRuler/src.zip
> Updating support/demo/image/jfc/TransparentRuler/src.zip
> Compiling 3 files for BUILD_DEMO_jconsole-plugin
> Creating support/demo/image/scripting/jconsole-plugin/src.zip
> Updating support/demo/image/scripting/jconsole-plugin/src.zip
> Compiling 3 files for BUILD_DEMO_FullThreadDump
> Creating support/demo/image/management/FullThreadDump/src.zip
> Updating support/demo/image/management/FullThreadDump/src.zip
> Compiling 2 files for BUILD_DEMO_JTop
> Creating support/demo/image/management/JTop/src.zip
> Updating support/demo/image/management/JTop/src.zip
> Compiling 1 files for BUILD_DEMO_MemoryMonitor
> Creating support/demo/image/management/MemoryMonitor/src.zip
> Updating support/demo/image/management/MemoryMonitor/src.zip
> Compiling 2 files for BUILD_DEMO_VerboseGC
> Creating support/demo/image/management/VerboseGC/src.zip
> Updating support/demo/image/management/VerboseGC/src.zip
> Creating libcompiledMethodLoad.so from 2 file(s)
> Updating support/demo/image/jvmti/compiledMethodLoad/src.zip
> Creating libgctest.so from 2 file(s)
> Updating support/demo/image/jvmti/gctest/src.zip
> Compiling 1 files for BUILD_DEMO_JVMTI_heapTracker_JAVA
> Creating support/demo/image/jvmti/heapTracker/heapTracker.jar
> Creating libheapTracker.so from 3 file(s)
> Updating support/demo/image/jvmti/heapTracker/src.zip
> Creating libheapViewer.so from 2 file(s)
> Updating support/demo/image/jvmti/heapViewer/src.zip
> Compiling 1 files for BUILD_DEMO_JVMTI_minst_JAVA
> Creating support/demo/image/jvmti/minst/minst.jar
> Creating libminst.so from 3 file(s)
> Updating support/demo/image/jvmti/minst/src.zip
> Compiling 1 files for BUILD_DEMO_JVMTI_mtrace_JAVA
> Creating support/demo/image/jvmti/mtrace/mtrace.jar
> Creating libmtrace.so from 3 file(s)
> Updating support/demo/image/jvmti/mtrace/src.zip
> Creating libwaiters.so from 5 file(s)
> Updating support/demo/image/jvmti/waiters/src.zip
> Creating libversionCheck.so from 2 file(s)
> Updating support/demo/image/jvmti/versionCheck/src.zip
> Creating support/jrt-fs.jar
> Creating jre jimage
> Creating jdk jimage
> duplicate resource "META-INF/services/com.sun.jdi.connect.Connector",
> skipping
> Updating images/sec-bin.zip
> ## Starting verify-modules
> Checking dependencies across JDK modules
> Access verification succeeded.
> ## Finished verify-modules (build time 00:01:33)
>
> ----- Build times -------
> Start 2015-04-25 16:14:07
> End 2015-04-25 21:54:24
> 00:01:33 verify-modules
> 05:40:17 TOTAL
> -------------------------
> Finished building targets 'clean images' in configuration
> 'linux-x86_64-normal-server-release'
More information about the build-dev
mailing list