Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89896 - [patch] media-plugins/mythmusic-0.18 fails to compile
Summary: [patch] media-plugins/mythmusic-0.18 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-04-21 00:20 UTC by Brian Tarricone
Modified: 2005-05-07 01:21 UTC (History)
0 users

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 Brian Tarricone 2005-04-21 00:20:40 UTC
media-plugins/mythmusic-0.18 fails to compile with the following error:

i686-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -march=athlon-xp -pipe -I/usr/include/SDL -D_REENTRANT -D_REENTRANT -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr\" -DHAVE_MMX -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include/cdda -I/usr/qt/3/include -I/usr/include -o aacdecoder.o aacdecoder.cppaacdecoder.cpp: In member function `bool aacDecoder::initializeMP4()':
aacdecoder.cpp:298: error: invalid conversion from `long unsigned int*' to `unsigned int*'
aacdecoder.cpp:298: error:   initializing argument 4 of `char faacDecInit2(void*, unsigned char*, unsigned int, unsigned int*, unsigned char*)'
distcc[8877] ERROR: compile aacdecoder.cpp on localhost failed
make[2]: *** [aacdecoder.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/mythmusic-0.18/work/mythplugins-0.18/mythmusic/mythmusic'
make[1]: *** [sub-mythmusic] Error 2
make[1]: Leaving directory `/var/tmp/portage/mythmusic-0.18/work/mythplugins-0.18/mythmusic'
make: *** [sub-mythmusic] Error 2

It appears that 0.18 also requires mythmusic-0.17-sample_rate_type.patch, already present in /usr/portage/media-plugins/mythmusic/files/:

--- mythmusic-0.18.ebuild.orig  2005-04-21 00:10:35.000000000 -0700
+++ mythmusic-0.18.ebuild       2005-04-21 00:16:06.000000000 -0700
@@ -38,6 +38,9 @@
        fi

        myth_src_unpack || die "unpack failed"
+
+       cd ${S}/mythmusic
+       epatch ${FILESDIR}/${PN}-0.17-sample_rate_type.patch
 }

 src_compile() {
Comment 1 Jesse Adelman 2005-04-21 19:04:40 UTC
Had the same issue. Re-adding the patch, plus an "ebuild myth-0.18.ebuild manifest" before emerge-ing does the trick. Thanks, Brian!
Comment 2 Mark Knecht 2005-04-24 09:53:04 UTC
Same problem for me here. I'm doing 

USE="-aac" emerge mythmusic 

until the ebuild gets fixed. Hope that's soon!
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2005-05-07 01:21:05 UTC
Fixed. in CVS. Thx.