Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8011812

JDK-8011278 breaks the old build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • 8
    • infrastructure
    • None
    • b84
    • 8
    • b87
    • linux
    • Not verified

      Building with NEWBUILD=false on linux-i586 fails with the following error:

      Entering directory `/home/smullan/hg/jdk8/deploy-revocation-3/jdk/make/sun/splashscreen'
      Makefile:86: Extraneous text after `ifeq' directive
      /usr/bin/gcc -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN -DSPLASHSCREEN -DWITH_X11 -DNDEBUG -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.8.0-internal"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/home/smullan/hg/jdk8/deploy-revocation-3/build/linux-i586/tmp/sun/sun.awt/splashscreen/CClassHeaders -I../../../src/closed/share/javavm/export -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/sun/awt -I../../../src/solaris/native/sun/awt -DTHIS_FILE='"java_awt_SplashScreen.c"' -I/usr/X11R6//include -I/usr/X11R6//include/X11/extensions -I../../../src/solaris/native/sun/awt/splashscreen -I../../../src/share/native/sun/awt/splashscreen -I../../../src/share/native/sun/awt/image/jpeg -I../../../src/share/native/java/util/zip/zlib-1.2.5 -DPNG_NO_MMX_CODE -c -o /home/smullan/hg/jdk8/deploy-revocation-3/build/linux-i586/tmp/sun/sun.awt/splashscreen/obj/java_awt_SplashScreen.o ../../../src/share/native/sun/awt/splashscreen/java_awt_SplashScreen.c
      /usr/bin/gcc -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN -DSPLASHSCREEN -DWITH_X11 -DNDEBUG -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.8.0-internal"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/home/smullan/hg/jdk8/deploy-revocation-3/build/linux-i586/tmp/sun/sun.awt/splashscreen/CClassHeaders -I../../../src/closed/share/javavm/export -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/sun/awt -I../../../src/solaris/native/sun/awt -DTHIS_FILE='"splashscreen_gfx_impl.c"' -I/usr/X11R6//include -I/usr/X11R6//include/X11/extensions -I../../../src/solaris/native/sun/awt/splashscreen -I../../../src/share/native/sun/awt/splashscreen -I../../../src/share/native/sun/awt/image/jpeg -I../../../src/share/native/java/util/zip/zlib-1.2.5 -DPNG_NO_MMX_CODE -c -o /home/smullan/hg/jdk8/deploy-revocation-3/build/linux-i586/tmp/sun/sun.awt/splashscreen/obj/splashscreen_gfx_impl.o ../../../src/share/native/sun/awt/splashscreen/splashscreen_gfx_impl.c
      /usr/bin/gcc -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN -DSPLASHSCREEN -DWITH_X11 -DNDEBUG -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.8.0-internal"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/home/smullan/hg/jdk8/deploy-revocation-3/build/linux-i586/tmp/sun/sun.awt/splashscreen/CClassHeaders -I../../../src/closed/share/javavm/export -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/sun/awt -I../../../src/solaris/native/sun/awt -DTHIS_FILE='"splashscreen_gif.c"' -I/usr/X11R6//include -I/usr/X11R6//include/X11/extensions -I../../../src/solaris/native/sun/awt/splashscreen -I../../../src/share/native/sun/awt/splashscreen -I../../../src/share/native/sun/awt/image/jpeg -I../../../src/share/native/java/util/zip/zlib-1.2.5 -DPNG_NO_MMX_CODE -c -o /home/smullan/hg/jdk8/deploy-revocation-3/build/linux-i586/tmp/sun/sun.awt/splashscreen/obj/splashscreen_gif.o ../../../src/share/native/sun/awt/splashscreen/splashscreen_gif.c
      ../../../src/share/native/sun/awt/splashscreen/splashscreen_gif.c:29:21: fatal error: gif_lib.h: No such file or directory
      compilation terminated.
      ../../../src/share/native/sun/awt/splashscreen/splashscreen_gfx_impl.c: In function 'initFormat':
      ../../../src/share/native/sun/awt/splashscreen/splashscreen_gfx_impl.c:305:34: warning: 'numBits' may be used uninitialized in this function [-Wuninitialized]
      ../../../src/share/native/sun/awt/splashscreen/splashscreen_gfx_impl.c:305:34: warning: 'shift' may be used uninitialized in this function [-Wuninitialized]
      /usr/bin/gcc -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN -DSPLASHSCREEN -DWITH_X11 -DNDEBUG -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.8.0-internal"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/home/smullan/hg/jdk8/deploy-revocation-3/build/linux-i586/tmp/sun/sun.awt/splashscreen/CClassHeaders -I../../../src/closed/share/javavm/export -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/sun/awt -I../../../src/solaris/native/sun/awt -DTHIS_FILE='"splashscreen_impl.c"' -I/usr/X11R6//include -I/usr/X11R6//include/X11/extensions -I../../../src/solaris/native/sun/awt/splashscreen -I../../../src/share/native/sun/awt/splashscreen -I../../../src/share/native/sun/awt/image/jpeg -I../../../src/share/native/java/util/zip/zlib-1.2.5 -DPNG_NO_MMX_CODE -c -o /home/smullan/hg/jdk8/deploy-revocation-3/build/linux-i586/tmp/sun/sun.awt/splashscreen/obj/splashscreen_impl.o ../../../src/share/native/sun/awt/splashscreen/splashscreen_impl.c
      make[5]: *** [/home/smullan/hg/jdk8/deploy-revocation-3/build/linux-i586/tmp/sun/sun.awt/splashscreen/obj/splashscreen_gif.o] Error 1
      make[5]: *** Waiting for unfinished jobs....
      make[5]: Leaving directory `/home/smullan/hg/jdk8/deploy-revocation-3/jdk/make/sun/splashscreen'
      make[4]: *** [library_parallel_compile] Error 2
      make[4]: Leaving directory `/home/smullan/hg/jdk8/deploy-revocation-3/jdk/make/sun/splashscreen'
      make[3]: *** [all] Error 1
      make[3]: Leaving directory `/home/smullan/hg/jdk8/deploy-revocation-3/jdk/make/sun'
      make[2]: *** [all] Error 1
      make[2]: Leaving directory `/home/smullan/hg/jdk8/deploy-revocation-3/jdk/make'
      make[1]: *** [jdk-build] Error 2
      make[1]: Leaving directory `/home/smullan/hg/jdk8/deploy-revocation-3'
      make: *** [build_product_image] Error 2

      It would be nice to fix this. The old build is still required to build certain components such as JCE and deploy, so you have to fix this manually in order to get by this error.

            erikj Erik Joelsson
            mullan Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: