All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/1] package/ruby: enable openssl for host-ruby
@ 2019-10-25 13:37 Nicolas Carrier
  2019-10-25 15:12 ` Thomas Petazzoni
  2019-10-30 12:44 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Nicolas Carrier @ 2019-10-25 13:37 UTC (permalink / raw)
  To: buildroot

Openssl is required so that Gem can install ruby gems from secure websites.

ERROR:  While executing gem ... (Gem::Exception)
    Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or
use non-HTTPS sources

Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com>
---
Changes v1 -> v2:
  - remove original committer, since he has left the company
  - added dependency on host-openssl
---
 package/ruby/ruby.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/ruby/ruby.mk b/package/ruby/ruby.mk
index c3d021c381..1899d14797 100644
--- a/package/ruby/ruby.mk
+++ b/package/ruby/ruby.mk
@@ -10,12 +10,12 @@ RUBY_VERSION_EXT = 2.4.0
 RUBY_SITE = http://cache.ruby-lang.org/pub/ruby/$(RUBY_VERSION_MAJOR)
 RUBY_SOURCE = ruby-$(RUBY_VERSION).tar.xz
 RUBY_DEPENDENCIES = host-pkgconf host-ruby
-HOST_RUBY_DEPENDENCIES = host-pkgconf
+HOST_RUBY_DEPENDENCIES = host-pkgconf host-openssl
 RUBY_MAKE_ENV = $(TARGET_MAKE_ENV)
 RUBY_CONF_OPTS = --disable-install-doc --disable-rpath --disable-rubygems
 HOST_RUBY_CONF_OPTS = \
 	--disable-install-doc \
-	--with-out-ext=curses,openssl,readline \
+	--with-out-ext=curses,readline \
 	--without-gmp
 RUBY_LICENSE = Ruby or BSD-2-Clause, BSD-3-Clause, others
 RUBY_LICENSE_FILES = LEGAL COPYING BSDL
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH v2 1/1] package/ruby: enable openssl for host-ruby
  2019-10-25 13:37 [Buildroot] [PATCH v2 1/1] package/ruby: enable openssl for host-ruby Nicolas Carrier
@ 2019-10-25 15:12 ` Thomas Petazzoni
  2019-10-30 12:44 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-10-25 15:12 UTC (permalink / raw)
  To: buildroot

On Fri, 25 Oct 2019 13:37:20 +0000
Nicolas Carrier <nicolas.carrier@orolia.com> wrote:

> Openssl is required so that Gem can install ruby gems from secure websites.
> 
> ERROR:  While executing gem ... (Gem::Exception)
>     Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or
> use non-HTTPS sources
> 
> Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com>
> ---
> Changes v1 -> v2:
>   - remove original committer, since he has left the company
>   - added dependency on host-openssl
> ---
>  package/ruby/ruby.mk | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH v2 1/1] package/ruby: enable openssl for host-ruby
  2019-10-25 13:37 [Buildroot] [PATCH v2 1/1] package/ruby: enable openssl for host-ruby Nicolas Carrier
  2019-10-25 15:12 ` Thomas Petazzoni
@ 2019-10-30 12:44 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-10-30 12:44 UTC (permalink / raw)
  To: buildroot

>>>>> "Nicolas" == Nicolas Carrier <nicolas.carrier@orolia.com> writes:

 > Openssl is required so that Gem can install ruby gems from secure websites.
 > ERROR:  While executing gem ... (Gem::Exception)
 >     Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or
 > use non-HTTPS sources

 > Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com>
 > ---
 > Changes v1 -> v2:
 >   - remove original committer, since he has left the company
 >   - added dependency on host-openssl

Committed to 2019.02.x and 2019.08.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-30 12:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-25 13:37 [Buildroot] [PATCH v2 1/1] package/ruby: enable openssl for host-ruby Nicolas Carrier
2019-10-25 15:12 ` Thomas Petazzoni
2019-10-30 12:44 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.