Build Information
Failed to build FFmpegKit, reference main (c32be9), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 10:39:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kingslay/FFmpegKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kingslay/FFmpegKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c32be9b Merge pull request #45 from superuser404notfound/main
Updating files: 28% (1614/5625)
Updating files: 29% (1632/5625)
Updating files: 30% (1688/5625)
Updating files: 31% (1744/5625)
Updating files: 32% (1800/5625)
Updating files: 33% (1857/5625)
Updating files: 34% (1913/5625)
Updating files: 35% (1969/5625)
Updating files: 36% (2025/5625)
Updating files: 37% (2082/5625)
Updating files: 38% (2138/5625)
Updating files: 39% (2194/5625)
Updating files: 40% (2250/5625)
Updating files: 41% (2307/5625)
Updating files: 42% (2363/5625)
Updating files: 43% (2419/5625)
Updating files: 44% (2475/5625)
Updating files: 45% (2532/5625)
Updating files: 46% (2588/5625)
Updating files: 47% (2644/5625)
Updating files: 48% (2700/5625)
Updating files: 49% (2757/5625)
Updating files: 50% (2813/5625)
Updating files: 51% (2869/5625)
Updating files: 52% (2925/5625)
Updating files: 53% (2982/5625)
Updating files: 54% (3038/5625)
Updating files: 55% (3094/5625)
Updating files: 56% (3150/5625)
Updating files: 57% (3207/5625)
Updating files: 58% (3263/5625)
Updating files: 59% (3319/5625)
Updating files: 60% (3375/5625)
Updating files: 61% (3432/5625)
Updating files: 62% (3488/5625)
Updating files: 63% (3544/5625)
Updating files: 64% (3600/5625)
Updating files: 65% (3657/5625)
Updating files: 66% (3713/5625)
Updating files: 67% (3769/5625)
Updating files: 68% (3825/5625)
Updating files: 69% (3882/5625)
Updating files: 70% (3938/5625)
Updating files: 71% (3994/5625)
Updating files: 72% (4050/5625)
Updating files: 73% (4107/5625)
Updating files: 74% (4163/5625)
Updating files: 75% (4219/5625)
Updating files: 76% (4275/5625)
Updating files: 77% (4332/5625)
Updating files: 78% (4388/5625)
Updating files: 78% (4436/5625)
Updating files: 79% (4444/5625)
Updating files: 80% (4500/5625)
Updating files: 81% (4557/5625)
Updating files: 82% (4613/5625)
Updating files: 83% (4669/5625)
Updating files: 84% (4725/5625)
Updating files: 85% (4782/5625)
Updating files: 86% (4838/5625)
Updating files: 87% (4894/5625)
Updating files: 88% (4950/5625)
Updating files: 89% (5007/5625)
Updating files: 90% (5063/5625)
Updating files: 91% (5119/5625)
Updating files: 92% (5175/5625)
Updating files: 93% (5232/5625)
Updating files: 94% (5288/5625)
Updating files: 95% (5344/5625)
Updating files: 96% (5400/5625)
Updating files: 97% (5457/5625)
Updating files: 98% (5513/5625)
Updating files: 99% (5569/5625)
Updating files: 100% (5625/5625)
Updating files: 100% (5625/5625), done.
Cloned https://github.com/kingslay/FFmpegKit.git
Revision (git rev-parse @):
c32be9bfb628042737ad3ef622e930c5c7b15954
SUCCESS checkout https://github.com/kingslay/FFmpegKit.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "ffmpegkit",
"name": "FFmpegKit",
"url": "https://github.com/kingslay/FFmpegKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FFmpegKit",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/kingslay/FFmpegKit.git
[1/10438] Fetching ffmpegkit
Fetched https://github.com/kingslay/FFmpegKit.git from cache (108.51s)
Creating working copy for https://github.com/kingslay/FFmpegKit.git
Working copy of https://github.com/kingslay/FFmpegKit.git resolved at main (c32be9b)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/kingslay/FFmpegKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin BuildFFmpeg
Building for debugging...
[1/55] Copying libMoltenVK.a
[1/55] Write ffmpeg-entitlement.plist
[1/55] Write ffprobe-entitlement.plist
[1/55] Write ffplay-entitlement.plist
[5/55] Copying libzvbi.framework
[6/55] Copying gmp.framework
[7/55] Copying lcms2.framework
[8/55] Copying Libswresample.framework
[9/55] Copying Libswscale.framework
[10/55] Copying Libavformat.framework
[11/55] Copying libbluray.framework
[12/55] Copying gnutls.framework
[13/55] Copying libsrt.framework
[14/55] Copying libfontconfig.framework
[15/55] Copying libdav1d.framework
[16/55] Copying libfribidi.framework
[17/55] Copying libharfbuzz.framework
[18/55] Copying libass.framework
[19/55] Copying libplacebo.framework
[20/55] Copying Libavfilter.framework
[21/55] Copying Libavdevice.framework
[22/55] Copying nettle.framework
[23/55] Copying libfreetype.framework
[24/55] Copying Libavcodec.framework
[25/55] Copying libshaderc_combined.framework
[26/55] Copying libsmbclient.framework
[27/55] Copying Libavutil.framework
[28/55] Copying hogweed.framework
[29/55] Compiling fftools objpool.c
[30/55] Compiling fftools sync_queue.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:52:
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:28:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
28 | #if CONFIG_AVDEVICE
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
617 | #define CONFIG_AVDEVICE 0
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
617 | #define CONFIG_AVDEVICE 1
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:52:
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:42:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
42 | #if CONFIG_AVDEVICE
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
617 | #define CONFIG_AVDEVICE 0
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
617 | #define CONFIG_AVDEVICE 1
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:147:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
147 | while (child = av_opt_child_class_iterate(class, &iter))
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:147:18: note: place parentheses around the assignment to silence this warning
147 | while (child = av_opt_child_class_iterate(class, &iter))
| ^
| ( )
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:147:18: note: use '==' to turn this assignment into an equality comparison
147 | while (child = av_opt_child_class_iterate(class, &iter))
| ^
| ==
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:268:60: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
268 | ret = parse_number(opt, arg, OPT_INT64, INT64_MIN, INT64_MAX, &num);
| ~~~~~~~~~~~~ ^~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/stdint.h:94:26: note: expanded from macro 'INT64_MAX'
94 | #define INT64_MAX 9223372036854775807LL
| ^~~~~~~~~~~~~~~~~~~~~
/Users/admin/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]
445 | for (p = a; *p; p++)
| ^ ~
/Users/admin/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]
454 | for (p = a; *p; p++) {
| ^ ~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:858:29: warning: ambiguous expansion of macro 'FFMPEG_DATADIR' [-Wambiguous-macro]
858 | FFMPEG_DATADIR, };
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:7:9: note: expanding this definition of 'FFMPEG_DATADIR'
7 | #define FFMPEG_DATADIR "/Users/kintan/Documents/Github/TracyPlayer/KSPlayer/FFmpegKit/.Script/FFmpeg/macos/thin/x86_64/share/ffmpeg"
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:7:9: note: other definition of 'FFMPEG_DATADIR'
7 | #define FFMPEG_DATADIR "/Users/kintan/Documents/Github/TracyPlayer/Modules/KSPlayer/FFmpegKit/.Script/FFmpeg/macos/thin/x86_64/share/ffmpeg"
| ^
/Users/admin/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]
940 | switch (st->codecpar->codec_type) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:940:13: note: add missing switch cases
940 | switch (st->codecpar->codec_type) {
| ^
941 | case AVMEDIA_TYPE_VIDEO:
942 | prefix = 'v';
943 | flags |= AV_OPT_FLAG_VIDEO_PARAM;
944 | break;
945 | case AVMEDIA_TYPE_AUDIO:
946 | prefix = 'a';
947 | flags |= AV_OPT_FLAG_AUDIO_PARAM;
948 | break;
949 | case AVMEDIA_TYPE_SUBTITLE:
950 | prefix = 's';
951 | flags |= AV_OPT_FLAG_SUBTITLE_PARAM;
952 | break;
953 | }
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:955:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
955 | while (t = av_dict_iterate(opts, t)) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:955:14: note: place parentheses around the assignment to silence this warning
955 | while (t = av_dict_iterate(opts, t)) {
| ^
| ( )
/Users/admin/builder/spi-builder-workspace/Sources/fftools/cmdutils.c:955:14: note: use '==' to turn this assignment into an equality comparison
955 | while (t = av_dict_iterate(opts, t)) {
| ^
| ==
9 warnings generated.
[31/55] Compiling fftools cmdutils.c
[32/55] Compiling fftools thread_queue.c
[33/55] Compiling ffmpeg ffmpeg_hw.c
While building module 'fftools' imported from /Users/admin/builder/spi-builder-workspace/Sources/ffplay/ffplay.c:26:
In file included from <module-includes>:14:
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:28:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
28 | #if CONFIG_AVDEVICE
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
617 | #define CONFIG_AVDEVICE 0
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
617 | #define CONFIG_AVDEVICE 1
| ^
While building module 'fftools' imported from /Users/admin/builder/spi-builder-workspace/Sources/ffplay/ffplay.c:26:
In file included from <module-includes>:14:
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/opt_common.h:42:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
42 | #if CONFIG_AVDEVICE
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:617:9: note: expanding this definition of 'CONFIG_AVDEVICE'
617 | #define CONFIG_AVDEVICE 0
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:617:9: note: other definition of 'CONFIG_AVDEVICE'
617 | #define CONFIG_AVDEVICE 1
| ^
/Users/admin/builder/spi-builder-workspace/Sources/ffplay/ffplay.c:57:10: fatal error: 'SDL.h' file not found
57 | #include <SDL.h>
| ^~~~~~~
2 warnings and 1 error generated.
[34/55] Compiling ffplay ffplay.c
[34/55] Compiling ffmpeg ffmpeg_demux.c
[34/55] Compiling ffmpeg ffmpeg_opt.c
[34/55] Compiling ffmpeg ffmpeg_mux_init.c
[34/55] Compiling ffmpeg ffmpeg_dec.c
[34/55] Compiling fftools opt_common.c
[34/55] Compiling ffmpeg ffmpeg_enc.c
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:301:18: warning: assigning to 'int8_t *' (aka 'signed char *') from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
301 | dst = frame->data [0];
| ^ ~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:304:29: warning: passing 'int8_t *' (aka 'signed char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
304 | sub2video_copy_rect(dst, dst_linesize, frame->width, frame->height, sub->rects[i]);
| ^~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:225:42: note: passing argument to parameter 'dst' here
225 | static void sub2video_copy_rect(uint8_t *dst, int dst_linesize, int w, int h,
| ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:681:13: warning: 5 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_SUBTITLE'... [-Wswitch]
681 | switch (ost->enc_ctx->codec_type) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:681:13: note: add missing switch cases
681 | switch (ost->enc_ctx->codec_type) {
| ^
682 | case AVMEDIA_TYPE_VIDEO:
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:910:24: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
910 | ifp->linklabel = cur->name;
| ^ ~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:915:24: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
915 | ifilter->name = describe_filter_link(fg, cur, 1);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:928:28: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
928 | ofilter->linklabel = cur->name;
| ^ ~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:933:28: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
933 | ofilter->name = describe_filter_link(fg, cur, 0);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:1016:31: 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]
1016 | int file_idx = strtol(ifp->linklabel, &p, 0);
| ^~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/_stdlib.h:191:26: note: passing argument to parameter '__str' here
191 | long strtol(const char *__str, char *_LIBC_CSTR *__endptr, int __base);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:2365:13: warning: 5 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_SUBTITLE'... [-Wswitch]
2365 | switch (ifp->type) {
| ^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:2365:13: note: add missing switch cases
2365 | switch (ifp->type) {
| ^
2366 | case AVMEDIA_TYPE_AUDIO:
2367 | need_reinit |= ifp->sample_rate != frame->sample_rate ||
2368 | av_channel_layout_compare(&ifp->ch_layout, &frame->ch_layout);
2369 | break;
2370 | case AVMEDIA_TYPE_VIDEO:
2371 | need_reinit |= ifp->width != frame->width ||
2372 | ifp->height != frame->height;
2373 | break;
2374 | }
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:2383:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
2383 | if (sd = av_frame_get_side_data(frame, AV_FRAME_DATA_DISPLAYMATRIX)) {
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:2383:12: note: place parentheses around the assignment to silence this warning
2383 | if (sd = av_frame_get_side_data(frame, AV_FRAME_DATA_DISPLAYMATRIX)) {
| ^
| ( )
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_filter.c:2383:12: note: use '==' to turn this assignment into an equality comparison
2383 | if (sd = av_frame_get_side_data(frame, AV_FRAME_DATA_DISPLAYMATRIX)) {
| ^
| ==
/Users/admin/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]
597 | avio_write(wctx->avio, str, strlen(str));
| ^~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavformat.framework/Headers/avio.h:435:54: note: passing argument to parameter 'buf' here
435 | void avio_write(AVIOContext *s, const unsigned char *buf, int size);
| ^
/Users/admin/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]
682 | const uint8_t *p = (*wctx)->string_validation_replacement;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/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]
683 | const uint8_t *endp = p + strlen(p);
| ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here
96 | size_t strlen(const char *__s);
| ^
/Users/admin/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]
791 | endp = src + strlen(src);
| ^ ~~~~~~~~~~~~~~~~~
/Users/admin/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]
797 | if (av_utf8_decode(&code, &p, endp, wctx->string_validation_utf8_flags) < 0) {
| ^~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/avstring.h:408:29: note: passing argument to parameter 'codep' here
408 | int av_utf8_decode(int32_t *codep, const uint8_t **bufp, const uint8_t *buf_end,
| ^
/Users/admin/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]
824 | av_bprint_append_data(&dstbuf, p0, p-p0);
| ^~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/bprint.h:179:55: note: passing argument to parameter 'data' here
179 | void av_bprint_append_data(AVBPrint *buf, const char *data, unsigned size);
| ^
/Users/admin/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]
953 | av_hash_final_hex(hash, p, buf + sizeof(buf) - p);
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/hash.h:232:60: note: passing argument to parameter 'dst' here
232 | void av_hash_final_hex(struct AVHashContext *ctx, uint8_t *dst, int size);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:1504:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1504 | while (c = src[i++]) {
| ~~^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:1504:14: note: place parentheses around the assignment to silence this warning
1504 | while (c = src[i++]) {
| ^
| ( )
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:1504:14: note: use '==' to turn this assignment into an equality comparison
1504 | while (c = src[i++]) {
| ^
| ==
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2104:25: warning: enumeration value 'AV_DOVI_NLQ_NONE' not handled in switch [-Wswitch]
2104 | switch (mapping->nlq_method_idc) {
| ^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2104:25: note: add missing switch cases
2104 | switch (mapping->nlq_method_idc) {
| ^
2105 | case AV_DOVI_NLQ_LINEAR_DZ:
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2433:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
2433 | while (opt = av_opt_next(priv_data, opt)) {
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2433:16: note: place parentheses around the assignment to silence this warning
2433 | while (opt = av_opt_next(priv_data, opt)) {
| ^
| ( )
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2433:16: note: use '==' to turn this assignment into an equality comparison
2433 | while (opt = av_opt_next(priv_data, opt)) {
| ^
| ==
/Users/admin/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]
2437 | print_str(opt->name, str);
| ^~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:842:68: note: passing argument to parameter 'val' here
842 | const char *key, const char *val, int flags)
| ^
/Users/admin/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]
2742 | switch (stream->codecpar->codec_type) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2742:13: note: add missing switch cases
2742 | switch (stream->codecpar->codec_type) {
| ^
2743 | AVRational sar;
2744 |
2745 | case AVMEDIA_TYPE_VIDEO:
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:2860:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
2860 | else
| ^
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3056:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
3056 | if (cd = avcodec_descriptor_get(par->codec_id)) {
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3056:12: note: place parentheses around the assignment to silence this warning
3056 | if (cd = avcodec_descriptor_get(par->codec_id)) {
| ^
| ( )
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3056:12: note: use '==' to turn this assignment into an equality comparison
3056 | if (cd = avcodec_descriptor_get(par->codec_id)) {
| ^
| ==
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3088:13: warning: 4 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_ATTACHMENT'... [-Wswitch]
3088 | switch (par->codec_type) {
| ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ffprobe/ffprobe.c:3088:13: note: add missing switch cases
3088 | switch (par->codec_type) {
| ^
3089 | case AVMEDIA_TYPE_VIDEO:
[34/55] Compiling ffprobe ffprobe.c
[34/55] Compiling ffmpeg ffmpeg_filter.c
/Users/admin/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]
784 | snprintf(overhead, sizeof(overhead), "%f%%",
| ^~~~~~~~
[34/55] Compiling ffmpeg ffmpeg_mux.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
warning: you may be able to install sdl2 using your system-packager:
brew install sdl2
BUILD FAILURE 6.3 macosSpm