[MacPorts] #58576: mythtv-core.27 building internal ffmpeg

MacPorts noreply at macports.org
Sun Jun 9 04:06:49 UTC 2019


#58576: mythtv-core.27 building internal ffmpeg
-----------------------+----------------------------
 Reporter:  jmcintyre  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.5.4
 Keywords:             |       Port:  mythtv-core.27
-----------------------+----------------------------
 The internal build of ffmpeg if not compatible with the version fo x264 in
 ports and produces the following build error:

 {{{
 :info:build /usr/bin/clang -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mythtv.27
 /mythtv-core.27/work/mythtv-3c7582e9/mythtv/external/FFmpeg/
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -D_ISOC99_SOURCE  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
 -D_DARWIN_C_SOURCE -DPIC -DHAVE_AV_CONFIG_H -pipe
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -std=c99 -fomit-frame-pointer -fPIC -g -Wall -Wno-parentheses -Wno-format-
 zero-length -Wdisabled-optimization -Wpointer-arith -Wno-pointer-sign
 -Wwrite-strings -Wtype-limits -Wundef -Wno-pointer-to-int-cast -Wstrict-
 prototypes -O3 -fno-math-errno -fno-signed-zeros -O3 -fno-math-errno -fno-
 signed-zeros -Qunused-arguments -Werror=implicit-function-declaration
 -Werror=return-type -w  -MMD -c -o libavcodec/loco.o libavcodec/loco.c
 :info:build libavcodec/libx264.c:162:9: error: use of undeclared
 identifier 'x264_bit_depth'
 :info:build     if (x264_bit_depth > 8)
 :info:build         ^
 :info:build libavcodec/libx264.c:612:9: error: use of undeclared
 identifier 'x264_bit_depth'
 :info:build     if (x264_bit_depth == 8)
 :info:build         ^
 :info:build libavcodec/libx264.c:614:14: error: use of undeclared
 identifier 'x264_bit_depth'
 :info:build     else if (x264_bit_depth == 9)
 :info:build              ^
 :info:build libavcodec/libx264.c:616:14: error: use of undeclared
 identifier 'x264_bit_depth'
 :info:build     else if (x264_bit_depth == 10)
 :info:build              ^
 :info:build 4 errors generated.
 }}}

 Newer versions of ffmpeg have been updated to handle this the change in
 x264: https://trac.ffmpeg.org/ticket/6932

-- 
Ticket URL: <https://trac.macports.org/ticket/58576>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list