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-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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Kitura-CORS.git
Reference: master
Cloned https://github.com/Kitura/Kitura-CORS.git into spi-builder-workspace
SUCCESS checkout https://github.com/Kitura/Kitura-CORS.git at master
========================================
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/Kitura/Kitura.git
[1/16909] Fetching kitura
Fetched https://github.com/Kitura/Kitura.git (1.70s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (0.33s)
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
[1/459] Fetching typedecoder
[135/897] Fetching typedecoder, kitura-templateengine
[898/3440] Fetching typedecoder, kitura-templateengine, kituracontracts
Fetched https://github.com/Kitura/TypeDecoder.git (0.77s)
Fetching https://github.com/Kitura/Kitura-net.git
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git (0.78s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/Kitura/KituraContracts.git (0.78s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/3079] Fetching swift-log
[309/3850] Fetching swift-log, loggerapi
[3851/13394] Fetching swift-log, loggerapi, kitura-net
Fetched https://github.com/Kitura/LoggerAPI.git (0.32s)
[3938/12623] Fetching swift-log, kitura-net
Fetched https://github.com/apple/swift-log.git (0.36s)
[1241/9544] Fetching kitura-net
Fetched https://github.com/Kitura/Kitura-net.git (0.85s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.29s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.33s)
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
[148/5030] Fetching bluesslservice, bluesocket
[2074/5684] Fetching bluesslservice, bluesocket, bluesignals
Fetched https://github.com/Kitura/BlueSignals.git (0.35s)
Fetched https://github.com/Kitura/BlueSSLService.git (0.35s)
Fetched https://github.com/Kitura/BlueSocket.git (0.36s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.30s)
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.34s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git (0.20s)
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/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.30s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.30s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.33s)
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/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.201
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/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/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.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/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
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/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/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.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/14] Compiling CHTTPParser http_parser.c
[3/18] Emitting module Signals
[4/18] Emitting module KituraTemplateEngine
[5/18] Compiling KituraTemplateEngine TemplateEngine.swift
[8/20] Emitting module Logging
[9/20] Compiling Logging Locks.swift
[10/20] Compiling Logging MetadataProvider.swift
[11/20] Compiling Signals Signals.swift
[14/22] Compiling Socket SocketProtocols.swift
[15/22] Compiling Socket SocketUtils.swift
[16/22] Compiling Logging LogHandler.swift
[17/22] Compiling Logging Logging.swift
[20/26] Compiling TypeDecoder OrderedDictionary.swift
[21/26] Emitting module TypeDecoder
[22/26] Compiling TypeDecoder TypeDecoder.swift
[25/28] Emitting module Socket
[26/28] Compiling Socket Socket.swift
[29/30] Compiling LoggerAPI Logger.swift
[30/30] Emitting module LoggerAPI
[33/44] Compiling KituraContracts ClosureAliases.swift
[34/44] Compiling KituraContracts BodyFormat.swift
[35/44] Compiling KituraContracts BodyDecoder.swift
[36/44] Compiling KituraContracts BodyEncoder.swift
[37/44] Compiling KituraContracts Coder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/45] 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
               ^
[39/45] 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
               ^
[40/45] 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