Wind River Support Network

HomeDefectsLIN1018-4960
Fixed

LIN1018-4960 : Backport several commits from oe-core upstream

Created: Sep 23, 2019    Updated: Oct 21, 2019
Resolved Date: Oct 14, 2019
Found In Version: 10.18.44.10
Fix Version: 10.18.44.11
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

commit 55acc9b477919208d91781dbe9a03136f895a94b
Author: Changqing Li <changqing.li@windriver.com>
Date:   Thu Apr 11 15:02:32 2019 +0800

    ruby: make ext module fiddle can compile success

    ext module fiddle depend on libffi, in ruby source tree,
    there is in internal libffi in case target platfrom don't
    install libffi, but autotools.bbclass delete configure
    under libffi and not run autoreconf to regenerate one.so
    we met this error:
    ruby-2.5.3/ext/fiddle/libffi-3.2.1/configure: No such file or directory

    the fix is add depend and extra_oeconf to use libffi in the system

    Signed-off-by: Changqing Li <changqing.li@windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>


commit 479620023aa0af9467ca1d2807cf7bedd73327f6
Author: Grandbois, Brett <brett.grandbois@opengear.com>
Date:   Fri Feb 8 01:30:34 2019 +0000

    ruby: remove CVE-2018-1000073.patch as already fixed

    rubygems 2.7.6 which is in ruby 2.5.3 has this fix and as currently
    applied all gem extraction fails as the realpath check is done against
    the full path including the file to be extracted which will always fail
    as the file hasnt been extracted yet

    Signed-off-by: Brett Grandbois <brett.grandbois@opengear.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

 
commit b25acc546b6fc684da9cc8a3a01e44cd195e209b
Author: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Date:   Thu Jan 31 14:21:26 2019 -0800

    ruby.inc: Add dependency on readline-native

    Add dependency on readline-native to fix the following issue

    uninitialized constant Logfile
    |       Check ext/fiddle/mkmf.log for more details.
    | readline:
    |       Could not be configured. It will not be installed.
    |
    build/tmp/work/x86_64-linux/ruby-native/2.5.1-r0/ruby-2.5.1/ext/readline/extconf.rb:62:
    Neither readline nor libedit was found
    |       Check ext/readline/mkmf.log for more details.
    | *** Fix the problems, then remove these directories and try again if
    you want.

    Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
    Signed-off-by: Richard Purdie richard.purdie@linuxfoundation.org
Live chat
Online