The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RubyGateway 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 --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: v6.0.0-pre1
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               v6.0.0-pre1 -> FETCH_HEAD
HEAD is now at 782cee1 Move Xcode CRuby settings into xcconfig (#48)
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 @):
782cee1222ffacc98c17fb0e3f8a49e21c612dc5
SUCCESS checkout https://github.com/johnfairh/RubyGateway.git at v6.0.0-pre1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/johnfairh/RubyGateway.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 --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/johnfairh/CRuby
[1/103] Fetching cruby
Fetched https://github.com/johnfairh/CRuby from cache (0.22s)
Computing version for https://github.com/johnfairh/CRuby
Computed https://github.com/johnfairh/CRuby at 2.1.0 (1.02s)
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...
[0/5] Write sources
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.
[1/5] Compiling RubyGatewayHelpers rbg_macros.m
While building module 'CRuby' imported from /host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.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_protect.m:8:9: fatal error: could not build module 'CRuby'
@import CRuby;
 ~~~~~~~^~~~~
[1/5] Compiling RubyGatewayHelpers rbg_protect.m
[1/5] Compiling RubyGatewayHelpers rbg_value.m
[1/5] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
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/4] Compiling RubyGatewayHelpers rbg_macros.m
[0/4] Compiling RubyGatewayHelpers rbg_protect.m
[0/4] Compiling RubyGatewayHelpers rbg_value.m
[0/4] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 2