Build Information
Failed to build Koba with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.25.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cak/koba.git
Reference: 0.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/cak/koba
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 813180e Update for v0.2.0
Cloned https://github.com/cak/koba.git
Revision (git rev-parse @):
813180e054af23a0564460d15b83393821795a4f
SUCCESS checkout https://github.com/cak/koba.git at 0.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/IBM-Swift/Kitura.git
[1/16909] Fetching kitura
Fetched https://github.com/IBM-Swift/Kitura.git (1.25s)
Computing version for https://github.com/IBM-Swift/Kitura.git
Computed https://github.com/IBM-Swift/Kitura.git at 2.9.200 (0.41s)
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
[451/3002] Fetching typedecoder, kituracontracts
[740/3440] Fetching typedecoder, kituracontracts, kitura-templateengine
Fetched https://github.com/Kitura/TypeDecoder.git (0.33s)
[1863/2981] Fetching kituracontracts, kitura-templateengine
Fetching https://github.com/Kitura/Kitura-net.git
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git (0.49s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/Kitura/KituraContracts.git (0.50s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/9544] Fetching kitura-net
[2578/10315] Fetching kitura-net, loggerapi
[3731/13436] Fetching kitura-net, loggerapi, swift-log
[4087/12665] Fetching kitura-net, swift-log
Fetched https://github.com/Kitura/LoggerAPI.git (0.29s)
Fetched https://github.com/apple/swift-log.git (0.51s)
Fetched https://github.com/Kitura/Kitura-net.git (0.92s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (1.69s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.43s)
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
[1420/5684] Fetching bluesignals, bluesocket, bluesslservice
Fetched https://github.com/Kitura/BlueSignals.git (0.32s)
Fetched https://github.com/Kitura/BlueSSLService.git (0.32s)
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.35s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.35s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.38s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git (0.24s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.34s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.34s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.33s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.42s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.35s)
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
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/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/IBM-Swift/Kitura.git
Working copy of https://github.com/IBM-Swift/Kitura.git resolved at 2.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
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/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/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/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
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/2] Compiling CHTTPParser http_parser.c
[3/18] Emitting module Socket
[4/18] Emitting module KituraTemplateEngine
[5/18] Compiling KituraTemplateEngine TemplateEngine.swift
[8/20] Compiling Logging MetadataProvider.swift
[9/20] Compiling Socket SocketProtocols.swift
[10/20] Compiling Socket SocketUtils.swift
[11/20] Emitting module Logging
[12/20] Compiling Signals Signals.swift
[13/20] Emitting module Signals
[16/22] Compiling TypeDecoder OrderedDictionary.swift
[17/22] Emitting module TypeDecoder
[18/22] Compiling TypeDecoder TypeDecoder.swift
[21/24] Compiling Logging LogHandler.swift
[22/24] Compiling Logging Locks.swift
[23/24] Compiling Logging Logging.swift
[25/26] 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
^
warning: you may be able to install openssl using your system-packager:
apt-get install openssl libssl-dev
[0/1] Planning build
Building for debugging...
[0/2] Compiling CHTTPParser utils.c
[1/2] Compiling CHTTPParser http_parser.c
[3/4] Emitting module KituraTemplateEngine
[6/9] Emitting module Signals
[7/10] Emitting module Socket
[8/11] Emitting module Logging
[15/15] Emitting module TypeDecoder
warning: Will not do cross-module incremental builds, priors saved at TimePoint(seconds: 1699848428, nanoseconds: 0)), but the previous build started at TimePoint(seconds: 1699848428, nanoseconds: 269828000), at '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/LoggerAPI.build/master.priors'
warning: Will not do cross-module incremental builds, priors saved at TimePoint(seconds: 1699848428, nanoseconds: 0)), but the previous build started at TimePoint(seconds: 1699848428, nanoseconds: 388331000), at '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SSLService.build/master.priors'
[18/22] Emitting module LoggerAPI
[19/22] Compiling LoggerAPI Logger.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/24] 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
^
[23/24] 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
^
[24/24] 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
^
BUILD FAILURE 5.8 linux