[DRE-maint] Bug#1071002: ruby-mysql2: FTBFS on ppc64el: test suite hangs

Lucas Nussbaum lucas at debian.org
Tue May 14 21:17:35 BST 2024


On 14/05/24 at 09:05 +0200, Lucas Nussbaum wrote:
> On 12/05/24 at 21:23 +0200, Lucas Nussbaum wrote:
> > Package: ruby-mysql2
> > Version: 0.5.5-2
> > Severity: serious
> > Tags: ftbfs
> > Justification: fails to build from source (but built successfully in the past)
> > X-Debbugs-Cc: debian-powerpc at lists.debian.org
> > 
> > Hi,
> > 
> > https://buildd.debian.org/status/fetch.php?pkg=ruby-mysql2&arch=ppc64el&ver=0.5.5-2&stamp=1715331286&raw=0
> > 
> > It hangs with:
> > 
> > + ruby3.1 -S rspec
> > E: Build killed with signal TERM after 150 minutes of inactivity
> > --------------------------------------------------------------------------------
> > Build finished at 2024-05-10T08:54:25Z
> 
> On a ppc64el system I have access to, 0.5.5-2 builds fine on Debian 11,
> but fails on Debian testing. I will bisect this later.

This is known as:
https://github.com/brianmario/mysql2/issues/1261
and https://bugs.ruby-lang.org/issues/18829

It's a bug in ruby 3.1, fixed in ruby3.2.

A MWE is:
begin
GC.verify_compaction_references(double_heap: true, toward: :empty)
rescue NotImplementedError
end
require 'irb'
require 'rbconfig'
puts RbConfig::CONFIG['host_cpu']

=> This hangs on ruby3.1, runs fine on ruby3.2.

Since ruby3.1 will be going away in Debian anyway and this only affects
the test suite, I'm going to patch it dirtily in ruby-mysql2 to let it
migrate back to testing.

Lucas



More information about the Pkg-ruby-extras-maintainers mailing list