Build Information
Failed to build OpenGLFW, reference main (fa6ea9), with Swift 6.1 for Wasm on 11 Aug 2026 12:05:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi --target OpenGLFW 2>&1Build Log
========================================
RunAll
========================================
Builder version: 729ceb5fcd9493dc13ee340bc4f0908bd201f85d
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helbertgs/OpenGLFW.git
Reference: main
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/helbertgs/OpenGLFW
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fa6ea9f fix (windows): add missing win32_window.c to Package.swift
Cloned https://github.com/helbertgs/OpenGLFW.git
Revision (git rev-parse @):
fa6ea9f17f321ba759146b27687816ec7baf5b1a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/helbertgs/OpenGLFW.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/helbertgs/OpenGLFW.git
https://github.com/helbertgs/OpenGLFW.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi --target OpenGLFW -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 saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/glx_context.c:28:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/internal.h:325:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/platform.h:179:
/host/spi-builder-workspace/Sources/OpenGLFW/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/22] Compiling OpenGLFW glx_context.c
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/linux_joystick.c:28:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/internal.h:325:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/platform.h:179:
/host/spi-builder-workspace/Sources/OpenGLFW/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/22] Compiling OpenGLFW linux_joystick.c
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/xkb_unicode.c:28:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/internal.h:325:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/platform.h:179:
/host/spi-builder-workspace/Sources/OpenGLFW/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[0/22] Compiling OpenGLFW xkb_unicode.c
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/input.c:28:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/internal.h:325:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/platform.h:179:
/host/spi-builder-workspace/Sources/OpenGLFW/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[0/22] Compiling OpenGLFW input.c
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/null_init.c:28:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/internal.h:325:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/platform.h:179:
/host/spi-builder-workspace/Sources/OpenGLFW/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[0/22] Compiling OpenGLFW null_init.c
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/x11_window.c:28:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/internal.h:325:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/platform.h:179:
/host/spi-builder-workspace/Sources/OpenGLFW/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[0/22] Compiling OpenGLFW x11_window.c
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/monitor.c:28:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/internal.h:325:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/platform.h:179:
/host/spi-builder-workspace/Sources/OpenGLFW/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[0/22] Compiling OpenGLFW monitor.c
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/init.c:28:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/internal.h:325:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/platform.h:179:
/host/spi-builder-workspace/Sources/OpenGLFW/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[0/22] Compiling OpenGLFW init.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi --target OpenGLFW 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/x11_monitor.c:28:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/internal.h:325:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/platform.h:179:
/host/spi-builder-workspace/Sources/OpenGLFW/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/22] Compiling OpenGLFW x11_monitor.c
[0/22] Compiling OpenGLFW xkb_unicode.c
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/x11_window.c:28:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/internal.h:325:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/platform.h:179:
/host/spi-builder-workspace/Sources/OpenGLFW/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/22] Compiling OpenGLFW x11_window.c
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/vulkan.c:28:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/internal.h:325:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/platform.h:179:
/host/spi-builder-workspace/Sources/OpenGLFW/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[0/22] Compiling OpenGLFW vulkan.c
[0/22] Compiling OpenGLFW posix_time.c
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/x11_init.c:28:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/internal.h:325:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/platform.h:179:
/host/spi-builder-workspace/Sources/OpenGLFW/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[0/22] Compiling OpenGLFW x11_init.c
[0/22] Compiling OpenGLFW posix_poll.c
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/window.c:29:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/internal.h:325:
In file included from /host/spi-builder-workspace/Sources/OpenGLFW/platform.h:179:
/host/spi-builder-workspace/Sources/OpenGLFW/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[0/22] Compiling OpenGLFW window.c
BUILD FAILURE 6.1 wasm