Open dkowis opened 9 years ago
This one appears to be the problem listed as the CFLAGS stuff mentioned in #12
and it looks like I can fix this with the CFLAGS in hieradata, but I'm not sure if it'll merge with the existing CFLAGS? How does that part work? (I think this would solve my 2.7.8 installing issue.)
I tried this hiera file in my boxen repo:
hiera/Darwin/10.10.yaml
:
dxk0875-mbp-dtc:hiera dxk0875$ cat Darwin/10.10.yaml
python::version::env:
Darwin:
CFLAGS: "-I%{::homebrew::config::installdir}/include -I/opt/X11/include -I$(xcrun --show-sdk-path)/usr/include -march=core2 -O3"
This did not solve the problem :( I assume I'm doing it wrong and the shell expansion isn't the right way to do this...
@dkowis I am unable to reproduce this on my machine, but I'm still trying to dig into it. For the xcrun expansion, I would try using the full path to xcrun. If that doesn't work. There is a close PR that includes a fact for the xcrun sdk path that I could add, so you can get that by using a fact. Let me know if the full path doesn't work for you.
I actually used the full path to the result of the run rather than running the command anyway. Like I evaluated it and then put that in my 10.10.yaml file.
Is there anything else I could do to help you debug it on my end? It happens reliably every time heh.
Are there any updates on this issue? I'm seeing the same thing.
puppet config is the same as #18:
output: