Bug 127178 - Alexandria 0.6.1 fails to run if ruby-gnome2 version is <0.14
Bug#: 127178 Product:  Gentoo Linux Version: 2006.0 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: citizen428@gentoo.org Reported By: gentoo_m@ninecats.org
Component: Applications
URL: 
Summary: Alexandria 0.6.1 fails to run if ruby-gnome2 version is <0.14
Keywords:  
Status Whiteboard: 
Opened: 2006-03-22 05:09 0000
Description:   Opened: 2006-03-22 05:09 0000
I emerged app-misc/alexandria-0.6.1 (using keyword ~x86) and when I tried to
run it, it failed to run with the following error:

(eval):1: [BUG] rbgobj_define_class: Invalid gtype [CanvasPathDef]

I googled for the error message and found a solution
(http://rubyforge.org/pipermail/alexandria-list/2006-February.txt), which is
that alexandria 0.6.1 needs ruby-gnome2 0.14.0 or more recent to run.  Emerging
alexandria had installed ruby-gnome2 0.12.0 (which is the most recent stable
e-build), so I edited my /etc/portage/package.keywords to contain the
following:

app-misc/alexandria ~x86
dev-ruby/ruby-zoom ~x86
dev-ruby/ruby-gnome2 ~x86
dev-ruby/ruby-gtk2 ~x86
dev-ruby/ruby-pango ~x86
dev-ruby/ruby-glib2 ~x86
dev-ruby/ruby-atk ~x86
dev-ruby/ruby-gnomecanvas2 ~x86
dev-ruby/ruby-libart2 ~x86

And after I re-emerged alexandria it ran perfectly.  I think this means that
the ebuild for alexandria-0.6.1 should have ruby-gnome2-0.14.1 as a dependency.

------- Comment #1 From Jakub Moc (RETIRED) 2006-03-22 05:11:52 0000 -------
That's what you get when mixing stable and ~arch versions.

------- Comment #2 From gentoo_m@ninecats.org 2006-03-22 05:33:06 0000 -------
(In reply to comment #1)
> That's what you get when mixing stable and ~arch versions.
> 

I guess I didn't express myself clearly enough :/  I felt the expected
behaviour was that emerge should fail with a warning that there was a
dependency required which was masked by the keyword ~x86.  This is what has
happened with other similar cases (for instance ruby-gnome2 itself).  However,
alexandria was emerged DESPITE its requirement for a newer version of
ruby-gnome2.

------- Comment #3 From Jakub Moc (RETIRED) 2006-03-22 06:06:27 0000 -------
What I was trying to say is that mixing stable and ~arch ebuilds is generally
not a good idea... 

If you want to use ~arch, use it everywhere, or at least put all the
dependencies of the respective ebuild into package.keywords as well. Otherwise,
breakage can be expected. :)

------- Comment #4 From Caleb Tennis 2006-03-24 04:46:23 0000 -------
changed the dep in portage - thanks for the report.