<?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>222335</bug_id>
          
          <creation_ts>2008-05-16 04:42 0000</creation_ts>
          <short_desc>app-emulation/fuse-0-7.0 doesn&apos;t compile with app-emulation/libspectrum-0.4.0</short_desc>
          <delta_ts>2008-05-30 01:38:06 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.1</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>l33tmmx@gmail.com</reporter>
          <assigned_to>darkside@gentoo.org</assigned_to>
          <cc>jmfo1982@yahoo.es</cc>

      

      
          <long_desc isprivate="0">
            <who>l33tmmx@gmail.com</who>
            <bug_when>2008-05-16 04:42:12 0000</bug_when>
            <thetext>After the upgrade of libspectrum-0.2.2.r1 to 0.4.0 broke fuse, I&apos;ve been unable to recompile it. Here&apos;s the error I get:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1     -I/usr/include/libxml2 -DFUSEDATADIR=&quot;\&quot;/usr/share/fuse\&quot;&quot;  -I/usr/include  -O2 -march=athlon-xp -pipe -Wall -c rzx.c
rzx.c: In function &apos;rzx_start_recording&apos;:
rzx.c:153: warning: implicit declaration of function &apos;libspectrum_rzx_set_tstates&apos;
rzx.c: In function &apos;rzx_stop_recording&apos;:
rzx.c:197: warning: implicit declaration of function &apos;libspectrum_rzx_write2&apos;
rzx.c: In function &apos;rzx_start_playback&apos;:
rzx.c:235: warning: passing argument 2 of &apos;libspectrum_rzx_read&apos; from incompatible pointer type
rzx.c:235: warning: passing argument 3 of &apos;libspectrum_rzx_read&apos; makes integer from pointer without a cast
rzx.c:235: error: too many arguments to function &apos;libspectrum_rzx_read&apos;
rzx.c: In function &apos;rzx_start_playback_from_buffer&apos;:
rzx.c:277: warning: passing argument 2 of &apos;libspectrum_rzx_read&apos; from incompatible pointer type
rzx.c:277: warning: passing argument 3 of &apos;libspectrum_rzx_read&apos; makes integer from pointer without a cast
rzx.c:277: error: too many arguments to function &apos;libspectrum_rzx_read&apos;
rzx.c: In function &apos;start_playback&apos;:
rzx.c:309: error: too few arguments to function &apos;libspectrum_rzx_start_playback&apos;
rzx.c: In function &apos;playback_frame&apos;:
rzx.c:426: error: too few arguments to function &apos;libspectrum_rzx_playback_frame&apos;
make[2]: *** [rzx.o] Virhe 1
make[2]: Poistutaan hakemistosta &quot;/var/tmp/portage/app-emulation/fuse-0.7.0/work/fuse-0.7.0&quot;
make[1]: *** [all-recursive] Virhe 1
make[1]: Poistutaan hakemistosta &quot;/var/tmp/portage/app-emulation/fuse-0.7.0/work/fuse-0.7.0&quot;
make: *** [all-recursive-am] Virhe 2

libspectrum is compiled with USE=&quot;audiofile zlib -bzip2&quot; (tried also -audiofile)
fuse is compiled with USE=&quot;gtk png sdl xml -fbcon -libdsk -svga&quot;

What&apos;s the point of upgrading a library if the only package which would use it can&apos;t use it?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jmfo1982@yahoo.es</who>
            <bug_when>2008-05-16 19:16:26 0000</bug_when>
            <thetext>Hi Jouni, </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jmfo1982@yahoo.es</who>
            <bug_when>2008-05-16 19:19:02 0000</bug_when>
            <thetext>&quot;What&apos;s the point of upgrading a library if the only package which would use it
can&apos;t use it?&quot;

Hi Jouni, libspectrum-0.4.0 was upgraded to give support to fuse emulator version 0.9.0, whose ebuild I&apos;m about to publish here.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>darkside@gentoo.org</who>
            <bug_when>2008-05-29 22:52:02 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; &quot;What&apos;s the point of upgrading a library if the only package which would use it
&gt; can&apos;t use it?&quot;
&gt; 
&gt; Hi Jouni, libspectrum-0.4.0 was upgraded to give support to fuse emulator
&gt; version 0.9.0, whose ebuild I&apos;m about to publish here.

José,
You are saying that fuse-0.7.0 will ONLY work with libspectrum-0.2.2* ? If so, this is an easy fix.

Jouni, I just put fuse-0.9.0 in the tree.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jmfo1982@yahoo.es</who>
            <bug_when>2008-05-29 23:31:01 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; José,
&gt; You are saying that fuse-0.7.0 will ONLY work with libspectrum-0.2.2* ? If so,
&gt; this is an easy fix.

Yes, the old version (0.7.0) of fuse in the tree needs the old version (0.2.2*) of libspectrum in the tree.

So I suppose we should change in the file fuse-0.7.0.ebuild the line &quot;&gt;=app-emulation/libspectrum-0.2.2&quot; with &quot;&lt;app-emulation/libspectrum-0.4.0&quot;. Is this the right way to solve this?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>darkside@gentoo.org</who>
            <bug_when>2008-05-30 01:38:06 0000</bug_when>
            <thetext>(In reply to comment #4)
&gt; Yes, the old version (0.7.0) of fuse in the tree needs the old version (0.2.2*)
&gt; of libspectrum in the tree.

Ok.
 
&gt; So I suppose we should change in the file fuse-0.7.0.ebuild the line
&gt; &quot;&gt;=app-emulation/libspectrum-0.2.2&quot; with &quot;&lt;app-emulation/libspectrum-0.4.0&quot;. Is
&gt; this the right way to solve this?

since 0.2.2* is explicitly needed, I&apos;m going to go with the ~ operator, which means that version and any gentoo rev bumps, -rX

-       &gt;=app-emulation/libspectrum-0.2.2
+       ~app-emulation/libspectrum-0.2.2

Fixed in CVS, thanks for reporting!</thetext>
          </long_desc>
      
    </bug>

</bugzilla>