-
Enhancement
-
Resolution: Fixed
-
P3
-
7
-
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#
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#