GithubHelp home page GithubHelp logo

Comments (13)

retokromer avatar retokromer commented on July 20, 2024 1

I see that this issue was raised previously and then closed due to lack of response from the issue's creator.

#51

Thank you for reporting!

from homebrew-ffmpeg.

slhck avatar slhck commented on July 20, 2024 1

I just quickly checked: We're not doing anything differently than the default Homebrew formula. Perhaps you can try uninstalling lame and ffmpeg and try again?

brew uninstall lame --force
brew uninstall homebrew-ffmpeg/ffmpeg/ffmpeg
brew install homebrew-ffmpeg/ffmpeg/ffmpeg

Could you otherwise show the complete log from /Users/booty/Library/Logs/Homebrew/ffmpeg/01.configure? We only see the final lines, as Homebrew truncates it.

from homebrew-ffmpeg.

booty avatar booty commented on July 20, 2024

I see that this issue was raised previously and then closed due to lack of response from the issue's creator.

Please let me know if there's anything I can do to assist w.r.t. testing/debugging.

Unfortunately I'm pretty stupid when it comes to how homebrew/formulae actually work under the hood.

from homebrew-ffmpeg.

booty avatar booty commented on July 20, 2024

@retokromer Thank YOU for the hard work buddy

from homebrew-ffmpeg.

retokromer avatar retokromer commented on July 20, 2024

@booty What is your output of the following command?

brew info lame

from homebrew-ffmpeg.

retokromer avatar retokromer commented on July 20, 2024

On my end, I have lame version 3.100 (bottled).

from homebrew-ffmpeg.

booty avatar booty commented on July 20, 2024
$ brew info lame
lame: stable 3.100 (bottled)
High quality MPEG Audio Layer III (MP3) encoder
https://lame.sourceforge.io/
/usr/local/Cellar/lame/3.100 (27 files, 2.1MB) *
  Poured from bottle on 2018-05-15 at 23:09:32
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/lame.rb
License: LGPL-2.0-or-later
==> Analytics
install: 41,328 (30 days), 128,168 (90 days), 532,304 (365 days)
install-on-request: 848 (30 days), 2,341 (90 days), 8,904 (365 days)
build-error: 0 (30 days)

from homebrew-ffmpeg.

booty avatar booty commented on July 20, 2024
$ brew uninstall --ignore-dependencies lame
Uninstalling /usr/local/Cellar/lame/3.100... (27 files, 2.1MB)
/Volumes/Stubby512/Dropbox/Music and Media/Lossless/Compilations/Creation Soup/Creation Soup Volume Two (2.7.1)
$ brew uninstall --ignore-dependencies ffmpeg
Uninstalling /usr/local/Cellar/ffmpeg/4.4... (276 files, 52.7MB)
/Volumes/Stubby512/Dropbox/Music and Media/Lossless/Compilations/Creation Soup/Creation Soup Volume Two (2.7.1)
$ brew install homebrew-ffmpeg/ffmpeg/ffmpeg
==> Installing ffmpeg from homebrew-ffmpeg/ffmpeg
==> Downloading https://ghcr.io/v2/homebrew/core/lame/manifests/3.100
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/lame/blobs/sha256:02b6a2cbf9b902225308bc90c8314699761cbdcd13628271579f5345d8160af2
==> Downloading from https://pkg-containers-az.githubusercontent.com/ghcr1/blobs/sha256:02b6a2cbf9b902225308bc90c8314699761cbdcd13628271579f5345d8160af2?se=2021-04-22T14%3A35%3A00Z&sig=DObxepQ463enQvKKR151Tz58SvokAd0pCxuiQmj5%2FQs%3D&sp=r&spr=https&sr=b&sv=2019-12-12
######################################################################## 100.0%
==> Downloading https://ffmpeg.org/releases/ffmpeg-4.4.tar.xz
Already downloaded: /Users/booty/Library/Caches/Homebrew/downloads/837c094bbbd62f9664825da5b8206acd9a27ed63510f91410034a4a1572d3750--ffmpeg-4.4.tar.xz
==> Installing dependencies for homebrew-ffmpeg/ffmpeg/ffmpeg: lame
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg dependency: lame
==> Pouring lame--3.100.catalina.bottle.tar.gz
🍺  /usr/local/Cellar/lame/3.100: 27 files, 2.2MB
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg
==> ./configure --prefix=/usr/local/Cellar/ffmpeg/4.4-with-options --enable-shared --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libaom --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --e
Last 15 lines from /Users/booty/Library/Logs/Homebrew/ffmpeg/01.configure:
--enable-libass
--enable-demuxer=dash
--disable-libjack
--disable-indev=jack
--enable-opencl
--enable-videotoolbox
--disable-htmlpages

ERROR: libtheora not found

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.

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

Here's the full contents of /Users/booty/Library/Logs/Homebrew/ffmpeg/01.configure

2021-04-22 10:28:25 -0400

./configure
--prefix=/usr/local/Cellar/ffmpeg/4.4-with-options
--enable-shared
--cc=clang
--host-cflags=
--host-ldflags=
--enable-gpl
--enable-libaom
--enable-libdav1d
--enable-libmp3lame
--enable-libopus
--enable-libsnappy
--enable-libtheora
--enable-libvorbis
--enable-libvpx
--enable-libx264
--enable-libx265
--enable-libfontconfig
--enable-libfreetype
--enable-frei0r
--enable-libass
--enable-demuxer=dash
--disable-libjack
--disable-indev=jack
--enable-opencl
--enable-videotoolbox
--disable-htmlpages

