The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SGSL with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-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/kongzii/SGSL.git
Reference: 0.2.0
Cloned https://github.com/kongzii/SGSL.git into spi-builder-workspace
SUCCESS checkout https://github.com/kongzii/SGSL.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-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/pvieito/PythonKit.git
[1/1569] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git (0.34s)
Fetching https://github.com/pvieito/LoggerKit.git
[1/525] Fetching loggerkit
Fetched https://github.com/pvieito/LoggerKit.git (0.24s)
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-argument-parser
[1/1110] Fetching rainbow
[1111/11885] Fetching rainbow, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow (0.59s)
Fetched https://github.com/apple/swift-argument-parser (0.60s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.5 (0.89s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.4 (0.28s)
Creating working copy for https://github.com/pvieito/PythonKit.git
Working copy of https://github.com/pvieito/PythonKit.git resolved at master
Creating working copy for https://github.com/pvieito/LoggerKit.git
Working copy of https://github.com/pvieito/LoggerKit.git resolved at master
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.1.5
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.4
warning: you may be able to install gsl using your system-packager:
    apt-get install libgsl-dev
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/6] Emitting module RandomNumberGeneration
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/host/spi-builder-workspace/Sources/RandomNumberGeneration/RandomNumberGeneration.swift:1:8: error: could not build C module 'CGSL'
import CGSL
       ^
[2/6] Compiling RandomNumberGeneration RandomNumberGeneration.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/host/spi-builder-workspace/Sources/RandomNumberGeneration/RandomNumberGeneration.swift:1:8: error: could not build C module 'CGSL'
import CGSL
       ^
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module Statistics
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/host/spi-builder-workspace/Sources/Statistics/Statistics.swift:1:8: error: could not build C module 'CGSL'
import CGSL
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module MathematicalFunctions
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/host/spi-builder-workspace/Sources/MathematicalFunctions/MathematicalFunctions.swift:1:8: error: could not build C module 'CGSL'
import CGSL
       ^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/host/spi-builder-workspace/Sources/MathematicalFunctions/MathematicalFunctions.swift:1:8: error: could not build C module 'CGSL'
import CGSL
       ^
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CGSL/shim.h:4:10: error: 'gsl/gsl_math.h' file not found
#include <gsl/gsl_math.h>
         ^
/host/spi-builder-workspace/Sources/Statistics/Statistics.swift:1:8: error: could not build C module 'CGSL'
import CGSL
       ^
BUILD FAILURE 5.9 linux

Build Machine: Linux 1