The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FluentPostGIS with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/plarson/fluent-postgis.git
Reference: master
Cloned https://github.com/plarson/fluent-postgis.git into spi-builder-workspace
SUCCESS checkout https://github.com/plarson/fluent-postgis.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-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/vapor/fluent-postgresql.git
Fetching https://github.com/plarson/WKCodable
Fetching https://github.com/vapor/fluent.git
[1/295] Fetching wkcodable
[296/2808] Fetching wkcodable, fluent-postgresql
[2809/16049] Fetching wkcodable, fluent-postgresql, fluent
Fetched https://github.com/vapor/fluent-postgresql.git (0.26s)
[4268/13536] Fetching wkcodable, fluent
Fetched https://github.com/plarson/WKCodable (0.57s)
Fetched https://github.com/vapor/fluent.git (0.58s)
Computing version for https://github.com/plarson/WKCodable
Computed https://github.com/plarson/WKCodable at 0.1.1 (0.28s)
Computing version for https://github.com/vapor/fluent-postgresql.git
Computed https://github.com/vapor/fluent-postgresql.git at 1.0.1 (0.29s)
Fetching https://github.com/vapor/postgresql.git
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
[5642/25111] Fetching core, postgresql
Fetched https://github.com/vapor/postgresql.git (0.76s)
Fetched https://github.com/vapor/core.git (0.77s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 3.2.1 (0.30s)
Fetching https://github.com/vapor/sql.git
Fetching https://github.com/vapor/database-kit.git
Fetching https://github.com/vapor/service.git
[1/919] Fetching service
[920/2100] Fetching service, database-kit
[2101/6446] Fetching service, database-kit, sql
Fetched https://github.com/vapor/service.git (0.26s)
Fetching https://github.com/vapor/console.git
[2790/5527] Fetching database-kit, sql
Fetched https://github.com/vapor/database-kit.git (0.35s)
Fetched https://github.com/vapor/sql.git (0.35s)
[1/4751] Fetching console
Fetched https://github.com/vapor/console.git (0.32s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.28s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.29s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.29s)
Computing version for https://github.com/vapor/sql.git
Computed https://github.com/vapor/sql.git at 2.3.2 (0.29s)
Computing version for https://github.com/vapor/postgresql.git
Computed https://github.com/vapor/postgresql.git at 1.7.0 (0.31s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/crypto.git
[1/2786] Fetching crypto
Fetched https://github.com/vapor/crypto.git (0.28s)
[1/11302] Fetching swift-nio-ssl
[680/71375] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (4.55s)
Fetched https://github.com/apple/swift-nio.git (4.62s)
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.29s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.21s)
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.28s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.38s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.19s)
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.28s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.31s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.31s)
Creating working copy for https://github.com/vapor/postgresql.git
Working copy of https://github.com/vapor/postgresql.git resolved at 1.7.0
Creating working copy for https://github.com/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.3
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/plarson/WKCodable
Working copy of https://github.com/plarson/WKCodable resolved at 0.1.1
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
Creating working copy for https://github.com/vapor/fluent-postgresql.git
Working copy of https://github.com/vapor/fluent-postgresql.git resolved at 1.0.1
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/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 3.2.1
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
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/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/vapor/sql.git
Working copy of https://github.com/vapor/sql.git resolved at 2.3.2
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/11] Compiling CNIOLinux ifaddrs-android.c
[0/11] Compiling CNIODarwin shim.c
[2/11] Compiling CNIOSHA1 c_nio_sha1.c
[3/11] Compiling CNIOLinux shim.c
[4/11] Compiling CBase32 base32.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.
[5/11] Compiling CNIOOpenSSL shims.c
[5/11] Compiling CBcrypt blf.c
[5/11] Compiling c-atomics.c
[5/11] Compiling CCryptoOpenSSL shim.c
[5/11] Compiling CBcrypt bcrypt.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>
         ^~~~~~~~~~~~~~~~
[5/11] Compiling CNIOOpenSSL helpers.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 2