Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115388 - >=ruby-1.8.3 breaks YAML apps
Summary: >=ruby-1.8.3 breaks YAML apps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-13 00:57 UTC by Antti Tuominen
Modified: 2006-01-02 13:08 UTC (History)
0 users

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


Attachments
/usr/portage/dev-lang/ruby/files/ruby-1.8.4-yaml.diff (ruby-1.8.4-yaml.diff,457 bytes, patch)
2005-12-13 03:00 UTC, Xavier Neys (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Tuominen 2005-12-13 00:57:53 UTC
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=331050

Patches:
http://bugs.debian.org/cgi-bin/bugreport.cgi/bignum.diff?bug=331050;msg=12;att=1
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/6159

Reproducible: Always
Steps to Reproduce:
1. Install ruby 1.8.3
2. Install raggle
3. Run raggle

Actual Results:  
Raggle: Loading config...
Raggle: Loading feed list...
/usr/lib/ruby/1.8/yaml.rb:133:in `transfer': allocator undefined for Bignum
(TypeError)
        from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
        from /usr/bin/raggle:4795:in `load_config'
        from /usr/bin/raggle:5441:in `main'
        from /usr/bin/raggle:6461


Expected Results:  
raggle running successfully
Comment 1 Xavier Neys (RETIRED) gentoo-dev 2005-12-13 02:58:49 UTC
Ruby guys: raggle is just an easy way to reproduce the problem. Run it once to
create your ~/.raggle/* files, run it again, bam!

I have been using the suggested patch since 1.8.4_pre1 without any problem and
had hoped it would be in _pre2. It isn't yet.
I've only tested it against 1.8.4
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2005-12-13 03:00:32 UTC
Created attachment 74634 [details, diff]
/usr/portage/dev-lang/ruby/files/ruby-1.8.4-yaml.diff

Add "epatch ${FILESDIR}/ruby-1.8.4-yaml.diff" to src_unpack()
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2005-12-14 08:56:09 UTC
Committed as 1.8.4_pre2-r1 
Comment 4 Xavier Neys (RETIRED) gentoo-dev 2005-12-30 07:02:48 UTC
Has been unfixed in 1.8.4.
Previously submitted patch can still be used.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2006-01-02 13:08:21 UTC
readded as 1.8.4-r1