Build Information
Failed to build FFmpegKit, reference 6.1.3 (85b77c
), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 09:36:46 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kingslay/FFmpegKit.git
Reference: 6.1.3
Initialized empty Git repository in /Users/admin/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% (1502/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: 73% (4107/5626)
Updating files: 74% (4164/5626)
Updating files: 74% (4216/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: 84% (4726/5626)
Updating files: 85% (4783/5626)
Updating files: 86% (4839/5626)
Updating files: 86% (4842/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: 6.2
Building package at path: $PWD
https://github.com/kingslay/FFmpegKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin BuildFFmpeg
Building for debugging...
[1/55] Copying libMoltenVK.a
[1/55] Write ffprobe-entitlement.plist
[1/55] Write ffmpeg-entitlement.plist
[1/55] Write ffplay-entitlement.plist
[5/55] Copying lcms2.framework
[6/55] Copying gmp.framework
[7/55] Copying Libavfilter.framework
[7/55] Copying Libavdevice.framework
[7/55] Copying Libswresample.framework
[10/55] Copying Libavformat.framework
[10/55] Copying Libswscale.framework
[12/55] Copying libbluray.framework
[13/55] Copying libzvbi.framework
[14/55] Copying libsrt.framework
[15/55] Copying libfontconfig.framework
[16/55] Copying Libavcodec.framework
[17/55] Copying gnutls.framework
[18/55] Copying libass.framework
[19/55] Copying libfribidi.framework
[20/55] Copying libdav1d.framework
[21/55] Copying libplacebo.framework
[22/55] Copying libharfbuzz.framework
[23/55] Copying nettle.framework
[24/55] Copying libfreetype.framework
[25/55] Copying libsmbclient.framework
[26/55] Copying libshaderc_combined.framework
[26/55] Copying Libavutil.framework
[28/55] Copying hogweed.framework
[29/55] Compiling fftools objpool.c
[30/55] Compiling fftools sync_queue.c
[31/55] Compiling fftools thread_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: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)) {
| ^
| ==
8 warnings generated.
[32/55] Compiling fftools cmdutils.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.
[33/55] Compiling ffmpeg ffmpeg_hw.c
[33/55] Compiling ffplay ffplay.c
[33/55] Compiling ffmpeg ffmpeg_demux.c
[33/55] Compiling ffmpeg ffmpeg_opt.c
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:158:20: warning: passing 'uint8_t *' (aka 'unsigned char *') 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]
158 | av_strlcpy(encoder_string, LIBAVCODEC_IDENT " ", encoder_string_len);
| ^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/avstring.h:100:25: note: passing argument to parameter 'dst' here
100 | size_t av_strlcpy(char *dst, const char *src, size_t size);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:160:20: warning: passing 'uint8_t *' (aka 'unsigned char *') 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]
160 | av_strlcpy(encoder_string, "Lavc ", encoder_string_len);
| ^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/avstring.h:100:25: note: passing argument to parameter 'dst' here
100 | size_t av_strlcpy(char *dst, const char *src, size_t size);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:161:16: warning: passing 'uint8_t *' (aka 'unsigned char *') 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]
161 | av_strlcat(encoder_string, cname, encoder_string_len);
| ^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/avstring.h:118:25: note: passing argument to parameter 'dst' here
118 | size_t av_strlcat(char *dst, const char *src, size_t size);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/ffmpeg/ffmpeg_enc.c:162:49: 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]
162 | av_dict_set(&ost->st->metadata, "encoder", encoder_string,
| ^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/dict.h:165:65: note: passing argument to parameter 'value' here
165 | int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags);
| ^
[33/55] Compiling ffmpeg ffmpeg_enc.c
[33/55] Compiling fftools opt_common.c
[33/55] Compiling ffprobe ffprobe.c
[33/55] Compiling ffmpeg ffmpeg_mux_init.c
[33/55] Compiling ffmpeg ffmpeg_filter.c
[33/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.2 macosSpm