Bug 922217 - Use of syck in alexandria/models/library.rb must be converted to psych for Ruby 2.0
Summary: Use of syck in alexandria/models/library.rb must be converted to psych for Ru...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: alexandria
Version: rawhide
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 922460
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-15 18:41 UTC by Adam Williamson
Modified: 2013-10-01 16:33 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-30 06:24:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
stderr of alexandria --debug (16.55 KB, text/plain)
2013-09-29 21:38 UTC, Patrick C. F. Ernzer
no flags Details

Description Adam Williamson 2013-03-15 18:41:35 UTC
It looks like syck is removed in Ruby 2.0:

http://rubysource.com/a-look-at-ruby-2-0/

Alexandria's library.rb relies on syck:

    def self.regularize_book_from_yaml(name)
      require 'syck/encoding'

It looks like we need to convert that function's use of syck to psych. And by 'we' I mean 'someone else' as I have no damn clue how to do that. I'm just an Alexandria user. Without this, it looks like Alexandria won't work on F19+. There's also a spec tweak required, ruby(abi) changed into ruby(release).

Comment 1 Adam Williamson 2013-03-15 18:42:01 UTC
Filed downstream as upstream Alexandria development appears to be dead, and we have a ton of downstream Ruby 1.9 patches already...

Comment 2 Mamoru TASAKA 2013-03-17 06:40:09 UTC
Someone kindfully packaged syck into gem form. I would appreciate it if you would review review request bug 922460 .

Comment 3 Mamoru TASAKA 2013-03-17 06:41:41 UTC
Changes for alexandria (spec file) was already committed into git (not built yet: needs rubygem-syck)

Comment 4 Adam Williamson 2013-03-21 00:32:40 UTC
Mamoru: er, per our severity definitions this is by definition 'high' for alexandria, because it prevents it being built or running. Can't really get much more severe.

Comment 5 Mamoru TASAKA 2013-03-21 02:31:18 UTC
Then I would appreciate it if you would take review request, thank you.

Comment 6 Mamoru TASAKA 2013-03-21 02:33:45 UTC
(Note that I also like alexandria and I want to resolve this issue as quickly as possible)

Comment 7 Adam Williamson 2013-03-21 02:37:11 UTC
I would love to, but I'm knee deep in F19 Alpha blocker fixing at present, I don't like taking reviews I can't commit to doing promptly.

Comment 8 Fedora Update System 2013-04-08 13:30:46 UTC
alexandria-0.6.9-5.fc19,rubygem-syck-1.0.0-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/alexandria-0.6.9-5.fc19,rubygem-syck-1.0.0-2.fc19

Comment 9 Fedora Update System 2013-04-08 16:02:01 UTC
Package alexandria-0.6.9-5.fc19, rubygem-syck-1.0.0-2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing alexandria-0.6.9-5.fc19 rubygem-syck-1.0.0-2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5129/alexandria-0.6.9-5.fc19,rubygem-syck-1.0.0-2.fc19
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2013-04-20 19:22:58 UTC
alexandria-0.6.9-5.fc19, rubygem-syck-1.0.0-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Patrick C. F. Ernzer 2013-09-29 21:36:59 UTC
# rpm -q alexandria rubygem-syck
alexandria-0.6.9-6.fc19.noarch
rubygem-syck-1.0.0-2.fc19.x86_64

still throws
Exception `LoadError' at /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:51 - cannot load such file -- syck/encoding

Comment 12 Patrick C. F. Ernzer 2013-09-29 21:38:14 UTC
Created attachment 804787 [details]
stderr of alexandria --debug

Comment 13 Mamoru TASAKA 2013-09-30 00:45:53 UTC
(In reply to Patrick C. F. Ernzer from comment #12)
> Created attachment 804787 [details]
> stderr of alexandria --debug

While the message "cannot load such file -- syck/encoding" needs
investigating, the reason your alexandria crashes is due to
different issue. Please split bug report for that, thank you.

Comment 14 Mamoru TASAKA 2013-09-30 06:24:10 UTC
At least "this" issue is fixed. The message "cannot load such file -- syck/encoding" seems to come from outside alexandria, so closing this again.

Comment 15 Mamoru TASAKA 2013-10-01 02:49:16 UTC
(In reply to Mamoru TASAKA from comment #13)
> (In reply to Patrick C. F. Ernzer from comment #12)
> > Created attachment 804787 [details]
> > stderr of alexandria --debug
> 
> While the message "cannot load such file -- syck/encoding" needs
> investigating, the reason your alexandria crashes is due to
> different issue. Please split bug report for that, thank you.

Again this is the different issue so please open a new bug report
(especially because additional information is needed), thank you.

Comment 16 Patrick C. F. Ernzer 2013-10-01 16:33:57 UTC
Tasaka-san,

(In reply to Mamoru TASAKA from comment #15)
[...]
> Again this is the different issue so please open a new bug report
> (especially because additional information is needed), thank you.

done. Bug 1014295


Note You need to log in before you can comment on or make changes to this bug.