Closed mengchaoheng closed 1 year ago
$ PX4-Autopilot git:(df-1.12.3) brew install px4-sim-gazebo
Warning: Use gstreamer instead of deprecated gst-libav
Warning: Use gstreamer instead of deprecated gst-plugins-bad
Warning: Use gstreamer instead of deprecated gst-plugins-base
Warning: Use gstreamer instead of deprecated gst-plugins-good
Warning: Use gstreamer instead of deprecated gst-plugins-ugly
Warning: Use gstreamer instead of deprecated gst-libav
Warning: Use gstreamer instead of deprecated gst-plugins-bad
Warning: Use gstreamer instead of deprecated gst-plugins-base
Warning: Use gstreamer instead of deprecated gst-plugins-good
Warning: Use gstreamer instead of deprecated gst-plugins-ugly
Warning: Use gstreamer instead of deprecated gst-libav
Warning: Use gstreamer instead of deprecated gst-plugins-bad
Warning: Use gstreamer instead of deprecated gst-plugins-base
Warning: Use gstreamer instead of deprecated gst-plugins-good
Warning: Use gstreamer instead of deprecated gst-plugins-ugly
Warning: Use gstreamer instead of deprecated gst-libav
Warning: Use gstreamer instead of deprecated gst-plugins-bad
Warning: Use gstreamer instead of deprecated gst-plugins-base
Warning: Use gstreamer instead of deprecated gst-plugins-good
Warning: Use gstreamer instead of deprecated gst-plugins-ugly
Warning: Use gstreamer instead of deprecated gst-libav
Warning: Use gstreamer instead of deprecated gst-plugins-bad
Warning: Use gstreamer instead of deprecated gst-plugins-base
Warning: Use gstreamer instead of deprecated gst-plugins-good
Warning: Use gstreamer instead of deprecated gst-plugins-ugly
Warning: Use gstreamer instead of deprecated gst-libav
Warning: Use gstreamer instead of deprecated gst-libav
Warning: Use gstreamer instead of deprecated gst-libav
Warning: Use gstreamer instead of deprecated gst-plugins-bad
Warning: Use gstreamer instead of deprecated gst-plugins-bad
Warning: Use gstreamer instead of deprecated gst-plugins-bad
Warning: Use gstreamer instead of deprecated gst-plugins-base
Warning: Use gstreamer instead of deprecated gst-plugins-base
Warning: Use gstreamer instead of deprecated gst-plugins-base
Warning: Use gstreamer instead of deprecated gst-plugins-good
Warning: Use gstreamer instead of deprecated gst-plugins-good
Warning: Use gstreamer instead of deprecated gst-plugins-good
Warning: Use gstreamer instead of deprecated gst-plugins-ugly
Warning: Use gstreamer instead of deprecated gst-plugins-ugly
Warning: Use gstreamer instead of deprecated gst-plugins-ugly
Warning: Use gstreamer instead of deprecated gst-libav
Warning: Use gstreamer instead of deprecated gst-libav
Warning: Use gstreamer instead of deprecated gst-plugins-bad
Warning: Use gstreamer instead of deprecated gst-plugins-bad
Warning: Use gstreamer instead of deprecated gst-plugins-base
Warning: Use gstreamer instead of deprecated gst-plugins-base
Warning: Use gstreamer instead of deprecated gst-plugins-good
Warning: Use gstreamer instead of deprecated gst-plugins-good
Warning: Use gstreamer instead of deprecated gst-plugins-ugly
Warning: Use gstreamer instead of deprecated gst-plugins-ugly
==> Fetching dependencies for px4/px4/px4-sim-gazebo: exiftool
==> Fetching exiftool
==> Downloading https://ghcr.io/v2/homebrew/core/exiftool/manifests/12.60
Already downloaded: /Users/mch/Library/Caches/Homebrew/downloads/e5f1e92121e2bbd5c9cde721f0787e943f59f9ee541db5572906c23c4064c5bb--exiftool-12.60.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/exiftool/blobs/sha256:7530b6e640f91294c223c2e97722145d91feea0917a6716da
Already downloaded: /Users/mch/Library/Caches/Homebrew/downloads/28da962283415bd413aab778d61cf3b5f0cc5a2a636568b54358cf2ebcead294--exiftool--12.60.monterey.bottle.tar.gz
==> Fetching px4/px4/px4-sim-gazebo
==> Downloading https://raw.githubusercontent.com/PX4/PX4-Autopilot/master/Tools/px4.py
Already downloaded: /Users/mch/Library/Caches/Homebrew/downloads/be4aff9b473b8b0c6bae0ff08a6611885de9d56ee3a477c05453bb6bbcaab246--px4.py
==> Installing px4-sim-gazebo from px4/px4
Warning: Use gstreamer instead of deprecated gst-libav
Warning: Use gstreamer instead of deprecated gst-plugins-bad
Warning: Use gstreamer instead of deprecated gst-plugins-base
Warning: Use gstreamer instead of deprecated gst-plugins-good
Warning: Use gstreamer instead of deprecated gst-plugins-ugly
Error: Operation already in progress for gstreamer.formula
Another active Homebrew process is already using gstreamer.formula.
Please wait for it to finish or terminate it to continue.
➜ PX4-Autopilot git:(df-1.12.3)
➜ ~ brew config
HOMEBREW_VERSION: 4.0.15
ORIGIN: https://github.com/Homebrew/brew
HEAD: 763c41f006ab9b44261e313b0aaa24a047431b06
Last commit: 3 days ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 225bc7f9819d190ab6952062dd63d0a530828652
Core tap last commit: 4 days ago
Core tap branch: master
Core tap JSON: 26 Apr 22:28 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.jOkN1HJp2R/org.xquartz:0
HOMEBREW_MAKE_JOBS: 10
Homebrew Ruby: 2.6.10 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.10_1/bin/ruby
CPU: 10-core 64-bit westmere
Clang: 13.1.6 build 1316
Git: 2.32.0 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.79.1 => /usr/bin/curl
macOS: 12.3-x86_64
CLT: 13.3.0.0.1.1645755326
Xcode: 13.3
Rosetta 2: true
➜ ~
➜ PX4-Autopilot git:(df-1.12.3) brew install px4-sim-gazebo
Warning: No available formula with the name "gst-libav" (dependency of px4/px4/px4-sim-gazebo).
==> Searching for similarly named formulae and casks...
Error: No formulae or casks found for gst-libav.
but on a arm version brew, this is no problem, so we don't need to use rosseta to change the arm terminal to x86?
➜ ~ brew install gst-libav
Running `brew update --auto-update`...
==> Fetching dependencies for gst-libav: libtiff, little-cms2, webp, freetype, glib, openjpeg, leptonica, graphene, faac, faad2, fdk-aac, gsettings-desktop-schemas, glib-networking, atk, gdk-pixbuf, hicolor-icon-theme, libepoxy, gtk+3, gtk4, json-glib, libpthread-stubs, libshout, libpsl, libsoup, libusrsctp, orc, gobject-introspection, py3cairo, pygobject3, rtmpdump, srtp, taglib, libcuefile, libreplaygain, musepack, gstreamer and gst-plugins-base
==> Fetching libtiff
==> Downloading https://ghcr.io/v2/homebrew/core/libtiff/manifests/4.5.0
Already downloaded: /Users/mch/Library/Caches/Homebrew/downloads/79217b88b5df9d2506bfb4fa1a3ecd0a9fe80b6a136a1325cc7aab8790d682fd--libtiff-4.5.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/libtiff/blobs/sha256:74f7135659b8204c8e67
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:74f71
################################################################################### 100.0%
==> Fetching little-cms2
==> Downloading https://ghcr.io/v2/homebrew/core/little-cms2/manifests/2.14_1
Already downloaded: /Users/mch/Library/Caches/Homebrew/downloads/7640158537f6618004a28d170e2520e56a379de9320a52701358f5c117497875--little-cms2-2.14_1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/little-cms2/blobs/sha256:3c4cc7b5b25f90f9
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:3c4cc
################################################################################### 100.0%
==> Fetching webp
==> Downloading https://ghcr.io/v2/homebrew/core/webp/manifests/1.3.0_1
################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/webp/blobs/sha256:181852278a6be20e21b8bf2
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:18185
^C
➜ ~
fix by update the correct sitl_gazebo commit 4791211c5867b0461de93b8e6fb03ae248b0d9a2, since this is build for v1.12.3
@mengchaoheng How did you resolve this brew error?
Error: Operation already in progress for gstreamer.formula
Another active Homebrew process is already using gstreamer.formula.
@mengchaoheng How did you resolve this brew error?
Error: Operation already in progress for gstreamer.formula Another active Homebrew process is already using gstreamer.formula.
restore the /opt folder's files by Time Machine of MacBook Pro.