[MacPorts] #72097: ffmpeg4 @4.4.5_2 Build failure Sequoya/ARM
MacPorts
noreply at macports.org
Mon Feb 24 03:45:24 UTC 2025
#72097: ffmpeg4 @4.4.5_2 Build failure Sequoya/ARM
---------------------------------+------------------------
Reporter: thomasrussellmurphy | Owner: mohd-akram
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: ffmpeg4
---------------------------------+------------------------
Build failure on ffmpeg4 @4.4.5_2 as a dependency of quassel @0.14.0.
Running on macOS 15.3.1 on an M4 with Xcode 16.2 (latest).
Not attaching the full 3+ MB log file. End of file with build failure is:
{{{
:info:build /usr/bin/clang -I. -I./ -I/opt/local/include
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.sdk
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I./compat/dispatch_semaphore -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H
-DBUILDING_avcodec -pipe -Os -DHAVE_LRINTF -Wno-deprecated-declarations
-I/opt/local/include
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.sdk
-arch arm64 -std=c11 -Werror=partial-availability -fomit-frame-pointer
-fPIC -pthread -I/opt/local/include/p11-kit-1
-I/opt/local/include/harfbuzz -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include/fribidi
-I/opt/local/include/freetype2 -I/opt/local/include/libpng16
-I/opt/local/include/libxml2 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include/fribidi
-I/opt/local/include/openjpeg-2.5 -I/opt/local/include/opus
-I/opt/local/include/opus -I/opt/local/include/librsvg-2.0
-I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/cairo
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -DEB_DLL -I/opt/local/include/svt-av1
-I/opt/local/include/webp -I/opt/local/include/webp -g -Wdeclaration-
after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-
decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-
pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses
-Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-
variable -Wno-bool-operation -Wno-char-subscripts -O3 -fno-math-errno
-fno-signed-zeros -mstack-alignment=16 -Qunused-arguments -Werror
=implicit-function-declaration -Werror=missing-prototypes -Werror=return-
type -D_THREAD_SAFE -I/opt/local/include/SDL2 -MMD -MF
libavcodec/libsvtav1.d -MT libavcodec/libsvtav1.o -c -o
libavcodec/libsvtav1.o libavcodec/libsvtav1.c
:info:build /usr/bin/clang -I. -I./ -I/opt/local/include
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.sdk
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I./compat/dispatch_semaphore -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H
-DBUILDING_avcodec -pipe -Os -DHAVE_LRINTF -Wno-deprecated-declarations
-I/opt/local/include
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.sdk
-arch arm64 -std=c11 -Werror=partial-availability -fomit-frame-pointer
-fPIC -pthread -I/opt/local/include/p11-kit-1
-I/opt/local/include/harfbuzz -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include/fribidi
-I/opt/local/include/freetype2 -I/opt/local/include/libpng16
-I/opt/local/include/libxml2 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include/fribidi
-I/opt/local/include/openjpeg-2.5 -I/opt/local/include/opus
-I/opt/local/include/opus -I/opt/local/include/librsvg-2.0
-I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/cairo
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -DEB_DLL -I/opt/local/include/svt-av1
-I/opt/local/include/webp -I/opt/local/include/webp -g -Wdeclaration-
after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-
decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-
pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses
-Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-
variable -Wno-bool-operation -Wno-char-subscripts -O3 -fno-math-errno
-fno-signed-zeros -mstack-alignment=16 -Qunused-arguments -Werror
=implicit-function-declaration -Werror=missing-prototypes -Werror=return-
type -D_THREAD_SAFE -I/opt/local/include/SDL2 -MMD -MF
libavcodec/libtheoraenc.d -MT libavcodec/libtheoraenc.o -c -o
libavcodec/libtheoraenc.o libavcodec/libtheoraenc.c
:info:build /usr/bin/clang -I. -I./ -I/opt/local/include
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.sdk
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I./compat/dispatch_semaphore -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H
-DBUILDING_avcodec -pipe -Os -DHAVE_LRINTF -Wno-deprecated-declarations
-I/opt/local/include
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.sdk
-arch arm64 -std=c11 -Werror=partial-availability -fomit-frame-pointer
-fPIC -pthread -I/opt/local/include/p11-kit-1
-I/opt/local/include/harfbuzz -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include/fribidi
-I/opt/local/include/freetype2 -I/opt/local/include/libpng16
-I/opt/local/include/libxml2 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include/fribidi
-I/opt/local/include/openjpeg-2.5 -I/opt/local/include/opus
-I/opt/local/include/opus -I/opt/local/include/librsvg-2.0
-I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/cairo
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -DEB_DLL -I/opt/local/include/svt-av1
-I/opt/local/include/webp -I/opt/local/include/webp -g -Wdeclaration-
after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-
decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-
pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses
-Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-
variable -Wno-bool-operation -Wno-char-subscripts -O3 -fno-math-errno
-fno-signed-zeros -mstack-alignment=16 -Qunused-arguments -Werror
=implicit-function-declaration -Werror=missing-prototypes -Werror=return-
type -D_THREAD_SAFE -I/opt/local/include/SDL2 -MMD -MF
libavcodec/libvorbisdec.d -MT libavcodec/libvorbisdec.o -c -o
libavcodec/libvorbisdec.o libavcodec/libvorbisdec.c
:info:build /usr/bin/clang -I. -I./ -I/opt/local/include
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.sdk
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I./compat/dispatch_semaphore -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H
-DBUILDING_avcodec -pipe -Os -DHAVE_LRINTF -Wno-deprecated-declarations
-I/opt/local/include
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.sdk
-arch arm64 -std=c11 -Werror=partial-availability -fomit-frame-pointer
-fPIC -pthread -I/opt/local/include/p11-kit-1
-I/opt/local/include/harfbuzz -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include/fribidi
-I/opt/local/include/freetype2 -I/opt/local/include/libpng16
-I/opt/local/include/libxml2 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include/fribidi
-I/opt/local/include/openjpeg-2.5 -I/opt/local/include/opus
-I/opt/local/include/opus -I/opt/local/include/librsvg-2.0
-I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/cairo
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -DEB_DLL -I/opt/local/include/svt-av1
-I/opt/local/include/webp -I/opt/local/include/webp -g -Wdeclaration-
after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-
decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-
pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses
-Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-
variable -Wno-bool-operation -Wno-char-subscripts -O3 -fno-math-errno
-fno-signed-zeros -mstack-alignment=16 -Qunused-arguments -Werror
=implicit-function-declaration -Werror=missing-prototypes -Werror=return-
type -D_THREAD_SAFE -I/opt/local/include/SDL2 -MMD -MF
libavcodec/libvorbisenc.d -MT libavcodec/libvorbisenc.o -c -o
libavcodec/libvorbisenc.o libavcodec/libvorbisenc.c
:info:build libavcodec/libsvtav1.c:265:81: error: too few arguments to
function call, expected 3, have 2
:info:build 265 | svt_ret =
svt_av1_enc_init_handle(&svt_enc->svt_handle, &svt_enc->enc_params);
:info:build | ~~~~~~~~~~~~~~~~~~~~~~~
^
:info:build /opt/local/include/svt-av1/EbSvtAv1Enc.h:1012:20: note:
'svt_av1_enc_init_handle' declared here
:info:build 1012 | EB_API EbErrorType svt_av1_enc_init_handle(
:info:build | ^
:info:build 1013 | EbComponentType **p_handle, void *p_app_data,
:info:build | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build 1014 | EbSvtAv1EncConfiguration *config_ptr); //
config_ptr will be loaded with default params from the library
:info:build | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build libavcodec/libsvtav1.c:566:23: warning: initializer overrides
prior initialization of this subobject [-Winitializer-overrides]
:info:build 566 | .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
:info:build | ^~~~~~~~~~~~~~~~~~~~~~~~~
:info:build libavcodec/internal.h:49:45: note: expanded from macro
'FF_CODEC_CAP_INIT_CLEANUP'
:info:build 49 | #define FF_CODEC_CAP_INIT_CLEANUP (1 << 1)
:info:build | ^~~~~~~~
:info:build libavcodec/libsvtav1.c:560:23: note: previous initialization
is here
:info:build 560 | .caps_internal = FF_CODEC_CAP_AUTO_THREADS,
:info:build | ^~~~~~~~~~~~~~~~~~~~~~~~~
:info:build libavcodec/internal.h:80:45: note: expanded from macro
'FF_CODEC_CAP_AUTO_THREADS'
:info:build 80 | #define FF_CODEC_CAP_AUTO_THREADS (1 << 7)
:info:build | ^~~~~~~~
:info:build 1 warning and 1 error generated.
:info:build gmake: *** [ffbuild/common.mak:67: libavcodec/libsvtav1.o]
Error 1
:info:build gmake: *** Waiting for unfinished jobs....
:info:build gmake: Leaving directory
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg4/ffmpeg4/work/ffmpeg-4.4.5'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg4/ffmpeg4/work/ffmpeg-4.4.5"
&& /opt/local/bin/gmake -j10 -w all
:info:build Exit code: 2
:error:build Failed to build ffmpeg4: command execution failed
:debug:build Error code: CHILDSTATUS 80557 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec -callback
portprogress::target_progress_callback build"
:debug:build (procedure "portbuild::build_main" line 10)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg4/ffmpeg4/main.log
for details.
}}}
For discussion: is it appropriate to file a ticket against quassel to
update the dependency? Based on my recently updated ports, ffmpeg and
ffmpeg7 work fine on my target machine.
--
Ticket URL: <https://trac.macports.org/ticket/72097>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list