port ffmpeg failed

Marcus Chou chou.marcus at gmail.com
Tue Apr 29 09:36:49 PDT 2008


I just wanted to upgrade ffmpeg and package it:
$ sudo port -d pkg ffmpeg +a52 +avfilter +extvorbis +faac +faad +gpl  
+lame +postproc +theora +x264 +xvid
but failed at patching files:

--->  Verifying checksum(s) for ffmpeg
DEBUG: Executing org.macports.checksum (ffmpeg)
--->  Extracting ffmpeg
DEBUG: Executing org.macports.extract (ffmpeg)
DEBUG: Executing org.macports.patch (ffmpeg)
--->  Applying patches to ffmpeg
--->  Applying /opt/local/var/macports/sources/rsync.macports.org/ 
release/ports/multimedia/ffmpeg/files/patch-libswscale-Makefile.diff
DEBUG: Environment:
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_multimedia_ffmpeg/work/trunk" && patch -p0'
patching file libswscale/Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file libswscale/Makefile.rej
Error: Target org.macports.patch returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_multimedia_ffmpeg/work/trunk" && patch -p0  
< '/opt/local/var/macports/sources/rsync.macports.org/release/ports/ 
multimedia/ffmpeg/files/patch-libswscale-Makefile.diff'" returned  
error 1
Command output: patching file libswscale/Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file libswscale/Makefile.rej

Warning: the following items did not execute (for ffmpeg):  
org.macports.pkg org.macports.destroot org.macports.patch  
org.macports.configure org.macports.build
Error: Status 1 encountered during processing.

how can i solve this problem, and then upgrade the ffmpeg?
many thanks in advanced.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080430/af796448/attachment-0001.html


More information about the macports-users mailing list