#15148: ffmpeg 0.4.9-pre1_8 upgrade fails --------------------------------+------------------------------------------- Reporter: dersh@alum.mit.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: ffmpeg patch fail | --------------------------------+------------------------------------------- I have ffmpeg @0.4.9-pre1_7+a52+avfilter+darwin_i386+faac+faad+gpl+lame+x264 installed and working. I just tried to do an upgrade to 0.4.9-pre1_8 and the patch phase fails with an error: {{{ Error: Unable to process mirror sites for: , ignoring. Warning: No mirror sites on file for class ---> Fetching ffmpeg ---> Verifying checksum(s) for ffmpeg ---> Extracting ffmpeg ---> Applying patches to ffmpeg 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 Error: Unable to upgrade port: 1 }}} The contents of the generated Makefile.rej are: {{{ *************** *** 1,5 **** include ../config.mak NAME = swscale FFLIBS = avutil --- 1,9 ---- include ../config.mak + EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS) + LIBVERSION=$(SWSVERSION) + LIBMAJOR=$(SWSMAJOR) + NAME = swscale FFLIBS = avutil }}} I see that these errors relate to the avfilter variant, but this was building fine with the prior version, so something changed. Thanks, -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15148> MacPorts </projects/macports> Ports system for Mac OS