The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Rope 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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bermudadigitalstudio/rope.git
Reference: master
Cloned https://github.com/bermudadigitalstudio/rope.git into spi-builder-workspace
SUCCESS checkout https://github.com/bermudadigitalstudio/rope.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-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/bermudadigitalstudio/RopeLibpq.git
Fetched https://github.com/bermudadigitalstudio/RopeLibpq.git (0.20s)
Computing version for https://github.com/bermudadigitalstudio/RopeLibpq.git
Computed https://github.com/bermudadigitalstudio/RopeLibpq.git at 0.3.0 (0.33s)
Creating working copy for https://github.com/bermudadigitalstudio/RopeLibpq.git
Working copy of https://github.com/bermudadigitalstudio/RopeLibpq.git resolved at 0.3.0
warning: 'ropelibpq': ignoring declared target(s) 'RopeLibpq' in the system package
warning: you may be able to install libpq using your system-packager:
    apt-get install libpq-dev
Building for debugging...
[1/4] Compiling Rope RopeResult.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/RopeLibpq/shim.h:4:10: error: 'libpq-fe.h' file not found
#include <libpq-fe.h>
         ^
/host/spi-builder-workspace/Sources/Rope/Rope.swift:1:8: error: could not build C module 'RopeLibpq'
import RopeLibpq
       ^
[2/4] Compiling Rope Rope.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/RopeLibpq/shim.h:4:10: error: 'libpq-fe.h' file not found
#include <libpq-fe.h>
         ^
/host/spi-builder-workspace/Sources/Rope/Rope.swift:1:8: error: could not build C module 'RopeLibpq'
import RopeLibpq
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module Rope
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/RopeLibpq/shim.h:4:10: error: 'libpq-fe.h' file not found
#include <libpq-fe.h>
         ^
/host/spi-builder-workspace/Sources/Rope/Rope.swift:1:8: error: could not build C module 'RopeLibpq'
import RopeLibpq
       ^
[4/4] Compiling Rope PGErrorCode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/RopeLibpq/shim.h:4:10: error: 'libpq-fe.h' file not found
#include <libpq-fe.h>
         ^
/host/spi-builder-workspace/Sources/Rope/Rope.swift:1:8: error: could not build C module 'RopeLibpq'
import RopeLibpq
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2