Skip to contentSkip to conversation

package/ruby: enable openssl for host-ruby

PATCH New Nicolas Carrier 3 participants 3 messages Oct 25, 2019 – Oct 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/ruby: enable openssl for host-ruby

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

---
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(-)
package/ruby/ruby.mk +2 -2
index c3d021c381..1899d14797 100644
@@ -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
Signature · 1 line
2.20.1
#1 lore raw

PATCH v2 1/1 package/ruby: enable openssl for host-ruby

Quoted 6 lines · On Fri, 25 Oct 2019 13:37:20 +0000 Nicolas Carrier…

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

Quoted 8 lines

---
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

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH v2 1/1 package/ruby: enable openssl for host-ruby

In reply to Nicolas Carrier
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Nicolas" == Nicolas Carrier <[email protected]> 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

Quoted 5 lines

---
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.

Signature · 1 line
Bye, Peter Korsgaard