]> code.ossystems Code Review - openembedded-core.git/commitdiff
ruby: disable rdoc due to non-reproducibility
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sun, 9 Jan 2022 22:27:20 +0000 (23:27 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Jan 2022 10:50:22 +0000 (10:50 +0000)
The issue is reported upstream:
https://bugs.ruby-lang.org/issues/18456

Otherwise I do not feel that further investigation of rdoc's parser to find
out the source of non-determinism is worth the time.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/reproducible.py
meta/recipes-devtools/ruby/ruby_3.0.3.bb

index 35ad0009a822d160751649bf3a8743810debfcee..a0dc76977f67cba24a7e8b0a13f5261b17519438 100644 (file)
@@ -17,12 +17,9 @@ import stat
 import os
 import datetime
 
-# ruby-ri-docs, meson:
-#https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210215-0_td9la2/packages/diff-html/
 # rust-llvm:
 #https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210825-kaihham6/
 exclude_packages = [
-       'ruby-ri-docs',
        'rust-llvm-liblto',
        'rust-llvm-staticdev'
        ]
index 95feb94dd4460b47cce98d2c532e38180735b889..5cf06251010109d04c9cf347e8c7d6d60175dd76 100644 (file)
@@ -21,6 +21,9 @@ PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
 PACKAGECONFIG[valgrind] = "--with-valgrind=yes, --with-valgrind=no, valgrind"
 PACKAGECONFIG[gmp] = "--with-gmp=yes, --with-gmp=no, gmp"
 PACKAGECONFIG[ipv6] = "--enable-ipv6, --disable-ipv6,"
+# rdoc is off by default due to non-reproducibility reported in
+# https://bugs.ruby-lang.org/issues/18456
+PACKAGECONFIG[rdoc] = "--enable-install-rdoc,--disable-install-rdoc,"
 
 EXTRA_OECONF = "\
     --disable-versioned-paths \