Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106866 - yaml broken in ruby-1.8.3_pre2
Summary: yaml broken in ruby-1.8.3_pre2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-22 00:42 UTC by Xavier Neys (RETIRED)
Modified: 2005-09-23 03:50 UTC (History)
0 users

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


Attachments
total.yaml (total.yaml,114.37 KB, text/plain)
2005-09-22 00:43 UTC, Xavier Neys (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Neys (RETIRED) gentoo-dev 2005-09-22 00:42:11 UTC
yaml outputs broken files since I've updated to _pre2
[ebuild   R   ] dev-lang/ruby-1.8.3_pre2  -cjk +doc +socks5 +tcltk -threads
I'm now back to _pre1

I've had many problems with corrupted yaml files but I still can't pinpoint the
problem. The best I can offer at this point to reproduce is to run the following
code on attached total.yaml. Other cases also seem to suffer from wildly
inserted '---', sometimes in the middle of a string.

require 'yaml'
y=YAML::load_file('total.yaml')
File.open("t2.yaml", File::CREAT|File::WRONLY|File::TRUNC){|f|f.puts y.to_yaml}

Then look for /doc/**/gnome-config.xml in t2.yaml and notice
'  ro: --- 232'   instead of 'ro: 232'
Comment 1 Xavier Neys (RETIRED) gentoo-dev 2005-09-22 00:43:17 UTC
Created attachment 68992 [details]
total.yaml
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2005-09-22 17:47:09 UTC
Thus far it seems that 1.8.3 has been underwhelming - some people are having problems on rails as well.
Comment 3 Xavier Neys (RETIRED) gentoo-dev 2005-09-23 03:50:49 UTC
this problem has been fixed in 1.8.3