Build Information
Failed to build LVGL 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.38.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/LVGLSwift.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CLVGL/lv_drivers'...
Cloning into '/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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: 5.9
Building package at path: $workDir
https://github.com/PADL/LVGLSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/479] Compiling unity_support.c
[1/496] Compiling libinput.c
[2/496] Compiling evdev.c
[3/496] Compiling unity.c
[4/496] Compiling font_3.c
[5/496] Compiling xkb.c
[6/496] Compiling sdl.c
[7/496] Compiling font_2.c
[8/496] Compiling font_1.c
[9/496] Compiling test_table.c
[9/496] Compiling test_txt.c
[11/496] Compiling test_textarea.c
[12/496] Compiling test_switch.c
[13/496] Compiling test_snapshot.c
[14/496] Compiling test_style.c
[14/496] Compiling test_slider.c
[16/496] Compiling test_obj_tree.c
[17/496] Compiling test_mem.c
[18/496] Compiling test_line.c
[19/496] Compiling test_font_loader.c
[20/496] Compiling test_fs.c
[21/496] Compiling test_dropdown.c
[22/496] Compiling test_demo_stress.c
[23/496] Compiling test_event.c
[24/496] Compiling test_demo_widgets.c
[25/496] Compiling test_config.c
[26/496] Compiling test_bar.c
[27/496] Compiling test_arc.c
[27/496] Compiling test_checkbox.c
[29/496] Compiling _test_template.c
[30/496] Compiling lv_test_init.c
[31/496] Compiling test.c
[31/496] Compiling lv_test_indev.c
[34/496] Compiling _CollectionsUtilities _SortedCollection.swift
[35/496] Compiling _CollectionsUtilities _UniqueCollection.swift
[35/498] Compiling lv_table.c
[35/498] Compiling lv_slider.c
[36/498] Compiling lv_switch.c
[38/498] Compiling lv_objx_templ.c
[39/498] Compiling lv_textarea.c
[40/498] Compiling lv_line.c
[41/498] Compiling lv_roller.c
[42/498] Compiling lv_img.c
[43/498] Compiling lv_dropdown.c
[44/498] Compiling lv_label.c
[45/498] Compiling lv_checkbox.c
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CLVGL/lv_drivers/sdl/sdl_common.c:8:
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CLVGL/lv_drivers/sdl/sdl_common_internal.h:21:10: fatal error: 'SDL2/SDL.h' file not found
#include SDL_INCLUDE_PATH
^~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CLVGL/lv_drivers/sdl/../../lv_drv_conf.h:109:31: note: expanded from macro 'SDL_INCLUDE_PATH'
# define SDL_INCLUDE_PATH <SDL2/SDL.h>
^~~~~~~~~~~~
<scratch space>:47:1: note: expanded from here
<SDL2/SDL.h>
^~~~~~~~~~~~
1 error generated.
[46/498] Compiling sdl_common.c
[46/498] Compiling lv_bar.c
[46/498] Compiling lv_btn.c
[46/498] Compiling lv_btnmatrix.c
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CLVGL/lv_drivers/sdl/sdl_gpu.c:32:
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CLVGL/lv_drivers/sdl/sdl_common_internal.h:21:10: fatal error: 'SDL2/SDL.h' file not found
#include SDL_INCLUDE_PATH
^~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CLVGL/lv_drivers/sdl/../../lv_drv_conf.h:109:31: note: expanded from macro 'SDL_INCLUDE_PATH'
# define SDL_INCLUDE_PATH <SDL2/SDL.h>
^~~~~~~~~~~~
<scratch space>:47:1: note: expanded from here
<SDL2/SDL.h>
^~~~~~~~~~~~
1 error generated.
[46/498] Compiling sdl_gpu.c
[46/498] Compiling img_lv_demo_music_list_border.c
[46/498] Compiling lv_canvas.c
warning: 'spi-builder-workspace': /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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')
.package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Package.swift:22:66: warning: 'branch' is deprecated
.package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
^
warning: 'spi-builder-workspace': /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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')
.package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Package.swift:22:66: warning: 'branch' is deprecated
.package(url: "https://github.com/lhoward/AsyncExtensions", .branch("linux")),
^
Fetching https://github.com/lhoward/AsyncExtensions from cache
Fetched https://github.com/lhoward/AsyncExtensions (0.16s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git (0.70s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.02s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.0
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at linux
BUILD FAILURE 5.9 macosSpm