Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#45154 closed defect (invalid)

Error: Processing of port ffmpeg failed

Reported by: ram.rahi07@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: ffmpeg

Description

I want to install MacPorts FFMPEG for HTTP Live Streaming. I downloaded MacPorts Package Installer (MacPorts-2.3.1-10.9-Mavericks.pkg). I tried "sudo port install ffmpeg" command on terminal on Mavericks 10.9.3 But it failed with error (Error: Processing of port ffmpeg failed).

Please help me fix this issue.

Waiting for your reply.

Attachments (1)

main.log (2.7 MB) - added by media@… 10 years ago.
main.log

Change History (7)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu@… added
Milestone: MacPorts Future
Owner: changed from macports-tickets@… to devans@…
Port: ffmpeg added
Priority: HighNormal

Please read our ticket filing instructions. You need to fill in the Port field and Cc the maintainers of that port. High priority is not used for ordinary tickets like this one, and the Milestone field is not used for port tickets. Most importantly, please attach the main.log file which will show us what went wrong.

comment:2 Changed 10 years ago by dbevans (David B. Evans)

Status: newassigned

I can't reproduce this error on Mavericks (or any other supported version) so without the detailed build log all I can do is guess. One possibility is that you have a copy of ffmpeg-devel installed which conflicts with ffmpeg and must first be deactivated. Note also that since your ticket was submitted both ffmpeg and ffmpeg-devel have been updated to new versions so please update your ports and retest so that we are working with the latest versions.

To update your ports and rebuild

sudo port selfupdate
sudo port installed ffmpeg*  (to see which versions of ffmpeg, ffmpeg-devel are installed)
sudo port -f deactivate ffmpeg-devel (if the previous command shows ffmpeg-devel as active)
sudo port clean ffmpeg
sudo port install ffmpeg
sudo port log ffmpeg > main.log (to get a copy of the log file to attach if install fails)

Thanks for your help

comment:3 in reply to:  2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to devans@…:

sudo port log ffmpeg > main.log (to get a copy of the log file to attach if install fails)

There's no need to use sudo to display the log, and there's no need to "copy" the logfile in this manner. Note that this won't actually make a copy either; the format of the original main.log and this new one that's been created are not the same. Please instead just attach the original main.log file, whose location can be shown using the command port logfile ffmpeg.

Changed 10 years ago by media@…

Attachment: main.log added

main.log

comment:4 Changed 10 years ago by media@…

Hello gents, I had no issue with ffmpeg till recently... I was also on Mavericks with MacPorts 2.3.0 some months ago. I had no major issues after upgrading to Yosemite (followed instructions on https://trac.macports.org/wiki/YosemiteProblems) and MacPorts 2.3.1. Everything was working fine until today when I tried to 'upgrade outdated'. Operation failed when building updated version of ffmpeg port. I even tried the above work around without any luck...

dacbook:~ dummy$ ffmpeg -version |grep version
ffmpeg version 2.4.4 Copyright (c) 2000-2014 the FFmpeg developers
built on Dec  5 2014 20:15:29 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
dacbook:~ dummy$ port installed ffmpeg*
The following ports are currently installed:
  ffmpeg @2.4.2_0+gpl2+x11
  ffmpeg @2.4.3_0+gpl2+x11
  ffmpeg @2.4.4_0+gpl2+x11 (active)
dacbook:~ dummy$ sudo port clean ffmpeg
--->  Cleaning ffmpeg
dacbook:~ dummy$ sudo port install ffmpeg
--->  Computing dependencies for ffmpeg
--->  Fetching archive for ffmpeg
--->  Attempting to fetch ffmpeg-2.5.1_0+gpl2+x11.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/ffmpeg
--->  Attempting to fetch ffmpeg-2.5.1_0+gpl2+x11.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ffmpeg
--->  Attempting to fetch ffmpeg-2.5.1_0+gpl2+x11.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/ffmpeg
--->  Fetching distfiles for ffmpeg
--->  Verifying checksums for ffmpeg
--->  Extracting ffmpeg
--->  Applying patches to ffmpeg
--->  Configuring ffmpeg
--->  Building ffmpeg
Error: org.macports.build for port ffmpeg returned: command execution failed
Please see the log file for port ffmpeg for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port ffmpeg failed

Of course there was an Apple update meanwhile...

dacbook:~ dummy$ xcodebuild -version
Xcode 6.1.1
Build version 6A2008a

I attached my main.log

comment:5 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: assignedclosed
:info:build ar: temporary file: No space left on device

Your disk is out of space.

comment:6 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Try to keep your disk usage below 90% at all times.

Based on the above, you can probably clean out some space by uninstalling inactive older ports:

sudo port -v -f uninstall inactive
Note: See TracTickets for help on using tickets.