MTG / homebrew-essentia

Homebrew build scripts for Essentia
34 stars 13 forks source link

Installation failing with Homebrew #26

Closed shashank-aswath closed 3 years ago

shashank-aswath commented 3 years ago

brew install essentia --HEAD fails on latest macOS Big Sur (version 11.2)

The error is:

Last 15 lines from /Users/shashank/Library/Logs/Homebrew/essentia/04.python3: File "/private/tmp/essentia-20210208-30590-meg21s/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/Build.py", line 414, in get_build_iterator self.post_group() File "/private/tmp/essentia-20210208-30590-meg21s/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/Build.py", line 362, in post_group tgpost(tg) File "/private/tmp/essentia-20210208-30590-meg21s/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/Build.py", line 359, in tgpost f() File "/private/tmp/essentia-20210208-30590-meg21s/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/TaskGen.py", line 123, in post v() File "/private/tmp/essentia-20210208-30590-meg21s/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/Tools/c_osx.py", line 29, in set_macosx_deployment_target os.environ['MACOSX_DEPLOYMENT_TARGET']=self.env.MACOSX_DEPLOYMENT_TARGET File "/usr/local/Cellar/python@3.8/3.8.7_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/os.py", line 680, in __setitem__ value = self.encodevalue(value) File "/usr/local/Cellar/python@3.8/3.8.7_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/os.py", line 750, in encode raise TypeError("str expected, not %s" % type(value).__name__) TypeError: str expected, not int

jorshi commented 3 years ago

I ran into a similar error, was able to fix this by updating waflib -- see: https://gitlab.com/ita1024/waf/-/merge_requests/2317

dbogdanov commented 3 years ago

Updated waf to 2.0.22 in essentia repository. Let us know if it works fine for you.

jorshi commented 3 years ago

@dbogdanov the brew formula is working for me now on Big Sur -- thanks!