<?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>28739</bug_id>
          
          <creation_ts>2003-09-14 16:15 0000</creation_ts>
          <short_desc>Can&apos;t compile media-sound/rhythmbox-0.5.3</short_desc>
          <delta_ts>2003-09-21 09:54:14 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>GNOME</component>
          <version>unspecified</version>
          <rep_platform>All</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>tom.gl@free.fr</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>tom.gl@free.fr</who>
            <bug_when>2003-09-14 16:15:33 0000</bug_when>
            <thetext>Hi,

Here is what I get at the end of the compilation when I try to emerge latest 
rhythmbox:

gcc -march=i686 -pipe -o rhythmbox main.o rb-shell.o rb-shell-player.o
rb-source-header.o rb-statusbar.o rb-shell-preferences.o rb-shell-clipboard.o
rb-playlist-manager.o rb-remote.o rb-tray-icon.o -Wl,--export-dynamic -pthread
-Wl,--export-dynamic  ../lib/.libs/librb.a -L/usr/lib
../sources/.libs/libsources.a ../sources/.libs/libsourcesimpl.a
../library/.libs/librblibrary.a ../iradio/.libs/librbiradio.a
../corba/.libs/librbcorba.a ../monkey-media/.libs/libmonkey-media.a
/usr/lib/libid3tag.so -L/usr/X11R6/lib /usr/lib/libgnomeui-2.so
/usr/lib/libjpeg.so /usr/lib/libbonoboui-2.so -lSM -lICE -lX11
/usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libesd.so
/usr/lib/libasound.so /usr/lib/libaudiofile.so /usr/lib/libart_lgpl_2.so
/usr/lib/libpangoft2-1.0.so /usr/lib/libglade-2.0.so /usr/lib/libgtk-x11-2.0.so
/usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so
/usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so
/usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/libxml2.so -lssl
-lcrypto -lrt /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so
/usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so
/usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so /usr/lib/libgmodule-2.0.so
/usr/lib/libglib-2.0.so /usr/lib/libxine.so -ldl /usr/lib/libfreetype.so
-lpthread -lXv -lXext /usr/lib/libmusicbrainz.so /usr/lib/libexpat.so -lstdc++
-lz /usr/lib/libFLAC.so /usr/lib/libvorbis.so /usr/lib/libvorbisfile.so -lm
/usr/lib/libogg.so
../corba/.libs/librbcorba.a(Rhythmbox-stubs.o)(.text+0x2f): In function
`GNOME_Rhythmbox_addToLibrary&apos;:
: undefined reference to `ORBIT_STUB_GetServant&apos;
../corba/.libs/librbcorba.a(Rhythmbox-stubs.o)(.text+0xab): In function
`GNOME_Rhythmbox_handleFile&apos;:
: undefined reference to `ORBIT_STUB_GetServant&apos;
../corba/.libs/librbcorba.a(Rhythmbox-stubs.o)(.text+0x123): In function
`GNOME_Rhythmbox_grabFocus&apos;:
: undefined reference to `ORBIT_STUB_GetServant&apos;
../corba/.libs/librbcorba.a(Rhythmbox-stubs.o)(.text+0x193): In function
`GNOME_Rhythmbox_getPlayingTitle&apos;:
: undefined reference to `ORBIT_STUB_GetServant&apos;
../corba/.libs/librbcorba.a(Rhythmbox-stubs.o)(.text+0x217): In function
`GNOME_Rhythmbox_getPlayingPath&apos;:
: undefined reference to `ORBIT_STUB_GetServant&apos;
../corba/.libs/librbcorba.a(Rhythmbox-stubs.o)(.text+0x297): more undefined
references to `ORBIT_STUB_GetServant&apos; follow
collect2: ld returned 1 exit status
make[3]: *** [rhythmbox] Error 1
make[3]: Leaving directory
`/var/tmp/portage/rhythmbox-0.5.3/work/rhythmbox-0.5.3/shell&apos;
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/rhythmbox-0.5.3/work/rhythmbox-0.5.3/shell&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/rhythmbox-0.5.3/work/rhythmbox-0.5.3&apos;
make: *** [all] Error 2

I&apos;m using a default-1.0 profile (gcc-2.95.3), and my whole system is updated
with ~x86, including gnome-2.4 (libbonobo-2.4.0, ORBit2-2.8.1, etc.). Neither
gnome bugzilla nor google helped so far...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tom.gl@free.fr</who>
            <bug_when>2003-09-15 15:06:15 0000</bug_when>
            <thetext>Ok, I&apos;ve found the fix: corba files (.c and .h) that are in the archive have probably been generated with an incompatible version of orbit-idl, or something like that. A simple &quot;rm corba/*.c corba/*.h&quot; forced them to be regenerated.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>brandy@gentoo.org</who>
            <bug_when>2003-09-15 18:35:20 0000</bug_when>
            <thetext>*** Bug 28820 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>obz@gentoo.org</who>
            <bug_when>2003-09-17 03:50:50 0000</bug_when>
            <thetext>i dont have gcc 2.95 so i&apos;m not entirely sure, unless the corba stuff was generated with gcc 3 compatible, because i can&apos;t reproduce with gcc-3.2.3.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tom.gl@free.fr</who>
            <bug_when>2003-09-17 04:49:39 0000</bug_when>
            <thetext>I don&apos;t really know the &quot;why it is broken&quot;, but anyway, forcing the corba code 
regeneration fix it when it is broken, and should be safe when it is not.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2003-09-17 15:02:55 0000</bug_when>
            <thetext>i think TGL&apos;s fix is correct because I just did a little test to check the stubs generated by orbit-idl-2.8 compared with the one included in rhythmbox and they don&apos;t have any reference to ORBIT_STUB_GetServant.

mcvaio rhythmbox-0.5.3 # fgrep -r ORBIT_STUB_GetServant corba-orig
corba-orig/Rhythmbox-stubs.c:      _ORBIT_epv-&gt;addToLibrary(ORBIT_STUB_GetServa
nt(_obj), uri, ev);
corba-orig/Rhythmbox-stubs.c:      _ORBIT_epv-&gt;handleFile(ORBIT_STUB_GetServant
(_obj), uri, ev);
corba-orig/Rhythmbox-stubs.c:      _ORBIT_epv-&gt;grabFocus(ORBIT_STUB_GetServant(
_obj), ev);
corba-orig/Rhythmbox-stubs.c:    _ORBIT_epv-&gt;getPlayingTitle(ORBIT_STUB_GetServ
ant(_obj), ev);
corba-orig/Rhythmbox-stubs.c:    _ORBIT_epv-&gt;getPlayingPath(ORBIT_STUB_GetServa
nt(_obj), ev);
corba-orig/Rhythmbox-stubs.c:      _ORBIT_epv-&gt;quit(ORBIT_STUB_GetServant(_obj)
, ev);
mcvaio rhythmbox-0.5.3 # fgrep -r ORBIT_STUB_GetServant corba-2.8
mcvaio rhythmbox-0.5.3 #

this needs to be forwarded upstream to tell them not to include the stubs/skels in their tarball to ensure compatibility with different ORBit versions.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tom.gl@free.fr</who>
            <bug_when>2003-09-17 20:32:57 0000</bug_when>
            <thetext>I&apos;ve reported it upstream: http://bugzilla.gnome.org/show_bug.cgi?id=122598</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-09-21 09:54:14 0000</bug_when>
            <thetext>ok 0.5.3 now removes orbit stuff by default, forcing regeneration.

thanks for the help</thetext>
          </long_desc>
      
    </bug>

</bugzilla>