[MacPorts] #16101: ffmpeg upgrade patch fails

MacPorts noreply at macports.org
Thu Jul 31 11:30:08 PDT 2008


#16101: ffmpeg upgrade patch fails
---------------------------------+------------------------------------------
  Reporter:  dersh at alum.mit.edu  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect              |      Status:  new                                  
  Priority:  Normal              |   Milestone:  Port Bugs                            
 Component:  ports               |     Version:  1.6.0                                
Resolution:                      |    Keywords:  ffmpeg patch upgrade fail            
---------------------------------+------------------------------------------
Comment (by dklug1234 at yahoo.de):

 I'm afraid this patch hasn't worked for me. I got this when trying to
 compile ffmpeg with avfilter:

 {{{
 $ sudo port install ffmpeg +gpl +lame +theora +faac +faad +x264 +a52
 +postproc +avfilter
 Password:
 --->  Building ffmpeg with target all
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_
 var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/trunk"
 && gmake all " returned error 2
 Command output: libswscale/yuv2rgb_altivec.c:605:1: error: macro
 "vec_perm" passed 18 arguments, but takes just 3
 libswscale/yuv2rgb_altivec.c:606:1: error: macro "vec_perm" passed 18
 arguments, but takes just 3
 libswscale/yuv2rgb_altivec.c: In function 'altivec_yuv2_argb':
 libswscale/yuv2rgb_altivec.c:606: error: 'vec_perm' undeclared (first use
 in this function)
 libswscale/yuv2rgb_altivec.c:606:1: error: macro "vec_perm" passed 18
 arguments, but takes just 3
 libswscale/yuv2rgb_altivec.c:606:1: error: macro "vec_perm" passed 18
 arguments, but takes just 3
 libswscale/yuv2rgb_altivec.c:606:1: error: macro "vec_perm" passed 18
 arguments, but takes just 3
 libswscale/yuv2rgb_altivec.c:607:1: error: macro "vec_perm" passed 18
 arguments, but takes just 3
 libswscale/yuv2rgb_altivec.c: In function 'altivec_yuv2_rgb24':
 libswscale/yuv2rgb_altivec.c:607: error: 'vec_perm' undeclared (first use
 in this function)
 libswscale/yuv2rgb_altivec.c:607:1: error: macro "vec_perm" passed 18
 arguments, but takes just 3
 libswscale/yuv2rgb_altivec.c:607:1: error: macro "vec_perm" passed 18
 arguments, but takes just 3
 libswscale/yuv2rgb_altivec.c:607:1: error: macro "vec_perm" passed 18
 arguments, but takes just 3
 libswscale/yuv2rgb_altivec.c:608:1: error: macro "vec_perm" passed 18
 arguments, but takes just 3
 libswscale/yuv2rgb_altivec.c: In function 'altivec_yuv2_bgr24':
 libswscale/yuv2rgb_altivec.c:608: error: 'vec_perm' undeclared (first use
 in this function)
 libswscale/yuv2rgb_altivec.c:608:1: error: macro "vec_perm" passed 18
 arguments, but takes just 3
 libswscale/yuv2rgb_altivec.c:608:1: error: macro "vec_perm" passed 18
 arguments, but takes just 3
 libswscale/yuv2rgb_altivec.c:608:1: error: macro "vec_perm" passed 18
 arguments, but takes just 3
 libswscale/yuv2rgb_altivec.c:842:30: error: macro "vec_max" passed 9
 arguments, but takes just 2
 libswscale/yuv2rgb_altivec.c: In function 'altivec_yuv2packedX':
 libswscale/yuv2rgb_altivec.c:842: error: 'vec_max' undeclared (first use
 in this function)
 libswscale/yuv2rgb_altivec.c:843:30: error: macro "vec_max" passed 9
 arguments, but takes just 2
 libswscale/yuv2rgb_altivec.c:844:29: error: macro "vec_max" passed 9
 arguments, but takes just 2
 libswscale/yuv2rgb_altivec.c:845:29: error: macro "vec_max" passed 9
 arguments, but takes just 2
 libswscale/yuv2rgb_altivec.c:920:30: error: macro "vec_max" passed 9
 arguments, but takes just 2
 libswscale/yuv2rgb_altivec.c:921:30: error: macro "vec_max" passed 9
 arguments, but takes just 2
 libswscale/yuv2rgb_altivec.c:922:29: error: macro "vec_max" passed 9
 arguments, but takes just 2
 libswscale/yuv2rgb_altivec.c:923:29: error: macro "vec_max" passed 9
 arguments, but takes just 2
 gmake: *** [libswscale/yuv2rgb_altivec.o] Fehler 1

 Error: Status 1 encountered during processing.

 }}}

 'sudo port install ffmpeg +gpl +lame +theora +faac +faad +x264 +a52
 +postproc' (without avfilter) worked (finally).

-- 
Ticket URL: <http://trac.macports.org/ticket/16101#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list