The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SimpleHttpClient with Swift 5.7 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.7-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.7
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.7-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
Fetched https://github.com/ibm-bluemix-mobile-services/bluemix-simple-logger-swift.git (0.57s)
[1/9544] Fetching kitura-net
Fetched https://github.com/IBM-Swift/Kitura-net.git (1.13s)
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.27s)
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/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/654] Fetching bluesignals
[302/2742] Fetching bluesignals, bluesslservice
[2284/5684] Fetching bluesignals, bluesslservice, bluesocket
Fetched https://github.com/Kitura/BlueSSLService.git (0.37s)
Fetching https://github.com/Kitura/LoggerAPI.git
Fetched https://github.com/Kitura/BlueSignals.git (0.37s)
Fetched https://github.com/Kitura/BlueSocket.git (0.37s)
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git (0.23s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.28s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.29s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git (0.21s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.28s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/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.36s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.06s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.27s)
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/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/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/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/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.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/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/2] Compiling CHTTPParser http_parser.c
[3/15] Emitting module Socket
[4/15] Compiling Logging MetadataProvider.swift
[5/15] Emitting module Logging
[6/15] Compiling Logging Locks.swift
[7/15] Compiling Logging Logging.swift
[8/15] Compiling Logging LogHandler.swift
[10/17] Emitting module Signals
[11/17] Compiling Signals Signals.swift
[13/17] Emitting module SimpleLogger
[14/17] Compiling SimpleLogger SimpleLogger.swift
[17/20] Compiling Socket SocketUtils.swift
[18/20] Compiling Socket SocketProtocols.swift
[21/23] Emitting module LoggerAPI
[22/23] Compiling LoggerAPI Logger.swift
[25/25] Compiling Socket Socket.swift
[28/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
               ^
error: emit-module command failed with exit code 1 (use -v to see invocation)[29/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
               ^
[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
               ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 2