Package: ruby3.3 Version: 3.3.8-2.1 Severity: normal Tags: patch pending Dear maintainer,
this is a follow up upload to my NMU to address the build failure on arm64. The changes are taken from Ubuntu and I have verified that make it package build on arm64. Sorry for the inconvinience. I've uploaded an NMU for ruby3.3 (versioned as 3.3.8-2.2). The diff is attached to this message. Cheers -- Sebastian Ramacher
diffstat for ruby3.3-3.3.8 ruby3.3-3.3.8 changelog | 11 +++++++++++ patches/series | 1 + patches/skip-test_ractor-arm64.patch | 19 +++++++++++++++++++ rules | 5 +++++ 4 files changed, 36 insertions(+) diff -Nru ruby3.3-3.3.8/debian/changelog ruby3.3-3.3.8/debian/changelog --- ruby3.3-3.3.8/debian/changelog 2026-05-13 08:19:14.000000000 +0200 +++ ruby3.3-3.3.8/debian/changelog 2026-05-15 11:14:49.000000000 +0200 @@ -1,3 +1,14 @@ +ruby3.3 (3.3.8-2.2) unstable; urgency=medium + + * Non-maintainer upload. + * Apply changes from Ubuntu to fix FTBFS on arm64 + + [ Nishit Majithia ] + * d/rules: Fix FTBFS on arm64 by adding gcs-report-dynamic=none + * d/p/skip-test_ractor-arm64.patch: skip failing test on arm64 + + -- Sebastian Ramacher <[email protected]> Fri, 15 May 2026 11:14:49 +0200 + ruby3.3 (3.3.8-2.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru ruby3.3-3.3.8/debian/patches/series ruby3.3-3.3.8/debian/patches/series --- ruby3.3-3.3.8/debian/patches/series 2025-04-29 12:58:14.000000000 +0200 +++ ruby3.3-3.3.8/debian/patches/series 2026-05-15 10:43:00.000000000 +0200 @@ -15,3 +15,4 @@ Fix-test-dlopen-for-.so-filename-with-more-than-one-digit.patch CVE-2025-27221_1.patch CVE-2025-27221_2.patch +skip-test_ractor-arm64.patch diff -Nru ruby3.3-3.3.8/debian/patches/skip-test_ractor-arm64.patch ruby3.3-3.3.8/debian/patches/skip-test_ractor-arm64.patch --- ruby3.3-3.3.8/debian/patches/skip-test_ractor-arm64.patch 1970-01-01 01:00:00.000000000 +0100 +++ ruby3.3-3.3.8/debian/patches/skip-test_ractor-arm64.patch 2026-05-15 10:42:45.000000000 +0200 @@ -0,0 +1,19 @@ +Author: Nishit Majithia <[email protected]> +Description: Skip test_ractor.rb test on arm64 + ruby on arm64 failing the test_ractor test by giving similar error mentioned + in https://bugs.ruby-lang.org/issues/17878 + + This change will skip this test on arm64 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/2122520 + +--- ruby3.3-3.3.8.orig/bootstraptest/test_ractor.rb ++++ ruby3.3-3.3.8/bootstraptest/test_ractor.rb +@@ -283,7 +283,7 @@ assert_equal 30.times.map { 'ok' }.to_s, + 30.times.map{|i| + test i + } +-} unless (ENV.key?('TRAVIS') && ENV['TRAVIS_CPU_ARCH'] == 'arm64') # https://bugs.ruby-lang.org/issues/17878 ++} unless (ENV.key?('TRAVIS') && ENV['TRAVIS_CPU_ARCH'] == 'arm64') || RUBY_PLATFORM =~ /aarch64|arm64|armv8/ # https://bugs.ruby-lang.org/issues/17878 + + # Exception for empty select + assert_match /specify at least one ractor/, %q{ diff -Nru ruby3.3-3.3.8/debian/rules ruby3.3-3.3.8/debian/rules --- ruby3.3-3.3.8/debian/rules 2025-04-29 12:58:14.000000000 +0200 +++ ruby3.3-3.3.8/debian/rules 2026-05-15 10:40:52.000000000 +0200 @@ -88,6 +88,11 @@ export DEB_CFLAGS_MAINT_APPEND += -fno-crossjumping endif +# See: Fix FTBFS on arm64 https://bugzilla.redhat.com/show_bug.cgi?id=2343981 +ifneq (,$(filter $(DEB_HOST_ARCH),arm64)) +export DEB_CFLAGS_MAINT_APPEND += -Wl,-z,gcs-report-dynamic=none +endif + export LANG := C.UTF-8 export LC_ALL := $(LANG)

