Build Information
Failed to build FFmpegKit, reference 6.1.3 (85b77c
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 21:52:24 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
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: 27% (1549/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: 75% (4220/5626)
Updating files: 76% (4276/5626)
Updating files: 77% (4333/5626)
Updating files: 77% (4356/5626)
Updating files: 78% (4389/5626)
Updating files: 79% (4445/5626)
Updating files: 80% (4501/5626)
Updating files: 81% (4558/5626)
Updating files: 81% (4599/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: 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
========================================
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",
"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",
"dependencies": [
]
}
]
}
Fetching https://github.com/kingslay/FFmpegKit.git
[1/8609] Fetching ffmpegkit
Fetched https://github.com/kingslay/FFmpegKit.git from cache (35.78s)
Creating working copy for https://github.com/kingslay/FFmpegKit.git
Working copy of https://github.com/kingslay/FFmpegKit.git resolved at 6.1.3 (85b77c5)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/kingslay/FFmpegKit.git
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "FFmpegKit",
"name" : "FFmpegKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "maccatalyst",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "FFmpegKit",
"targets" : [
"FFmpegKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Libavcodec",
"targets" : [
"Libavcodec"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Libavfilter",
"targets" : [
"Libavfilter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Libavformat",
"targets" : [
"Libavformat"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Libavutil",
"targets" : [
"Libavutil"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Libswresample",
"targets" : [
"Libswresample"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Libswscale",
"targets" : [
"Libswscale"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "libass",
"targets" : [
"libfreetype",
"libfribidi",
"libharfbuzz",
"libass"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "libmpv",
"targets" : [
"FFmpegKit",
"libass",
"libmpv"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ffmpeg",
"targets" : [
"ffmpeg"
],
"type" : {
"executable" : null
}
},
{
"name" : "ffplay",
"targets" : [
"ffplay"
],
"type" : {
"executable" : null
}
},
{
"name" : "ffprobe",
"targets" : [
"ffprobe"
],
"type" : {
"executable" : null
}
},
{
"name" : "BuildFFmpeg",
"targets" : [
"BuildFFmpeg"
],
"type" : {
"plugin" : null
}
}
],
"targets" : [
{
"c99name" : "nettle",
"module_type" : "BinaryTarget",
"name" : "nettle",
"path" : "Sources/nettle.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libzvbi",
"module_type" : "BinaryTarget",
"name" : "libzvbi",
"path" : "Sources/libzvbi.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libsrt",
"module_type" : "BinaryTarget",
"name" : "libsrt",
"path" : "Sources/libsrt.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libsmbclient",
"module_type" : "BinaryTarget",
"name" : "libsmbclient",
"path" : "Sources/libsmbclient.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libshaderc_combined",
"module_type" : "BinaryTarget",
"name" : "libshaderc_combined",
"path" : "Sources/libshaderc_combined.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libplacebo",
"module_type" : "BinaryTarget",
"name" : "libplacebo",
"path" : "Sources/libplacebo.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libmpv",
"module_type" : "BinaryTarget",
"name" : "libmpv",
"path" : "Sources/libmpv.xcframework",
"product_memberships" : [
"libmpv"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libharfbuzz",
"module_type" : "BinaryTarget",
"name" : "libharfbuzz",
"path" : "Sources/libharfbuzz.xcframework",
"product_memberships" : [
"FFmpegKit",
"libass",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libfribidi",
"module_type" : "BinaryTarget",
"name" : "libfribidi",
"path" : "Sources/libfribidi.xcframework",
"product_memberships" : [
"FFmpegKit",
"libass",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libfreetype",
"module_type" : "BinaryTarget",
"name" : "libfreetype",
"path" : "Sources/libfreetype.xcframework",
"product_memberships" : [
"FFmpegKit",
"libass",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libfontconfig",
"module_type" : "BinaryTarget",
"name" : "libfontconfig",
"path" : "Sources/libfontconfig.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libdav1d",
"module_type" : "BinaryTarget",
"name" : "libdav1d",
"path" : "Sources/libdav1d.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libbluray",
"module_type" : "BinaryTarget",
"name" : "libbluray",
"path" : "Sources/libbluray.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libass",
"module_type" : "BinaryTarget",
"name" : "libass",
"path" : "Sources/libass.xcframework",
"product_memberships" : [
"FFmpegKit",
"libass",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "lcms2",
"module_type" : "BinaryTarget",
"name" : "lcms2",
"path" : "Sources/lcms2.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "hogweed",
"module_type" : "BinaryTarget",
"name" : "hogweed",
"path" : "Sources/hogweed.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "gnutls",
"module_type" : "BinaryTarget",
"name" : "gnutls",
"path" : "Sources/gnutls.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "gmp",
"module_type" : "BinaryTarget",
"name" : "gmp",
"path" : "Sources/gmp.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "fftools",
"module_type" : "ClangTarget",
"name" : "fftools",
"path" : "Sources/fftools",
"product_memberships" : [
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
"cmdutils.c",
"objpool.c",
"opt_common.c",
"sync_queue.c",
"thread_queue.c"
],
"target_dependencies" : [
"FFmpegKit"
],
"type" : "library"
},
{
"c99name" : "ffprobe",
"module_type" : "ClangTarget",
"name" : "ffprobe",
"path" : "Sources/ffprobe",
"product_memberships" : [
"ffprobe"
],
"sources" : [
"ffprobe.c"
],
"target_dependencies" : [
"fftools"
],
"type" : "executable"
},
{
"c99name" : "ffplay",
"module_type" : "ClangTarget",
"name" : "ffplay",
"path" : "Sources/ffplay",
"product_memberships" : [
"ffplay"
],
"sources" : [
"ffplay.c"
],
"target_dependencies" : [
"fftools",
"SDL2"
],
"type" : "executable"
},
{
"c99name" : "ffmpeg",
"module_type" : "ClangTarget",
"name" : "ffmpeg",
"path" : "Sources/ffmpeg",
"product_memberships" : [
"ffmpeg"
],
"sources" : [
"ffmpeg.c",
"ffmpeg_dec.c",
"ffmpeg_demux.c",
"ffmpeg_enc.c",
"ffmpeg_filter.c",
"ffmpeg_hw.c",
"ffmpeg_mux.c",
"ffmpeg_mux_init.c",
"ffmpeg_opt.c"
],
"target_dependencies" : [
"fftools"
],
"type" : "executable"
},
{
"c99name" : "SDL2",
"module_type" : "SystemLibraryTarget",
"name" : "SDL2",
"path" : "Sources/SDL2",
"product_memberships" : [
"ffplay"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "MoltenVK",
"module_type" : "BinaryTarget",
"name" : "MoltenVK",
"path" : "Sources/MoltenVK.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Libswscale",
"module_type" : "BinaryTarget",
"name" : "Libswscale",
"path" : "Sources/Libswscale.xcframework",
"product_memberships" : [
"FFmpegKit",
"Libswscale",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Libswresample",
"module_type" : "BinaryTarget",
"name" : "Libswresample",
"path" : "Sources/Libswresample.xcframework",
"product_memberships" : [
"FFmpegKit",
"Libswresample",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Libavutil",
"module_type" : "BinaryTarget",
"name" : "Libavutil",
"path" : "Sources/Libavutil.xcframework",
"product_memberships" : [
"FFmpegKit",
"Libavutil",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Libavformat",
"module_type" : "BinaryTarget",
"name" : "Libavformat",
"path" : "Sources/Libavformat.xcframework",
"product_memberships" : [
"FFmpegKit",
"Libavformat",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Libavfilter",
"module_type" : "BinaryTarget",
"name" : "Libavfilter",
"path" : "Sources/Libavfilter.xcframework",
"product_memberships" : [
"FFmpegKit",
"Libavfilter",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Libavdevice",
"module_type" : "BinaryTarget",
"name" : "Libavdevice",
"path" : "Sources/Libavdevice.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Libavcodec",
"module_type" : "BinaryTarget",
"name" : "Libavcodec",
"path" : "Sources/Libavcodec.xcframework",
"product_memberships" : [
"FFmpegKit",
"Libavcodec",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "FFmpegKit",
"module_type" : "ClangTarget",
"name" : "FFmpegKit",
"path" : "Sources/FFmpegKit",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
"FFmpegKit.c"
],
"target_dependencies" : [
"MoltenVK",
"libshaderc_combined",
"lcms2",
"libdav1d",
"libplacebo",
"libzvbi",
"libsrt",
"libfreetype",
"libfribidi",
"libharfbuzz",
"libass",
"libfontconfig",
"libbluray",
"gmp",
"nettle",
"hogweed",
"gnutls",
"libsmbclient",
"Libavcodec",
"Libavdevice",
"Libavfilter",
"Libavformat",
"Libavutil",
"Libswresample",
"Libswscale"
],
"type" : "library"
},
{
"c99name" : "BuildFFmpeg",
"module_type" : "PluginTarget",
"name" : "BuildFFmpeg",
"path" : "Plugins/BuildFFmpeg",
"plugin_capability" : {
"intent" : {
"description" : "You can customize FFmpeg and then compile FFmpeg",
"type" : "custom",
"verb" : "BuildFFmpeg"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"BuildFFmpeg"
],
"sources" : [
"BuildASS.swift",
"BuildFFMPEG.swift",
"BuildMPV.swift",
"BuildPlacebo.swift",
"BuildSmbclient.swift",
"SSL.swift",
"main.swift"
],
"type" : "plugin"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin BuildFFmpeg
Building for debugging...
[1/55] Write ffprobe-entitlement.plist
[1/55] Write ffmpeg-entitlement.plist
[1/55] Copying libMoltenVK.a
[1/55] Write ffplay-entitlement.plist
[5/55] Copying lcms2.framework
[6/55] Copying libzvbi.framework
[7/55] Copying Libswresample.framework
[7/55] Copying gmp.framework
[9/55] Copying Libswscale.framework
[10/55] Copying libsrt.framework
[11/55] Copying gnutls.framework
[12/55] Copying Libavformat.framework
[13/55] Copying libbluray.framework
[14/55] Copying libdav1d.framework
[15/55] Copying libass.framework
[16/55] Copying libfontconfig.framework
[17/55] Copying libfribidi.framework
[18/55] Copying Libavfilter.framework
[19/55] Copying libharfbuzz.framework
[20/55] Copying Libavdevice.framework
[21/55] Copying libplacebo.framework
[22/55] Copying libfreetype.framework
[23/55] Copying libshaderc_combined.framework
[24/55] Copying Libavcodec.framework
[25/55] Copying libsmbclient.framework
[26/55] Copying nettle.framework
[27/55] Copying Libavutil.framework
[28/55] Copying hogweed.framework
[29/55] Compiling fftools thread_queue.c
[30/55] Compiling fftools objpool.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.
[31/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.
[32/55] Compiling ffplay ffplay.c
[32/55] Compiling ffmpeg ffmpeg_filter.c
[32/55] Compiling ffmpeg ffmpeg_hw.c
[32/55] Compiling ffmpeg ffmpeg_mux_init.c
[32/55] Compiling ffmpeg ffmpeg_enc.c
[32/55] Compiling ffprobe ffprobe.c
[32/55] Compiling fftools sync_queue.c
[32/55] Compiling ffmpeg ffmpeg_opt.c
[32/55] Compiling ffmpeg ffmpeg_mux.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:26:
/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/opt_common.c:26:
/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/opt_common.c:82:7: warning: ambiguous expansion of macro 'CONFIG_GPLV3' [-Wambiguous-macro]
82 | #elif CONFIG_GPLV3
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:690:9: note: expanding this definition of 'CONFIG_GPLV3'
690 | #define CONFIG_GPLV3 1
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:690:9: note: other definition of 'CONFIG_GPLV3'
690 | #define CONFIG_GPLV3 0
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:187:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
187 | PRINT_LIB_INFO(avutil, AVUTIL, flags, level);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
172 | if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:188:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
188 | PRINT_LIB_INFO(avcodec, AVCODEC, flags, level);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
172 | if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:189:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
189 | PRINT_LIB_INFO(avformat, AVFORMAT, flags, level);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
172 | if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:190:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
190 | PRINT_LIB_INFO(avdevice, AVDEVICE, flags, level);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:157:9: note: expanded from macro 'PRINT_LIB_INFO'
157 | if (CONFIG_##LIBNAME) { \
| ^
<scratch space>:37:1: note: expanded from here
37 | 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/opt_common.c:190:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
190 | PRINT_LIB_INFO(avdevice, AVDEVICE, flags, level);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
172 | if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:191:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
191 | PRINT_LIB_INFO(avfilter, AVFILTER, flags, level);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
172 | if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:192:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
192 | PRINT_LIB_INFO(swscale, SWSCALE, flags, level);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
172 | if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:193:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
193 | PRINT_LIB_INFO(swresample, SWRESAMPLE, flags, level);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
172 | if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:194:5: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
194 | PRINT_LIB_INFO(postproc, POSTPROC, flags, level);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:172:24: note: expanded from macro 'PRINT_LIB_INFO'
172 | if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:208:45: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
208 | av_log(NULL, level, "%sconfiguration: " FFMPEG_CONFIGURATION "\n", indent);
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:214:20: warning: ambiguous expansion of macro 'FFMPEG_CONFIGURATION' [-Wambiguous-macro]
214 | char str[] = { FFMPEG_CONFIGURATION };
| ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Libavutil.framework/Headers/config.h:4:9: note: expanding this definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/include/config.h:4:9: note: other definition of 'FFMPEG_CONFIGURATION'
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:953:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
953 | for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:953:22: note: place parentheses around the assignment to silence this warning
953 | for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
| ^
| ( )
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:953:22: note: use '==' to turn this assignment into an equality comparison
953 | for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
| ^
| ==
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:1015:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1015 | while (ch_layout = av_channel_layout_standard(&iter)) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:1015:22: note: place parentheses around the assignment to silence this warning
1015 | while (ch_layout = av_channel_layout_standard(&iter)) {
| ^
| ( )
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:1015:22: note: use '==' to turn this assignment into an equality comparison
1015 | while (ch_layout = av_channel_layout_standard(&iter)) {
| ^
| ==
/Users/admin/builder/spi-builder-workspace/Sources/fftools/opt_common.c:1312:5: warning: ambiguous expansion of macro 'CONFIG_AVDEVICE' [-Wambiguous-macro]
1312 | #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
| ^
[32/55] Compiling fftools opt_common.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 6.0 macosSpm