pothosware / homebrew-pothos

Homebrew formulas for Pothos and SoapySDR
https://github.com/pothosware/homebrew-pothos/wiki
MIT License
62 stars 17 forks source link

OSX Install Fails for 10.13.2 #17

Closed rabarar closed 6 years ago

rabarar commented 6 years ago

brew install pothosplotters fails...

brew install soapyuhd fails...

can't get a clean install... 👎

guruofquality commented 6 years ago

...

rabarar commented 6 years ago

... I just built it from source —- works as expected....

On Dec 23, 2017, at 8:49 PM, Josh Blum notifications@github.com wrote:

...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

guruofquality commented 6 years ago

verbose output helps here.

soapyuhd had a permissions issue for the modules, this seems to be something that brew used to not check. I dont know if that was your particular error, but I addressed it: https://github.com/pothosware/homebrew-pothos/commit/e166d8651f0dd452ebda988212708c682b9c9bbd

Not sure about plotters, but i'm preparing to tag everything for a new release, so if you build with --HEAD and still get the problem, thats something I would rather fix before tagging.

rabarar commented 6 years ago

Here's the verbose output for the two failures:

brew install pothoscomms:

==> Installing pothoscomms from pothosware/pothos
==> Installing dependencies for pothosware/pothos/pothoscomms: audiofilter/spuc/spuce
==> Installing pothosware/pothos/pothoscomms dependency: audiofilter/spuc/spuce
==> Downloading https://github.com/audiofilter/spuce/archive/0.4.3.tar.gz
==> Downloading from https://codeload.github.com/audiofilter/spuce/tar.gz/0.4.3
######################################################################## 100.0%
==> cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/qt5 -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INS
==> make install
Last 15 lines from /Users/robert/Library/Logs/Homebrew/spuce/02.make:
[ 25%] Building CXX object spuce/CMakeFiles/spuce.dir/filters/elliptic_allpass.cpp.o
cd /tmp/spuce-20171224-13705-1289wms/spuce-0.4.3/build/spuce && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++   -I/tmp/spuce-20171224-13705-1289wms/spuce-0.4.3  -DNDEBUG -fPIC   -std=c++11 -std=gnu++11 -o CMakeFiles/spuce.dir/filters/elliptic_allpass.cpp.o -c /tmp/spuce-20171224-13705-1289wms/spuce-0.4.3/spuce/filters/elliptic_allpass.cpp
[ 26%] Building CXX object spuce/CMakeFiles/spuce.dir/filters/shelf_allpass1.cpp.o
cd /tmp/spuce-20171224-13705-1289wms/spuce-0.4.3/build/spuce && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++   -I/tmp/spuce-20171224-13705-1289wms/spuce-0.4.3  -DNDEBUG -fPIC   -std=c++11 -std=gnu++11 -o CMakeFiles/spuce.dir/filters/shelf_allpass1.cpp.o -c /tmp/spuce-20171224-13705-1289wms/spuce-0.4.3/spuce/filters/shelf_allpass1.cpp
[ 27%] Building CXX object spuce/CMakeFiles/spuce.dir/filters/farrow_upsampler.cpp.o
cd /tmp/spuce-20171224-13705-1289wms/spuce-0.4.3/build/spuce && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++   -I/tmp/spuce-20171224-13705-1289wms/spuce-0.4.3  -DNDEBUG -fPIC   -std=c++11 -std=gnu++11 -o CMakeFiles/spuce.dir/filters/farrow_upsampler.cpp.o -c /tmp/spuce-20171224-13705-1289wms/spuce-0.4.3/spuce/filters/farrow_upsampler.cpp
[ 28%] Building CXX object spuce/CMakeFiles/spuce.dir/filters/calculate_decimator_taps.cpp.o
cd /tmp/spuce-20171224-13705-1289wms/spuce-0.4.3/build/spuce && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++   -I/tmp/spuce-20171224-13705-1289wms/spuce-0.4.3  -DNDEBUG -fPIC   -std=c++11 -std=gnu++11 -o CMakeFiles/spuce.dir/filters/calculate_decimator_taps.cpp.o -c /tmp/spuce-20171224-13705-1289wms/spuce-0.4.3/spuce/filters/calculate_decimator_taps.cpp
[ 28%] Linking CXX static library libspuce.a
cd /tmp/spuce-20171224-13705-1289wms/spuce-0.4.3/build/spuce && /usr/local/Cellar/cmake/3.10.1/bin/cmake -P CMakeFiles/spuce.dir/cmake_clean_target.cmake
cd /tmp/spuce-20171224-13705-1289wms/spuce-0.4.3/build/spuce && /usr/local/Cellar/cmake/3.10.1/bin/cmake -E cmake_link_script CMakeFiles/spuce.dir/link.txt --verbose=1
/usr/bin/ar qc libspuce.a  CMakeFiles/spuce.dir/filters/butterworth_iir.cpp.o CMakeFiles/spuce.dir/filters/chebyshev_iir.cpp.o CMakeFiles/spuce.dir/filters/chebyshev2_iir.cpp.o CMakeFiles/spuce.dir/filters/elliptic_iir.cpp.o CMakeFiles/spuce.dir/filters/find_roots.cpp.o CMakeFiles/spuce.dir/filters/fir_coeff.cpp.o CMakeFiles/spuce.dir/filters/iir_coeff.cpp.o CMakeFiles/spuce.dir/filters/design_iir.cpp.o CMakeFiles/spuce.dir/filters/design_fir.cpp.o CMakeFiles/spuce.dir/filters/gaussian_fir.cpp.o CMakeFiles/spuce.dir/filters/butterworth_fir.cpp.o CMakeFiles/spuce.dir/filters/raised_cosine_imp.cpp.o CMakeFiles/spuce.dir/filters/root_raised_cosine_imp.cpp.o CMakeFiles/spuce.dir/filters/remez_estimate.cpp.o CMakeFiles/spuce.dir/filters/remez_fir.cpp.o CMakeFiles/spuce.dir/filters/sinc_fir.cpp.o CMakeFiles/spuce.dir/filters/sinc_helper.cpp.o CMakeFiles/spuce.dir/filters/create_remez_lpfir.cpp.o CMakeFiles/spuce.dir/filters/fir_inv_dft.cpp.o CMakeFiles/spuce.dir/filters/transform_fir.cpp.o CMakeFiles/spuce.dir/filters/window.cpp.o CMakeFiles/spuce.dir/filters/design_window.cpp.o CMakeFiles/spuce.dir/filters/butterworth_allpass.cpp.o CMakeFiles/spuce.dir/filters/elliptic_allpass.cpp.o CMakeFiles/spuce.dir/filters/shelf_allpass1.cpp.o CMakeFiles/spuce.dir/filters/farrow_upsampler.cpp.o CMakeFiles/spuce.dir/filters/calculate_decimator_taps.cpp.o
/usr/bin/ranlib libspuce.a
[ 28%] Built target spuce
make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/audiofilter/homebrew-spuc/issues

