Build Information
Failed to build FFmpegKit with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kingslay/FFmpegKit.git
Reference: 6.1.3
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/kingslay/FFmpegKit
* tag 6.1.3 -> FETCH_HEAD
HEAD is now at 85b77c5 update
Updating files: 26% (1506/5626)
Updating files: 27% (1520/5626)
Updating files: 28% (1576/5626)
Updating files: 29% (1632/5626)
Updating files: 30% (1688/5626)
Updating files: 31% (1745/5626)
Updating files: 32% (1801/5626)
Updating files: 33% (1857/5626)
Updating files: 34% (1913/5626)
Updating files: 35% (1970/5626)
Updating files: 36% (2026/5626)
Updating files: 37% (2082/5626)
Updating files: 38% (2138/5626)
Updating files: 39% (2195/5626)
Updating files: 40% (2251/5626)
Updating files: 41% (2307/5626)
Updating files: 42% (2363/5626)
Updating files: 43% (2420/5626)
Updating files: 44% (2476/5626)
Updating files: 45% (2532/5626)
Updating files: 46% (2588/5626)
Updating files: 47% (2645/5626)
Updating files: 48% (2701/5626)
Updating files: 49% (2757/5626)
Updating files: 50% (2813/5626)
Updating files: 51% (2870/5626)
Updating files: 52% (2926/5626)
Updating files: 53% (2982/5626)
Updating files: 54% (3039/5626)
Updating files: 55% (3095/5626)
Updating files: 56% (3151/5626)
Updating files: 57% (3207/5626)
Updating files: 58% (3264/5626)
Updating files: 59% (3320/5626)
Updating files: 60% (3376/5626)
Updating files: 61% (3432/5626)
Updating files: 62% (3489/5626)
Updating files: 63% (3545/5626)
Updating files: 64% (3601/5626)
Updating files: 65% (3657/5626)
Updating files: 66% (3714/5626)
Updating files: 67% (3770/5626)
Updating files: 68% (3826/5626)
Updating files: 69% (3882/5626)
Updating files: 70% (3939/5626)
Updating files: 71% (3995/5626)
Updating files: 72% (4051/5626)
Updating files: 72% (4100/5626)
Updating files: 73% (4107/5626)
Updating files: 74% (4164/5626)
Updating files: 75% (4220/5626)
Updating files: 76% (4276/5626)
Updating files: 77% (4333/5626)
Updating files: 78% (4389/5626)
Updating files: 79% (4445/5626)
Updating files: 80% (4501/5626)
Updating files: 81% (4558/5626)
Updating files: 82% (4614/5626)
Updating files: 83% (4670/5626)
Updating files: 83% (4680/5626)
Updating files: 84% (4726/5626)
Updating files: 85% (4783/5626)
Updating files: 86% (4839/5626)
Updating files: 87% (4895/5626)
Updating files: 88% (4951/5626)
Updating files: 89% (5008/5626)
Updating files: 90% (5064/5626)
Updating files: 91% (5120/5626)
Updating files: 92% (5176/5626)
Updating files: 93% (5233/5626)
Updating files: 94% (5289/5626)
Updating files: 95% (5345/5626)
Updating files: 96% (5401/5626)
Updating files: 97% (5458/5626)
Updating files: 98% (5514/5626)
Updating files: 99% (5570/5626)
Updating files: 100% (5626/5626)
Updating files: 100% (5626/5626), done.
Cloned https://github.com/kingslay/FFmpegKit.git
Revision (git rev-parse @):
85b77c589de0360c111de16752db86b60496d70b
SUCCESS checkout https://github.com/kingslay/FFmpegKit.git at 6.1.3
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/kingslay/FFmpegKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin BuildFFmpeg
Building for debugging...
[1/46] Copying libMoltenVK.a
[2/46] Copying libzvbi.framework
[2/46] Copying gmp.framework
[2/46] Copying Libavfilter.framework
[2/46] Copying lcms2.framework
[6/46] Copying gnutls.framework
[6/46] Copying Libswscale.framework
[6/46] Copying Libavformat.framework
[6/46] Copying libbluray.framework
[6/46] Copying Libswresample.framework
[11/46] Copying libsrt.framework
[12/46] Copying Libavdevice.framework
[13/46] Copying libdav1d.framework
[14/46] Copying libfribidi.framework
[15/46] Copying libfontconfig.framework
[15/46] Copying libharfbuzz.framework
[17/46] Copying libass.framework
[18/46] Copying nettle.framework
[19/46] Copying libplacebo.framework
[20/46] Copying libfreetype.framework
[21/46] Copying libshaderc_combined.framework
[21/46] Copying libsmbclient.framework
[21/46] Copying hogweed.framework
[24/46] Copying Libavcodec.framework
[25/46] Copying Libavutil.framework
[26/46] Compiling fftools thread_queue.c
[27/46] Compiling fftools sync_queue.c
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:52:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:28:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:52:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:42:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:147:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (child = av_opt_child_class_iterate(class, &iter))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:147:18: note: place parentheses around the assignment to silence this warning
while (child = av_opt_child_class_iterate(class, &iter))
^
( )
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:147:18: note: use '==' to turn this assignment into an equality comparison
while (child = av_opt_child_class_iterate(class, &iter))
^
==
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:445:12: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
for (p = a; *p; p++)
^ ~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:454:12: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
for (p = a; *p; p++) {
^ ~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:858:29: warning: ambiguous expansion of macro 'FFMPEG_DATADIR' [-Wambiguous-macro]
FFMPEG_DATADIR, };
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:7:9: note: expanding this definition of 'FFMPEG_DATADIR'
#define FFMPEG_DATADIR "/Users/kintan/Documents/Github/TracyPlayer/KSPlayer/FFmpegKit/.Script/FFmpeg/macos/thin/x86_64/share/ffmpeg"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:7:9: note: other definition of 'FFMPEG_DATADIR'
#define FFMPEG_DATADIR "/Users/kintan/Documents/Github/TracyPlayer/Modules/KSPlayer/FFmpegKit/.Script/FFmpeg/macos/thin/x86_64/share/ffmpeg"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:940:13: warning: 4 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_ATTACHMENT'... [-Wswitch]
switch (st->codecpar->codec_type) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:940:13: note: add missing switch cases
switch (st->codecpar->codec_type) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:955:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (t = av_dict_iterate(opts, t)) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:955:14: note: place parentheses around the assignment to silence this warning
while (t = av_dict_iterate(opts, t)) {
^
( )
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:955:14: note: use '==' to turn this assignment into an equality comparison
while (t = av_dict_iterate(opts, t)) {
^
==
8 warnings generated.
[28/46] Compiling fftools cmdutils.c
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:26:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:28:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:26:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:42:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:82:7: warning: ambiguous expansion of macro 'CONFIG_GPLV3' [-Wambiguous-macro]
#elif CONFIG_GPLV3
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libavutil.framework/Headers/config.h:690:9: note: expanding this definition of 'CONFIG_GPLV3'
#define CONFIG_GPLV3 1
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:690:9: note: other definition of 'CONFIG_GPLV3'
#define CONFIG_GPLV3 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:187:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(avutil, AVUTIL, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:188:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(avcodec, AVCODEC, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:189:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(avformat, AVFORMAT, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:190:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
PRINT_LIB_INFO(avdevice, AVDEVICE, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:157:9: note: expanded from macro 'PRINT_LIB_INFO'
if (CONFIG_##LIBNAME) { \
^
<scratch space>:37:1: note: expanded from here
CONFIG_AVDEVICE
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:190:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(avdevice, AVDEVICE, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:191:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(avfilter, AVFILTER, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:192:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(swscale, SWSCALE, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:193:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(swresample, SWRESAMPLE, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:194:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(postproc, POSTPROC, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:208:45: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
av_log(NULL, level, "%sconfiguration: " FFMPEG_CONFIGURATION "\n", indent);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:214:20: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
char str[] = { FFMPEG_CONFIGURATION };
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:953:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:953:22: note: place parentheses around the assignment to silence this warning
for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
^
( )
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:953:22: note: use '==' to turn this assignment into an equality comparison
for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
^
==
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:1015:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (ch_layout = av_channel_layout_standard(&iter)) {
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:1015:22: note: place parentheses around the assignment to silence this warning
while (ch_layout = av_channel_layout_standard(&iter)) {
^
( )
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:1015:22: note: use '==' to turn this assignment into an equality comparison
while (ch_layout = av_channel_layout_standard(&iter)) {
^
==
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:1312:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
17 warnings generated.
[29/46] Compiling fftools opt_common.c
While building module 'fftools' imported from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffplay/ffplay.c:26:
In file included from <module-includes>:14:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:28:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
While building module 'fftools' imported from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffplay/ffplay.c:26:
In file included from <module-includes>:14:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:42:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffplay/ffplay.c:57:10: fatal error: 'SDL.h' file not found
#include <SDL.h>
^~~~~~~
2 warnings and 1 error generated.
[30/46] Compiling ffplay ffplay.c
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_mux.c:784:18: warning: passing 'uint8_t[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
snprintf(overhead, sizeof(overhead), "%f%%",
^~~~~~~~
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/secure/_stdio.h:57:29: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~
[30/46] Compiling ffmpeg ffmpeg_mux.c
[30/46] Compiling ffmpeg ffmpeg_filter.c
[30/46] Compiling ffmpeg ffmpeg_hw.c
[30/46] Compiling ffmpeg ffmpeg_opt.c
[30/46] Compiling ffmpeg ffmpeg_mux_init.c
[30/46] Compiling fftools objpool.c
[30/46] Compiling ffprobe ffprobe.c
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install sdl2 using your system-packager:
brew install sdl2
[0/1] Planning build
[1/1] Compiling plugin BuildFFmpeg
Building for debugging...
[1/21] Compiling fftools objpool.c
[2/21] Compiling fftools thread_queue.c
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:52:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:28:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:52:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:42:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:147:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (child = av_opt_child_class_iterate(class, &iter))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:147:18: note: place parentheses around the assignment to silence this warning
while (child = av_opt_child_class_iterate(class, &iter))
^
( )
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:147:18: note: use '==' to turn this assignment into an equality comparison
while (child = av_opt_child_class_iterate(class, &iter))
^
==
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:445:12: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
for (p = a; *p; p++)
^ ~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:454:12: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
for (p = a; *p; p++) {
^ ~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:858:29: warning: ambiguous expansion of macro 'FFMPEG_DATADIR' [-Wambiguous-macro]
FFMPEG_DATADIR, };
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:7:9: note: expanding this definition of 'FFMPEG_DATADIR'
#define FFMPEG_DATADIR "/Users/kintan/Documents/Github/TracyPlayer/KSPlayer/FFmpegKit/.Script/FFmpeg/macos/thin/x86_64/share/ffmpeg"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:7:9: note: other definition of 'FFMPEG_DATADIR'
#define FFMPEG_DATADIR "/Users/kintan/Documents/Github/TracyPlayer/Modules/KSPlayer/FFmpegKit/.Script/FFmpeg/macos/thin/x86_64/share/ffmpeg"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:940:13: warning: 4 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_ATTACHMENT'... [-Wswitch]
switch (st->codecpar->codec_type) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:940:13: note: add missing switch cases
switch (st->codecpar->codec_type) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:955:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (t = av_dict_iterate(opts, t)) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:955:14: note: place parentheses around the assignment to silence this warning
while (t = av_dict_iterate(opts, t)) {
^
( )
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/cmdutils.c:955:14: note: use '==' to turn this assignment into an equality comparison
while (t = av_dict_iterate(opts, t)) {
^
==
8 warnings generated.
[3/21] Compiling fftools sync_queue.c
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffplay/ffplay.c:57:10: fatal error: 'SDL.h' file not found
#include <SDL.h>
^~~~~~~
1 error generated.
[3/21] Compiling ffplay ffplay.c
[3/21] Compiling fftools cmdutils.c
[3/21] Compiling ffmpeg ffmpeg_hw.c
[3/21] Compiling ffmpeg ffmpeg_mux_init.c
[3/21] Compiling ffmpeg ffmpeg_mux.c
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:241:89: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses]
abs_start_seek = is->start_time + (ifile->start_time != AV_NOPTS_VALUE) ? ifile->start_time : 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:241:89: note: place parentheses around the '+' expression to silence this warning
abs_start_seek = is->start_time + (ifile->start_time != AV_NOPTS_VALUE) ? ifile->start_time : 0;
^
( )
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:241:89: note: place parentheses around the '?:' expression to evaluate it first
abs_start_seek = is->start_time + (ifile->start_time != AV_NOPTS_VALUE) ? ifile->start_time : 0;
^
( )
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:417:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (allow_unused = strchr(map, '?'))
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:417:26: note: place parentheses around the assignment to silence this warning
if (allow_unused = strchr(map, '?'))
^
( )
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:417:26: note: use '==' to turn this assignment into an equality comparison
if (allow_unused = strchr(map, '?'))
^
==
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:555:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (allow_unused = strchr(mapchan, '?'))
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:555:22: note: place parentheses around the assignment to silence this warning
if (allow_unused = strchr(mapchan, '?'))
^
( )
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:555:22: note: use '==' to turn this assignment into an equality comparison
if (allow_unused = strchr(mapchan, '?'))
^
==
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_opt.c:1021:5: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
MATCH_PER_TYPE_OPT(codec_names, str, codec_name, NULL, tmp_line);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffmpeg/include/ffmpeg.h:934:20: note: expanded from macro 'MATCH_PER_TYPE_OPT'
outvar = o->name[i].u.type;\
^ ~~~~~~~~~~~~~~~~~
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:26:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:28:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:26:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:42:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:82:7: warning: ambiguous expansion of macro 'CONFIG_GPLV3' [-Wambiguous-macro]
#elif CONFIG_GPLV3
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:690:9: note: expanding this definition of 'CONFIG_GPLV3'
#define CONFIG_GPLV3 1
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:690:9: note: other definition of 'CONFIG_GPLV3'
#define CONFIG_GPLV3 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:187:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(avutil, AVUTIL, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:188:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(avcodec, AVCODEC, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:189:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(avformat, AVFORMAT, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:190:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
PRINT_LIB_INFO(avdevice, AVDEVICE, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:157:9: note: expanded from macro 'PRINT_LIB_INFO'
if (CONFIG_##LIBNAME) { \
^
<scratch space>:37:1: note: expanded from here
CONFIG_AVDEVICE
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:190:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(avdevice, AVDEVICE, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:191:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(avfilter, AVFILTER, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:192:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(swscale, SWSCALE, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:193:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(swresample, SWRESAMPLE, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:194:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
PRINT_LIB_INFO(postproc, POSTPROC, flags, level);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:208:45: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
av_log(NULL, level, "%sconfiguration: " FFMPEG_CONFIGURATION "\n", indent);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:214:20: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
char str[] = { FFMPEG_CONFIGURATION };
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:953:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:953:22: note: place parentheses around the assignment to silence this warning
for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
^
( )
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:953:22: note: use '==' to turn this assignment into an equality comparison
for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
^
==
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:1015:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (ch_layout = av_channel_layout_standard(&iter)) {
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:1015:22: note: place parentheses around the assignment to silence this warning
while (ch_layout = av_channel_layout_standard(&iter)) {
^
( )
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:1015:22: note: use '==' to turn this assignment into an equality comparison
while (ch_layout = av_channel_layout_standard(&iter)) {
^
==
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/opt_common.c:1312:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
#if CONFIG_AVDEVICE
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 0
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
#define CONFIG_AVDEVICE 1
^
[3/21] Compiling ffmpeg ffmpeg_opt.c
[3/21] Compiling fftools opt_common.c
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:597:28: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
avio_write(wctx->avio, str, strlen(str));
^~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavformat.framework/Headers/avio.h:435:54: note: passing argument to parameter 'buf' here
void avio_write(AVIOContext *s, const unsigned char *buf, int size);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:682:24: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
const uint8_t *p = (*wctx)->string_validation_replacement;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:683:42: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
const uint8_t *endp = p + strlen(p);
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t strlen(const char *__s);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:791:10: warning: assigning to 'const uint8_t *' (aka 'const unsigned char *') from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
endp = src + strlen(src);
^ ~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:797:28: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (av_utf8_decode(&code, &p, endp, wctx->string_validation_utf8_flags) < 0) {
^~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/avstring.h:408:29: note: passing argument to parameter 'codep' here
int av_utf8_decode(int32_t *codep, const uint8_t **bufp, const uint8_t *buf_end,
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:824:44: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
av_bprint_append_data(&dstbuf, p0, p-p0);
^~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/bprint.h:179:55: note: passing argument to parameter 'data' here
void av_bprint_append_data(AVBPrint *buf, const char *data, unsigned size);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:953:29: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
av_hash_final_hex(hash, p, buf + sizeof(buf) - p);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/hash.h:232:60: note: passing argument to parameter 'dst' here
void av_hash_final_hex(struct AVHashContext *ctx, uint8_t *dst, int size);
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:1504:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = src[i++]) {
~~^~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:1504:14: note: place parentheses around the assignment to silence this warning
while (c = src[i++]) {
^
( )
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:1504:14: note: use '==' to turn this assignment into an equality comparison
while (c = src[i++]) {
^
==
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2104:25: warning: enumeration value 'AV_DOVI_NLQ_NONE' not handled in switch [-Wswitch]
switch (mapping->nlq_method_idc) {
^~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2104:25: note: add missing switch cases
switch (mapping->nlq_method_idc) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2433:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (opt = av_opt_next(priv_data, opt)) {
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2433:16: note: place parentheses around the assignment to silence this warning
while (opt = av_opt_next(priv_data, opt)) {
^
( )
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2433:16: note: use '==' to turn this assignment into an equality comparison
while (opt = av_opt_next(priv_data, opt)) {
^
==
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2437:34: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
print_str(opt->name, str);
^~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:1959:59: note: expanded from macro 'print_str'
#define print_str(k, v) writer_print_string(w, k, v, 0)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:842:68: note: passing argument to parameter 'val' here
const char *key, const char *val, int flags)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2742:13: warning: 5 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_SUBTITLE'... [-Wswitch]
switch (stream->codecpar->codec_type) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2742:13: note: add missing switch cases
switch (stream->codecpar->codec_type) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2860:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
[3/21] Compiling ffprobe ffprobe.c
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install sdl2 using your system-packager:
brew install sdl2
BUILD FAILURE 5.9 macosSpm