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

Isolate PROFILE make variable from incidental setting in the environment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      8
    • Resolved In Build:
      b78

      Description

      A developer had trouble doing regular "images" builds from a forest with the SE Compact Profiles work present. It turns out that their local shell environment had a value set called PROFILE. This value was used by the makefiles when PROFILE was not explicitly set - which is the case for non-profile images:

      images:
              +$(MAKE) -f CreateJars.gmk
              +$(MAKE) -f Images.gmk

      Simple fix is to force the make variable to be empty:

      images:
              +$(MAKE) PROFILE="" -f CreateJars.gmk
              +$(MAKE) PROFILE="" -f Images.gmk

      Workaround is to either unset the env variable before calling make, or pass PROFILE="" as a make argument when building

        Attachments

          Activity

            People

            Assignee:
            dholmes David Holmes
            Reporter:
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: