The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectPython with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-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/perfectlysoft/perfect-python.git
Reference: master
Cloned https://github.com/perfectlysoft/perfect-python.git into spi-builder-workspace
SUCCESS checkout https://github.com/perfectlysoft/perfect-python.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-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/PythonAPI/PythonAPI.c:19:
/host/spi-builder-workspace/Sources/PythonAPI/include/PythonAPI.h:24:10: fatal error: '/usr/include/python2.7/Python.h' file not found
#include "/usr/include/python2.7/Python.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/1] Compiling PythonAPI PythonAPI.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 1