Le 29/01/2020 à 09:12, Christopher Gregory via blfs-support a écrit : > > > > > > Sent: Wednesday, January 29, 2020 at 5:16 PM > From: "Alan Feuerbacher via blfs-support" > <[email protected]> > To: "Ken Moffat via blfs-support" <[email protected]> > Cc: "Alan Feuerbacher" <[email protected]> > Subject: [blfs-support] Fwd: Fatal Error Building OpenJDK in systemd > development version > I sent this request last week but have not heard back. Thanks for any help! > > BTW, I just got KDE5 running. Again, thanks for all the support! > > > -------- Forwarded Message -------- > Subject:[blfs-support] Fatal Error Building OpenJDK in systemd development > version > Date:Sun, 26 Jan 2020 00:37:31 -0700 > From:Alan Feuerbacher via blfs-support > <[email protected]>[mailto:[email protected]] > Reply-To:BLFS Support List > <[email protected]>[mailto:[email protected]] > To:[email protected][mailto:[email protected]] > CC:Alan Feuerbacher <[email protected]>[mailto:[email protected]] > Trying to build OpenJDK-12.0.2 in BLFS development systemd Edition - Version > 2020-01-24, everything up through "configure" looks fine, but "make images" > gives this error: > ################### > lfs [ /sources/jdk12u-jdk-12.0.2+10 ]$ make images > Building target 'images' in configuration 'linux-x86_64-server-release' > make[3]: *** No rule to make target > '/sources/jdk12u-jdk-12.0.2+10/build/linux-xtools_tools_classes/_the.BUILD_TOOLS_LANGTOOLS.vardeps', > needed by > '/sources/jdk-server-release/buildtools/langtools_tools_classes/_the.BUILD_TOOLS_LANGTOOLS_ba > make[3]: *** Waiting for unfinished jobs.... > Warning: No SCM configuration present and no .src-rev > make[2]: *** [make/Main.gmk:73: buildtools-langtools] Error 2 > make[2]: *** Waiting for unfinished jobs.... > make[3]: *** No rule to make target > '/sources/jdk12u-jdk-12.0.2+10/build/linux-xrdeps/make/ReleaseFile.gmk/create-info-file.vardeps', > needed by '/sources/jdk12urver-release/jdk/release'. Stop. > make[2]: *** [make/Main.gmk:369: release-file] Error 2 > make[3]: *** No rule to make target > '/sources/jdk12u-jdk-12.0.2+10/build/linux-xrdeps/make/ModuleWrapper.gmk/java.base/ORDERED_CFG_VARIANTS.vardeps', > needed by > /linux-x86_64-server-release/support/modules_libs/java.base/jvm.cfg'. Stop. > make[3]: *** Waiting for unfinished jobs.... > make[2]: *** [make/Main.gmk:162: java.base-copy] Error 2 > > ERROR: Build failed for target 'images' in configuration > 'linux-x86_64-server-re > > No indication of failed target found. > Hint: Try searching the build log for '] Error'. > Hint: See doc/building.html#troubleshooting for assistance. > > make[1]: *** [/sources/jdk12u-jdk-12.0.2+10/make/Init.gmk:310: main] Error 2 > make: *** [/sources/jdk12u-jdk-12.0.2+10/make/Init.gmk:186: images] Error 2 > ################### > The build.log file contains: > ################### > Building target 'images' in configuration 'linux-x86_64-server-release' > Compiling 8 files for BUILD_TOOLS_LANGTOOLS > Warning: No SCM configuration present and no .src-rev > make[3]: *** No rule to make target > '/sources/jdk12u-jdk-12.0.2+10/build/linux-x86_64-server-release/hotspot/variant-server/tools/adlc/objs/adlc.comp.vardeps', > needed by > '/sources/jdk12u-jdk-12.0.2+10/build/linux-x86_64-server-release/hotspot/variant-server/tools/adlc/objs/adlparse.o'. > Stop. > make[2]: *** [make/Main.gmk:250: hotspot-server-gensrc] Error 2 > make[2]: *** Waiting for unfinished jobs.... > > ERROR: Build failed for target 'images' in configuration > 'linux-x86_64-server-release' (exit code 2) > ----- Build times ------- > Start 2020-01-26 00:23:44 > End 2020-01-26 00:23:45 > > 00:00:01 TOTAL > ------------------------- > ################### > Any clues what's going wrong? > Alan > > -- > http://lists.linuxfromscratch.org/listinfo/blfs-support[http://lists.linuxfromscratch.org/listinfo/blfs-support] > FAQ: > http://www.linuxfromscratch.org/blfs/faq.html[http://www.linuxfromscratch.org/blfs/faq.html] > Unsubscribe: See the above information page > > > Hello, > > I would try the build again and make sure that you use make -j1 just to see > if it is not some kind of race condition on your hardware. Also pay > attention to every detail in the book instructions. >
Actually, the OpenJDK build system sets parallelism to a high value, and does not accept an already set parallelism. Use --with-jobs=1 to limit the number of jobs. Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
