Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-6133

mpi4py does not compile under Yosemite due to hardcoded MACOSX_DEPLOYMENT_TARGET

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: lsst_distrib
    • Labels:
      None
    • Templates:
    • Story Points:
      1
    • Epic Link:
    • Sprint:
      DRP F16-3
    • Team:
      Data Release Production

      Description

      mpi4py build on Yosemite (Mac OS X 10.10) fails with

      _build.log:[2016-05-17T16:51:55.847161Z] error: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.9" but "10.10" during configure
      

      For details see attached build log.

      The MACOSX_DEPLOYMENT_TARGET is being set in ups/eupspkg.cfg.sh

      [serenity mpi4py] cat ups/eupspkg.cfg.sh
      # If MACOSX_DEPLOYMENT_TARGET is not set, we force it to be at least 10.9
      # (Mavericks). This is the earliest version of OS X expected to work with
      # release 11 of the LSST stack.
      # This works around DM-5409, wherein mpi4py was attempting to use an OS X 10.5
      # SDK, based on querying Anaconda, and failing.
      export MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET:-10.9}
      

      What is it that is supposed to be setting MACOSX_DEPLOYMENT_TARGET? And why is it not set at the time when ups/eupspkg.cfg.sh is run, but is set to 10.10 by the time the actually compilation is done?

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  swinbank John Swinbank
                  Reporter:
                  wmwood-vasey Michael Wood-Vasey
                  Reviewers:
                  Tim Jenness
                  Watchers:
                  John Swinbank, Joshua Hoblitt, Michael Wood-Vasey, Tim Jenness
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel