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

Build issue with prtconf and zones, also using := to avoid extra execs

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b25
    • CPU:
      generic
    • OS:
      generic

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ohair Kelly Ohair (Inactive)
                Reporter:
                ohair Kelly Ohair (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: