[MacPorts] #51823: ffmpeg @3.1.1_0 fails building on 10.5.8 PPC

MacPorts noreply at macports.org
Sun Jul 10 16:51:58 PDT 2016


#51823: ffmpeg @3.1.1_0 fails building on 10.5.8 PPC
------------------------+--------------------------------
 Reporter:  braumann@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.3.4
 Keywords:              |       Port:  ffmpeg
------------------------+--------------------------------
 While upgrading `ffmpeg` from `3.0.2_0` to `3.1.1_0` I am running into the
 following trouble:
 {{{
 ...
 :info:build /usr/bin/gcc-4.2 -I. -I./ -I/opt/local/include
 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC
 -DZLIB_CONST -DHAVE_AV_CONFIG_H -pipe -Os -DHAVE_LRINTF
 -I/opt/local/include -arch ppc   -std=c99 -fomit-frame-pointer -fPIC
 -maltivec -mabi=altivec -pthread -I/opt/local/include
 -I/opt/local/include/p11-kit-1 -I/opt/local/include -I/opt/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/libpng16 -I/opt/local/include
 -I/opt/local/include/fribidi -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include
 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/libpng16 -I/opt/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/libpng16 -I/opt/local/include/freetype2
 -I/opt/local/include -I/opt/local/include/libpng16
 -I/opt/local/include/fribidi -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include -I/opt/local/include/opus
 -I/opt/local/include/schroedinger-1.0 -I/opt/local/include/orc-0.4
 -I/opt/local/include -I/opt/local/include -I/opt/local/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include
 -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include/SDL
 -I/opt/local/include -I/opt/local/include -I/opt/local/include
 -I/opt/local/include -g -Wdeclaration-after-statement -Wall -Wdisabled-
 optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wundef
 -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-
 body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-
 sign -O3 -fno-math-errno -fno-tree-vectorize -Werror=format-security
 -Werror=implicit-function-declaration -Werror=return-type -Wformat  -pipe
 -Os -arch ppc     -c -o libavfilter/vf_coreimage.o
 libavfilter/vf_coreimage.m
 :info:build libavfilter/vf_coreimage.m: In function ‘config_output’:
 :info:build libavfilter/vf_coreimage.m:75: warning: ISO C90 forbids mixed
 declarations and code
 :info:build libavfilter/vf_coreimage.m: In function ‘list_filters’:
 :info:build libavfilter/vf_coreimage.m:103: warning: ISO C90 forbids mixed
 declarations and code
 :info:build libavfilter/vf_coreimage.m:109: warning: ISO C90 forbids mixed
 declarations and code
 :info:build libavfilter/vf_coreimage.m: In function ‘apply_filter’:
 :info:build libavfilter/vf_coreimage.m:195: error: ‘__bridge’ undeclared
 (first use in this function)
 :info:build libavfilter/vf_coreimage.m:195: error: (Each undeclared
 identifier is reported only once
 :info:build libavfilter/vf_coreimage.m:195: error: for each function it
 appears in.)
 :info:build libavfilter/vf_coreimage.m:195: error: expected ‘)’ before
 ‘CIImage’
 :info:build libavfilter/vf_coreimage.m:195: error: expected ‘]’ before
 ‘->’ token
 :info:build libavfilter/vf_coreimage.m:205: warning: ISO C90 forbids mixed
 declarations and code
 :info:build libavfilter/vf_coreimage.m:206: error: expected ‘)’ before
 ‘CIImage’
 :info:build libavfilter/vf_coreimage.m:206: error: expected ‘,’ or ‘;’
 before ‘ctx’
 :info:build libavfilter/vf_coreimage.m:213: error: expected ‘)’ before
 ‘CIImage’
 :info:build libavfilter/vf_coreimage.m:213: error: expected ‘]’ before
 ‘->’ token
 :info:build libavfilter/vf_coreimage.m:214: warning: ISO C90 forbids mixed
 declarations and code
 :info:build libavfilter/vf_coreimage.m:225: error: expected ‘)’ before
 ‘CIFilter’
 :info:build libavfilter/vf_coreimage.m:225: error: expected ‘;’ before
 ‘ctx’
 :info:build libavfilter/vf_coreimage.m:251: warning: ISO C90 forbids mixed
 declarations and code
 :info:build libavfilter/vf_coreimage.m:260: error: expected ‘)’ before
 ‘CIContext’
 :info:build libavfilter/vf_coreimage.m:260: error: expected ‘]’ before
 ‘->’ token
 :info:build libavfilter/vf_coreimage.m:260: warning: ISO C90 forbids mixed
 declarations and code
 :info:build libavfilter/vf_coreimage.m:272: warning: ISO C90 forbids mixed
 declarations and code
 :info:build libavfilter/vf_coreimage.m:292: warning: ISO C90 forbids mixed
 declarations and code
 :info:build libavfilter/vf_coreimage.m:191: warning: unused variable
 ‘data’
 :info:build libavfilter/vf_coreimage.m:186: warning: unused variable
 ‘frame_size’
 :info:build libavfilter/vf_coreimage.m: In function ‘init’:
 :info:build libavfilter/vf_coreimage.m:526: warning: implicit declaration
 of function ‘CFBridgingRetain’
 :info:build libavfilter/vf_coreimage.m:526: warning: assignment makes
 pointer from integer without a cast
 :info:build libavfilter/vf_coreimage.m:540: warning: ISO C90 forbids mixed
 declarations and code
 :info:build libavfilter/vf_coreimage.m:549: warning: implicit declaration
 of function ‘CGLGetCurrentContext’
 :info:build libavfilter/vf_coreimage.m:552: warning: ‘CIContext’ may not
 respond to ‘+contextWithCGLContext:pixelFormat:colorSpace:options:’
 :info:build libavfilter/vf_coreimage.m:552: warning: (Messages without a
 matching method signature
 :info:build libavfilter/vf_coreimage.m:552: warning: will be assumed to
 return ‘id’ and accept
 :info:build libavfilter/vf_coreimage.m:552: warning: ‘...’ as arguments.)
 :info:build libavfilter/vf_coreimage.m:552: warning: assignment makes
 pointer from integer without a cast
 :info:build libavfilter/vf_coreimage.m:560: warning: assignment makes
 pointer from integer without a cast
 :info:build common.mak:66: recipe for target 'libavfilter/vf_coreimage.o'
 failed
 ...
 }}}

 Some help would be appreciated.

-- 
Ticket URL: <https://trac.macports.org/ticket/51823>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list