MTG / homebrew-essentia

Homebrew build scripts for Essentia
34 stars 13 forks source link

Installation on MacOS fails #14

Closed volgin closed 4 years ago

volgin commented 5 years ago

Trying to install essentia with gaia on Mac. Run into the following error (same result on two different Macs):

Andreis-iMac-Pro:~ andreivolgin$ brew install essentia --HEAD --with-gaia
==> Installing essentia from mtg/essentia
==> Cloning https://github.com/MTG/essentia.git
Updating /Users/andreivolgin/Library/Caches/Homebrew/essentia--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 8c1d4f0 Merge branch 'master' of github.com:MTG/essentia
Entering 'test/audio'
/Users/andreivolgin/Library/Caches/Homebrew/essentia--git/test/audio
==> ./waf configure --with-gaia --mode=release --with-examples --with-vamp --prefix=/usr/local/Cellar/essentia/HEAD-8c1d4f0
==> ./waf
Last 15 lines from /Users/andreivolgin/Library/Logs/Homebrew/essentia/02.waf:
    const EIGEN_ALIGN16 long long int _Sign_NP[2] = { 0x8000000000000000ll, 0x0000000000000000ll };
                                                      ^~~~~~~~~~~~~~~~~~~~
                                                      static_cast<long long>( )
/usr/local/Cellar/gaia/HEAD-95f4851/include/gaia2/Eigen/src/LU/arch/Inverse_SSE.h:186:77: error: constant expression evaluates to 9223372036854775808 which cannot be narrowed to type 'long long' [-Wc++11-narrowing]
    const EIGEN_ALIGN16 long long int _Sign_PN[2] = { 0x0000000000000000ll, 0x8000000000000000ll };
                                                                            ^~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/gaia/HEAD-95f4851/include/gaia2/Eigen/src/LU/arch/Inverse_SSE.h:186:77: note: insert an explicit cast to silence this issue
    const EIGEN_ALIGN16 long long int _Sign_PN[2] = { 0x0000000000000000ll, 0x8000000000000000ll };
                                                                            ^~~~~~~~~~~~~~~~~~~~
                                                                            static_cast<long long>( )
4 errors generated.

Waf: Leaving directory `/private/tmp/essentia-20190527-59732-1y88c0n/build'
Build failed
 -> task in 'essentia' failed with exit status 1 (run with -v to display more information)
dbogdanov commented 4 years ago

This is not relevant anymore after Eigen updates (Eigen is now an external dependency).