JDK-8031405 : jdk9/dev build fails in install on solaris after JDK_MINOR_VERSION was changed to 9
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • Submitted: 2014-01-08
  • Updated: 2017-11-27
  • Resolved: 2014-01-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u20Fixed 9 b01Fixed
Description
Both solaris_sparcv9 and solaris_x64 now fail in install after the following change. Other platforms are fine. According to an install engineer, this is a bug in install.

Change that triggered this bug:
http://hg.openjdk.java.net/jdk9/dev/rev/99544d4803b0
8000962: Update JDK_MINOR_VERSION for JDK 9
Reviewed-by: katleman, erikj, wetmore

JPRT  build output:
solaris_sparcv9_5.10-product (details from log file)
/net/prt-archiver.us.oracle.com/data/jprt/archive/2014/01/2014-01-08-052503.jcg-int.dev-pit/logs/solaris_sparcv9_5.10-product.log

		JDK_MINOR_VERSION=9	)
gmake[6]: Entering directory `/tmp/jprt/P1/052503.jcg-int/s/install/make/installer/bundles/solaris/pkgdefs'
/tmp/jprt/P1/052503.jcg-int/s/install/make/installer/bundles/solaris/pkgdefs/common
gmake[7]: Entering directory `/tmp/jprt/P1/052503.jcg-int/s/install/make/installer/bundles/solaris/pkgdefs/common'
/usr/bin/mkdir -p /tmp/jprt/P1/052503.jcg-int/s/build/solaris-sparcv9-normal-server-release/install/tmp/pkgdefs
/usr/bin/ksh ./bld_awk_pkginfo.ksh \
		    -p "1.9.0/1.9.0-internal-201401080525.jcg-int.dev-pit-b00" -o /tmp/jprt/P1/052503.jcg-int/s/build/solaris-sparcv9-normal-server-release/install/tmp/pkgdefs/awk_pkginfo
