<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>127178</bug_id>
          
          <creation_ts>2006-03-22 05:09 0000</creation_ts>
          <short_desc>Alexandria 0.6.1 fails to run if ruby-gnome2 version is &lt;0.14</short_desc>
          <delta_ts>2006-03-24 04:46:23 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2006.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo_m@ninecats.org</reporter>
          <assigned_to>citizen428@gentoo.org</assigned_to>
          <cc>ruby@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>gentoo_m@ninecats.org</who>
            <bug_when>2006-03-22 05:09:13 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-03-22 05:11:52 0000</bug_when>
            <thetext>That&apos;s what you get when mixing stable and ~arch versions.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo_m@ninecats.org</who>
            <bug_when>2006-03-22 05:33:06 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; That&apos;s what you get when mixing stable and ~arch versions.
&gt; 

I guess I didn&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-03-22 06:06:27 0000</bug_when>
            <thetext>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. :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>caleb@gentoo.org</who>
            <bug_when>2006-03-24 04:46:23 0000</bug_when>
            <thetext>changed the dep in portage - thanks for the report.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>