Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222335 - app-emulation/fuse-0-7.0 doesn't compile with app-emulation/libspectrum-0.4.0
Summary: app-emulation/fuse-0-7.0 doesn't compile with app-emulation/libspectrum-0.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-16 04:42 UTC by Jouni Rinne
Modified: 2008-05-30 01:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jouni Rinne 2008-05-16 04:42:12 UTC
After the upgrade of libspectrum-0.2.2.r1 to 0.4.0 broke fuse, I've been unable to recompile it. Here'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="\"/usr/share/fuse\""  -I/usr/include  -O2 -march=athlon-xp -pipe -Wall -c rzx.c
rzx.c: In function 'rzx_start_recording':
rzx.c:153: warning: implicit declaration of function 'libspectrum_rzx_set_tstates'
rzx.c: In function 'rzx_stop_recording':
rzx.c:197: warning: implicit declaration of function 'libspectrum_rzx_write2'
rzx.c: In function 'rzx_start_playback':
rzx.c:235: warning: passing argument 2 of 'libspectrum_rzx_read' from incompatible pointer type
rzx.c:235: warning: passing argument 3 of 'libspectrum_rzx_read' makes integer from pointer without a cast
rzx.c:235: error: too many arguments to function 'libspectrum_rzx_read'
rzx.c: In function 'rzx_start_playback_from_buffer':
rzx.c:277: warning: passing argument 2 of 'libspectrum_rzx_read' from incompatible pointer type
rzx.c:277: warning: passing argument 3 of 'libspectrum_rzx_read' makes integer from pointer without a cast
rzx.c:277: error: too many arguments to function 'libspectrum_rzx_read'
rzx.c: In function 'start_playback':
rzx.c:309: error: too few arguments to function 'libspectrum_rzx_start_playback'
rzx.c: In function 'playback_frame':
rzx.c:426: error: too few arguments to function 'libspectrum_rzx_playback_frame'
make[2]: *** [rzx.o] Virhe 1
make[2]: Poistutaan hakemistosta "/var/tmp/portage/app-emulation/fuse-0.7.0/work/fuse-0.7.0"
make[1]: *** [all-recursive] Virhe 1
make[1]: Poistutaan hakemistosta "/var/tmp/portage/app-emulation/fuse-0.7.0/work/fuse-0.7.0"
make: *** [all-recursive-am] Virhe 2

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

What's the point of upgrading a library if the only package which would use it can't use it?
Comment 1 José Manuel Ferrer Ortiz 2008-05-16 19:16:26 UTC
Hi Jouni, 
Comment 2 José Manuel Ferrer Ortiz 2008-05-16 19:19:02 UTC
"What's the point of upgrading a library if the only package which would use it
can't use it?"

Hi Jouni, libspectrum-0.4.0 was upgraded to give support to fuse emulator version 0.9.0, whose ebuild I'm about to publish here.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-05-29 22:52:02 UTC
(In reply to comment #2)
> "What's the point of upgrading a library if the only package which would use it
> can't use it?"
> 
> Hi Jouni, libspectrum-0.4.0 was upgraded to give support to fuse emulator
> version 0.9.0, whose ebuild I'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.
Comment 4 José Manuel Ferrer Ortiz 2008-05-29 23:31:01 UTC
(In reply to comment #3)
> José,
> You are saying that fuse-0.7.0 will ONLY work with libspectrum-0.2.2* ? If so,
> 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 ">=app-emulation/libspectrum-0.2.2" with "<app-emulation/libspectrum-0.4.0". Is this the right way to solve this?
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-05-30 01:38:06 UTC
(In reply to comment #4)
> Yes, the old version (0.7.0) of fuse in the tree needs the old version (0.2.2*)
> of libspectrum in the tree.

Ok.
 
> So I suppose we should change in the file fuse-0.7.0.ebuild the line
> ">=app-emulation/libspectrum-0.2.2" with "<app-emulation/libspectrum-0.4.0". Is
> this the right way to solve this?

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

-       >=app-emulation/libspectrum-0.2.2
+       ~app-emulation/libspectrum-0.2.2

Fixed in CVS, thanks for reporting!