Build Information
Failed to build CGLFW3, reference 3.4.0 (c26501
), with Swift 6.1 for Wasm on 28 May 2025 15:44:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thepotatoking55/CGLFW3.git
Reference: 3.4.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/thepotatoking55/CGLFW3
* tag 3.4.0 -> FETCH_HEAD
HEAD is now at c26501e split targets and update to 3.4
Cloned https://github.com/thepotatoking55/CGLFW3.git
Revision (git rev-parse @):
c26501e572dd4130b491acb4a4a3a232db637a8c
SUCCESS checkout https://github.com/thepotatoking55/CGLFW3.git at 3.4.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/thepotatoking55/CGLFW3.git
https://github.com/thepotatoking55/CGLFW3.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "CGLFW3",
"name" : "CGLFW3",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CGLFW3",
"targets" : [
"CGLFW3"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "glfw3",
"module_type" : "ClangTarget",
"name" : "glfw3",
"path" : "Sources/glfw3",
"product_memberships" : [
"CGLFW3"
],
"sources" : [
"src/context.c",
"src/egl_context.c",
"src/glx_context.c",
"src/init.c",
"src/input.c",
"src/linux_joystick.c",
"src/monitor.c",
"src/null_init.c",
"src/null_joystick.c",
"src/null_monitor.c",
"src/null_window.c",
"src/osmesa_context.c",
"src/platform.c",
"src/posix_module.c",
"src/posix_poll.c",
"src/posix_thread.c",
"src/posix_time.c",
"src/vulkan.c",
"src/window.c",
"src/x11_init.c",
"src/x11_monitor.c",
"src/x11_window.c",
"src/xkb_unicode.c"
],
"type" : "library"
},
{
"c99name" : "CGLFW3Tests",
"module_type" : "SwiftTarget",
"name" : "CGLFW3Tests",
"path" : "Tests/CGLFW3Tests",
"sources" : [
"Tests.swift"
],
"target_dependencies" : [
"CGLFW3"
],
"type" : "test"
},
{
"c99name" : "CGLFW3",
"module_type" : "ClangTarget",
"name" : "CGLFW3",
"path" : "Sources/CGLFW3",
"product_memberships" : [
"CGLFW3"
],
"sources" : [
"dummy.c"
],
"target_dependencies" : [
"glfw3"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/24] Compiling CGLFW3 dummy.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/glx_context.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:100:
/host/spi-builder-workspace/Sources/glfw3/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/glfw3/src/null_init.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:100:
/host/spi-builder-workspace/Sources/glfw3/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[1/24] Compiling null_init.c
[1/24] Compiling glx_context.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/context.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:100:
/host/spi-builder-workspace/Sources/glfw3/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[1/24] Compiling context.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/init.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:100:
/host/spi-builder-workspace/Sources/glfw3/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[1/24] Compiling init.c
[1/24] Compiling xkb_unicode.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/input.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:100:
/host/spi-builder-workspace/Sources/glfw3/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[1/24] Compiling input.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/monitor.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:100:
/host/spi-builder-workspace/Sources/glfw3/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[1/24] Compiling monitor.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/linux_joystick.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:100:
/host/spi-builder-workspace/Sources/glfw3/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[1/24] Compiling linux_joystick.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/glfw3/src/xkb_unicode.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:100:
/host/spi-builder-workspace/Sources/glfw3/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/23] Compiling xkb_unicode.c
[0/23] Compiling posix_time.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/window.c:31:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:100:
/host/spi-builder-workspace/Sources/glfw3/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[0/23] Compiling window.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/x11_monitor.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:100:
/host/spi-builder-workspace/Sources/glfw3/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[0/23] Compiling x11_monitor.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/x11_init.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:100:
/host/spi-builder-workspace/Sources/glfw3/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[0/23] Compiling x11_init.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/x11_window.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:100:
/host/spi-builder-workspace/Sources/glfw3/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[0/23] Compiling x11_window.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/vulkan.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:100:
/host/spi-builder-workspace/Sources/glfw3/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[0/23] Compiling vulkan.c
[0/23] Compiling posix_thread.c
BUILD FAILURE 6.1 wasm