Ned Deily added the comment:
I'm not familiar with Spack and I'm certainly not going to try to deeply
analyze a build that inserts *that* many separate -I and -L options into the
compiler calls :) But there have been a number of reports of problems with
this symptom in the past (try searching
New submission from Adam Stewart:
I'm trying to build Python 2.7.13 with clang on macOS 10.12.3 with the Spack
package manager, but it fails to build the _io module. The exact error message
from the build log can be seen here:
https://github.com/LLNL/spack/issues/3478#issuecomment-287548431
T