[oe] [meta-openembedded][FIDO PATCH 1/1] ruby: Fixed runtime error

Christian Ege k4230r6 at gmail.com
Thu Jan 21 10:39:01 UTC 2016


>From 6d2c2b602185a03232635a9c5c97253930c2bc0b Mon Sep 17 00:00:00 2001
From: Daniel Schnell <daniel.schnell.extern at ifm.com>
Date: Wed, 14 Oct 2015 14:49:52 +0200
Subject: [meta-openembedded][FIDO PATCH 1/1] ruby: Fixed runtime error

 Only include "enable-wide-getaddrinfo" if IVP6 is enabled in disto
 feature otherwise 'gem install rails' throws an error
 for the missing symbol 'getipnodebyname'

This is a backport of master branch commit
86835b4ac5ee593e8bd5b142504194370df71728
to make any gem installation possible.

Signed-off-by: Daniel Schnell <daniel.schnell.extern at ifm.com>
Signed-off-by: Christian Ege <k4230r6 at gmail.com>
---
 meta-ruby/recipes-devtools/ruby/ruby_2.2.1.bb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-ruby/recipes-devtools/ruby/ruby_2.2.1.bb
b/meta-ruby/recipes-devtools/ruby/ruby_2.2.1.bb
index 080d455..ccb7cbc 100644
--- a/meta-ruby/recipes-devtools/ruby/ruby_2.2.1.bb
+++ b/meta-ruby/recipes-devtools/ruby/ruby_2.2.1.bb
@@ -9,11 +9,12 @@ SRC_URI[sha256sum] =
"5a4de38068eca8919cb087d338c0c2e3d72c9382c804fb27ab746e6c78
 UNKNOWN_CONFIGURE_WHITELIST += "--enable-wide-getaddrinfo"

 PACKAGECONFIG ??= ""
+PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6',
'ipv6', '', d)}"
 PACKAGECONFIG[valgrind] = "--with-valgrind=yes, --with-valgrind=no, valgrind"
 PACKAGECONFIG[gpm] = "--with-gmp=yes, --with-gmp=no, gmp"
+PACKAGECONFIG[ipv6] = ",--enable-wide-getaddrinfo,"

 EXTRA_OECONF = "\
-    --enable-wide-getaddrinfo \
     --disable-versioned-paths \
     --disable-rpath \
     --disable-dtrace \
-- 
1.7.9.5


-- 
http://ch.ege.io/



More information about the Openembedded-devel mailing list