The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RubyGateway with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnfairh/RubyGateway.git
Reference: v5.5.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/johnfairh/RubyGateway
 * tag               v5.5.0     -> FETCH_HEAD
HEAD is now at a20885b Version 5.5.0
Submodule path 'CRuby': checked out 'eb26e48106c60390a17f83c984ce3b26ccf9caf9'
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 @):
a20885b15e67da38002a65f5b60e4d21cf755244
SUCCESS checkout https://github.com/johnfairh/RubyGateway.git at v5.5.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $workDir
https://github.com/johnfairh/RubyGateway.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/johnfairh/CRuby
[1/82] Fetching cruby
Fetched https://github.com/johnfairh/CRuby (0.20s)
Computing version for https://github.com/johnfairh/CRuby
Computed https://github.com/johnfairh/CRuby at 2.0.0 (0.30s)
Creating working copy for https://github.com/johnfairh/CRuby
Working copy of https://github.com/johnfairh/CRuby resolved at 2.0.0
Building for debugging...
While building module 'CRuby' imported from /host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.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_macros.m:8:9: fatal error: could not build module 'CRuby'
@import CRuby;
 ~~~~~~~^~~~~
2 errors generated.
[0/3] Compiling RubyGatewayHelpers rbg_macros.m
[0/3] Compiling RubyGatewayHelpers rbg_value.m
[0/3] Compiling RubyGatewayHelpers rbg_protect.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.7 linux

Build Machine: Linux 2