On Tue, 2018-05-08 at 08:27 -0700, Erik Joelsson wrote: > Hello, > > Your assessment is looks correct so far. At this point, one would have > to start debugging the image to figure out what's wrong with it. Are you > able to run the exploded image in > ./build/linux-x86_64-normal-server-fastdebug/jdk/bin/java? > > Has anyone at Redhat built successfully on Fedora 28 yet?
It's Red Hat, not Redhat ;-) We've built JDK 10 on Fedora 28[1]. I've just recently upgraded to F28 so looking into getting JDK 11 to build on Fedora 28 currently. Thanks, Severin [1] https://koji.fedoraproject.org/koji/buildinfo?buildID=1077848 > /Erik > > > On 2018-05-08 06:42, Yasumasa Suenaga wrote: > > Hi all, > > > > I tried to build OpenJDK (jdk/jdk) on Fedora 28 x64, but it failed as > > following: > > > > ``` > > [ysuenaga@fc28 jdk]$ make images > > Building target 'images' in configuration > > 'linux-x86_64-normal-server-fastdebug' > > gmake[3]: *** [GenerateLinkOptData.gmk:64: > > /home/ysuenaga/OpenJDK/jdk/build/linux-x86_64-normal-server-fastdebug/support/link_opt/classlist] > > > > Error 1 > > gmake[2]: *** [make/Main.gmk:448: generate-link-opt-data] Error 2 > > > > ERROR: Build failed for target 'images' in configuration > > 'linux-x86_64-normal-server-fastdebug' (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/ysuenaga/OpenJDK/jdk/make/Init.gmk:305: main] Error 2 > > make: *** [/home/ysuenaga/OpenJDK/jdk/make/Init.gmk:186: images] Error 2 > > ``` > > > > It seems "interim-image" is not valid: > > > > ``` > > [ysuenaga@fc28 jdk]$ > > ./build/linux-x86_64-normal-server-fastdebug/support/interim-image/bin/java > > --version > > Error occurred during initialization of VM > > java/lang/NoClassDefFoundError: java/lang/Object > > ``` > > > > It can succeed on Fedora 27. So I think it causes by OS. > > I've disabled SELinux, and warnings / errors are nothing in > > `journalctl -a`. > > > > Do you have any idea to resolve this issue? > > > > > > Thanks, > > > > Yasumasa > >