These open issues may also help:
spuce compilation fails on missing Python.h https://github.com/audiofilter/homebrew-spuc/issues/2

brew install pothosplotters

==> Installing pothosplotters from pothosware/pothos
==> Installing dependencies for pothosware/pothos/pothosplotters: audiofilter/spuc/spuce, pothoscomms
==> Installing pothosware/pothos/pothosplotters dependency: audiofilter/spuc/spuce
==> Downloading https://github.com/audiofilter/spuce/archive/0.4.3.tar.gz
Already downloaded: /Users/robert/Library/Caches/Homebrew/spuce-0.4.3.tar.gz
==> cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/qt5 -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INS
==> make install
Last 15 lines from /Users/robert/Library/Logs/Homebrew/spuce/02.make:
[ 25%] Building CXX object spuce/CMakeFiles/spuce.dir/filters/elliptic_allpass.cpp.o
cd /tmp/spuce-20171224-17696-r2hcd5/spuce-0.4.3/build/spuce && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++   -I/tmp/spuce-20171224-17696-r2hcd5/spuce-0.4.3  -DNDEBUG -fPIC   -std=c++11 -std=gnu++11 -o CMakeFiles/spuce.dir/filters/elliptic_allpass.cpp.o -c /tmp/spuce-20171224-17696-r2hcd5/spuce-0.4.3/spuce/filters/elliptic_allpass.cpp
[ 26%] Building CXX object spuce/CMakeFiles/spuce.dir/filters/shelf_allpass1.cpp.o
cd /tmp/spuce-20171224-17696-r2hcd5/spuce-0.4.3/build/spuce && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++   -I/tmp/spuce-20171224-17696-r2hcd5/spuce-0.4.3  -DNDEBUG -fPIC   -std=c++11 -std=gnu++11 -o CMakeFiles/spuce.dir/filters/shelf_allpass1.cpp.o -c /tmp/spuce-20171224-17696-r2hcd5/spuce-0.4.3/spuce/filters/shelf_allpass1.cpp
[ 27%] Building CXX object spuce/CMakeFiles/spuce.dir/filters/farrow_upsampler.cpp.o
cd /tmp/spuce-20171224-17696-r2hcd5/spuce-0.4.3/build/spuce && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++   -I/tmp/spuce-20171224-17696-r2hcd5/spuce-0.4.3  -DNDEBUG -fPIC   -std=c++11 -std=gnu++11 -o CMakeFiles/spuce.dir/filters/farrow_upsampler.cpp.o -c /tmp/spuce-20171224-17696-r2hcd5/spuce-0.4.3/spuce/filters/farrow_upsampler.cpp
[ 28%] Building CXX object spuce/CMakeFiles/spuce.dir/filters/calculate_decimator_taps.cpp.o
cd /tmp/spuce-20171224-17696-r2hcd5/spuce-0.4.3/build/spuce && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++   -I/tmp/spuce-20171224-17696-r2hcd5/spuce-0.4.3  -DNDEBUG -fPIC   -std=c++11 -std=gnu++11 -o CMakeFiles/spuce.dir/filters/calculate_decimator_taps.cpp.o -c /tmp/spuce-20171224-17696-r2hcd5/spuce-0.4.3/spuce/filters/calculate_decimator_taps.cpp
[ 28%] Linking CXX static library libspuce.a
cd /tmp/spuce-20171224-17696-r2hcd5/spuce-0.4.3/build/spuce && /usr/local/Cellar/cmake/3.10.1/bin/cmake -P CMakeFiles/spuce.dir/cmake_clean_target.cmake
cd /tmp/spuce-20171224-17696-r2hcd5/spuce-0.4.3/build/spuce && /usr/local/Cellar/cmake/3.10.1/bin/cmake -E cmake_link_script CMakeFiles/spuce.dir/link.txt --verbose=1
/usr/bin/ar qc libspuce.a  CMakeFiles/spuce.dir/filters/butterworth_iir.cpp.o CMakeFiles/spuce.dir/filters/chebyshev_iir.cpp.o CMakeFiles/spuce.dir/filters/chebyshev2_iir.cpp.o CMakeFiles/spuce.dir/filters/elliptic_iir.cpp.o CMakeFiles/spuce.dir/filters/find_roots.cpp.o CMakeFiles/spuce.dir/filters/fir_coeff.cpp.o CMakeFiles/spuce.dir/filters/iir_coeff.cpp.o CMakeFiles/spuce.dir/filters/design_iir.cpp.o CMakeFiles/spuce.dir/filters/design_fir.cpp.o CMakeFiles/spuce.dir/filters/gaussian_fir.cpp.o CMakeFiles/spuce.dir/filters/butterworth_fir.cpp.o CMakeFiles/spuce.dir/filters/raised_cosine_imp.cpp.o CMakeFiles/spuce.dir/filters/root_raised_cosine_imp.cpp.o CMakeFiles/spuce.dir/filters/remez_estimate.cpp.o CMakeFiles/spuce.dir/filters/remez_fir.cpp.o CMakeFiles/spuce.dir/filters/sinc_fir.cpp.o CMakeFiles/spuce.dir/filters/sinc_helper.cpp.o CMakeFiles/spuce.dir/filters/create_remez_lpfir.cpp.o CMakeFiles/spuce.dir/filters/fir_inv_dft.cpp.o CMakeFiles/spuce.dir/filters/transform_fir.cpp.o CMakeFiles/spuce.dir/filters/window.cpp.o CMakeFiles/spuce.dir/filters/design_window.cpp.o CMakeFiles/spuce.dir/filters/butterworth_allpass.cpp.o CMakeFiles/spuce.dir/filters/elliptic_allpass.cpp.o CMakeFiles/spuce.dir/filters/shelf_allpass1.cpp.o CMakeFiles/spuce.dir/filters/farrow_upsampler.cpp.o CMakeFiles/spuce.dir/filters/calculate_decimator_taps.cpp.o
/usr/bin/ranlib libspuce.a
[ 28%] Built target spuce
make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/audiofilter/homebrew-spuc/issues

These open issues may also help:
spuce compilation fails on missing Python.h https://github.com/audiofilter/homebrew-spuc/issues/2
guruofquality commented 6 years ago

It seems like there are several open issues for spuce's brew recipe that occur when python3 is installed because it confuses the build. It looks like the fixes involve either disabling the tests or manually specifying python directories. If thats the only build issues, we will have to take this to audiofilter/homebrew-spuc, nothing I can do here: @audiofilter FYI

rabarar commented 6 years ago

Sounds good.

On Dec 24, 2017, at 5:56 PM, Josh Blum notifications@github.com wrote:

Closed #17.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.