Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362347 - media-sound/mp3blaster-3.2.5 does not build with USE=sid and sys-devel/gcc-4.4.5
Summary: media-sound/mp3blaster-3.2.5 does not build with USE=sid and sys-devel/gcc-4.4.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-06 20:43 UTC by Boris
Modified: 2012-01-09 17:14 UTC (History)
0 users

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


Attachments
mp3blaster-3.2.5_sid-gcc44.patch (mp3blaster-3.2.5_sid-gcc44.patch,420 bytes, text/plain)
2011-04-06 20:43 UTC, Boris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boris 2011-04-06 20:43:20 UTC
Created attachment 268761 [details]
mp3blaster-3.2.5_sid-gcc44.patch

When trying to build media-sound/mp3blaster-3.2.5 with USE=sid on a system with gcc-4.4.5 (current stable on amd64) I get this compilation-error:

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../mpegsound -I/usr/include/ncurses -I../nmixer -I/usr/include  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DMP3BLASTER_DOCDIR=\"/usr/share/mp3blaster\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=k8 -msse3 -ggdb -MT global.o -MD -MP -MF .deps/global.Tpo -c -o global.o global.cc
global.cc: In function 'void debug(const char*, ...)':
global.cc:197: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
global.cc: In function 'int is_sid(const char*)':
global.cc:374: error: invalid conversion from 'const char*' to 'char*'
make[2]: *** [global.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/config.Tpo .deps/config.Po

It's a small fix, I'll attach it.

I also created an issue with the patch upstream:
https://sourceforge.net/tracker/?group_id=154673&atid=792725
Comment 1 Boris 2011-04-06 20:45:41 UTC
The correct link to the upstream-issue is:
https://sourceforge.net/tracker/?func=detail&aid=3277913&group_id=154673&atid=792725
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-01-09 17:14:09 UTC
thanks, fixed finally in portage too