ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:57541] [ruby-trunk - Bug #8973][Open] Allow to configure archlibdir for multiarch
@ 2013-10-01 10:15 vo.x (Vit Ondruch)
  2013-10-01 12:03 ` [ruby-core:57546] [ruby-trunk - Bug #8973][Feedback] " nobu (Nobuyoshi Nakada)
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: vo.x (Vit Ondruch) @ 2013-10-01 10:15 UTC (permalink / raw
  To: ruby-core


Issue #8973 has been reported by vo.x (Vit Ondruch).

----------------------------------------
Bug #8973: Allow to configure archlibdir for multiarch
https://bugs.ruby-lang.org/issues/8973

Author: vo.x (Vit Ondruch)
Status: Open
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: 
Target version: 
ruby -v: ruby 2.1.0dev (2013-09-22 trunk 43011) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


Since r39347, there is impossible to configure placement of rubylib.so when build is configured with "--with-multiarch". That is probably OK for Debian, but it breaks Fedora :/ The attached patch allows to configure the archlibdir, but I feel that it is suboptimal, since the "--with-rubyarchprefix" should probably be the parameter which influences placement of the arch specific libraries. Any chance that this patch is accepted or better if rubyarchprefix is respected for every arch specific library, including libruby.so. Thanks.


-- 
http://bugs.ruby-lang.org/

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

* [ruby-core:57546] [ruby-trunk - Bug #8973][Feedback] Allow to configure archlibdir for multiarch
  2013-10-01 10:15 [ruby-core:57541] [ruby-trunk - Bug #8973][Open] Allow to configure archlibdir for multiarch vo.x (Vit Ondruch)
@ 2013-10-01 12:03 ` nobu (Nobuyoshi Nakada)
  2013-10-01 12:41 ` [ruby-core:57548] [ruby-trunk - Bug #8973][Open] " vo.x (Vit Ondruch)
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: nobu (Nobuyoshi Nakada) @ 2013-10-01 12:03 UTC (permalink / raw
  To: ruby-core


Issue #8973 has been updated by nobu (Nobuyoshi Nakada).

Status changed from Open to Feedback

Was it possible ever?
----------------------------------------
Bug #8973: Allow to configure archlibdir for multiarch
https://bugs.ruby-lang.org/issues/8973#change-42162

Author: vo.x (Vit Ondruch)
Status: Feedback
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: 
Target version: 
ruby -v: ruby 2.1.0dev (2013-09-22 trunk 43011) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


Since r39347, there is impossible to configure placement of rubylib.so when build is configured with "--with-multiarch". That is probably OK for Debian, but it breaks Fedora :/ The attached patch allows to configure the archlibdir, but I feel that it is suboptimal, since the "--with-rubyarchprefix" should probably be the parameter which influences placement of the arch specific libraries. Any chance that this patch is accepted or better if rubyarchprefix is respected for every arch specific library, including libruby.so. Thanks.


-- 
http://bugs.ruby-lang.org/

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

* [ruby-core:57548] [ruby-trunk - Bug #8973][Open] Allow to configure archlibdir for multiarch
  2013-10-01 10:15 [ruby-core:57541] [ruby-trunk - Bug #8973][Open] Allow to configure archlibdir for multiarch vo.x (Vit Ondruch)
  2013-10-01 12:03 ` [ruby-core:57546] [ruby-trunk - Bug #8973][Feedback] " nobu (Nobuyoshi Nakada)
@ 2013-10-01 12:41 ` vo.x (Vit Ondruch)
  2014-06-26  8:46 ` [ruby-core:63331] [ruby-trunk - Bug #8973] " lotheac
  2014-06-26 10:06 ` [ruby-core:63333] " lotheac
  3 siblings, 0 replies; 5+ messages in thread
From: vo.x (Vit Ondruch) @ 2013-10-01 12:41 UTC (permalink / raw
  To: ruby-core


Issue #8973 has been updated by vo.x (Vit Ondruch).

Status changed from Feedback to Open

In Ruby 2.0, when using "--with-multiarch" together with "--with-rubyarchprefix", it used ${libdir} for libruby.so library placement (i.e. /usr/lib64/). Now it is hardcoded to ${libdir}/${arch} (i.e. /usr/lib64/x86_64-linux). Hence there is no way how to get rid of x86_64-linux folder and place the library directly into /usr/lib64.
----------------------------------------
Bug #8973: Allow to configure archlibdir for multiarch
https://bugs.ruby-lang.org/issues/8973#change-42164

Author: vo.x (Vit Ondruch)
Status: Open
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: 
Target version: 
ruby -v: ruby 2.1.0dev (2013-09-22 trunk 43011) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


Since r39347, there is impossible to configure placement of rubylib.so when build is configured with "--with-multiarch". That is probably OK for Debian, but it breaks Fedora :/ The attached patch allows to configure the archlibdir, but I feel that it is suboptimal, since the "--with-rubyarchprefix" should probably be the parameter which influences placement of the arch specific libraries. Any chance that this patch is accepted or better if rubyarchprefix is respected for every arch specific library, including libruby.so. Thanks.


-- 
http://bugs.ruby-lang.org/

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

* [ruby-core:63331] [ruby-trunk - Bug #8973] Allow to configure archlibdir for multiarch
  2013-10-01 10:15 [ruby-core:57541] [ruby-trunk - Bug #8973][Open] Allow to configure archlibdir for multiarch vo.x (Vit Ondruch)
  2013-10-01 12:03 ` [ruby-core:57546] [ruby-trunk - Bug #8973][Feedback] " nobu (Nobuyoshi Nakada)
  2013-10-01 12:41 ` [ruby-core:57548] [ruby-trunk - Bug #8973][Open] " vo.x (Vit Ondruch)
@ 2014-06-26  8:46 ` lotheac
  2014-06-26 10:06 ` [ruby-core:63333] " lotheac
  3 siblings, 0 replies; 5+ messages in thread
From: lotheac @ 2014-06-26  8:46 UTC (permalink / raw
  To: ruby-core

Issue #8973 has been updated by Lauri Tirkkonen.


I second this patch. I was using --with-multiarch --with-archlibdir --with-rubylibprefix --with-rubyarchprefix --with-rubyarchsiteprefix on ruby 2.0.0 to get a correct directory layout on OmniOS, but on 2.1.2 that no longer works: $(arch) is "i386-solaris2.11" for both 32 and 64 bit builds on illumos, so the default behavior is the wrong thing and should be configurable. With this patch I can get the shared library placed where I want it to be.

Looks like there's another related issue though. Having built with this patch it looks like --with-rubyarchprefix=lib/amd64/ruby has no effect: the arch-specific libs end up in lib/ruby/2.1.0/i386-solaris2.11 anyways (rubyarchdir seems to be set explicitly to that somewhere, I'm trying to figure out where)

----------------------------------------
Bug #8973: Allow to configure archlibdir for multiarch
https://bugs.ruby-lang.org/issues/8973#change-47380

* Author: Vit Ondruch
* Status: Open
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: 
* Target version: 
* ruby -v: ruby 2.1.0dev (2013-09-22 trunk 43011) [x86_64-linux]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN
----------------------------------------
Since r39347, there is impossible to configure placement of rubylib.so when build is configured with "--with-multiarch". That is probably OK for Debian, but it breaks Fedora :/ The attached patch allows to configure the archlibdir, but I feel that it is suboptimal, since the "--with-rubyarchprefix" should probably be the parameter which influences placement of the arch specific libraries. Any chance that this patch is accepted or better if rubyarchprefix is respected for every arch specific library, including libruby.so. Thanks.

---Files--------------------------------
ruby-2.1.0-Enable-configuration-of-archlibdir.patch (479 Bytes)


-- 
https://bugs.ruby-lang.org/

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

* [ruby-core:63333] [ruby-trunk - Bug #8973] Allow to configure archlibdir for multiarch
  2013-10-01 10:15 [ruby-core:57541] [ruby-trunk - Bug #8973][Open] Allow to configure archlibdir for multiarch vo.x (Vit Ondruch)
                   ` (2 preceding siblings ...)
  2014-06-26  8:46 ` [ruby-core:63331] [ruby-trunk - Bug #8973] " lotheac
@ 2014-06-26 10:06 ` lotheac
  3 siblings, 0 replies; 5+ messages in thread
From: lotheac @ 2014-06-26 10:06 UTC (permalink / raw
  To: ruby-core

Issue #8973 has been updated by Lauri Tirkkonen.


Lauri Tirkkonen wrote:
> Looks like there's another related issue though. Having built with this patch it looks like --with-rubyarchprefix=lib/amd64/ruby has no effect: the arch-specific libs end up in lib/ruby/2.1.0/i386-solaris2.11 anyways (rubyarchdir seems to be set explicitly to that somewhere, I'm trying to figure out where)

I'm wrong: the flag for multiarch is --enable-multiarch, not --with-multiarch, which is what caused my issue. The patch for this issue does work, sorry for the noise.

----------------------------------------
Bug #8973: Allow to configure archlibdir for multiarch
https://bugs.ruby-lang.org/issues/8973#change-47381

* Author: Vit Ondruch
* Status: Open
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: 
* Target version: 
* ruby -v: ruby 2.1.0dev (2013-09-22 trunk 43011) [x86_64-linux]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN
----------------------------------------
Since r39347, there is impossible to configure placement of rubylib.so when build is configured with "--with-multiarch". That is probably OK for Debian, but it breaks Fedora :/ The attached patch allows to configure the archlibdir, but I feel that it is suboptimal, since the "--with-rubyarchprefix" should probably be the parameter which influences placement of the arch specific libraries. Any chance that this patch is accepted or better if rubyarchprefix is respected for every arch specific library, including libruby.so. Thanks.

---Files--------------------------------
ruby-2.1.0-Enable-configuration-of-archlibdir.patch (479 Bytes)


-- 
https://bugs.ruby-lang.org/

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

end of thread, other threads:[~2014-06-26  9:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-01 10:15 [ruby-core:57541] [ruby-trunk - Bug #8973][Open] Allow to configure archlibdir for multiarch vo.x (Vit Ondruch)
2013-10-01 12:03 ` [ruby-core:57546] [ruby-trunk - Bug #8973][Feedback] " nobu (Nobuyoshi Nakada)
2013-10-01 12:41 ` [ruby-core:57548] [ruby-trunk - Bug #8973][Open] " vo.x (Vit Ondruch)
2014-06-26  8:46 ` [ruby-core:63331] [ruby-trunk - Bug #8973] " lotheac
2014-06-26 10:06 ` [ruby-core:63333] " lotheac

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).