[DRE-maint] Bug#1154717: ruby3.4: Please add libcrypt-dev to Build-Depends to fix FTBFS on big-endian targets

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Sat Nov 21 19:26:53 GMT 2026


Source: ruby3.4
Version: 3.4.11-1~exp1
Severity: important
Tags: ftbfs
X-Debbugs-Cc: debian-powerpc at lists.debian.org, debian-s390 at lists.debian.org, debian-sparc at lists.debian.org
User: debian-powerpc at lists.debian.org
Usertags: powerpc ppc64
User: debian-s390 at lists.debian.org
Usertags: s390x
User: debian-sparc at lists.debian.org
Usertags: sparc64

Hi,

the testsuite for ruby3.4 fails on big-endian targets due to two failing crypto tests [1]:

  1) Failure:
TestString#test_crypt [/build/reproducible-path/ruby3.4-3.4.11/test/ruby/test_string.rb:730]:
<"aaGUC/JkO9/Sc"> expected but was
<"aaVu09O/ljIkw">.

  2) Failure:
TestString2#test_crypt [/build/reproducible-path/ruby3.4-3.4.11/test/ruby/test_string.rb:730]:
<"aaGUC/JkO9/Sc"> expected but was
<"aaVu09O/ljIkw">.

This is because libcrypt-dev is missing in Build-Depends:

checking for crypt in -lcrypt... no

See also [2].

Please add libcrypt-dev to Build-Depends to fix the testsuite failures on big-endian systems.

Thanks,
Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=ruby3.4&arch=s390x&ver=3.4.11-1%7Eexp1&stamp=1792762861&raw=0
> [2] https://github.com/sparclinux/issues/issues/130

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



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