Package: src:ruby2.5
Version: 2.3.5-1
Tags: patch sid buster
Severity: important

please find attached some symbols updates and ignoring some test results:

 - the explicit_bzero symbol is part of glibc 2.26, so marking it as
   optional.
 - there are other symbols available on 64bit archs, however I
   only checked on arm64, ppc64el and s390x.
 - the TestFileUtils.rb and TestProcess.rb are apparently LP specific,
   the buildd user calling adduser --quiet buildd sbuild,lxd
 - the TestBacktrace.rb failure is seen on ppc64el only, same as
   on Debian.
 - I only see the TestIO.rb failure on i386.


diff -Nru ruby2.5-2.5.0~preview1/debian/libruby2.5.symbols ruby2.5-2.5.0~preview1/debian/libruby2.5.symbols
--- ruby2.5-2.5.0~preview1/debian/libruby2.5.symbols	2017-10-11 02:12:54.000000000 +0200
+++ ruby2.5-2.5.0~preview1/debian/libruby2.5.symbols	2017-11-15 12:28:33.000000000 +0100
@@ -23,7 +23,7 @@
  dln_find_exe_r@Base 2.5.0~preview1
  dln_find_file_r@Base 2.5.0~preview1
  dln_load@Base 2.5.0~preview1
- explicit_bzero@Base 2.5.0~preview1
+ (optional)explicit_bzero@Base 2.5.0~preview1
  nucomp_canonicalization@Base 2.5.0~preview1
  nurat_canonicalization@Base 2.5.0~preview1
  onig_add_end_call@Base 2.5.0~preview1
@@ -664,10 +664,10 @@
  rb_find_file_ext@Base 2.5.0~preview1
  rb_find_file_ext_safe@Base 2.5.0~preview1
  rb_find_file_safe@Base 2.5.0~preview1
- (arch=amd64 kfreebsd-amd64 ia64 s390x)rb_fix2int@Base 2.5.0~preview1
+ (arch=amd64 kfreebsd-amd64 arm64 ia64 s390x)rb_fix2int@Base 2.5.0~preview1
  rb_fix2short@Base 2.5.0~preview1
  rb_fix2str@Base 2.5.0~preview1
- (arch=amd64 kfreebsd-amd64 ia64 s390x)rb_fix2uint@Base 2.5.0~preview1
+ (arch=amd64 kfreebsd-amd64 arm64 ia64 s390x)rb_fix2uint@Base 2.5.0~preview1
  rb_fix2ushort@Base 2.5.0~preview1
  rb_float_new@Base 2.5.0~preview1
  rb_float_new_in_heap@Base 2.5.0~preview1
@@ -989,11 +989,11 @@
  rb_notimplement@Base 2.5.0~preview1
  rb_num2dbl@Base 2.5.0~preview1
  rb_num2fix@Base 2.5.0~preview1
- (arch=amd64)rb_num2int@Base 2.5.0~preview1
+ (arch=amd64 arm64 s390x)rb_num2int@Base 2.5.0~preview1
  rb_num2ll@Base 2.5.0~preview1
  rb_num2long@Base 2.5.0~preview1
  rb_num2short@Base 2.5.0~preview1
- (arch=amd64)rb_num2uint@Base 2.5.0~preview1
+ (arch=amd64 arm64 s390x)rb_num2uint@Base 2.5.0~preview1
  rb_num2ull@Base 2.5.0~preview1
  rb_num2ulong@Base 2.5.0~preview1
  rb_num2ushort@Base 2.5.0~preview1
@@ -1048,7 +1048,7 @@
  rb_objspace_marked_object_p@Base 2.5.0~preview1
  rb_objspace_reachable_objects_from@Base 2.5.0~preview1
  rb_objspace_reachable_objects_from_root@Base 2.5.0~preview1
- (arch=amd64)rb_out_of_int@Base 2.5.0~preview1
+ (arch=amd64 arm64 s390x)rb_out_of_int@Base 2.5.0~preview1
  rb_output_fs@Base 2.5.0~preview1
  rb_output_rs@Base 2.5.0~preview1
  rb_p@Base 2.5.0~preview1
diff -Nru ruby2.5-2.5.0~preview1/debian/patches/0005-Exclude-tests-that-fail-on-Ubuntu-builds.patch ruby2.5-2.5.0~preview1/debian/patches/0005-Exclude-tests-that-fail-on-Ubuntu-builds.patch
--- ruby2.5-2.5.0~preview1/debian/patches/0005-Exclude-tests-that-fail-on-Ubuntu-builds.patch	1970-01-01 01:00:00.000000000 +0100
+++ ruby2.5-2.5.0~preview1/debian/patches/0005-Exclude-tests-that-fail-on-Ubuntu-builds.patch	2017-11-15 12:28:33.000000000 +0100
@@ -0,0 +1,28 @@
+Index: b/test/excludes/TestFileUtils.rb
+===================================================================
+--- /dev/null
++++ b/test/excludes/TestFileUtils.rb
+@@ -0,0 +1 @@
++exclude :test_chown, "fails on Launchpad builders"
+Index: b/test/excludes/TestProcess.rb
+===================================================================
+--- a/test/excludes/TestProcess.rb
++++ b/test/excludes/TestProcess.rb
+@@ -4,3 +4,4 @@ exclude :test_popen_wordsplit_beginning_
+ exclude :test_spawn_wordsplit, "fails under sbuild"
+ exclude :test_status_quit, "fails under sbuild"
+ exclude :test_system_wordsplit, "fails under sbuild"
++exclude :test_execopts_gid, "fails on Launchpad builders"
+Index: b/test/excludes/TestBacktrace.rb
+===================================================================
+--- /dev/null
++++ b/test/excludes/TestBacktrace.rb
+@@ -0,0 +1 @@
++exclude :test_caller_lev, "fails on Launchpad builders (ppc64el)"
+Index: b/test/excludes/TestIO.rb
+===================================================================
+--- a/test/excludes/TestIO.rb
++++ b/test/excludes/TestIO.rb
+@@ -1 +1,2 @@
+ exclude :test_pid, "fails under sbuild"
++exclude :test_caller_lev, "fails on Launchpad builders (i386)"
diff -Nru ruby2.5-2.5.0~preview1/debian/patches/series ruby2.5-2.5.0~preview1/debian/patches/series
--- ruby2.5-2.5.0~preview1/debian/patches/series	2017-10-11 02:12:54.000000000 +0200
+++ ruby2.5-2.5.0~preview1/debian/patches/series	2017-11-15 12:20:03.000000000 +0100
@@ -3,3 +3,4 @@
 0003-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
 0004-Make-gemspecs-reproducible.patch
 0005-Exclude-tests-that-fail-on-Debian-builds.patch
+0005-Exclude-tests-that-fail-on-Ubuntu-builds.patch

Reply via email to