First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 222335
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Jeremy Olexa (darkside) <darkside@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jouni Rinne <l33tmmx@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 222335 depends on: Show dependency tree
Bug 222335 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-05-16 04:42 0000
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 From José Manuel Ferrer Ortiz 2008-05-16 19:16:26 0000 -------
Hi Jouni, 

------- Comment #2 From José Manuel Ferrer Ortiz 2008-05-16 19:19:02 0000 -------
"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 From Jeremy Olexa (darkside) 2008-05-29 22:52:02 0000 -------
(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 From José Manuel Ferrer Ortiz 2008-05-29 23:31:01 0000 -------
(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 From Jeremy Olexa (darkside) 2008-05-30 01:38:06 0000 -------
(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!

First Last Prev Next    No search results available      Search page      Enter new bug