JDK-7046405 : fix for 7028172 causes "sed: command garbled:" message
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: hs21
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris
  • CPU: generic
  • Submitted: 2011-05-19
  • Updated: 2012-01-07
  • Resolved: 2012-01-07
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.
Other
tbd_minorResolved
Related Reports
Relates :  
Relates :  
Description
Vladimir reports:

I still see next message after your fix:

"sed: command garbled: / snv_[0-9][0-9]b"

I looked and the changes you pushed are different from suggested fix.
In the suggestion there were double $$:

+ -e '/ snv_[0-9][0-9]$$/b' \

but in the push only one $:

+ -e '/ snv_[0-9][0-9]$/b' \

After I added second $ the message is gone:

make/solaris/makefiles/saproc.make    Wed May 18 15:27:42 2011 -0700
@@ -72,9 +72,9 @@
           -e '/^[0-4]\. /b' \
           -e '/^5\.[0-9] /b' \
           -e '/^5\.10 /b' \
-          -e '/ snv_[0-9][0-9]$/b' \
-          -e '/ snv_[01][0-4][0-9]$/b' \
-          -e '/ snv_15[0-8]$/b' \
+          -e '/ snv_[0-9][0-9]$$/b' \
+          -e '/ snv_[01][0-4][0-9]$$/b' \
+          -e '/ snv_15[0-8]$$/b' \
           -e 's/.*/-DSOLARIS_11_B159_OR_LATER/' \
           -e 'p' \
           )

so the original fix:

    7028172 3/4 SA needs to adapt to Solaris libproc change made in 6748307

used single '$' and the follow on fix:

    7043298 4/4 fix for 7028172 causes "Label too long: ..." error message

fixed the "Label too long:" problem but did not change the
of single '$' to double '$$'.

Comments
EVALUATION Vladimir fixed this bug as part of his fix for: 7075559 3/3 JPRT windows_x64 build failure I'm closing this bug as a duplicate of 7075559.
07-01-2012

EVALUATION As the description says: change the single '$' to double '$$'. I'm getting really tired of trying to fix this bug in theory. I'm going to have to chase down a Nevada-B159 or newer build machine to make sure that this fix works.
19-05-2011