bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

openjdk11 fails to build with make 4.3


From: Natanael Copa
Subject: openjdk11 fails to build with make 4.3
Date: Mon, 27 Jan 2020 11:52:36 +0100

openjdk11 builds fine with make 4.2.1 but with 4.3 we get following error on 
Alpine linux, on all our architectures (aarch64, ppc64le, s390x, x86_64):

-------------------------------------------------------------------------------------
Build performance summary:
* Cores to use:   48
* Memory limit:   257866 MB

WARNING: Your build output directory is not on a local disk.
This will severely degrade build performance!
It is recommended that you create an output directory on a local disk,
and run the configure script again from that directory.

The following warnings were produced. Repeated here for convenience:
WARNING: using cross tools not prefixed with host triplet

Building target 'images' in configuration 'linux-x86_64-normal-server-release'
Warning: No SCM configuration present and no .src-rev
make[3]: *** No rule to make target 
'/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/build/linux-x86_64-normal-server-release/make-support/vardeps/make/ReleaseFile.gmk/create-info-file.vardeps',
 needed by 
'/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/build/linux-x86_64-normal-server-release/jdk/release'.
  Stop.
make[3]: *** No rule to make target 
'/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/build/linux-x86_64-normal-server-release/buildtools/langtools_tools_classes/_the.BUILD_TOOLS_LANGTOOLS.vardeps',
 needed by 
'/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/build/linux-x86_64-normal-server-release/buildtools/langtools_tools_classes/_the.BUILD_TOOLS_LANGTOOLS_batch'.
  Stop.
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [make/Main.gmk:348: release-file] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [make/Main.gmk:73: buildtools-langtools] Error 2
make[3]: *** No rule to make target 
'/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/build/linux-x86_64-normal-server-release/make-support/vardeps/make/ModuleWrapper.gmk/java.base/ORDERED_CFG_VARIANTS.vardeps',
 needed by 
'/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/build/linux-x86_64-normal-server-release/support/modules_libs/java.base/jvm.cfg'.
  Stop.
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [make/Main.gmk:166: java.base-copy] Error 2
make[3]: *** No rule to make target 
'/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/build/linux-x86_64-normal-server-release/hotspot/variant-server/tools/adlc/objs/adlc.comp.vardeps',
 needed by 
'/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/build/linux-x86_64-normal-server-release/hotspot/variant-server/tools/adlc/objs/adlparse.o'.
  Stop.
make[2]: *** [make/Main.gmk:254: hotspot-server-gensrc] Error 2

ERROR: Build failed for target 'images' in configuration 
'linux-x86_64-normal-server-release' (exit code 2) 

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

make[1]: *** 
[/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/make/Init.gmk:305:
 main] Error 2
make: *** 
[/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/make/Init.gmk:186:
 images] Error 2
-------------------------------------

It seems like it fails to construct the targets depenencies for some reason.

The complete makefiles are fairly advanced and I get the feeling that
they are tripping over a regression in some cornercase.

They are found here:
https://hg.openjdk.java.net/jdk-updates/jdk11u/file/92ad8373cf4d/make


Below is a run with "Cores to use" set to 1. (make --debug images JOBS=1):

-------------------------------------------------------------------------------
GNU Make 4.3
Built for x86_64-alpine-linux-musl
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating makefiles....
GNU Make 4.3
Built for x86_64-alpine-linux-musl
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating makefiles....
Updating goal targets....
 File 'create-main-targets-include' does not exist.
Must remake target 'create-main-targets-include'.
Successfully remade target file 'create-main-targets-include'.
Re-executing[1]: make --debug images JOBS=1
GNU Make 4.3
Built for x86_64-alpine-linux-musl
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating makefiles....
Updating goal targets....
 File 'images' does not exist.
   File 'make-info' does not exist.
  Must remake target 'make-info'.
  Successfully remade target file 'make-info'.
Must remake target 'images'.
GNU Make 4.3
Built for x86_64-alpine-linux-musl
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating makefiles....
Updating goal targets....
 File 'main' does not exist.
Must remake target 'main'.
Building target 'images' in configuration 'linux-x86_64-normal-server-release'
GNU Make 4.3
Built for x86_64-alpine-linux-musl
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating makefiles....
Re-executing[1]: /usr/bin/make -s -r -R -I 
/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/make/common 
SPEC=/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/build/linux-x86_64-normal-server-release/spec.gmk
 MAKE_LOG_FLAGS=-s LOG_LEVEL=warn LOG_NOFILE= LOG_CMDLINES= LOG_REPORT= 
LOG_PROFILE_TIMES_LOG= LOG_PROFILE_TIMES_FILE= -Onone -j 1 -f make/Main.gmk 
images
GNU Make 4.3
Built for x86_64-alpine-linux-musl
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating makefiles....
Updating goal targets....
 File 'images' does not exist.
   File 'product-images' does not exist.
     File 'jdk-image' does not exist.
       File 'generate-link-opt-data' does not exist.
         File 'create-buildjdk' does not exist.
           File 'create-buildjdk-copy' does not exist.
             File 'jdk.jlink-java' does not exist.
               File 'interim-langtools' does not exist.
                 File 'jdk.compiler-gensrc-src' does not exist.
                   File 'buildtools-langtools' does not exist.
                  Must remake target 'buildtools-langtools'.
GNU Make 4.3
Built for x86_64-alpine-linux-musl
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating makefiles....
Updating goal targets....
 File 'default' does not exist.
   File 'all' does not exist.
     File 
'/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/build/linux-x86_64-normal-server-release/buildtools/langtools_tools_classes/propertiesparser/resources/templates.properties'
 does not exist.
    Must remake target 
'/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/build/linux-x86_64-normal-server-release/buildtools/langtools_tools_classes/propertiesparser/resources/templates.properties'.
    Successfully remade target file 
'/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/build/linux-x86_64-normal-server-release/buildtools/langtools_tools_classes/propertiesparser/resources/templates.properties'.
     File 
'/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/build/linux-x86_64-normal-server-release/buildtools/langtools_tools_classes/_the.BUILD_TOOLS_LANGTOOLS_batch'
 does not exist.
make[3]: *** No rule to make target 
'/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/build/linux-x86_64-normal-server-release/buildtools/langtools_tools_classes/_the.BUILD_TOOLS_LANGTOOLS.vardeps',
 needed by 
'/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/build/linux-x86_64-normal-server-release/buildtools/langtools_tools_classes/_the.BUILD_TOOLS_LANGTOOLS_batch'.
  Stop.
make[2]: *** [make/Main.gmk:73: buildtools-langtools] Error 2

ERROR: Build failed for target 'images' in configuration 
'linux-x86_64-normal-server-release' (exit code 2) 
GNU Make 4.3
Built for x86_64-alpine-linux-musl
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating makefiles....
Updating goal targets....
 File 'on-failure' does not exist.
Must remake target 'on-failure'.

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

Successfully remade target file 'on-failure'.
make[1]: *** 
[/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/make/Init.gmk:305:
 main] Error 2
make: *** 
[/home/ncopa/aports/community/openjdk11/src/jdk11u-jdk-11.0.5+10/make/Init.gmk:186:
 images] Error 2

-------------------------------------------------------------------

Note that I can manually build buildtools-langtools:

$ make JOBS=1 buildtools-langtools
Building target 'buildtools-langtools' in configuration 
'linux-x86_64-normal-server-release'
Compiling 8 files for BUILD_TOOLS_LANGTOOLS
Finished building target 'buildtools-langtools' in configuration
'linux-x86_64-normal-server-release'


-nc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]