ERROR: libtheora not found

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.

HOMEBREW_VERSION: 3.1.3-64-gbd156d6
ORIGIN: https://github.com/Homebrew/brew
HEAD: bd156d6adbdfa05291b42d5eb1ba679c4619c382
Last commit: 11 minutes ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 0f7e4ea6ca534201bfd0d0d3aafcfd35ec811aec
Core tap last commit: 73 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: subl
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_NO_BOOTSNAP: set
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: octa-core 64-bit haswell
Clang: 12.0 build 1200
Git: 2.30.1 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 10.15.7-x86_64
CLT: 12.0.0.32.29
Xcode: 12.4

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/texinfo:/usr/local/opt/libffi:/usr/local/opt/[email protected]:/usr/local/opt/readline:/usr/local/opt/sqlite:/usr/local/opt/icu4c:/usr/local
CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/[email protected]/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/aom/lib/pkgconfig:/usr/local/opt/dav1d/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/fontconfig/lib/pkgconfig:/usr/local/opt/frei0r/lib/pkgconfig:/usr/local/opt/fribidi/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/[email protected]/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/[email protected]/lib/pkgconfig:/usr/local/opt/glib/lib/pkgconfig:/usr/local/opt/libpthread-stubs/lib/pkgconfig:/usr/local/opt/libxau/lib/pkgconfig:/usr/local/opt/libxdmcp/lib/pkgconfig:/usr/local/opt/libxcb/lib/pkgconfig:/usr/local/opt/libx11/lib/pkgconfig:/usr/local/opt/libxext/lib/pkgconfig:/usr/local/opt/libxrender/lib/pkgconfig:/usr/local/opt/lzo/lib/pkgconfig:/usr/local/opt/pixman/lib/pkgconfig:/usr/local/opt/cairo/lib/pkgconfig:/usr/local/opt/gobject-introspection/lib/pkgconfig:/usr/local/opt/graphite2/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/harfbuzz/lib/pkgconfig:/usr/local/opt/libass/lib/pkgconfig:/usr/local/opt/libogg/lib/pkgconfig:/usr/local/opt/libvorbis/lib/pkgconfig:/usr/local/opt/libvpx/lib/pkgconfig:/usr/local/opt/opus/lib/pkgconfig:/usr/local/opt/sdl2/lib/pkgconfig:/usr/local/opt/theora/lib/pkgconfig:/usr/local/opt/x264/lib/pkgconfig:/usr/local/opt/x265/lib/pkgconfig:/usr/local/opt/xorgproto/share/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.15
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/nasm/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/texinfo/bin:/usr/local/opt/aom/bin:/usr/local/opt/dav1d/bin:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/fontconfig/bin:/usr/local/opt/lame/bin:/usr/local/opt/fribidi/bin:/usr/local/opt/gettext/bin:/usr/local/opt/pcre/bin:/usr/local/opt/gdbm/bin:/usr/local/opt/[email protected]/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/xz/bin:/usr/local/opt/[email protected]/bin:/usr/local/opt/glib/bin:/usr/local/opt/cairo/bin:/usr/local/opt/gobject-introspection/bin:/usr/local/opt/graphite2/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/harfbuzz/bin:/usr/local/opt/sdl2/bin:/usr/local/opt/x264/bin:/usr/local/opt/x265/bin:/usr/bin:/bin:/usr/sbin:/sbin

from homebrew-ffmpeg.

slhck avatar slhck commented on July 20, 2024

Now another dependent package fails, Theora. Perhaps you can try uninstalling this one too?

from homebrew-ffmpeg.

booty avatar booty commented on July 20, 2024
$ brew install theora
Warning: theora 1.1.1 is already installed and up-to-date.
To reinstall 1.1.1, run:
  brew reinstall theora
/Volumes/Stubby512/Dropbox/Music and Media/Lossless/Compilations/Creation Soup/Creation Soup Volume Two (2.7.1)
$ brew reinstall theora
[it succeeds]

and then....

brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-fdk-aac

...success! 🎉

Thanks so much for the help. Certainly seems like it was a homebrew issue and not with your tap. (Which makes your time doubly appreciated)

But, what do you suppose the root issue was there?

from homebrew-ffmpeg.

slhck avatar slhck commented on July 20, 2024

Glad you got it figured out. I'm not sure, I assume these packages have been installed a while ago and couldn't be properly resolved during configure time. I don't know why it happened though.

from homebrew-ffmpeg.

booty avatar booty commented on July 20, 2024

@slhck Makes sense. Those packages were installed a while back, possibly as far back as late 2018 soon after I acquired this Mac. Thanks once again for your help and generosity.

from homebrew-ffmpeg.

scribblemaniac avatar scribblemaniac commented on July 20, 2024

This could have happened if the dependencies were installed, but not linked properly. Brew doctor should have found it if that was the issue, but I don't know exactly how they do that check. It could also be that some of these library files were modified or removed by some non-brew installation you did at some point.

from homebrew-ffmpeg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.