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

Isolate PROFILE make variable from incidental setting in the environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • infrastructure
    • 8
    • b78

      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

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

              Created:
              Updated:
              Resolved: