From: Jackie Huang Date: Tue, 9 Jun 2020 08:47:22 +0000 (+0800) Subject: ruby-native: add dependency on zlib-native X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=a34e0d1d813938bc8751aa1120bdf793587effa1;p=pti%2Frtp.git ruby-native: add dependency on zlib-native Some packages use the ruby "gem build" command to create gems, which requires zlib, so add dependency on zlib-native or it relies the host's zlib and fails on some host like CentOS: | ERROR: Loading command: build (LoadError) | cannot load such file -- zlib | ERROR: While executing gem ... (NoMethodError) Issue-ID: INF-155 Issue-ID: INF-157 Issue-ID: INF-158 Signed-off-by: Jackie Huang Change-Id: Ib680adda00df8bad2191d367d5ff27ff393fbf96 --- diff --git a/meta-stx/recipes-devtools/ruby/ruby.inc b/meta-stx/recipes-devtools/ruby/ruby.inc index fa5692e..3acb436 100644 --- a/meta-stx/recipes-devtools/ruby/ruby.inc +++ b/meta-stx/recipes-devtools/ruby/ruby.inc @@ -30,7 +30,7 @@ LIC_FILES_CHKSUM = "\ " DEPENDS = "ruby-native zlib openssl tcl libyaml gdbm readline libffi libnsl2" -DEPENDS_class-native = "openssl-native libyaml-native readline-native libnsl2" +DEPENDS_class-native = "zlib-native openssl-native libyaml-native readline-native libnsl2" SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" SRC_URI = " \