The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BitcoinKit with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yenom/BitcoinKit.git
Reference: v1.1.0
Cloned https://github.com/yenom/BitcoinKit.git into spi-builder-workspace
SUCCESS checkout https://github.com/yenom/BitcoinKit.git at v1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/Boilertalk/secp256k1.swift
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor-community/random.git
[1/148] Fetching random
[149/408] Fetching random, debugging
[409/1165] Fetching random, debugging, secp256k1.swift
Fetched https://github.com/vapor-community/random.git (0.29s)
Fetched https://github.com/vapor/debugging.git (0.29s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/core.git
Fetched https://github.com/Boilertalk/secp256k1.swift (0.29s)
Fetching https://github.com/vapor-community/copenssl.git
[1/358] Fetching bits
Fetched https://github.com/vapor-community/copenssl.git (0.22s)
Computing version for https://github.com/vapor-community/random.git
[1/20143] Fetching core
Fetched https://github.com/vapor/bits.git (0.82s)
Fetched https://github.com/vapor/core.git (0.84s)
Computed https://github.com/vapor-community/random.git at 1.2.0 (1.04s)
Computing version for https://github.com/Boilertalk/secp256k1.swift
Computed https://github.com/Boilertalk/secp256k1.swift at 0.1.4 (0.29s)
Computing version for https://github.com/vapor-community/copenssl.git
Computed https://github.com/vapor-community/copenssl.git at 1.0.0-rc.1 (0.27s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.31s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.39s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.35s)
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor-community/random.git
Working copy of https://github.com/vapor-community/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor-community/copenssl.git
Working copy of https://github.com/vapor-community/copenssl.git resolved at 1.0.0-rc.1
Creating working copy for https://github.com/Boilertalk/secp256k1.swift
Working copy of https://github.com/Boilertalk/secp256k1.swift resolved at 0.1.4
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
warning: 'secp256k1.swift': Invalid Source '/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/secp256k1/Classes/secp256k1/modules/ecdh': File not found.
warning: 'secp256k1.swift': Invalid Source '/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/secp256k1/Classes/secp256k1/modules/recovery': File not found.
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/3] Compiling lax_der_parsing.c
[1/3] Compiling lax_der_privatekey_parsing.c
[2/25] Compiling secp256k1.c
[4/27] Emitting module libc
[5/27] Emitting module Bits
[6/29] Emitting module Debugging
[7/29] Compiling Debugging Debuggable.swift
[10/31] Compiling Bits UnsignedInteger+BytesConvertible.swift
[11/31] Compiling Bits UnsignedInteger+Shifting.swift
[12/31] Compiling Bits Operators.swift
[13/31] Compiling Bits String+BytesConvertible.swift
[14/31] Emitting module secp256k1
[15/31] Compiling secp256k1 Exporter.swift
[16/32] Compiling Bits Aliases.swift
[17/32] Compiling Bits Base64Encoder.swift
[18/32] Compiling Bits Byte+Alphabet.swift
[21/35] Compiling libc libc.swift
[22/36] Compiling Bits Byte+ControlCharacters.swift
[23/36] Compiling Bits Byte+Convenience.swift
[24/36] Compiling Bits Byte+PatternMatching.swift
[25/36] Compiling Bits Byte+Random.swift
[26/36] Compiling Bits Byte+UTF8Numbers.swift
[27/36] Compiling Bits ByteSequence+Conversions.swift
[28/36] Compiling Bits Bytes+Base64.swift
[29/36] Compiling Bits Bytes+Hex.swift
[32/37] Compiling Bits Data+BytesConvertible.swift
[33/37] Compiling Bits HexEncoder.swift
[34/37] Compiling Bits Bytes+Percent.swift
[35/37] Compiling Bits BytesConvertible.swift
[38/61] Emitting module Core
[39/63] Compiling Core String.swift
[40/63] Compiling Core WorkingDirectory.swift
[41/63] Compiling Core Lock.swift
[42/63] Compiling Core Portal.swift
[43/63] Compiling Core RFC1123.swift
[44/63] Compiling Core DispatchTime+Utilities.swift
[45/63] Compiling Core EmptyInitializable.swift
[46/63] Compiling Core Exports.swift
[47/63] Compiling Core Array.swift
[48/63] Compiling Core Bits.swift
[49/63] Compiling Core Cache.swift
[50/63] Compiling Core Collection+Safe.swift
[51/63] Compiling Core DataFile.swift
[52/63] Compiling Core Dispatch.swift
[53/63] Compiling Core Result.swift
[54/63] Compiling Core Semaphore.swift
[55/63] Compiling Core Sequence.swift
[56/63] Compiling Core Extendable.swift
[57/63] Compiling Core FileProtocol.swift
[58/63] Compiling Core Int+Hex.swift
[59/63] Compiling Core StaticDataBuffer.swift
[60/63] Compiling Core String+CaseInsensitiveCompare.swift
[61/63] Compiling Core String+Polymorphic.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[64/65] Emitting module BitcoinKitPrivate
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/copenssl/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build C module 'COpenSSL'
import COpenSSL
       ^
[65/65] Compiling BitcoinKitPrivate BitcoinKit.Private.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/copenssl/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build C module 'COpenSSL'
import COpenSSL
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1