Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: lsst_distrib
-
Labels:None
-
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?
Yes, I confirm that tickets/
DM-6133works for me[Calm lsstsw] rebuild -r tickets/DM-6133 mpi4py
mpi4py: ok (1.0 sec).
python: ok (0.8 sec).
mpi: ok (0.7 sec).
mpich: ok (3.4 sec).
# BUILD ID: b2174
python: 0.0.5 (already installed).
mpich: tickets.DM-6133-g0b28c09ad9 ....................................................................................................................................................................................................................................................................ok (574.9 sec).
mpi: 0.0.1+2 ok (4.0 sec).
mpi4py: tickets.DM-6133-gb8eebf5807 ok (36.0 sec).
# BUILD b2174 completed.