The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftJWKtoPEM 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/ibm-cloud-security/swift-jwk-to-pem.git
Reference: master
Cloned https://github.com/ibm-cloud-security/swift-jwk-to-pem.git into spi-builder-workspace
SUCCESS checkout https://github.com/ibm-cloud-security/swift-jwk-to-pem.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/IBM-Swift/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/IBM-Swift/OpenSSL.git (0.20s)
Computing version for https://github.com/IBM-Swift/OpenSSL.git
Computed https://github.com/IBM-Swift/OpenSSL.git at 2.3.1 (0.28s)
Creating working copy for https://github.com/IBM-Swift/OpenSSL.git
Working copy of https://github.com/IBM-Swift/OpenSSL.git resolved at 2.3.1
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[1/7] Compiling SwiftJWKtoPEM RSAKey+JWK.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/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
import OpenSSL
       ^
[2/7] Compiling SwiftJWKtoPEM 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/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
import OpenSSL
       ^
[3/7] Compiling SwiftJWKtoPEM Utils.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/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
import OpenSSL
       ^
[4/7] Compiling SwiftJWKtoPEM JWK.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/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
import OpenSSL
       ^
[5/7] Compiling SwiftJWKtoPEM JWKError.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/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
import OpenSSL
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module SwiftJWKtoPEM
<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/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
import OpenSSL
       ^
[7/7] Compiling SwiftJWKtoPEM Cert.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/Sources/SwiftJWKtoPEM/RSAKey+JWK.swift:15:8: error: could not build C module 'OpenSSL'
import OpenSSL
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2