Build Information
Failed to build PerfectPostgreSQL with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-postgresql.git
Reference: 4.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/perfectlysoft/perfect-postgresql
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at 8aa4e39 Merge pull request #24 from PerfectlySoft/swift-5.1
Cloned https://github.com/perfectlysoft/perfect-postgresql.git
Revision (git rev-parse @):
8aa4e3951c672646d6da5c9bcdd66eb2e5952808
SUCCESS checkout https://github.com/perfectlysoft/perfect-postgresql.git at 4.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/perfectlysoft/perfect-postgresql.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
Fetching https://github.com/PerfectlySoft/Perfect-libpq-linux.git
[1/43] Fetching perfect-libpq-linux
[44/1233] Fetching perfect-libpq-linux, perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-libpq-linux.git from cache (0.25s)
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.25s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 2.0.0 (0.48s)
Computing version for https://github.com/PerfectlySoft/Perfect-libpq-linux.git
Computed https://github.com/PerfectlySoft/Perfect-libpq-linux.git at 2.1.0 (1.63s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 2.0.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-libpq-linux.git
Working copy of https://github.com/PerfectlySoft/Perfect-libpq-linux.git resolved at 2.1.0
warning: 'perfect-libpq-linux': ignoring declared target(s) 'libpq' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-libpq-linux' is not used by any target
warning: you may be able to install libpq using your system-packager:
apt-get install libpq-dev
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/27] Emitting module PerfectCRUD
[5/30] Compiling PerfectCRUD Table.swift
[6/30] Compiling PerfectCRUD Update.swift
[7/30] Compiling PerfectCRUD Where.swift
[8/30] Compiling PerfectCRUD Logical.swift
[9/30] Compiling PerfectCRUD Insert.swift
[10/30] Compiling PerfectCRUD Join.swift
[11/30] Compiling PerfectCRUD In.swift
[12/30] Compiling PerfectCRUD InInts.swift
[13/30] Compiling PerfectCRUD Like.swift
[14/30] Compiling PerfectCRUD Delete.swift
[15/30] Compiling PerfectCRUD Comparison.swift
[16/30] Compiling PerfectCRUD ComparisonInts.swift
[17/30] Compiling PerfectCRUD Logging.swift
[18/30] Compiling PerfectCRUD PerfectCRUD.swift
[19/30] Compiling PerfectCRUD Select.swift
[20/30] Compiling PerfectCRUD Coding.swift
[21/30] Compiling PerfectCRUD CodingBindings.swift
[22/30] Compiling PerfectCRUD CodingJoins.swift
[23/30] Compiling PerfectCRUD CodingKeyPaths.swift
[24/30] Compiling PerfectCRUD CodingNames.swift
[25/30] Compiling PerfectCRUD CodingRows.swift
[26/30] Compiling PerfectCRUD Create.swift
[27/30] Compiling PerfectCRUD Database.swift
[28/30] Compiling PerfectCRUD Equality.swift
[29/30] Compiling PerfectCRUD EqualityInts.swift
[30/30] Compiling PerfectCRUD Expression.swift
[32/36] Compiling PerfectPostgreSQL PostgresCRUDInsert.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-libpq-linux/module.modulemap:2:12: error: header '/usr/include/postgresql/libpq-fe.h' not found
header "/usr/include/postgresql/libpq-fe.h"
^
/host/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
import libpq
^
[33/36] Compiling PerfectPostgreSQL PostgresCRUDUpdate.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-libpq-linux/module.modulemap:2:12: error: header '/usr/include/postgresql/libpq-fe.h' not found
header "/usr/include/postgresql/libpq-fe.h"
^
/host/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
import libpq
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/36] Emitting module PerfectPostgreSQL
/host/spi-builder-workspace/.build/checkouts/Perfect-libpq-linux/module.modulemap:2:12: error: header '/usr/include/postgresql/libpq-fe.h' not found
header "/usr/include/postgresql/libpq-fe.h"
^
/host/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
import libpq
^
[35/36] Compiling PerfectPostgreSQL PostgresCRUD.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-libpq-linux/module.modulemap:2:12: error: header '/usr/include/postgresql/libpq-fe.h' not found
header "/usr/include/postgresql/libpq-fe.h"
^
/host/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
import libpq
^
[36/36] Compiling PerfectPostgreSQL PerfectPostgreSQL.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-libpq-linux/module.modulemap:2:12: error: header '/usr/include/postgresql/libpq-fe.h' not found
header "/usr/include/postgresql/libpq-fe.h"
^
/host/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
import libpq
^
error: fatalError
warning: 'perfect-libpq-linux': ignoring declared target(s) 'libpq' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-libpq-linux' is not used by any target
warning: you may be able to install libpq using your system-packager:
apt-get install libpq-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling PerfectPostgreSQL PostgresCRUDUpdate.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-libpq-linux/module.modulemap:2:12: error: header '/usr/include/postgresql/libpq-fe.h' not found
header "/usr/include/postgresql/libpq-fe.h"
^
/host/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
import libpq
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Compiling PerfectPostgreSQL PostgresCRUDInsert.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-libpq-linux/module.modulemap:2:12: error: header '/usr/include/postgresql/libpq-fe.h' not found
header "/usr/include/postgresql/libpq-fe.h"
^
/host/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
import libpq
^
[4/6] Compiling PerfectPostgreSQL PerfectPostgreSQL.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-libpq-linux/module.modulemap:2:12: error: header '/usr/include/postgresql/libpq-fe.h' not found
header "/usr/include/postgresql/libpq-fe.h"
^
/host/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
import libpq
^
[5/6] Emitting module PerfectPostgreSQL
/host/spi-builder-workspace/.build/checkouts/Perfect-libpq-linux/module.modulemap:2:12: error: header '/usr/include/postgresql/libpq-fe.h' not found
header "/usr/include/postgresql/libpq-fe.h"
^
/host/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
import libpq
^
[6/6] Compiling PerfectPostgreSQL PostgresCRUD.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-libpq-linux/module.modulemap:2:12: error: header '/usr/include/postgresql/libpq-fe.h' not found
header "/usr/include/postgresql/libpq-fe.h"
^
/host/spi-builder-workspace/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build C module 'libpq'
import libpq
^
error: fatalError
BUILD FAILURE 5.10 linux