MTG / homebrew-essentia

Homebrew build scripts for Essentia
34 stars 13 forks source link

brew install: Error: Failed to download resource "essentia" #37

Open drscotthawley opened 7 months ago

drscotthawley commented 7 months ago

This seems to be that Issue https://github.com/MTG/homebrew-essentia/issues/12 which was closed in 2018, needs to be reopened.

After installing the tap:

$ brew install essentia --HEAD
==> Downloading https://formulae.brew.sh/api/formula.jws.json

==> Downloading https://formulae.brew.sh/api/cask.jws.json

==> Fetching dependencies for mtg/essentia/essentia: gmp, mpfr, xz, gcc, hwloc, ca-certificates, openssl@3, pmix, open-mpi, fftw, fontconfig, frei0r, gettext, glib, harfbuzz, libvo-aacenc, libvpx, rtmpdump, sdl12-compat, x264, ffmpeg@2.8, taglib, jpeg-turbo, little-cms2, jpeg-xl, libvmaf, aom, dav1d, p11-kit, unbound, gnutls, cjson, libmicrohttpd, librist, libssh, openblas, numpy, pugixml, tbb, openvino, rav1e, mpg123, svt-av1, leptonica, libsodium, zeromq, ffmpeg, chromaprint, mpdecimal, readline, sqlite and python@3.9
==> Fetching gmp
==> Downloading https://ghcr.io/v2/homebrew/core/gmp/manifests/6.3.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gmp/blobs/sha256:78e4f40cba6419cf7e2d81e9c945d1e93744511bd5230bdfac1b69ed894914b4
################################################################################################################################# 100.0%
==> Fetching mpfr
==> Downloading https://ghcr.io/v2/homebrew/core/mpfr/manifests/4.2.1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/mpfr/blobs/sha256:71c4d6cc59a5bee30e0779b1d095c2e2db1cb63b51eac88d5d4191660e613d0c
################################################################################################################################# 100.0%
==> Fetching xz
==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.4.5
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:ea718d075502d4457709da89e8e424aa22cfa19d2e16088c43feb87f7c2c477a
################################################################################################################################# 100.0%
==> Fetching gcc
==> Downloading https://ghcr.io/v2/homebrew/core/gcc/manifests/13.2.0-2
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gcc/blobs/sha256:85037a5e7d463f55d9a0ff3963b24008c8a10937d137909bd6e91cf64ddfe8b6
################################################################################################################################# 100.0%
==> Fetching hwloc
==> Downloading https://ghcr.io/v2/homebrew/core/hwloc/manifests/2.10.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/hwloc/blobs/sha256:19cbbbca07f9a59c9616df503effac71e54c077b534d9326f4df8c9525c1a3c4
################################################################################################################################# 100.0%
==> Fetching ca-certificates
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2023-12-12
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/blobs/sha256:5c99ffd0861f01adc19cab495027024f7d890e42a9e7b689706b85c8e2
################################################################################################################################# 100.0%
==> Fetching openssl@3
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.2.0_1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/blobs/sha256:6519a6ff8e3e10f921ba8ec7ac00a67afc80e346f262115956b3c826541899f5
################################################################################################################################# 100.0%
==> Fetching pmix
==> Downloading https://ghcr.io/v2/homebrew/core/pmix/manifests/4.2.8
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pmix/blobs/sha256:f20b123e03855e606ec1cf6d25182f44813798152662523fcb2537544f204bd6
################################################################################################################################# 100.0%
==> Fetching open-mpi
==> Downloading https://ghcr.io/v2/homebrew/core/open-mpi/manifests/5.0.1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/open-mpi/blobs/sha256:5b7047332a0bb6901d3214f49108707d7a014c2bb56158cbab2eec35a133384e
################################################################################################################################# 100.0%
==> Fetching fftw
==> Downloading https://ghcr.io/v2/homebrew/core/fftw/manifests/3.3.10_1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/fftw/blobs/sha256:0bb0537238a59cc4677738091ec67b65e7bd12fafe3072e091e20a1143232322
################################################################################################################################# 100.0%
==> Fetching fontconfig
==> Downloading https://ghcr.io/v2/homebrew/core/fontconfig/manifests/2.15.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/fontconfig/blobs/sha256:4732e8c8cd6f940fa3ace12a5a5428baaef29bdccf9bc520fa4d37a1f0bf639
################################################################################################################################# 100.0%
==> Fetching frei0r
==> Downloading https://ghcr.io/v2/homebrew/core/frei0r/manifests/2.3.2
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/frei0r/blobs/sha256:69b7048afec9dc74c1836c776ded9155ffb0b50bc202d8915495347ece001e00
################################################################################################################################# 100.0%
==> Fetching gettext
==> Downloading https://ghcr.io/v2/homebrew/core/gettext/manifests/0.22.4
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gettext/blobs/sha256:43d00547f4a1036a642c8a41650b483f0054cd239ab4b9ca171563067c8db264
################################################################################################################################# 100.0%
==> Fetching glib
==> Downloading https://ghcr.io/v2/homebrew/core/glib/manifests/2.78.3
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/glib/blobs/sha256:0508a3adb74773f5cc36db72a52b206250f58e3a63038b4d839912a672f705a3
################################################################################################################################# 100.0%
==> Fetching harfbuzz
==> Downloading https://ghcr.io/v2/homebrew/core/harfbuzz/manifests/8.3.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/harfbuzz/blobs/sha256:b887133a87078eaa6e1ad50d0d429a981b756c1e43fc6c16fa49b10af31b382c
################################################################################################################################# 100.0%
==> Fetching libvo-aacenc
==> Downloading https://ghcr.io/v2/homebrew/core/libvo-aacenc/manifests/0.1.3
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libvo-aacenc/blobs/sha256:1e337ddc61248e2bba763f27de3fd1f3699a68e03fdf369e95ef39fd3dd5f
################################################################################################################################# 100.0%
==> Fetching libvpx
==> Downloading https://ghcr.io/v2/homebrew/core/libvpx/manifests/1.13.1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libvpx/blobs/sha256:484698903af5db7c9b7d6b4e5791f702ae99a9167a0119773b30d1c9b34ffdba
################################################################################################################################# 100.0%
==> Fetching rtmpdump
==> Downloading https://ghcr.io/v2/homebrew/core/rtmpdump/manifests/2.4-20151223_3
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/rtmpdump/blobs/sha256:fc5748b95d47c39bb4d633090cc0a7b5fe90bda5ef163fa5b8809272c9bf4618
################################################################################################################################# 100.0%
==> Fetching sdl12-compat
==> Downloading https://ghcr.io/v2/homebrew/core/sdl12-compat/manifests/1.2.68
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/sdl12-compat/blobs/sha256:4948b9d4e38766595d0c173458b97c00121834dd6b4161496a09fec4fc094
################################################################################################################################# 100.0%
==> Fetching x264
==> Downloading https://ghcr.io/v2/homebrew/core/x264/manifests/r3108
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/x264/blobs/sha256:19910a7d287524c93e7c56e30eca711618e0b568c0a9a4462924b76761840fd5
################################################################################################################################# 100.0%
==> Fetching ffmpeg@2.8
==> Downloading https://ghcr.io/v2/homebrew/core/ffmpeg/2.8/manifests/2.8.22
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ffmpeg/2.8/blobs/sha256:00fe33dbef855097d0a45c4c154c0a96b582343a59456cedd13ace31cf7300a
################################################################################################################################# 100.0%
==> Fetching taglib
==> Downloading https://ghcr.io/v2/homebrew/core/taglib/manifests/1.13.1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/taglib/blobs/sha256:5b79928275529b55ab078a708cbfb98e174f7e5b7d668bf86bccb0634f443f0f
################################################################################################################################# 100.0%
==> Fetching jpeg-turbo
==> Downloading https://ghcr.io/v2/homebrew/core/jpeg-turbo/manifests/3.0.1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/jpeg-turbo/blobs/sha256:89b1342d1dd69be94c1e293c8fc0ec5d324cd62f42bc8c3e9049bf5452957e0
################################################################################################################################# 100.0%
==> Fetching little-cms2
==> Downloading https://ghcr.io/v2/homebrew/core/little-cms2/manifests/2.16
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/little-cms2/blobs/sha256:d1ed5796de3f00d4b1301e9062cb54b2337c8e8dcf2ae9be8e03f3ed7af791
################################################################################################################################# 100.0%
==> Fetching jpeg-xl
==> Downloading https://ghcr.io/v2/homebrew/core/jpeg-xl/manifests/0.9.1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/jpeg-xl/blobs/sha256:9717b3a20f72b2c9338ecba113f827bd692651bec59579c8073d7e682089b251
################################################################################################################################# 100.0%
==> Fetching libvmaf
==> Downloading https://ghcr.io/v2/homebrew/core/libvmaf/manifests/3.0.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libvmaf/blobs/sha256:bdc90ebc175c1f071be4ce895051586583177c3b1029817dc1078472a3da8261
################################################################################################################################# 100.0%
==> Fetching aom
==> Downloading https://ghcr.io/v2/homebrew/core/aom/manifests/3.8.0_2
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/aom/blobs/sha256:4f1ffd5a5e4f7ca84f5e59a8cbd85320f963a6d2cfcda375163e854c8b202a80
################################################################################################################################# 100.0%
==> Fetching dav1d
==> Downloading https://ghcr.io/v2/homebrew/core/dav1d/manifests/1.3.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/dav1d/blobs/sha256:990a082678f9dd0715c26d7fe77a893fbf926e5905bc79bc94062724431bfaaf
################################################################################################################################# 100.0%
==> Fetching p11-kit
==> Downloading https://ghcr.io/v2/homebrew/core/p11-kit/manifests/0.25.3
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/p11-kit/blobs/sha256:cd5ef135c54d2a312c17af15e9f3c807b3b37a65388b64a35a4d215b54745789
################################################################################################################################# 100.0%
==> Fetching unbound
==> Downloading https://ghcr.io/v2/homebrew/core/unbound/manifests/1.19.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/unbound/blobs/sha256:8af0f486394c4535e394f3c5f6c32f59bb290d469270f2f71ac4bb1c0732bb19
################################################################################################################################# 100.0%
==> Fetching gnutls
==> Downloading https://ghcr.io/v2/homebrew/core/gnutls/manifests/3.8.2
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gnutls/blobs/sha256:3e685ee9d72100553637eb11933f0b5d19497ced063cf80cfa490a6b74da6009
################################################################################################################################# 100.0%
==> Fetching cjson
==> Downloading https://ghcr.io/v2/homebrew/core/cjson/manifests/1.7.17
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/cjson/blobs/sha256:b78dd2e9c8ca113352bb0b7e6defbdc13347f3ea865ff5d36c86fabef29d7e44
################################################################################################################################# 100.0%
==> Fetching libmicrohttpd
==> Downloading https://ghcr.io/v2/homebrew/core/libmicrohttpd/manifests/0.9.77
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libmicrohttpd/blobs/sha256:f6588a99dc2a09ab36702a8509dd61b157326311711436e2afe1e6744835
################################################################################################################################# 100.0%
==> Fetching librist
==> Downloading https://ghcr.io/v2/homebrew/core/librist/manifests/0.2.10
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/librist/blobs/sha256:a137368d63a4112828b2f8536e8ac419e5cc1fea7d829160366c0be7fee4d269
################################################################################################################################# 100.0%
==> Fetching libssh
==> Downloading https://ghcr.io/v2/homebrew/core/libssh/manifests/0.10.6
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libssh/blobs/sha256:f46550586eea1bbce8a418c9ce7621909aaad4b96d98004289ea12ccd4593201
################################################################################################################################# 100.0%
==> Fetching openblas
==> Downloading https://ghcr.io/v2/homebrew/core/openblas/manifests/0.3.25
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openblas/blobs/sha256:f9d7d6c1d67eb4a2eabda9f3b3737539f33fed18ab3e45bc229c16b7aa69fcd5
################################################################################################################################# 100.0%
==> Fetching numpy
==> Downloading https://ghcr.io/v2/homebrew/core/numpy/manifests/1.26.3-1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/numpy/blobs/sha256:7bf09cac32c033c6fa63bbb48ae01311acb68699911cdbf60cc092d02b492fb6
################################################################################################################################# 100.0%
==> Fetching pugixml
==> Downloading https://ghcr.io/v2/homebrew/core/pugixml/manifests/1.14
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pugixml/blobs/sha256:84389a39deb0147cc58ace55574299b2bc0099a405c637aa19d8dd4c511527f8
################################################################################################################################# 100.0%
==> Fetching tbb
==> Downloading https://ghcr.io/v2/homebrew/core/tbb/manifests/2021.11.0-1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/tbb/blobs/sha256:c24bd15b42e0ae13e2cb12ac655a48719925625160e881ebe3f7106abe3c080d
################################################################################################################################# 100.0%
==> Fetching openvino
==> Downloading https://ghcr.io/v2/homebrew/core/openvino/manifests/2023.2.0-1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openvino/blobs/sha256:dbaa768c272a0934254ebbf863e6c63ade5141d3717727f4b88bc3a915a57b99
################################################################################################################################# 100.0%
==> Fetching rav1e
==> Downloading https://ghcr.io/v2/homebrew/core/rav1e/manifests/0.7.1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/rav1e/blobs/sha256:03c3c20f83de1fca64b0e0c67e8eb583a334f30769c047304a6627fcec76c765
################################################################################################################################# 100.0%
==> Fetching mpg123
==> Downloading https://ghcr.io/v2/homebrew/core/mpg123/manifests/1.32.4
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/mpg123/blobs/sha256:83a4a74bafbcafd98194c3a8ff082f8bbf84cee437cb94415d2b5a4939b1e0c2
################################################################################################################################# 100.0%
==> Fetching svt-av1
==> Downloading https://ghcr.io/v2/homebrew/core/svt-av1/manifests/1.8.0-1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/svt-av1/blobs/sha256:34144067a65c826588409a61e6385328078b233b4af39168c6d8bae7cd1fb34b
################################################################################################################################# 100.0%
==> Fetching leptonica
==> Downloading https://ghcr.io/v2/homebrew/core/leptonica/manifests/1.84.1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/leptonica/blobs/sha256:67fe34fb9fbd1191142dc8415dc1c3bacc7a8cb427dc3d769f6c5d8b1351cbe7
################################################################################################################################# 100.0%
==> Fetching libsodium
==> Downloading https://ghcr.io/v2/homebrew/core/libsodium/manifests/1.0.19
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libsodium/blobs/sha256:dc3c442e29cd2c031179003f04ee2dea388edc68b0f284d6b938f38e2ca49efc
################################################################################################################################# 100.0%
==> Fetching zeromq
==> Downloading https://ghcr.io/v2/homebrew/core/zeromq/manifests/4.3.5_1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/zeromq/blobs/sha256:3bf8942ece99f0457125006cf729f24823e09a3f6bd2257e8be9873e5783a0a1
################################################################################################################################# 100.0%
==> Fetching ffmpeg
==> Downloading https://ghcr.io/v2/homebrew/core/ffmpeg/manifests/6.1.1_2-2
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ffmpeg/blobs/sha256:9b2ed5cfe70f7e8a6683707f3615e03ab78c790b810ae1b2bf9c861f972723aa
################################################################################################################################# 100.0%
==> Fetching chromaprint
==> Downloading https://ghcr.io/v2/homebrew/core/chromaprint/manifests/1.5.1_1-1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/chromaprint/blobs/sha256:aa386d4b1b6e459cbc3278df211e69afc968335b0fa47879376ded5f1d3196
################################################################################################################################# 100.0%
==> Fetching mpdecimal
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/manifests/4.0.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/blobs/sha256:e13217b5255c026d0a0c7bbe911e3a5d380dba2c7301e50d3cff3eca4cb74e17
################################################################################################################################# 100.0%
==> Fetching readline
==> Downloading https://ghcr.io/v2/homebrew/core/readline/manifests/8.2.7
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/readline/blobs/sha256:4b08134e70e90a968bf82227fbec6861b07fdf630e7ab66e6effe95b6721cf36
################################################################################################################################# 100.0%
==> Fetching sqlite
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.45.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/blobs/sha256:0257a189a2b5609bb8d2dfecfe23174e868a9b1c65bd621ffdfb24483821b6df
################################################################################################################################# 100.0%
==> Fetching python@3.9
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.9/manifests/3.9.18_2
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.9/blobs/sha256:adbbe4d4fd80b70e40cb7a233d2d5f5dda88bdc274deb153fc25b669c1d0e5f
################################################################################################################################# 100.0%
==> Fetching mtg/essentia/essentia
==> Downloading https://files.pythonhosted.org/packages/21/9f/b251f7f8a76dec1d6651be194dfba8fb8d7781d10ab3987190de8391d08e/six-1.14.0.ta
################################################################################################################################# 100.0%
==> Cloning https://github.com/MTG/essentia.git
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git'...
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
Submodule 'test/audio' (https://github.com/MTG/essentia-audio) registered for path 'test/audio'
Submodule 'test/models' (https://github.com/MTG/essentia-models) registered for path 'test/models'
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/audio'...
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/models'...
Submodule path 'test/audio': checked out '89df8e4d6fb306db6d2e14b6de6357aacda43b10'
git-lfs filter-process: git-lfs: command not found
fatal: the remote end hung up unexpectedly
fatal: Unable to checkout '3ca4130bcb398a1361867e5d8462d3a7a0c02ccd' in submodule path 'test/models'
Error: essentia: Failed to download resource "essentia"
Failure while executing; `/usr/bin/env git submodule update --init --recursive` exited with 128. Here's the output:
Submodule 'test/audio' (https://github.com/MTG/essentia-audio) registered for path 'test/audio'
Submodule 'test/models' (https://github.com/MTG/essentia-models) registered for path 'test/models'
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/audio'...
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/models'...
Submodule path 'test/audio': checked out '89df8e4d6fb306db6d2e14b6de6357aacda43b10'
git-lfs filter-process: git-lfs: command not found
fatal: the remote end hung up unexpectedly
fatal: Unable to checkout '3ca4130bcb398a1361867e5d8462d3a7a0c02ccd' in submodule path 'test/models'
drscotthawley commented 7 months ago

README.md fails to mention that users need to install git-lfs first.

After doing that, re-running.... I'm not sure if it worked.?? Message at the end seems to suggest the need to open an issue?

$ brew install essentia --HEAD
==> Fetching mtg/essentia/essentia
==> Downloading https://files.pythonhosted.org/packages/21/9f/b251f7f8a76dec1d6651be194dfba8fb8d7781d10ab3987190de8391d08e/six-1.14.0.ta
Already downloaded: /Users/shawley/Library/Caches/Homebrew/downloads/22c9c7a937f5bb39678fed6ea3266190990eedb811f541ddc6b35ae42dc0e2e9--six-1.14.0.tar.gz
==> Cloning https://github.com/MTG/essentia.git
Updating /Users/shawley/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 b584c9b1 Docs: improve formatting
Entering 'test/audio'
Entering 'test/models'
/Users/shawley/Library/Caches/Homebrew/essentia--git/test/audio
/Users/shawley/Library/Caches/Homebrew/essentia--git/test/models
==> Installing essentia from mtg/essentia
==> /opt/homebrew/opt/python@3.9/bin/python3 waf configure --mode=release --with-examples --with-vamp
Last 15 lines from /Users/shawley/Library/Logs/Homebrew/essentia/01.python3:
2024-01-18 01:36:31 +0000

/opt/homebrew/opt/python@3.9/bin/python3
waf
configure
--mode=release
--with-examples
--with-vamp
--prefix=/opt/homebrew/Cellar/essentia/HEAD-b584c9b

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

These open issues may also help:
brew install: Error: Failed to download resource "essentia" https://github.com/MTG/homebrew-essentia/issues/37
cannot install essentia on MacOS M1 https://github.com/MTG/homebrew-essentia/issues/32
cannot install essentia on MacOs https://github.com/MTG/homebrew-essentia/issues/30
Essentia install fails on MacOS with 'Broken revdeps detected' https://github.com/MTG/homebrew-essentia/issues/33
essentia installs fine, but gaia fails https://github.com/MTG/homebrew-essentia/issues/22
essentia's formula was built from an unstable upstream --HEAD.
This build failure is expected behaviour.
Do not create issues about this on Homebrew's GitHub repositories.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

So... what was the error this time?

I thought I might try uninstalling and reinstalling, but apparently installation did indeed fail:

$ brew uninstall essentia
Error: No such keg: /opt/homebrew/Cellar/essentia
drscotthawley commented 7 months ago

Tried deleting the cache in Library/, but got the same message. And actually it again says that gif-lfs is not found again, even though it's installed and in my current PATH.

$ rm -rf /Users/shawley/Library/Caches/Homebrew/essentia--git
$ brew install essentia --HEAD
==> Downloading https://formulae.brew.sh/api/formula.jws.json
################################################################################################################################# 100.0%
==> Fetching mtg/essentia/essentia
==> Downloading https://files.pythonhosted.org/packages/21/9f/b251f7f8a76dec1d6651be194dfba8fb8d7781d10ab3987190de8391d08e/six-1.14.0.ta
Already downloaded: /Users/shawley/Library/Caches/Homebrew/downloads/22c9c7a937f5bb39678fed6ea3266190990eedb811f541ddc6b35ae42dc0e2e9--six-1.14.0.tar.gz
==> Cloning https://github.com/MTG/essentia.git
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git'...
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
Submodule 'test/audio' (https://github.com/MTG/essentia-audio) registered for path 'test/audio'
Submodule 'test/models' (https://github.com/MTG/essentia-models) registered for path 'test/models'
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/audio'...
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/models'...
Submodule path 'test/audio': checked out '89df8e4d6fb306db6d2e14b6de6357aacda43b10'
git-lfs filter-process: git-lfs: command not found
fatal: the remote end hung up unexpectedly
fatal: Unable to checkout '3ca4130bcb398a1361867e5d8462d3a7a0c02ccd' in submodule path 'test/models'
Error: essentia: Failed to download resource "essentia"
Failure while executing; `/usr/bin/env git submodule update --init --recursive` exited with 128. Here's the output:
Submodule 'test/audio' (https://github.com/MTG/essentia-audio) registered for path 'test/audio'
Submodule 'test/models' (https://github.com/MTG/essentia-models) registered for path 'test/models'
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/audio'...
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/models'...
Submodule path 'test/audio': checked out '89df8e4d6fb306db6d2e14b6de6357aacda43b10'
git-lfs filter-process: git-lfs: command not found
fatal: the remote end hung up unexpectedly
fatal: Unable to checkout '3ca4130bcb398a1361867e5d8462d3a7a0c02ccd' in submodule path 'test/models'
$ which git-lfs
/opt/homebrew/bin/git-lfs
drscotthawley commented 7 months ago

One more little trick to make sure git-lfs gets recognized:

ln -s "$(which git-lfs)" "$(git --exec-path)/git-lfs"

With that, installation proceeds but it says that your repo is over its data quota!
womp womp

$ rm -rf /Users/shawley/Library/Caches/Homebrew/essentia--git
$ brew install essentia --HEAD
==> Fetching mtg/essentia/essentia
==> Downloading https://files.pythonhosted.org/packages/21/9f/b251f7f8a76dec1d6651be194dfba8fb8d7781d10ab3987190de8391d08e/six-1.14.0.ta
Already downloaded: /Users/shawley/Library/Caches/Homebrew/downloads/22c9c7a937f5bb39678fed6ea3266190990eedb811f541ddc6b35ae42dc0e2e9--six-1.14.0.tar.gz
==> Cloning https://github.com/MTG/essentia.git
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git'...
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
Submodule 'test/audio' (https://github.com/MTG/essentia-audio) registered for path 'test/audio'
Submodule 'test/models' (https://github.com/MTG/essentia-models) registered for path 'test/models'
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/audio'...
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/models'...
Submodule path 'test/audio': checked out '89df8e4d6fb306db6d2e14b6de6357aacda43b10'
Downloading maest/discogs-maest-10s-pw-1.pb (347 MB)
Error downloading object: maest/discogs-maest-10s-pw-1.pb (d45bbbe): 
Smudge error: Error downloading maest/discogs-maest-10s-pw-1.pb (d45bbbedd67ca8fb113ef1a55159fb6bb5a006e7d503843a3dd9629098562f0f): 
batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

Errors logged to '/Users/shawley/Library/Caches/Homebrew/essentia--git/.git/modules/test/models/lfs/logs/20240117T194546.535835.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: maest/discogs-maest-10s-pw-1.pb: smudge filter lfs failed
fatal: Unable to checkout '3ca4130bcb398a1361867e5d8462d3a7a0c02ccd' in submodule path 'test/models'
Error: essentia: Failed to download resource "essentia"
Failure while executing; `/usr/bin/env git submodule update --init --recursive` exited with 128. Here's the output:
Submodule 'test/audio' (https://github.com/MTG/essentia-audio) registered for path 'test/audio'
Submodule 'test/models' (https://github.com/MTG/essentia-models) registered for path 'test/models'
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/audio'...
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/models'...
Submodule path 'test/audio': checked out '89df8e4d6fb306db6d2e14b6de6357aacda43b10'
Downloading maest/discogs-maest-10s-pw-1.pb (347 MB)
Error downloading object: maest/discogs-maest-10s-pw-1.pb (d45bbbe): Smudge error: Error downloading maest/discogs-maest-10s-pw-1.pb (d45bbbedd67ca8fb113ef1a55159fb6bb5a006e7d503843a3dd9629098562f0f): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

Errors logged to '/Users/shawley/Library/Caches/Homebrew/essentia--git/.git/modules/test/models/lfs/logs/20240117T194546.535835.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: maest/discogs-maest-10s-pw-1.pb: smudge filter lfs failed
fatal: Unable to checkout '3ca4130bcb398a1361867e5d8462d3a7a0c02ccd' in submodule path 'test/models'

:-(

bhargavajs07 commented 6 months ago

@drscotthawley , Any luck with this ?

shawnbro commented 6 months ago

I had to update the python version in /opt/homebrew/opt/python@3.9 - the homebrew installation expects it to be executable at python3 but the executable in the folder is python3.9. I might create a PR to try and fix this.

daFish commented 6 months ago

I fixed the build issue by adding a new symlink to the python3-binary:

cd /opt/homebrew/opt/python@3.9/bin
ln -s ../Frameworks/Python.framework/Versions/3.9/bin/python3.9 python3

After that I was able to install the formula.

Usage: /opt/homebrew/bin/essentia_streaming_extractor_music input_audiofile output_textfile [profile]

Music extractor version 'music 2.0'
built with Essentia version v2.1_beta5-1174-gcdc77005-dirty

This software uses code of Libav (https://libav.org) licensed under the
LGPLv2.1 (see: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html)

The issue is also fixed in #36.