The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PLzmaSDK, reference 1.6.2 (4dbac7), with Swift 6.4 for Linux on 28 Sep 2026 15:05:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OlehKulykov/PLzmaSDK.git
Reference: 1.6.2
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
 * tag               1.6.2      -> FETCH_HEAD
HEAD is now at 4dbac7a Release 1.6.2
Cloned https://github.com/OlehKulykov/PLzmaSDK.git
Revision (git rev-parse @):
4dbac7ac03ffd7f69ea5b03ec149683a351c37a9
SUCCESS checkout https://github.com/OlehKulykov/PLzmaSDK.git at 1.6.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/OlehKulykov/PLzmaSDK.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Pre-planning 1 / 213]
[Finalizing plan]
[38 / 220] plzma_test_files
[42 / 220] plzma_test_files
[45 / 220] plzma_test_files
[52 / 220] plzma_test_files
[54 / 220] plzma_test_files
[57 / 220] libplzma
[64 / 220] libplzma
/host/spi-builder-workspace/src/plzma_path_utils.cpp:86:35: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations]
   86 |                 if ( (readRes = ::readdir_r(dir.dir, &d, &dp)) == 0 && dp) {
      |                                   ^
In file included from /host/spi-builder-workspace/src/plzma_path_utils.cpp:30:
In file included from /host/spi-builder-workspace/src/plzma_path_utils.hpp:55:
/usr/include/dirent.h:186:28: note: 'readdir_r' has been explicitly marked deprecated here
  186 |      __nonnull ((1, 2, 3)) __attribute_deprecated__;
      |                            ^
In file included from /host/spi-builder-workspace/src/plzma_path_utils.cpp:28:
In file included from /lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/cstddef:49:
In file included from /lib/gcc/x86_64-linux-gnu/11/../../../../include/x86_64-linux-gnu/c++/11/bits/c++config.h:586:
In file included from /lib/gcc/x86_64-linux-gnu/11/../../../../include/x86_64-linux-gnu/c++/11/bits/os_defines.h:39:
In file included from /usr/include/features.h:486:
/usr/include/x86_64-linux-gnu/sys/cdefs.h:339:51: note: expanded from macro '__attribute_deprecated__'
  339 | # define __attribute_deprecated__ __attribute__ ((__deprecated__))
      |                                                   ^
1 warning generated.
[69 / 220] libplzma
/host/spi-builder-workspace/src/plzma_path.cpp:261:29: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations]
  261 |                 readRes = ::readdir_r(_dir, &d, &dp);
      |                             ^
In file included from /host/spi-builder-workspace/src/plzma_path.cpp:32:
In file included from /host/spi-builder-workspace/src/plzma_path_utils.hpp:55:
/usr/include/dirent.h:186:28: note: 'readdir_r' has been explicitly marked deprecated here
  186 |      __nonnull ((1, 2, 3)) __attribute_deprecated__;
      |                            ^
In file included from /host/spi-builder-workspace/src/plzma_path.cpp:28:
In file included from /lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/cstddef:49:
In file included from /lib/gcc/x86_64-linux-gnu/11/../../../../include/x86_64-linux-gnu/c++/11/bits/c++config.h:586:
In file included from /lib/gcc/x86_64-linux-gnu/11/../../../../include/x86_64-linux-gnu/c++/11/bits/os_defines.h:39:
In file included from /usr/include/features.h:486:
/usr/include/x86_64-linux-gnu/sys/cdefs.h:339:51: note: expanded from macro '__attribute_deprecated__'
  339 | # define __attribute_deprecated__ __attribute__ ((__deprecated__))
      |                                                   ^
1 warning generated.
[73 / 220] libplzma
[78 / 220] libplzma
[82 / 220] libplzma
[86 / 220] libplzma
[92 / 220] libplzma
[101 / 220] libplzma
[108 / 220] libplzma
[114 / 220] libplzma
[124 / 220] libplzma
[133 / 220] libplzma
[140 / 220] libplzma
[154 / 220] libplzma
[160 / 220] libplzma
[165 / 220] libplzma
[175 / 220] libplzma
[185 / 220] libplzma
/host/spi-builder-workspace/src/C/Alloc.c:444:7: error: call to undeclared function 'posix_memalign'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  444 |   if (posix_memalign(&p, ALLOC_ALIGN_SIZE, size))
      |       ^
/host/spi-builder-workspace/src/C/Alloc.c:552:13: error: call to undeclared function 'posix_memalign'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  552 |       res = posix_memalign(&buf, pageSize, size2);
      |             ^
2 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/PLzmaSDK.build/Debug-linux-x86_64/libplzma-t.build/Objects-normal/x86_64/Alloc.o /host/spi-builder-workspace/src/C/Alloc.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/PLzmaSDK.build/Debug-linux-x86_64/libplzma-t.build/Objects-normal/x86_64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp

    /usr/bin/clang -x c -target x86_64-unknown-linux-gnu -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot / @/host/spi-builder-workspace/.build/out/Intermediates.noindex/PLzmaSDK.build/Debug-linux-x86_64/libplzma-t.build/Objects-normal/x86_64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/PLzmaSDK.build/Debug-linux-x86_64/libplzma-t.build/Objects-normal/x86_64/Alloc.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/PLzmaSDK.build/Debug-linux-x86_64/libplzma-t.build/Objects-normal/x86_64/Alloc.dia -c /host/spi-builder-workspace/src/C/Alloc.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PLzmaSDK.build/Debug-linux-x86_64/libplzma-t.build/Objects-normal/x86_64/Alloc.o
error: Build failed
BUILD FAILURE 6.4 linux