Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#15148 closed defect (duplicate)

ffmpeg 0.4.9-pre1_8 upgrade fails

Reported by: dershow Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: ffmpeg patch fail Cc: acho@…
Port:

Description

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,

Change History (2)

comment:1 Changed 17 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Duplicate of #14960.

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.