The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SimpleHttpClient with Swift 5.9 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.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ibm-bluemix-mobile-services/bluemix-simple-http-client-swift.git
Reference: 1.0.0
Cloned https://github.com/ibm-bluemix-mobile-services/bluemix-simple-http-client-swift.git into spi-builder-workspace
SUCCESS checkout https://github.com/ibm-bluemix-mobile-services/bluemix-simple-http-client-swift.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
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.9-latest swift build 2>&1
Fetching https://github.com/IBM-Swift/Kitura-net.git
Fetching https://github.com/ibm-bluemix-mobile-services/bluemix-simple-logger-swift.git
[1/245] Fetching bluemix-simple-logger-swift
[246/9789] Fetching bluemix-simple-logger-swift, kitura-net
Fetched https://github.com/ibm-bluemix-mobile-services/bluemix-simple-logger-swift.git (0.62s)
Fetched https://github.com/IBM-Swift/Kitura-net.git (0.63s)
Computing version for https://github.com/ibm-bluemix-mobile-services/bluemix-simple-logger-swift.git
Computed https://github.com/ibm-bluemix-mobile-services/bluemix-simple-logger-swift.git at 0.6.0 (0.28s)
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.33s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSSLService.git
[1/654] Fetching bluesignals
[655/3596] Fetching bluesignals, bluesocket
[1685/5684] Fetching bluesignals, bluesocket, bluesslservice
Fetched https://github.com/Kitura/BlueSignals.git (0.27s)
Fetching https://github.com/Kitura/LoggerAPI.git
Fetched https://github.com/Kitura/BlueSSLService.git (0.36s)
Fetched https://github.com/Kitura/BlueSocket.git (0.36s)
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git (0.20s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.26s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.32s)
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.36s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.33s)
Fetching https://github.com/apple/swift-log.git
[1/3114] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.33s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.07s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.33s)
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/ibm-bluemix-mobile-services/bluemix-simple-logger-swift.git
Working copy of https://github.com/ibm-bluemix-mobile-services/bluemix-simple-logger-swift.git resolved at 0.6.0
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/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.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/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.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: 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/15] Compiling Logging MetadataProvider.swift
[4/15] Emitting module SimpleLogger
[5/15] Compiling SimpleLogger SimpleLogger.swift
[6/16] Emitting module Signals
[7/16] Compiling Signals Signals.swift
[10/17] Compiling Socket SocketProtocols.swift
[11/17] Compiling Socket SocketUtils.swift
[14/19] Compiling Logging Locks.swift
[15/19] Emitting module Logging
[16/19] Compiling Logging LogHandler.swift
[17/19] Compiling Logging Logging.swift
[20/23] Emitting module Socket
[21/23] Compiling Socket Socket.swift
[24/28] Emitting module LoggerAPI
[25/28] Compiling LoggerAPI Logger.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/30] 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/30] 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
               ^
[30/30] 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 1