It sure looks like the big change is slightly broken
(maybe the classic trap of forgetting to add a file to the changeset):

changeset:   10469:f08705540498   10454:88856f58680f
user:        chegar
date:        2014-08-17 15:54 +0100
8054834: Modular Source Code
Reviewed-by: alanb, chegar, ihse, mduigou
Contributed-by: alan.bate...@oracle.com, alex.buck...@oracle.com,
chris.hega...@oracle.com, erik.joels...@oracle.com,
jonathan.gibb...@oracle.com, karen.kinn...@oracle.com,
magnus.ihse.bur...@oracle.com, mandy.ch...@oracle.com,
mark.reinh...@oracle.com, paul.san...@oracle.com



On Fri, Aug 22, 2014 at 4:30 PM, Martin Buchholz <marti...@google.com>
wrote:

> I've also just lost the ability to build jdk9.
> I also get uninformative
>
> make[1]: *** [main-wrapper] Error 2
>
> Trying to debug, I configure with  --with-jobs=1 and run
> make LOG=debug
> and that gets me:
>
> make[3]: Entering directory `...home/martinrb/ws/9up/jdk/make'
> Tools.gmk:35: SetupJava.gmk: No such file or directory
>
> Digging further, I see several uses of
> SetupJava.gmk but the file itself is missing!?
>
> ./jdk/make/CompileInterimRmic.gmk:31:include SetupJava.gmk
> ./jdk/make/CompileDemos.gmk:34:include SetupJava.gmk
> ./jdk/make/Tools.gmk:35:include SetupJava.gmk
> ./jdk/make/gensrc/GensrcCommon.gmk:35:include SetupJava.gmk
> ./jdk/make/gendata/GendataCommon.gmk:33:include SetupJava.gmk
>
>
>
>
>
> On Fri, Aug 22, 2014 at 4:10 PM, Mani Sarkar <sadhak...@gmail.com> wrote:
>
>> Hi,
>>
>> Lately I have been getting a lot of build failures and the most recent
>> ones
>> are the below (snippets of the error messages from the logs):
>>
>> *First instance after running make images*
>> .
>> .
>> .
>> make[4]: warning: -jN forced in submake: disabling jobserver mode.
>> INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
>> INFO: ALT_OBJCOPY=/usr/bin/objcopy
>> INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
>> INFO: STRIP_POLICY=min_strip
>> INFO: ZIP_DEBUGINFO_FILES=1
>> INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
>> INFO: ALT_OBJCOPY=/usr/bin/objcopy
>> INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
>> INFO: STRIP_POLICY=min_strip
>> INFO: ZIP_DEBUGINFO_FILES=1
>> Compiling 163 files for BUILD_TOOLS_JDK
>> Compiling 1492 files for BUILD_INTERIM_CORBA
>> Rescanned ../generated/adfiles/linux_x86_64.ad  but encountered no
>> changes.
>> INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
>> INFO: ALT_OBJCOPY=/usr/bin/objcopy
>> INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
>> INFO: STRIP_POLICY=min_strip
>> INFO: ZIP_DEBUGINFO_FILES=1
>> INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
>> INFO: ALT_OBJCOPY=/usr/bin/objcopy
>> INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
>> INFO: STRIP_POLICY=min_strip
>> INFO: ZIP_DEBUGINFO_FILES=1
>> **NOTICE** Dtrace support disabled: //usr/include/sys/sdt.h not found
>> INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
>> INFO: ALT_OBJCOPY=/usr/bin/objcopy
>> INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
>> INFO: STRIP_POLICY=min_strip
>> INFO: ZIP_DEBUGINFO_FILES=1
>> INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
>> INFO: ALT_OBJCOPY=/usr/bin/objcopy
>> INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
>> INFO: STRIP_POLICY=min_strip
>> INFO: ZIP_DEBUGINFO_FILES=1
>> Compiling
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/parNew/asParNewGeneration.cpp
>> Compiling
>>
>> /home/satyasai/sources/jdk9/hotspot/src/os_cpu/linux_x86/vm/assembler_linux_x86.cpp
>> Compiling
>> /home/satyasai/sources/jdk9/hotspot/src/cpu/x86/vm/assembler_x86.cpp
>> Compiling
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/runtime/atomic.cpp
>> In file included from
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/parNew/asParNewGeneration.cpp:28:0:
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/parNew/asParNewGeneration.hpp:
>> In member function ‘virtual Generation::Name ASParNewGeneration::kind()’:
>> .
>> .
>> .
>> In file included from
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/parNew/asParNewGeneration.cpp:28:0:
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/parNew/asParNewGeneration.hpp:
>> In member function ‘virtual Generation::Name ASParNewGeneration::kind()’:
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/parNew/asParNewGeneration.hpp:81:44:
>> error: ‘ASParNew’ was not declared in this scope
>>
>> /home/satyasai/sources/jdk9/jdk/make/src/classes/build/tools/tzdb/TzdbZoneRulesProvider.java:274:
>> error: incompatible types: Month cannot be converted to int
>>                 LocalDate adjustedDate = LocalDate.of(year, month,
>> dayOfMonth).minusDays(6);
>> .
>> .
>> .
>> 15 errors
>> make[3]: ***
>>
>> [/home/satyasai/sources/jdk9/build/linux-x86_64-normal-server-release/jdk/btclasses/_the.BUILD_TOOLS_JDK_batch]
>> Error 1
>> make[2]: *** [build-tools-jdk] Error 2
>> make[2]: *** Waiting for unfinished jobs....
>> make[8]: *** [asParNewGeneration.o] Error 1
>> make[8]: *** Waiting for unfinished jobs....
>> 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 corba/dist/interim_corba.jar
>> make[7]: *** [the_vm] Error 2
>> make[6]: *** [product] Error 2
>> make[5]: *** [generic_build2] Error 2
>> make[4]: *** [product] Error 2
>> make[3]: ***
>>
>> [/home/satyasai/sources/jdk9/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp]
>> Error 2
>> make[2]: *** [hotspot] Error 2
>> make[1]: *** [main-wrapper] Error 2
>> make: *** [images] Error 2
>>
>>
>> *Second instance after running make clean followed by make images*
>> .
>> .
>> .
>> INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
>> INFO: ALT_OBJCOPY=/usr/bin/objcopy
>> INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
>> INFO: STRIP_POLICY=min_strip
>> INFO: ZIP_DEBUGINFO_FILES=1
>> Generating precompiled header precompiled.hpp.gch
>> INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
>> INFO: ALT_OBJCOPY=/usr/bin/objcopy
>> INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
>> INFO: STRIP_POLICY=min_strip
>> INFO: ZIP_DEBUGINFO_FILES=1
>> Compiling
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/compiler/abstractCompiler.cpp
>> Compiling
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/utilities/accessFlags.cpp
>> Compiling ../generated/adfiles/ad_x86_64.cpp
>> Compiling ../generated/adfiles/ad_x86_64_clone.cpp
>> Compiling ../generated/adfiles/ad_x86_64_expand.cpp
>> Compiling ../generated/adfiles/ad_x86_64_format.cpp
>> Compiling ../generated/adfiles/ad_x86_64_gen.cpp
>> Compiling ../generated/adfiles/ad_x86_64_misc.cpp
>> Compiling ../generated/adfiles/ad_x86_64_peephole.cpp
>> Compiling ../generated/adfiles/ad_x86_64_pipeline.cpp
>>
>> Compiling
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/adaptiveFreeList.cpp
>>
>> Compiling
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp
>> Compiling
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/opto/addnode.cpp
>> Compiling
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/parallelScavenge/adjoiningGenerations.cpp
>> Compiling
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/parallelScavenge/adjoiningVirtualSpaces.cpp
>> Compiling
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/runtime/advancedThresholdPolicy.cpp
>> Compiling
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/shared/ageTable.cpp
>> Compiling
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_interface/allocTracer.cpp
>> Compiling
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/memory/allocation.cpp
>> Compiling
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/shared/allocationStats.cpp
>> Compiling
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/classfile/altHashing.cpp
>> Compiling
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/oops/annotations.cpp
>> Compiling
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/runtime/arguments.cpp
>> Compiling
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/runtime/arguments_ext.cpp
>> Compiling
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/utilities/array.cpp
>> Compiling
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/oops/arrayKlass.cpp
>> Compiling
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/oops/arrayOop.cpp
>> Compiling
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/parallelScavenge/asPSOldGen.cpp
>> Compiling
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/parallelScavenge/asPSYoungGen.cpp
>> Compiling
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/parNew/asParNewGeneration.cpp
>>
>> In file included from
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/parNew/asParNewGeneration.cpp:28:0:
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/parNew/asParNewGeneration.hpp:
>> In member function ‘virtual Generation::Name ASParNewGeneration::kind()’:
>>
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/gc_implementation/parNew/asParNewGeneration.hpp:81:44:
>> error: ‘ASParNew’ was not declared in this scope
>> Compiling
>> /home/satyasai/sources/jdk9/hotspot/src/share/vm/asm/assembler.cpp
>> make[8]: *** [asParNewGeneration.o] Error 1
>> make[8]: *** Waiting for unfinished jobs....
>> make[7]: *** [the_vm] Error 2
>> make[6]: *** [product] Error 2
>> make[5]: *** [generic_build2] Error 2
>> make[4]: *** [product] Error 2
>> make[3]: ***
>>
>> [/home/satyasai/sources/jdk9/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp]
>> Error 2
>> make[2]: *** [hotspot] Error 2
>> make[1]: *** [main-wrapper] Error 2
>> make: *** [images] Error 2
>>
>>
>> My sources is updated on a regular-basis, and the above are on the most
>> recent version of the source. If you need anything else to help with
>> investigating the the above error please let me know.
>>
>> Cheers,
>> Mani
>> --
>> @theNeomatrix369 <http://twitter.com/theNeomatrix369>*  |  **Blog
>> <http://neomatrix369.wordpress.com>**  |  *LJC Associate & LJC Advocate
>> (@adoptopenjdk & @adoptajsr programs)
>> *Meet-a-Project - *MutabilityDetector
>> <https://github.com/MutabilityDetector>*  |  **Bitbucket
>> <https://bitbucket.org/neomatrix369>* * |  **Github
>> <https://github.com/neomatrix369>* * |  **LinkedIn
>> <http://uk.linkedin.com/pub/mani-sarkar/71/a77/39b>*
>> *Come to Devoxx UK 2014:* http://www.devoxx.co.uk/
>>
>> *Don't chase success, rather aim for "Excellence", and success will come
>> chasing after you!*
>>
>
>

Reply via email to