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

OpenJDK build fails on Solaris Developer Express with zip not found (Fix README)

XMLWordPrintable

    • b12
    • sparc
    • solaris_nevada
    • Verified

      When building OpenJDK on Solaris Developer Express, build cannot find zip command.
      Since gmake is in /usr/sfw/bin, we specified it as the ALT_DEVTOOLS_PATH. But this
      is failing to find zip command, which is located in /usr/bin.

      Platform details:
      SunOS vulpecula 5.11 snv_59 sun4u sparc SUNW,Ultra-60

      Here is the error message:
      vulpecula# tail -10 build.log-04-02
      /usr/bin/cp ./../src/share/bin/splashscreen.h /Desktop/opensource-testing/openjdk-build10-output/j2sdk-image/src/launcher
      /usr/bin/cp ./../src/solaris/bin/java_md.c /Desktop/opensource-testing/openjdk-build10-output/j2sdk-image/src/launcher
      /usr/bin/cp ./../src/solaris/bin/java_md.h /Desktop/opensource-testing/openjdk-build10-output/j2sdk-image/src/launcher
      cd /Desktop/opensource-testing/openjdk-build10-output/j2sdk-image/src; /usr/sfw/bin/zip -qr ../src.zip *
      /bin/sh: /usr/sfw/bin/zip: not found
      gmake[2]: *** [initial-image-jdk] Error 1
      gmake[2]: Leaving directory `/Desktop/opensource-testing/j2se/make'
      gmake[1]: *** [j2se-build] Error 2
      gmake[1]: Leaving directory `/Desktop/opensource-testing/control/make'
      gmake: *** [dev-build] Error 2
      vulpecula#

            ohair Kelly Ohair (Inactive)
            rlingaiaorcl Ranjit Lingaiah (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: