Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 206963 - dev-lang/ruby - use system oniguruma
Summary: dev-lang/ruby - use system oniguruma
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-22 00:25 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2008-07-05 06:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-01-22 00:25:19 UTC
Onigurama being http://www.geocities.jp/kosako3/oniguruma/ .

Symbol onig_alloc_init@@ (64-bit UNIX System V ABI AMD x86-64 architecture) present 3 times
  /usr/lib64/php5/bin/php-cgi
  /usr/lib64/php5/bin/php
  /usr/lib64/libruby18.so.1.8.6
Symbol onig_bbuf_init@@ (64-bit UNIX System V ABI AMD x86-64 architecture) present 3 times
  /usr/lib64/php5/bin/php-cgi
  /usr/lib64/php5/bin/php
  /usr/lib64/libruby18.so.1.8.6
Symbol onig_chain_reduce@@ (64-bit UNIX System V ABI AMD x86-64 architecture) present 3 times
  /usr/lib64/php5/bin/php-cgi
  /usr/lib64/php5/bin/php
  /usr/lib64/libruby18.so.1.8.6
Symbol onig_compile@@ (64-bit UNIX System V ABI AMD x86-64 architecture) present 3 times
  /usr/lib64/php5/bin/php-cgi
  /usr/lib64/php5/bin/php
  /usr/lib64/libruby18.so.1.8.6
Symbol onig_end@@ (64-bit UNIX System V ABI AMD x86-64 architecture) present 3 times
  /usr/lib64/php5/bin/php-cgi
  /usr/lib64/php5/bin/php
  /usr/lib64/libruby18.so.1.8.6

It would be nice if they could use a system copy of it rather than duplicating...
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-22 00:36:35 UTC
You can try your luck at http://bugs.php.net/ ;) 

Other than that, breaking mbstring is not really a viable option here and making php depend on ruby for this plain sucks. Anyway, a separate bug from ruby please.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-01-22 00:54:01 UTC
Considering that onigurama is not in portage now, and that _both_ languages use it, I can't see how am I asking to break something or get php to depend on ruby.

The best thing here is _coordinating_ between the two teams, as they both need onigurama.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-01-22 00:55:08 UTC
PHP moved to Bug 206970.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-01-22 00:58:30 UTC
(In reply to comment #2)
> Considering that onigurama is not in portage now

Sure it is (dev-libs/oniguruma), you've got a typo there... :) Plus the whole mixing of two completely unrelated ebuilds got me confused like hell.

And please note that previous attempts to use shared libraries for PHP mostly broke the thing (like when trying to use shared dev-libs/libpcre).
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-01-22 01:10:08 UTC
doh! and I even double checked. Sorry =_=; seems like my head's spinning because of all the symbol mangling.
Comment 6 Hans de Graaff gentoo-dev Security 2008-07-05 06:44:32 UTC
Won't happen for dev-lang/ruby since we need a special version for 1.8.6 and we need it to help patch the ruby 1.8.6 source code before compiling. Not a simple library dependency.

On the bright side ruby 1.9 will have support for a newer oniguruma built in, so I guess that will make things easier.