FS#16176 - List of packages thats needs rebuild for ruby 1.9

Attached to Project: Community Packages
Opened by Gerardo Exequiel Pozzi (djgera) - Monday, 14 September 2009, 05:59 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 29 September 2009, 22:58 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Douglas Soares de Andrade (dsa)
Dan Griffiths (Ghost1227)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

All these packages needs a rebuild for new ruby 1.9 in extra.

mysql-ruby-2.8.1-1


This task depends upon

Closed by  Eric Belanger (Snowman)
Tuesday, 29 September 2009, 22:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  mysql-ruby-2.8.1-2
Comment by Sergej Pupykin (sergej) - Monday, 14 September 2009, 09:25 GMT
xmms2 and clearsilver fixed
I resign...
Comment by Xavier (shining) - Monday, 14 September 2009, 17:00 GMT
what about alexandria 0.6.5-2 which depends on ruby<=1.8.7_p174 ?
Comment by Matt (v01d) - Monday, 14 September 2009, 23:56 GMT
also:

extra/kdebindings-ruby 4.3.1-1 (kdebindings)
KDE bindings for ruby
community/mysql-ruby 2.8.1-1
This is the MySQL API module for Ruby.
community/ruby-sqlite3 1.2.4-1
A Ruby interface for the SQLite3 database engine
Comment by Matt (v01d) - Monday, 14 September 2009, 23:56 GMT
well, disregard the last two, as they were already listed
Comment by Gerardo Exequiel Pozzi (djgera) - Tuesday, 15 September 2009, 02:34 GMT
@Xavier: This list is only based on searching for libruby.so.1.8. (sorry I did not say before)

@Matt: This is only for community packages.
Comment by Stefan Husmann (stefanhusmann) - Tuesday, 15 September 2009, 07:57 GMT
alexandria is in my focus. I will have to test if it works at all with ruby 1.9. I guess it does not.
Comment by Allan McRae (Allan) - Tuesday, 15 September 2009, 12:58 GMT
If there is a big issue with alexandria, I can always add a ruby18 package to the repos to help the transition. Let me know if needed.
Comment by Ionut Biru (wonder) - Tuesday, 15 September 2009, 15:04 GMT
@stefan need help with those rebuilds?
Comment by Stefan Husmann (stefanhusmann) - Tuesday, 15 September 2009, 16:28 GMT
According to the Maintainer comment, ruby-ncurses is maintained by Jeff Mickey. It does not build, though.

form_wrap.c: In function 'rbncurs_m_new_form':
form_wrap.c:397: error: 'struct RArray' has no member named 'len'
Comment by Ionut Biru (wonder) - Tuesday, 15 September 2009, 16:31 GMT
stefan even if updated to 1.2.4?
Comment by Stefan Husmann (stefanhusmann) - Tuesday, 15 September 2009, 16:32 GMT
Biro, just saw your comment. I am currently building for x86_64. It is not just a rebuild, I try to make a version bump too. I will contact you if I need help. Thank you for your offer.
Comment by Sergej Pupykin (sergej) - Tuesday, 15 September 2009, 17:10 GMT
>> form_wrap.c: In function 'rbncurs_m_new_form':
>> form_wrap.c:397: error: 'struct RArray' has no member named 'len'

replace A->len to RARRAYLEN(A)
and A->ptr to RARRAY_PTR(A)

(see patches for xmms2 and clearsilver)
Comment by Stefan Husmann (stefanhusmann) - Tuesday, 15 September 2009, 18:01 GMT
ruby-ncurses: Thank you Biro, that did the trick.

But I have a problem with running alexandria. I made a PKGBUILD for ruby-gettext:

pkgname=ruby-gettext
pkgver=2.0.4
pkgrel=1
pkgdesc="A Native Language Support Library and Tools which is modeled after GNU gettext package"
arch=('i686' 'x86_64')
url="http://www.yotabanana.com/hiki/ruby-gettext.html?ruby-gettext"
license=('RUBY')
depends=('gettext' 'ruby')
source=(http://files.rubyforge.vm.bytemark.co.uk/gettext/gettext-$pkgver.gem)
md5sums=('7e4dd44845609437af97090375952e0b')

build() {
cd "$srcdir"
local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
gem install --ignore-dependencies -i "$pkgdir$_gemdir" gettext-$pkgver.gem
}

but there seems to something missing, maybe something like ruby-locale.

$ alexandria
/usr/bin/alexandria:3: warning: variable $KCODE is no longer effective; ignored
/usr/lib/ruby/gems/1.9.1/gems/gettext-2.0.4/lib/gettext.rb:27:in `require': no such file to load -- locale (LoadError)
from /usr/lib/ruby/gems/1.9.1/gems/gettext-2.0.4/lib/gettext.rb:27:in `<top (required)>'
from /usr/bin/alexandria:5:in `require'
from /usr/bin/alexandria:5:in `<main>'
Comment by Stefan Husmann (stefanhusmann) - Thursday, 17 September 2009, 20:35 GMT
uploaded the ruby packages except ruby-zoom (does not build) and alexandria (needs old ruby). I suspect, only having ruby1.8 in community would not help, we would need all the dependencies build against ruby1.8, too. If noone has an idea to fix this, alexandria and ruby-zoom should be moved to unsupported imho.
Comment by Ben Court (descendent87) - Monday, 21 September 2009, 17:43 GMT
rubyripper also needs updating for ruby 1.9, the package in the repo's is out of date aswell
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 23 September 2009, 06:40 GMT
Removed rebuilded packages. Only remains:

mysql-ruby-2.8.1-1
ruby-rcairo-1.8.0-1 (i686 only)
ruby-zoom-0.4.1-1

Thanks.
Comment by Stefan Husmann (stefanhusmann) - Wednesday, 23 September 2009, 17:59 GMT
ruby-zoom is moved to unsupported. Also alexandria.
Comment by Stefan Husmann (stefanhusmann) - Wednesday, 23 September 2009, 20:01 GMT
ruby-rcairo is fixed also.
Comment by Xavier (shining) - Sunday, 27 September 2009, 09:23 GMT
ruby-zoom is gone from pacman database but is still in ABS tree : http://repos.archlinux.org/viewvc.cgi/ruby-zoom/?root=community
Comment by Stefan Husmann (stefanhusmann) - Sunday, 27 September 2009, 09:49 GMT
Explicitely deleted ruby-zoom from sigurd.

Loading...