Build Information
Failed to build PLzmaSDK, reference master (7e4cfc
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 17:04:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OlehKulykov/PLzmaSDK.git
Reference: master
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/OlehKulykov/PLzmaSDK
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7e4cfc9 1736554034
Cloned https://github.com/OlehKulykov/PLzmaSDK.git
Revision (git rev-parse @):
7e4cfc97800065e0bf30737ff6bd5efea1e333ef
SUCCESS checkout https://github.com/OlehKulykov/PLzmaSDK.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/OlehKulykov/PLzmaSDK.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/183] Compiling AesOpt.c
[1/183] Compiling CpuArch.c
[2/183] Compiling 7zCrc.c
[3/183] Compiling 7zStream.c
[4/183] Compiling 7zCrcOpt.c
[5/183] Compiling LzmaDecOpt.S
[6/183] Compiling Lzma2Dec.c
[7/183] Compiling Aes.c
[8/183] Compiling plzma_test_files file__munchen_jpg.c
[9/183] Compiling plzma_test_files file__zombies_jpg.c
[10/183] Compiling plzma_test_files file__names_txt.c
[11/183] Compiling plzma_test_files file__southpark_jpg.c
[11/183] Write swift-version-24593BA9C3E375BF.txt
[13/183] Compiling plzma_test_files file__shutuptakemoney_jpg.c
[14/183] Compiling plzma_test_files file__8_7z.c
[15/183] Compiling plzma_test_files file__7_7z.c
[16/183] Compiling plzma_test_files file__9_7z.c
[17/183] Compiling plzma_test_files file__6_7z.c
[18/183] Compiling plzma_test_files file__5_7z.c
[19/183] Compiling plzma_test_files file__1_7z.c
[20/183] Compiling plzma_test_files file__4_7z.c
[21/183] Compiling plzma_test_files file__18_7z_001.c
[22/183] Compiling plzma_test_files file__18_7z_002.c
[23/183] Compiling plzma_test_files file__18_7z_003.c
[23/183] Compiling plzma_test_files file__17_jpg_xz.c
[25/183] Compiling plzma_test_files file__2_7z.c
[26/183] Compiling plzma_test_files file__3_7z.c
[27/183] Compiling libplzma plzma_update_callback.cpp
[28/183] Compiling plzma_test_files file__14_7z.c
[29/183] Compiling plzma_test_files file__13_7z.c
[30/183] Compiling libplzma plzma_string.cpp
[31/183] Compiling libplzma plzma_raw_heap_memory.cpp
[32/183] Compiling plzma_test_files file__16_tar_xz.c
/host/spi-builder-workspace/src/plzma_path_utils.cpp:86:35: error: no member named 'readdir_r' in the global namespace
86 | if ( (readRes = ::readdir_r(dir.dir, &d, &dp)) == 0 && dp) {
| ~~^
1 error generated.
[33/183] Compiling libplzma plzma_path_utils.cpp
[33/183] Compiling libplzma plzma_out_streams.cpp
[33/183] Compiling plzma_test_files file__12_7z.c
[33/183] Compiling libplzma plzma_path.cpp
[33/183] Compiling plzma_test_files file__11_7z.c
[33/183] Compiling libplzma plzma_progress.cpp
[33/183] Compiling plzma_test_files file__10_7z.c
[33/183] Compiling plzma_test_files file__15_tar.c
BUILD FAILURE 6.2 wasm