Closed justindthomas closed 11 years ago
Can anyone reproduce this? Works for me on 10.7; don't have a 10.8 box to test on.
Please brew update
and if this still happens, gist the new output of brew install -v bro
.
Looks like I get the same output after doing a brew update; brew upgrade
: https://gist.github.com/justindthomas/5021056
Does this build failure happen if you compile this software without using Homebrew?
Note, your CLT is out of date with your Xcode:
Xcode: 4.6
CLT: 4.5.0.0.1.1249367152
Thanks; I just updated the CLT. Same result, but with this configuration:
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: 2e144dd41f22d13fab43e43d9b0c45b837e588b5
CPU: 8-core 64-bit ivybridge
OS X: 10.8.2-x86_64
Xcode: 4.6
CLT: 4.6.0.0.1.1358221012
X11: 2.7.4 => /opt/X11
And manually compiling from the Bro git repo also fails. I can get some components to install (e.g., broccoli with the Python bindings), but not the whole system. Here is a gist of that process: https://gist.github.com/justindthomas/5021115
Lots of deprecation warnings and it looks like it fails at a different spot. I copied as much as my terminal history is configured to capture; if you need to see the beginning, let me know.
Actually, I think I remember fighting with that error when I was building the Python bindings alone. Something about a bad path in one of the CMake files I think:
build/aux/broctl/aux/pysubnettree/CMakeFiles/_SubnetTree.dir/link.txt:/usr/bin/c++ -Wall -Wno-unused -O2 -g -DNDEBUG -bundle -Wl,-headerpad_max_install_names -o _SubnetTree.so CMakeFiles/_SubnetTree.dir/SubnetTreePYTHON_wrap.cxx.o CMakeFiles/_SubnetTree.dir/SubnetTree.cc.o CMakeFiles/_SubnetTree.dir/patricia.c.o -L/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -ldl -framework CoreFoundation -lpython2.7 -u _PyMac_Error Python.framework/Versions/2.7/Python
That last reference to Python is inappropriately relative. I think I changed that to an absolute path and was able to get the compilation to continue. It's been a few months - I'll have to try again.
Yep. Changed that reference in two files manually and my manual compilation succeeds. The two files were:
build/aux/broctl/aux/pysubnettree/CMakeFiles/_SubnetTree.dir/link.txt
build/aux/broccoli/bindings/broccoli-python/CMakeFiles/_broccoli_intern.dir/link.txt
Which Python are you building against?
The brew
version: /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/
And manually compiling from the Bro git repo also fails.
Closing as an upstream issue; sorry.