The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kitura-CouchDB with Swift 5.8 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.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Kitura-CouchDB.git
Reference: 3.2.0
Cloned https://github.com/Kitura/Kitura-CouchDB.git into spi-builder-workspace
SUCCESS checkout https://github.com/Kitura/Kitura-CouchDB.git at 3.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
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.8-latest swift build 2>&1
Fetching https://github.com/IBM-Swift/Kitura-net.git
Fetching https://github.com/IBM-Swift/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/IBM-Swift/LoggerAPI.git (0.22s)
[1/9544] Fetching kitura-net
Fetched https://github.com/IBM-Swift/Kitura-net.git (0.69s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.9.200 (0.25s)
Fetching https://github.com/apple/swift-log.git
[1/3114] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.36s)
Computing version for https://github.com/IBM-Swift/Kitura-net.git
Computed https://github.com/IBM-Swift/Kitura-net.git at 2.4.200 (0.30s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/654] Fetching bluesignals
[21/2742] Fetching bluesignals, bluesslservice
[2743/5684] Fetching bluesignals, bluesslservice, bluesocket
Fetched https://github.com/Kitura/BlueSignals.git (0.36s)
Fetched https://github.com/Kitura/BlueSSLService.git (0.36s)
Fetched https://github.com/Kitura/BlueSocket.git (0.36s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.30s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.29s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git (0.19s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.29s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (0.91s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.37s)
Creating working copy for https://github.com/Kitura/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 1.0.200
Creating working copy for https://github.com/IBM-Swift/Kitura-net.git
Working copy of https://github.com/IBM-Swift/Kitura-net.git resolved at 2.4.200
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.3
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/IBM-Swift/LoggerAPI.git
Working copy of https://github.com/IBM-Swift/LoggerAPI.git resolved at 1.9.200
warning: 'kitura-net': 'kitura-net' dependency on 'https://github.com/Kitura/LoggerAPI.git' conflicts with dependency on 'https://github.com/IBM-Swift/LoggerAPI.git' which has the same identity 'loggerapi'. this will be escalated to an error in future versions of SwiftPM.
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/11] Compiling CHTTPParser utils.c
[1/11] Compiling CHTTPParser http_parser.c
[3/22] Emitting module Logging
[4/22] Compiling Logging Locks.swift
[5/22] Compiling Logging MetadataProvider.swift
[6/22] Emitting module Signals
[7/22] Compiling Signals Signals.swift
[10/24] Compiling Logging LogHandler.swift
[11/24] Compiling Logging Logging.swift
[14/26] Compiling Socket SocketProtocols.swift
[15/26] Compiling Socket SocketUtils.swift
[15/26] Wrapping AST for Signals for debugging
[16/26] Wrapping AST for Logging for debugging
[18/28] Compiling LoggerAPI Logger.swift
[19/28] Emitting module LoggerAPI
[20/28] Compiling Socket Socket.swift
[21/28] Emitting module Socket
[25/32] Wrapping AST for LoggerAPI for debugging
[26/32] Wrapping AST for Socket for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/35] Emitting module SSLService
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:25:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[29/35] Compiling SSLService SSLPointerTricks.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:25:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[30/35] Compiling SSLService SSLService.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:25:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 1