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

Package:
src:ruby3.4
Source:
src:ruby3.4
Submitter:
John Paul Adrian Glaubitz
Date:
2026-11-26 17:35:17 UTC
Severity:
normal
Tags:
#1154717#5
Date:
2026-11-21 19:26:53 UTC
From:
To:
Source: ruby3.4
Version: 3.4.11-1~exp1
Severity: important
Tags: ftbfs
X-Debbugs-Cc: debian-powerpc@lists.debian.org, debian-s390@lists.debian.org, debian-sparc@lists.debian.org
User: debian-powerpc@lists.debian.org
Usertags: powerpc ppc64
User: debian-s390@lists.debian.org
Usertags: s390x
User: debian-sparc@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