The Swift Package Index logo.Swift Package Index

Build Information

Failed to build KituraCORS with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Kitura-CORS.git
Reference: 2.1.201
Cloned https://github.com/Kitura/Kitura-CORS.git into spi-builder-workspace
SUCCESS checkout https://github.com/Kitura/Kitura-CORS.git at 2.1.201
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-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/Kitura/Kitura.git
[1/16909] Fetching kitura
Computing version for https://github.com/Kitura/Kitura.git
Fetched https://github.com/Kitura/Kitura.git (1.50s)
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (0.34s)
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
[1/2543] Fetching kituracontracts
[154/2981] Fetching kituracontracts, kitura-templateengine
[2550/3440] Fetching kituracontracts, kitura-templateengine, typedecoder
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git (0.44s)
Fetching https://github.com/Kitura/Kitura-net.git
Fetched https://github.com/Kitura/TypeDecoder.git (0.44s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/Kitura/KituraContracts.git (0.45s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
[772/3850] Fetching loggerapi, swift-log
[1019/13394] Fetching loggerapi, swift-log, kitura-net
Fetched https://github.com/Kitura/LoggerAPI.git (0.32s)
[4037/12623] Fetching swift-log, kitura-net
Fetched https://github.com/apple/swift-log.git (0.53s)
[2959/9544] Fetching kitura-net
Fetched https://github.com/Kitura/Kitura-net.git (1.09s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.39s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.44s)
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
[655/3596] Fetching bluesignals, bluesocket
[3597/5684] Fetching bluesignals, bluesocket, bluesslservice
Fetched https://github.com/Kitura/BlueSignals.git (0.40s)
Fetched https://github.com/Kitura/BlueSSLService.git (0.42s)
Fetched https://github.com/Kitura/BlueSocket.git (0.42s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.32s)
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.46s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git (0.23s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (1.63s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.63s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.53s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.16s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.30s)
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/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.201
Creating working copy for https://github.com/Kitura/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.200
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/Kitura/Kitura-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
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/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
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.2
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/Kitura-net.git
Working copy of https://github.com/Kitura/Kitura-net.git resolved at 2.4.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
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/2] Compiling CHTTPParser utils.c
[1/6] Compiling CHTTPParser http_parser.c
[3/18] Emitting module Signals
[4/18] Compiling KituraTemplateEngine TemplateEngine.swift
[5/18] Emitting module KituraTemplateEngine
[8/20] Compiling Logging MetadataProvider.swift
[9/20] Compiling Signals Signals.swift
[12/22] Compiling Socket SocketProtocols.swift
[13/22] Compiling Socket SocketUtils.swift
[14/22] Compiling TypeDecoder OrderedDictionary.swift
[15/22] Compiling TypeDecoder TypeDecoder.swift
[16/22] Emitting module TypeDecoder
[19/24] Emitting module Logging
[20/24] Compiling Logging LogHandler.swift
[21/24] Compiling Logging Locks.swift
[22/24] Compiling Logging Logging.swift
[25/28] Emitting module Socket
[26/28] Compiling Socket Socket.swift
[29/33] Emitting module LoggerAPI
[30/33] Compiling LoggerAPI Logger.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/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
               ^
[34/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
               ^
[35/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
               ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2