port ffmpeg failed

Ryan Schmidt ryandesign at macports.org
Tue Apr 29 13:23:26 PDT 2008


On Apr 29, 2008, at 11:36 AM, Marcus Chou wrote:

> 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_multi 
> media_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_multi 
> media_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.

This problem has already been reported here:

http://trac.macosforge.org/projects/macports/ticket/14960#comment:8





More information about the macports-users mailing list