The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RubyGateway with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnfairh/RubyGateway.git
Reference: main
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/johnfairh/RubyGateway
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0cdd51c Release 6.0.0-pre1
Submodule path 'CRuby': checked out '6cdfc7db30f8fc7a27199a1b6b829e42e67bb5c7'
Submodule 'CRuby' (https://github.com/johnfairh/CRuby.git) registered for path 'CRuby'
Cloning into '/host/spi-builder-workspace/CRuby'...
Cloned https://github.com/johnfairh/RubyGateway.git
Revision (git rev-parse @):
0cdd51c17eb40969e588d990618f321ae7352eef
SUCCESS checkout https://github.com/johnfairh/RubyGateway.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/johnfairh/RubyGateway.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/johnfairh/CRuby
[1/103] Fetching cruby
Fetched https://github.com/johnfairh/CRuby (0.19s)
Computing version for https://github.com/johnfairh/CRuby
Computed https://github.com/johnfairh/CRuby at 2.1.0 (0.97s)
Creating working copy for https://github.com/johnfairh/CRuby
Working copy of https://github.com/johnfairh/CRuby resolved at 2.1.0
Building for debugging...
While building module 'CRuby' imported from /host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:8:
In file included from <module-includes>:1:
/host/spi-builder-workspace/.build/checkouts/CRuby/Sources/CRuby/ruby_headers.h:2:10: fatal error: 'ruby/ruby.h' file not found
#include "ruby/ruby.h"
         ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:8:9: fatal error: could not build module 'CRuby'
@import CRuby;
 ~~~~~~~^~~~~
2 errors generated.
[0/3] Compiling RubyGatewayHelpers rbg_value.m
[0/3] Compiling RubyGatewayHelpers rbg_protect.m
[0/3] Compiling RubyGatewayHelpers rbg_macros.m
[0/1] Planning build
Building for debugging...
While building module 'CRuby' imported from /host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:8:
In file included from <module-includes>:1:
/host/spi-builder-workspace/.build/checkouts/CRuby/Sources/CRuby/ruby_headers.h:2:10: fatal error: 'ruby/ruby.h' file not found
#include "ruby/ruby.h"
         ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:8:9: fatal error: could not build module 'CRuby'
@import CRuby;
 ~~~~~~~^~~~~
2 errors generated.
[0/3] Compiling RubyGatewayHelpers rbg_value.m
[0/3] Compiling RubyGatewayHelpers rbg_protect.m
[0/3] Compiling RubyGatewayHelpers rbg_macros.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 1