gmake[7]: Leaving directory `/tmp/jprt/P1/052503.jcg-int/s/install/make/installer/bundles/solaris/pkgdefs/common'
/bin/sh: SUNWj9rt: does not exist
gmake[6]: *** [SUNWj9rt] Error 1
gmake[6]: Leaving directory `/tmp/jprt/P1/052503.jcg-int/s/install/make/installer/bundles/solaris/pkgdefs'
gmake[5]: *** [pkgdefs-bundle] Error 2
gmake[5]: Leaving directory `/tmp/jprt/P1/052503.jcg-int/s/install/make/installer/bundles/solaris'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/tmp/jprt/P1/052503.jcg-int/s/install/make/installer/bundles'
gmake[3]: *** [all] Error 1
gmake[3]: Leaving directory `/tmp/jprt/P1/052503.jcg-int/s/install/make/installer'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/tmp/jprt/P1/052503.jcg-int/s/install/make'
gmake[1]: *** [/tmp/jprt/P1/052503.jcg-int/s/build/solaris-sparcv9-normal-server-release/install/_install.timestamp] Error 2
gmake[1]: Leaving directory `/tmp/jprt/P1/052503.jcg-int/s/jdk/make/closed'
make: *** [installer-only] Error 2
###########################################################
#
# pwd:
#   /tmp/jprt/P1/052503.jcg-int/s
#
# uname -a:
#   SunOS sc11136039 5.10 Generic_147147-26 sun4u sparc SUNW,SPARC-Enterprise
#
# df -k . /tmp /opt/jprt/dist /opt/jprt/jprtadm:
#   Filesystem            kbytes    used   avail capacity  Mounted on
#   swap                 36700160 6823688 29876472    19%    /tmp
#   swap                 36700160 6823696 29876464    19%    /tmp
#   /                    20971520 14102710 6868810    68%    /
#   /                    20971520 14102710 6868810    68%    /
#
# Stats for ccache:
#   cache directory                     /opt/jprt/products/P1/ccache2.4/data_cache/SS121
#   cache hit                              0
#   cache miss                             0
#   files in cache                     34662
#   cache size                         643.9 Mbytes
#   max cache size                     976.6 Mbytes
#
# Finished: Wed Jan  8 00:41:54 PST 2014
#
# returned exit code 2
#
###########################################################


------------------------------------------------------------------------------
solaris_x64_5.10-product (details from log file)
/net/prt-archiver.us.oracle.com/data/jprt/archive/2014/01/2014-01-08-052503.jcg-int.dev-pit/logs/solaris_x64_5.10-product.log

		JDK_MINOR_VERSION=9	)
gmake[6]: Entering directory `/opt/jprt/T/P1/052503.jcg-int/s/install/make/installer/bundles/solaris/pkgdefs'
/opt/jprt/T/P1/052503.jcg-int/s/install/make/installer/bundles/solaris/pkgdefs/common
gmake[7]: Entering directory `/opt/jprt/T/P1/052503.jcg-int/s/install/make/installer/bundles/solaris/pkgdefs/common'
/usr/bin/mkdir -p /opt/jprt/T/P1/052503.jcg-int/s/build/solaris-x86_64-normal-server-release/install/tmp/pkgdefs
/usr/bin/ksh ./bld_awk_pkginfo.ksh \
		    -p "1.9.0/1.9.0-internal-201401080525.jcg-int.dev-pit-b00" -o /opt/jprt/T/P1/052503.jcg-int/s/build/solaris-x86_64-normal-server-release/install/tmp/pkgdefs/awk_pkginfo
gmake[7]: Leaving directory `/opt/jprt/T/P1/052503.jcg-int/s/install/make/installer/bundles/solaris/pkgdefs/common'
/bin/sh: SUNWj9rt: does not exist
gmake[6]: *** [SUNWj9rt] Error 1
gmake[6]: Leaving directory `/opt/jprt/T/P1/052503.jcg-int/s/install/make/installer/bundles/solaris/pkgdefs'
gmake[5]: *** [pkgdefs-bundle] Error 2
gmake[5]: Leaving directory `/opt/jprt/T/P1/052503.jcg-int/s/install/make/installer/bundles/solaris'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/opt/jprt/T/P1/052503.jcg-int/s/install/make/installer/bundles'
gmake[3]: *** [all] Error 1
gmake[3]: Leaving directory `/opt/jprt/T/P1/052503.jcg-int/s/install/make/installer'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/opt/jprt/T/P1/052503.jcg-int/s/install/make'
gmake[1]: *** [/opt/jprt/T/P1/052503.jcg-int/s/build/solaris-x86_64-normal-server-release/install/_install.timestamp] Error 2
gmake[1]: Leaving directory `/opt/jprt/T/P1/052503.jcg-int/s/jdk/make/closed'
make: *** [installer-only] Error 2
###########################################################
#
# pwd:
#   /opt/jprt/T/P1/052503.jcg-int/s
#
# uname -a:
#   SunOS sc11b2203 5.10 Generic_142910-17 i86pc i386 i86pc
#
# df -k . /tmp /opt/jprt/dist /opt/jprt/jprtadm:
#   Filesystem            kbytes    used   avail capacity  Mounted on
#   rpool/ROOT/10xu6_latest 960970752 18679031 899284521     3%    /
#   swap                 46866164      52 46866112     1%    /tmp
#   rpool/ROOT/10xu6_latest 960970752 18679031 899284521     3%    /
#   rpool/ROOT/10xu6_latest 960970752 18679031 899284521     3%    /
#
# Stats for ccache:
#   cache directory                     /opt/jprt/products/P1/ccache2.4/data_cache/SS121
#   cache hit                              0
#   cache miss                             0
#   files in cache                     48483
#   cache size                         862.9 Mbytes
#   max cache size                     976.6 Mbytes
#
# Finished: Wed Jan  8 00:16:17 PST 2014
#
# returned exit code 2
#
###########################################################

Comments
The newly created install repo for JDK9 still has references to JDK8 for directory names because of which the builds fail for Solaris SVR4 packages. A fix is in progress with test JPRT builds being done.
08-01-2014