[MacPorts] #17527: ffmpeg @15261_0 fails to build on Mac OS X 10.5/PPC

MacPorts noreply at macports.org
Fri Dec 5 06:06:17 PST 2008


#17527: ffmpeg @15261_0 fails to build on Mac OS X 10.5/PPC
-----------------------------------+----------------------------------------
 Reporter:  takanori@…             |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:  Port Bugs                            
Component:  ports                  |     Version:  1.8.0                                
 Keywords:  ffmpeg compat(5)       |        Port:  ffmpeg                               
-----------------------------------+----------------------------------------
 Seems that ffmpeg @15261 fails to build on Leopard/PPC.

 {{{
 takanori at pc192168024032$ uname -v
 Darwin Kernel Version 9.5.0: Wed Sep  3 11:31:44 PDT 2008;
 root:xnu-1228.7.58~1/RELEASE_PPC

 takanori at pc192168024032$ sudo port install gimp2
 ...
 --->  Fetching ffmpeg
 --->  Verifying checksum(s) for ffmpeg
 --->  Extracting ffmpeg
 --->  Configuring ffmpeg
 --->  Building ffmpeg
 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: libavcodec/ppc/snow_altivec.c:727: warning: pointer type
 mismatch in conditional expression
 gcc-4.0 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
 -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/trunk"
 -O2 -DHAVE_LRINTF -I/opt/local/include -D_ISOC99_SOURCE
 -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -pipe -force_cpusubtype_ALL -Wno-
 sign-compare -fomit-frame-pointer -maltivec -mabi=altivec -g
 -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
 -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-
 strings -O3 -fno-math-errno      -maltivec -mabi=altivec -maltivec
 -mabi=altivec -fPIC -DPIC -c -o libavcodec/ppc/vc1dsp_altivec.o
 libavcodec/ppc/vc1dsp_altivec.c
 gcc-4.0 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
 -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/trunk"
 -O2 -DHAVE_LRINTF -I/opt/local/include -D_ISOC99_SOURCE
 -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -pipe -force_cpusubtype_ALL -Wno-
 sign-compare -fomit-frame-pointer -maltivec -mabi=altivec -g
 -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
 -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-
 strings -O3 -fno-math-errno      -fPIC -DPIC -c -o
 libavcodec/ppc/check_altivec.o libavcodec/ppc/check_altivec.c
 In file included from /usr/include/sys/ucred.h:76,
                  from /usr/include/sys/sysctl.h:83,
                  from libavcodec/ppc/check_altivec.c:26:
 /usr/include/bsm/audit.h:224: error: syntax error before 'u_char'
 /usr/include/bsm/audit.h:227: error: syntax error before '}' token
 /usr/include/bsm/audit.h:234: error: syntax error before 'u_char'
 /usr/include/bsm/audit.h:237: error: syntax error before '}' token
 In file included from /usr/include/sys/sysctl.h:83,
                  from libavcodec/ppc/check_altivec.c:26:
 /usr/include/sys/ucred.h:90: error: syntax error before 'u_long'
 /usr/include/sys/ucred.h:113: error: syntax error before '}' token
 /usr/include/sys/ucred.h:130: error: syntax error before 'u_int'
 /usr/include/sys/ucred.h:134: error: syntax error before '}' token
 In file included from /usr/include/sys/sysctl.h:84,
                  from libavcodec/ppc/check_altivec.c:26:
 /usr/include/sys/proc.h:114: error: syntax error before 'u_int'
 /usr/include/sys/proc.h:119: error: syntax error before 'p_swtime'
 /usr/include/sys/proc.h:120: error: syntax error before 'p_slptime'
 /usr/include/sys/proc.h:134: error: syntax error before 'p_priority'
 /usr/include/sys/proc.h:135: error: syntax error before 'p_usrpri'
 /usr/include/sys/proc.h:140: error: syntax error before 'p_xstat'
 /usr/include/sys/proc.h:141: error: syntax error before 'p_acflag'
 /usr/include/sys/proc.h:143: error: syntax error before '}' token
 In file included from libavcodec/ppc/check_altivec.c:26:
 /usr/include/sys/sysctl.h:440: error: field 'kp_proc' has incomplete type
 /usr/include/sys/sysctl.h:750: error: syntax error before 'u_int'
 gmake: *** [libavcodec/ppc/check_altivec.o] Error 1
 }}}

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


More information about the macports-tickets mailing list