brew update and can still reproduce the problembrew doctor, but an error was thrownbrew config and brew doctor and included their outputPrior to upgrading to macOS Mojave (10.14), brew update and brew upgrade were run. It stalled when upgrading ffmpeg and I had to kill -9 Homebrew to stop it (control+C did not work).
After finishing, I tried running brew doctor; however, it throws an error message (full message attached):
Error: 419: unexpected token at '"/usr/lib/libS/usr/local/Cellar/autoconf/2.69'
Upgrading to Mojave did not fix the issue.
Running brew gist-logs ffmpeg yields the following output:
Error: No logs.
brew doctorThe command should run to completion and list all problems and fixes.
The program errors out prior to completion.
Can you remove the file at ~/Library/Caches/Homebrew/linkage.db and try again, please?
```
$ cd ~/Library/Caches/Homebrew/
$ mv linkage.db linkage.db.bak
$ brew doctor
Your system is ready to brew.
Most helpful comment
```
$ cd ~/Library/Caches/Homebrew/
$ mv linkage.db linkage.db.bak
$ brew doctor
Your system is ready to brew.