United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7127104 Build issue with prtconf and zones, also using := to avoid extra execs
JDK-7127104 : Build issue with prtconf and zones, also using := to avoid extra execs

Details
Type:
Bug
Submit Date:
2012-01-04
Status:
Resolved
Updated Date:
2012-03-28
Project Name:
JDK
Resolved Date:
2012-03-28
Component:
infrastructure
OS:
generic
Sub-Component:
build
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:
OpenJDK6 (b25)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
The line in the makefiles

   MB_OF_MEMORY=$(shell /usr/sbin/prtconf | fgrep 'Memory size:' | expand | cut -d' ' -f3)

should be

   MB_OF_MEMORY:=$(shell /usr/sbin/prtconf 2>/dev/null | fgrep 'Memory size:' | expand | cut -d' ' -f3)

1. Zones are being used to do builds, and prtconf errors out after sending out the memory size info.
2. Using := will have this evaluation done once instead of multiple times, each time it was used.

                                    

Comments
EVALUATION

See description
                                     
2012-01-04
EVALUATION

http://hg.openjdk.java.net/jdk6/jdk6/jdk/rev/41a7f002492d
                                     
2012-01-05



Hardware and Software, Engineered to Work Together