The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BitcoinKit with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/vapor-community/copenssl.git
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/Boilertalk/secp256k1.swift
[1/757] Fetching secp256k1.swift
[751/1017] Fetching secp256k1.swift, debugging
Fetched https://github.com/Boilertalk/secp256k1.swift (0.26s)
Fetching https://github.com/vapor/bits.git
Fetched https://github.com/vapor/debugging.git (0.27s)
Fetching https://github.com/vapor/core.git
Fetched https://github.com/vapor-community/copenssl.git (0.27s)
Fetching https://github.com/vapor-community/random.git
[1/148] Fetching random
[149/20291] Fetching random, core
[150/20649] Fetching random, core, bits
Fetched https://github.com/vapor-community/random.git (0.26s)
Computing version for https://github.com/vapor-community/random.git
[6200/20501] Fetching core, bits
Fetched https://github.com/vapor/bits.git (0.28s)
[6043/20143] Fetching core
Fetched https://github.com/vapor/core.git (0.82s)
Computed https://github.com/vapor-community/random.git at 1.2.0 (1.00s)
Computing version for https://github.com/Boilertalk/secp256k1.swift
Computed https://github.com/Boilertalk/secp256k1.swift at 0.1.4 (0.31s)
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.24s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.28s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.27s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.26s)
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/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/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/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.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
[3/25] Emitting module Debugging
[3/25] Compiling secp256k1.c
[5/27] Compiling Debugging Debuggable.swift
[8/29] Emitting module secp256k1
[9/29] Compiling secp256k1 Exporter.swift
[10/30] Compiling libc libc.swift
[11/30] Emitting module libc
[16/35] Compiling Bits Operators.swift
[17/35] Compiling Bits String+BytesConvertible.swift
[18/37] Compiling Bits UnsignedInteger+BytesConvertible.swift
[19/37] Compiling Bits UnsignedInteger+Shifting.swift
[20/37] Emitting module Bits
[21/37] Compiling Bits Byte+ControlCharacters.swift
[22/37] Compiling Bits Byte+Convenience.swift
[23/37] Compiling Bits Byte+PatternMatching.swift
[24/37] Compiling Bits Aliases.swift
[25/37] Compiling Bits Base64Encoder.swift
[26/37] Compiling Bits Byte+Alphabet.swift
[27/37] Compiling Bits Bytes+Percent.swift
[28/37] Compiling Bits BytesConvertible.swift
[29/37] Compiling Bits Data+BytesConvertible.swift
[30/37] Compiling Bits HexEncoder.swift
[31/37] Compiling Bits Bytes+Base64.swift
[32/37] Compiling Bits Bytes+Hex.swift
[33/37] Compiling Bits Byte+Random.swift
[34/37] Compiling Bits Byte+UTF8Numbers.swift
[35/37] Compiling Bits ByteSequence+Conversions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)[38/61] 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
       ^
[39/61] Compiling Core DispatchTime+Utilities.swift
[40/61] Compiling Core EmptyInitializable.swift
[41/61] Compiling Core Exports.swift
[42/63] Compiling Core Collection+Safe.swift
[43/63] Compiling Core DataFile.swift
[44/63] Compiling Core Dispatch.swift
[45/63] Compiling Core Extendable.swift
[46/63] Compiling Core FileProtocol.swift
[47/63] Compiling Core Int+Hex.swift
[48/63] 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
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 1