Build Information
Failed to build libjpegturbo, reference v0.1.4 (cb9b2a), with Swift 6.2 for Wasm on 22 Nov 2026 20:34:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/libjpegturbo.git
Reference: v0.1.4
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/stackotter/libjpegturbo
* tag v0.1.4 -> FETCH_HEAD
HEAD is now at cb9b2a6 Support building dynamically (#6)
Submodule path 'libjpeg-turbo': checked out '29e4d9b0178f08158fc72c6068f086c5ba27b772'
Submodule 'libjpeg-turbo' (https://github.com/libjpeg-turbo/libjpeg-turbo) registered for path 'libjpeg-turbo'
Cloning into '/host/spi-builder-workspace/libjpeg-turbo'...
Cloned https://github.com/stackotter/libjpegturbo.git
Revision (git rev-parse @):
cb9b2a6a7758b6bcc228a71fdbad1c9c80beb09d
SUCCESS checkout https://github.com/stackotter/libjpegturbo.git at v0.1.4
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/stackotter/libjpegturbo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ca91be8d07e73eaf6c1c75f7ec193e42b7ed6f24d327455e9ae77f96fb6433b0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/148] Compiling jcicc.c
[1/148] Compiling jcarith.c
[2/148] Compiling wrppm-8.c
[3/148] Compiling jcparam.c
[4/148] Compiling wrbmp.c
[5/148] Compiling jdicc.c
[6/148] Compiling jcphuff.c
[7/148] Compiling wrppm-16.c
[8/148] Compiling wrppm-12.c
[9/148] Compiling wrpng-8.c
[9/148] Compiling wrpng-12.c
[9/148] Compiling wrpng-16.c
[12/148] Compiling rdppm-16.c
[12/148] Compiling rdppm-8.c
[14/148] Compiling rdpng-8.c
[15/148] Compiling rdppm-12.c
[16/148] Compiling rdpng-16.c
[17/148] Compiling rdpng-12.c
[18/148] Compiling zutil.c
In file included from /host/spi-builder-workspace/libjpeg-turbo/src/turbojpeg.c:42:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
| ^
1 error generated.
[19/148] Compiling turbojpeg.c
[19/148] Compiling inffast.c
[19/148] Compiling inflate.c
[19/148] Compiling trees.c
[19/148] Compiling transupp.c
[19/148] Compiling deflate.c
[19/148] Compiling inftrees.c
[19/148] Compiling jchuff.c
BUILD FAILURE 6.2 wasm