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?
Hi Jouni,
"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.
(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.
(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?
(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!