Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not find / install ffmpeg and nasm #11243

Closed
2 tasks done
lucatze opened this issue Apr 24, 2021 · 4 comments
Closed
2 tasks done

Can not find / install ffmpeg and nasm #11243

lucatze opened this issue Apr 24, 2021 · 4 comments
Labels
bug Reproducible Homebrew/brew bug outdated PR was locked due to age

Comments

@lucatze
Copy link

lucatze commented Apr 24, 2021

brew config output

HOMEBREW_VERSION: 3.1.3-91-gfb7d19c
ORIGIN: https://github.com/Homebrew/brew
HEAD: fb7d19c6618f90b30c463fa854ae241fb5e0bacc
Last commit: 18 hours ago
Core tap ORIGIN: https://github.com/Homebrew/brew
Core tap HEAD: fb7d19c6618f90b30c463fa854ae241fb5e0bacc
Core tap last commit: 18 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: quad-core 64-bit ivybridge
Clang: 12.0 build 1200
Git: 2.24.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.2.3-x86_64
CLT: 12.4.0.0.1.1610135815
Xcode: 12.4

brew doctor output

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Suspicious https://github.com/Homebrew/homebrew-core git origin remote found.
The current git origin is:
  https://github.com/Homebrew/brew

With a non-standard origin, Homebrew won't update properly.
You can solve this by setting the origin remote:
  git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" remote set-url origin https://github.com/Homebrew/homebrew-core

  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?

I just want to install ffmpeg with some extras.

What happened (include all command output)?

~ brew install ffmpeg -s --with-srt --with-openssl@1.1 --with-openssl --with-openjpeg --with-decklink --with-fdk-aac --with-libssh --with-game-music-emu
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
Updated 7 casks.

==> Installing ffmpeg from homebrew-ffmpeg/ffmpeg
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula with the name "nasm" (dependency of homebrew-ffmpeg/ffmpeg/ffmpeg).
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
➜ ~ brew install nasm
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "nasm".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
➜ ~ brew search ffmpeg
==> Formulae
amiaopensource/amiaos/ffmpegdecklink homebrew-ffmpeg/ffmpeg/ffmpeg

The failure also appears when using:
brew install homebrew-ffmpeg/ffmpeg/ffmpeg

What did you expect to happen?

Flawless installation of ffmpeg and all dependencies.

Step-by-step reproduction instructions (by running brew commands)

brew install homebrew-ffmpeg/ffmpeg/ffmpeg
brew install nasm
@lucatze lucatze added the bug Reproducible Homebrew/brew bug label Apr 24, 2021
@carlocab
Copy link
Member

carlocab commented Apr 24, 2021

Are you sure you did this?

I have resolved all warnings from brew doctor and that did not fix my problem.

Because I'm pretty sure the advice from this warning should fix it:

With a non-standard origin, Homebrew won't update properly.
You can solve this by setting the origin remote:
 git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" remote set-url origin https://github.com/Homebrew/homebrew-core

What was the output from running the suggested command from brew doctor?

@gromgit
Copy link
Member

gromgit commented Apr 24, 2021

ORIGIN: https://github.com/Homebrew/brew
HEAD: fb7d19c6618f90b30c463fa854ae241fb5e0bacc
Last commit: 18 hours ago
Core tap ORIGIN: https://github.com/Homebrew/brew
Core tap HEAD: fb7d19c6618f90b30c463fa854ae241fb5e0bacc
Core tap last commit: 18 hours ago
Core tap branch: master

Git thinks your core tap and Homebrew software are identical, right down to the HEAD commit. This strongly suggests that your core tap wasn't cloned completely. The easiest (and probably safest) way to fix this:

rm -fr $(brew --repo homebrew/core)
brew tap homebrew/core

@lucatze
Copy link
Author

lucatze commented Apr 24, 2021

Are you sure you did this?

@carlocab Yes, i did, afterwards my installation was kind of broken. So i completely reinstalled homebrew but the issue was still there.

@gromgit Thank you, that solved it 👍 However, i do not understand why i had to do this even my homebrew AND OSX installation were kind of fresh.

@lucatze lucatze closed this as completed Apr 24, 2021
@carlocab
Copy link
Member

Great, glad that's resolved. The suggested command from brew doctor could probably be improved here, then.

@github-actions github-actions bot added the outdated PR was locked due to age label May 25, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Reproducible Homebrew/brew bug outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

3 participants