The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LVGL, reference main (b2e174), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 13:16:22 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/PADL/LVGLSwift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PADL/LVGLSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b2e174a update language version to 5.9, indent to 2 spaces
Submodule path 'Sources/CLVGL/lv_drivers': checked out '1413f5ebb6d21bc8ebb45448826dd7b4bbd3b7a3'
Submodule path 'Sources/CLVGL/lvgl': checked out '3de61c76af0aed1665e9d61e47b4dd50b9e8bdf1'
Submodule 'Sources/LVGLSwift/lv_drivers' (https://github.com/lvgl/lv_drivers.git) registered for path 'Sources/CLVGL/lv_drivers'
Submodule 'Sources/LVGLSwift/lvgl' (https://github.com/lvgl/lvgl.git) registered for path 'Sources/CLVGL/lvgl'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/CLVGL/lv_drivers'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/CLVGL/lvgl'...
Cloned https://github.com/PADL/LVGLSwift.git
Revision (git rev-parse @):
b2e174abb315a9da90a1cfadf6e4a3b0fc4863ac
SUCCESS checkout https://github.com/PADL/LVGLSwift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PADL/LVGLSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/496] Compiling sdl.c
[1/496] Compiling xkb.c
[2/496] Write sources
[3/496] Compiling SSD1963.c
[4/496] Write sources
[6/496] Write LVGLDemo-entitlement.plist
[7/496] Write sources
[8/496] Compiling R61581.c
[9/496] Write sources
[14/496] Compiling libinput.c
[15/496] Compiling unity_support.c
[16/496] Compiling unity.c
[17/496] Compiling font_3.c
[18/496] Compiling font_2.c
[19/496] Compiling font_1.c
[20/496] Compiling test_txt.c
[21/496] Compiling SHARP_MIP.c
[22/496] Compiling UC1610.c
[23/496] Compiling test_table.c
[24/496] Compiling test_textarea.c
[25/496] Compiling ST7565.c
[26/496] Compiling test_switch.c
[27/496] Write swift-version-1EA4D86E10B52AF.txt
[28/496] Compiling test_style.c
[29/496] Compiling ILI9341.c
[29/496] Compiling test_snapshot.c
[31/496] Compiling test_obj_tree.c
[32/496] Compiling test_slider.c
[33/496] Compiling test_mem.c
[34/496] Compiling test_line.c
[35/496] Compiling test_fs.c
[36/496] Compiling test_event.c
[36/496] Compiling test_font_loader.c
[38/496] Compiling test_demo_widgets.c
[39/496] Compiling test_dropdown.c
[39/496] Compiling test_demo_stress.c
[41/496] Compiling test_checkbox.c
[42/496] Compiling test_config.c
[43/496] Compiling _AtomicsShims.c
[44/496] Compiling lv_test_init.c
[44/496] Compiling test_arc.c
[46/496] Compiling _test_template.c
[47/496] Compiling test_bar.c
[48/496] Compiling lv_test_indev.c
[49/496] Compiling test.c
[50/509] Compiling lv_objx_templ.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CLVGL/lv_drivers/sdl/sdl_common.c:8:
/Users/admin/builder/spi-builder-workspace/Sources/CLVGL/lv_drivers/sdl/sdl_common_internal.h:21:10: fatal error: 'SDL2/SDL.h' file not found
   21 | #include SDL_INCLUDE_PATH
      |          ^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CLVGL/lv_drivers/sdl/../../lv_drv_conf.h:109:31: note: expanded from macro 'SDL_INCLUDE_PATH'
  109 | #  define SDL_INCLUDE_PATH    <SDL2/SDL.h>
      |                               ^~~~~~~~~~~~
<scratch space>:70:1: note: expanded from here
   70 | <SDL2/SDL.h>
      | ^~~~~~~~~~~~
1 error generated.
[51/510] Compiling sdl_common.c
[51/510] Compiling lv_img.c
[51/510] Compiling lv_label.c
[51/510] Compiling lv_roller.c
[51/510] Compiling lv_line.c
[51/510] Compiling lv_switch.c
[51/510] Compiling lv_slider.c
[51/510] Compiling lv_table.c
[51/510] Compiling lv_textarea.c
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:22:6: warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch') [#DeprecatedDeclaration]
20 |   ],
21 |   dependencies: [
22 |     .package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
   |      `- warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch') [#DeprecatedDeclaration]
23 |   ],
24 |   targets: [
/Users/admin/builder/spi-builder-workspace/Package.swift:22:66: warning: 'branch' is deprecated [#DeprecatedDeclaration]
20 |   ],
21 |   dependencies: [
22 |     .package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
   |                                                                  `- warning: 'branch' is deprecated [#DeprecatedDeclaration]
23 |   ],
24 |   targets: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/lhoward/AsyncExtensions
[1/682] Fetching asyncextensions
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.81s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[433/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.72s)
Fetched https://github.com/apple/swift-collections.git from cache (1.72s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.50s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at linux (c1a1af1)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
BUILD FAILURE 6.2 macosSpm