Can?t Install FFMpeg

Jim DeLaHunt list+macports-users at jdlh.com
Fri Aug 20 22:00:27 UTC 2021


On 2021-08-19 21:16 -0700, Richard Fairbanks <lists at F-P-I.com> wrote:

> < 3.5 GHz, 6-Core Mac Pro (MacPro6,1) with 16GB RAM and D700
> GPUs, running macOS 10.14.6 >
>
> Greetings, folks!
>
> I just updated to MacPorts-2.7.1-10.14-Mojave.pkg, default install.
>
> Terminal calls and results appended below sig.
>
> Any advice would be appreciated!
>
> Blessings, and thank you!,
>
> Richard Fairbanks
>
>
> ########
>
> #### In Terminal ####
> $ sudo port install ffmpeg
> Error: Unable to execute port: couldn't open
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/.macports.ffmpeg.state":
> permission denied
>
> $ sudo port clean ffmpeg
>
> $ sudo port install ffmpeg
> Computing dependencies for ffmpeg
> The following dependencies will be installed:
> <snip>
> Continue? [Y/n]: y
It's a pity you cut out the list of dependencies to be installed. The 
problem seems to have happened there.
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_XviD/XviD/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you
> believe there is a bug.
> Error: Processing of port ffmpeg failed

It looks like port "ffmpeg" depends on port "XviD", and the error 
occurred when trying to install port "XviD". So, think of this as a 
problem installing XviD rather than a problem installing ffmpeg.

Try doing `sudo port install XviD` by itself. Get that to work. Then 
return to `sudo port install ffmpeg`.

> $ port clean --dist ffmpeg
> --->  Cleaning ffmpeg
> Error: error deleting
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg":
> not owner
> Error: error deleting
> "/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg":
> not owner
> #####################

It looks like you did not use `sudo` when cleaning ffmpeg. Perhaps try 
again with `sudo`?


> The full, above-referenced log file, XviD/main.log, states:
>
> version:1
> :debug:main Starting logging for XviD @1.3.7_0
> :debug:sysinfo macOS 10.14.6 (darwin/18.7.0) arch i386
> :debug:sysinfo MacPorts 2.7.1
> :debug:sysinfo Xcode 11.3.1
> :debug:sysinfo SDK 10.14
> :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.14
> :debug:main dropping privileges: euid changed to 502, egid
> changed to 501.
> :error:main See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_XviD/XviD/main.log
> for details.
>
>     ?> the last line ?:error:main See?.?.?.?? refers to
> this same file!

So, XviD/main.log is only 9 lines long? That is interesting. That says 
it failed soon after starting the task.

It's not surprising that the final line of XviD/main.log mentions 
XviD/main.log. As I understand it, the system writes to the log every 
message it prints on the terminal. You should expect to see every line 
from the terminal repeated in the log file.

I hope this helps you get a step farther,
      —Jim DeLaHunt



More information about the macports-users mailing list