From cb08a5f5b90d2d9bf2b5316ee0d073170300ba03 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 24 Apr 2017 22:37:01 +0300 Subject: [PATCH 1/1] disable rpath enc.mk passes rpath value empty which causes random next arg to be used as rpath value http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2017-April/025348.html --- ruby.spec | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ruby.spec b/ruby.spec index 83f9a76..13f032f 100644 --- a/ruby.spec +++ b/ruby.spec @@ -11,13 +11,6 @@ %bcond_with bootstrap # build bootstrap version %bcond_with tests # build without tests -# prevent some weird build error: -# readlink: unrecognized option '--library=pthread' -# caused by: -# $ chrpath -l /home/users/glen/tmp/ruby-2.3.3-root-glen/usr/lib64/ruby/2.3/enc/encdb.so -# /home/users/glen/tmp/ruby-2.3.3-root-glen/usr/lib64/ruby/2.3/enc/encdb.so: RPATH=--library=pthread -%define debug 1 - %define rel 0.1 %define ruby_version 2.3 %define basever 2.3 @@ -591,6 +584,7 @@ cd .. --enable-multiarch \ --enable-shared \ --disable-install-doc \ + --disable-rpath \ --disable-rubygems \ --with-ruby-version='' \ -- 2.44.0