The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Kitura-CouchDB with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/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/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.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/IBM-Swift/LoggerAPI.git
Fetching https://github.com/IBM-Swift/Kitura-net.git
[1/771] Fetching loggerapi
[772/10315] Fetching loggerapi, kitura-net
Fetched https://github.com/IBM-Swift/LoggerAPI.git (0.83s)
Fetched https://github.com/IBM-Swift/Kitura-net.git (0.84s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.9.200 (0.30s)
Fetching https://github.com/apple/swift-log.git
[1/3114] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.37s)
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.36s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/2088] Fetching bluesslservice
[544/2742] Fetching bluesslservice, bluesignals
[2743/5684] Fetching bluesslservice, bluesignals, bluesocket
Fetched https://github.com/Kitura/BlueSignals.git (0.38s)
Fetched https://github.com/Kitura/BlueSocket.git (0.38s)
Fetched https://github.com/Kitura/BlueSSLService.git (0.38s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.29s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.34s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git (0.22s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.31s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.21s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.30s)
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/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/LoggerAPI.git
Working copy of https://github.com/IBM-Swift/LoggerAPI.git resolved at 1.9.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/Kitura/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.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
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/21] Compiling CHTTPParser http_parser.c
[3/22] Emitting module Logging
[4/22] Compiling Logging LogHandler.swift
[5/22] Compiling Logging MetadataProvider.swift
[6/22] Emitting module Signals
[7/22] Compiling Signals Signals.swift
[8/22] Compiling Logging Locks.swift
[11/24] Compiling Logging Logging.swift
[14/26] Compiling Socket SocketUtils.swift
[15/26] Compiling Socket SocketProtocols.swift
[16/26] Emitting module Socket
[17/26] Compiling Socket Socket.swift
[18/28] Wrapping AST for Signals for debugging
[20/28] Wrapping AST for Logging for debugging
[21/30] Wrapping AST for Socket for debugging
[23/33] Emitting module LoggerAPI
[24/33] Compiling LoggerAPI Logger.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/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
               ^
[28/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
               ^
[29/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
               ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2