Opened 7 years ago

Closed 7 years ago

#6110 closed defect (invalid)

Homebrew install using ALL --with options: "Error: File exists - /usr/local/opt/ffmpeg/.brew"

Reported by: Patrick Kennedy Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: mixelpix@mac.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

macOS 10.12.3 (recently upgraded from 10.12.2 but otherwise a clean install of 10.12.2 after wiping a late-2012 AirBook (i7, 2Ghz, 8GB RAM).

After a successful basic brew install ffmpeg I uninstalled with Homebrew and reinstalled using all of the --with options:

$ brew install ffmpeg --force --with-chromaprint --with-fdk-aac --with-fontconfig --with-freetype --with-frei0r --with-game-music-emu --with-libass --with-libbluray --with-libbs2b --with-libcaca --with-libebur128 --with-libgsm --with-libmodplug --with-libsoxr --with-libssh --with-libvidstab --with-libvorbis --with-libvpx --with-opencore-amr --with-openh264 --with-openjpeg --with-openssl --with-opus --with-rtmpdump --with-rubberband --with-schroedinger --with-sdl2 --with-snappy --with-speex --with-tesseract --with-theora --with-tools --with-two-lame --with-wavpack --with-webp --with-x265 --with-xz --with-zeromq --with-zimg

And while Homebrew was in the final stage of ==> make alltools I got the following error:

Error: File exists - /usr/local/opt/ffmpeg/.brew

I did another uninstall, confirmed that the error directory was gone, installed again with the same error. Perhaps this is an error on Homebrew's part? I have posted a bug report with them but I am at a loss as to how to resolve this issue.

For what it is worth, ffmpeg did get installed:

$  ffmpeg -version
ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-chromaprint --enable-ffplay --enable-frei0r --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libebur128 --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopus --enable-librtmp --enable-librubberband --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtesseract --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --enable-libzmq --enable-opencl --enable-openssl --enable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.1.2/include/openjpeg-2.1 --enable-nonfree --enable-vda
libavutil      55. 34.100 / 55. 34.100
libavcodec     57. 64.101 / 57. 64.101
libavformat    57. 56.100 / 57. 56.100
libavdevice    57.  1.100 / 57.  1.100
libavfilter     6. 65.100 /  6. 65.100
libavresample   3.  1.  0 /  3.  1.  0
libswscale      4.  2.100 /  4.  2.100
libswresample   2.  3.100 /  2.  3.100
libpostproc    54.  1.100 / 54.  1.100

Of note, the only thing in the error directory is a Ruby file: ffmpeg.rb

Also of note, the ffplay command was not registered but after running $ brew unlink ffmpeg && brew link ffmpeg I was able to use the ffplay tool.

Please advise. Thank you.

Change History (2)

comment:2 by llogan, 7 years ago

Keywords: Homebrew install error removed
Resolution: invalid
Status: newclosed

I don't see any error messages from FFmpeg here. .brew and ffmpeg.rb are not provided by FFmpeg. This is a package management issue, but we do not (and cannot) provide support for third-party tools.

Note: See TracTickets for help on using tickets.