The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build libde265, reference 1.0.15 (3410ee), with Swift 6.1 for Wasm on 29 May 2025 00:42:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/SDWebImage/libde265-Xcode.git
Reference: 1.0.15
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/SDWebImage/libde265-Xcode
 * tag               1.0.15     -> FETCH_HEAD
HEAD is now at 3410ee6 Bumped version to 1.0.15
Submodule path 'libde265': checked out '17bb8d9fcea62db8cdeb0fc7ef8d15dbd19a22e4'
Submodule 'libde265' (https://github.com/strukturag/libde265.git) registered for path 'libde265'
Cloning into '/host/spi-builder-workspace/libde265'...
Cloned https://github.com/SDWebImage/libde265-Xcode.git
Revision (git rev-parse @):
3410ee6f5f496681c545229e716f305862b4b5ac
SUCCESS checkout https://github.com/SDWebImage/libde265-Xcode.git at 1.0.15
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SDWebImage/libde265-Xcode.git
https://github.com/SDWebImage/libde265-Xcode.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "c_language_standard" : "gnu11",
  "cxx_language_standard" : "gnu++14",
  "dependencies" : [
  ],
  "manifest_display_name" : "libde265",
  "name" : "libde265",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "libde265",
      "targets" : [
        "libde265"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libde265",
      "module_type" : "ClangTarget",
      "name" : "libde265",
      "path" : ".",
      "product_memberships" : [
        "libde265"
      ],
      "sources" : [
        "libde265/libde265/alloc_pool.cc",
        "libde265/libde265/bitstream.cc",
        "libde265/libde265/cabac.cc",
        "libde265/libde265/configparam.cc",
        "libde265/libde265/contextmodel.cc",
        "libde265/libde265/de265.cc",
        "libde265/libde265/deblock.cc",
        "libde265/libde265/decctx.cc",
        "libde265/libde265/dpb.cc",
        "libde265/libde265/en265.cc",
        "libde265/libde265/encoder/algo/algo.cc",
        "libde265/libde265/encoder/algo/cb-interpartmode.cc",
        "libde265/libde265/encoder/algo/cb-intra-inter.cc",
        "libde265/libde265/encoder/algo/cb-intrapartmode.cc",
        "libde265/libde265/encoder/algo/cb-mergeindex.cc",
        "libde265/libde265/encoder/algo/cb-skip.cc",
        "libde265/libde265/encoder/algo/cb-split.cc",
        "libde265/libde265/encoder/algo/coding-options.cc",
        "libde265/libde265/encoder/algo/ctb-qscale.cc",
        "libde265/libde265/encoder/algo/pb-mv.cc",
        "libde265/libde265/encoder/algo/tb-intrapredmode.cc",
        "libde265/libde265/encoder/algo/tb-rateestim.cc",
        "libde265/libde265/encoder/algo/tb-split.cc",
        "libde265/libde265/encoder/algo/tb-transform.cc",
        "libde265/libde265/encoder/encoder-context.cc",
        "libde265/libde265/encoder/encoder-core.cc",
        "libde265/libde265/encoder/encoder-intrapred.cc",
        "libde265/libde265/encoder/encoder-motion.cc",
        "libde265/libde265/encoder/encoder-params.cc",
        "libde265/libde265/encoder/encoder-syntax.cc",
        "libde265/libde265/encoder/encoder-types.cc",
        "libde265/libde265/encoder/encpicbuf.cc",
        "libde265/libde265/encoder/sop.cc",
        "libde265/libde265/fallback-dct.cc",
        "libde265/libde265/fallback-motion.cc",
        "libde265/libde265/fallback.cc",
        "libde265/libde265/image-io.cc",
        "libde265/libde265/image.cc",
        "libde265/libde265/intrapred.cc",
        "libde265/libde265/md5.cc",
        "libde265/libde265/motion.cc",
        "libde265/libde265/nal-parser.cc",
        "libde265/libde265/nal.cc",
        "libde265/libde265/pps.cc",
        "libde265/libde265/quality.cc",
        "libde265/libde265/refpic.cc",
        "libde265/libde265/sao.cc",
        "libde265/libde265/scan.cc",
        "libde265/libde265/sei.cc",
        "libde265/libde265/slice.cc",
        "libde265/libde265/sps.cc",
        "libde265/libde265/threads.cc",
        "libde265/libde265/transform.cc",
        "libde265/libde265/util.cc",
        "libde265/libde265/visualize.cc",
        "libde265/libde265/vps.cc",
        "libde265/libde265/vui.cc"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/57] Compiling bitstream.cc
[1/57] Compiling util.cc
[2/57] Compiling cabac.cc
[3/57] Compiling alloc_pool.cc
In file included from /host/spi-builder-workspace/libde265/libde265/vui.cc:22:
In file included from /host/spi-builder-workspace/libde265/libde265/decctx.h:28:
In file included from /host/spi-builder-workspace/libde265/libde265/slice.h:31:
/host/spi-builder-workspace/libde265/libde265/threads.h:35:10: fatal error: 'pthread.h' file not found
   35 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[4/57] Compiling vui.cc
[4/57] Compiling threads.cc
[4/57] Compiling visualize.cc
In file included from /host/spi-builder-workspace/libde265/libde265/vps.cc:23:
In file included from /host/spi-builder-workspace/libde265/libde265/decctx.h:28:
In file included from /host/spi-builder-workspace/libde265/libde265/slice.h:31:
/host/spi-builder-workspace/libde265/libde265/threads.h:35:10: fatal error: 'pthread.h' file not found
   35 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[4/57] Compiling vps.cc
[4/57] Compiling transform.cc
[4/57] Compiling sps.cc
In file included from /host/spi-builder-workspace/libde265/libde265/contextmodel.cc:21:
In file included from /host/spi-builder-workspace/libde265/libde265/slice.h:31:
/host/spi-builder-workspace/libde265/libde265/threads.h:35:10: fatal error: 'pthread.h' file not found
   35 | #include <pthread.h>
      |          ^~~~~~~~~~~
[4/57] Compiling contextmodel.cc
In file included from /host/spi-builder-workspace/libde265/libde265/en265.cc:24:
In file included from /host/spi-builder-workspace/libde265/libde265/encoder/encoder-context.h:26:
In file included from /host/spi-builder-workspace/libde265/libde265/image.h:37:
In file included from /host/spi-builder-workspace/libde265/libde265/motion.h:25:
In file included from /host/spi-builder-workspace/libde265/libde265/slice.h:31:
/host/spi-builder-workspace/libde265/libde265/threads.h:35:10: fatal error: 'pthread.h' file not found
   35 | #include <pthread.h>
      |          ^~~~~~~~~~~
[4/57] Compiling en265.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/libde265/libde265/transform.cc:21:
In file included from /host/spi-builder-workspace/libde265/libde265/transform.h:25:
In file included from /host/spi-builder-workspace/libde265/libde265/decctx.h:28:
In file included from /host/spi-builder-workspace/libde265/libde265/slice.h:31:
/host/spi-builder-workspace/libde265/libde265/threads.h:35:10: fatal error: 'pthread.h' file not found
   35 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[0/53] Compiling transform.cc
In file included from /host/spi-builder-workspace/libde265/libde265/sps.cc:24:
In file included from /host/spi-builder-workspace/libde265/libde265/decctx.h:28:
In file included from /host/spi-builder-workspace/libde265/libde265/slice.h:31:
/host/spi-builder-workspace/libde265/libde265/threads.h:35:10: fatal error: 'pthread.h' file not found
   35 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[0/53] Compiling sps.cc
[0/53] Compiling threads.cc
[0/53] Compiling visualize.cc
[0/53] Compiling vui.cc
[0/53] Compiling sei.cc
[0/53] Compiling vps.cc
[0/53] Compiling slice.cc
BUILD FAILURE 6.1 wasm