The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HTTP 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.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/http.git
Reference: 3.4.0
Cloned https://github.com/vapor/http.git into spi-builder-workspace
SUCCESS checkout https://github.com/vapor/http.git at 3.4.0
========================================
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/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
[20144/81755] Fetching core, swift-nio
[30002/93124] Fetching core, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (5.60s)
Fetched https://github.com/vapor/core.git (5.60s)
Fetched https://github.com/apple/swift-nio.git (5.68s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.41s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.17s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.88s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.30s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.16s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (0.30s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.32s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: couldn't find pc file for openssl
Building for debugging...
[0/24] Compiling CNIOZlib empty.c
[0/24] Compiling CNIOLinux ifaddrs-android.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^~~~~~~~~~~~~~~~
1 error generated.
[2/24] Compiling CNIOOpenSSL shims.c
[2/24] Compiling c-atomics.c
[2/24] Compiling CNIODarwin shim.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^~~~~~~~~~~~~~~~
[2/24] Compiling CNIOSHA1 c_nio_sha1.c
[2/24] Compiling CNIOOpenSSL helpers.c
[2/24] Compiling CNIOLinux shim.c
[2/24] Compiling CNIOHTTPParser c_nio_http_parser.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 2