Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92806 - mythmusic 0.18.1 fails to compile with AAC support enabled
Summary: mythmusic 0.18.1 fails to compile with AAC support enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords: InVCS
: 96899 (view as bug list)
Depends on: 94490
Blocks:
  Show dependency tree
 
Reported: 2005-05-16 10:16 UTC by Andreas Weder
Modified: 2005-06-23 19:18 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 Andreas Weder 2005-05-16 10:16:24 UTC
When you attempt to compile mythmusic 0.18 with AAC support enabled, you'll get the following compile error:

i686-pc-linux-gnu-g++ -c -pipe -Wall -W -march=pentium3 -O3 -pipe -fomit-frame-pointer -mmmx -ffast-math -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 flacdecoder.o flacdecoder.cpp
aacdecoder.cpp: In member function `bool aacDecoder::initializeMP4()':
aacdecoder.cpp:298: error: invalid conversion from `unsigned int*' to `long
   unsigned int*'


According to an article I've found on the mythtv-users list, this is due to an API change of the FLAC encoder/decoder:
http://www.gossamer-threads.com/lists/mythtv/users/126739?search_string=aacdecoder;#126739

This article also gives patch to solve the problem on the mythmusic side.

Reproducible: Always
Steps to Reproduce:
1. emerge mythtmusic 0.18


Actual Results:  
The emerge was unsuccessful due to a compilation failure.

Expected Results:  
mythmusic should have compiled properly with AAC support enabled.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2005-05-16 16:36:43 UTC
This issue has been fixed for about a week. Please run emerge --sync before reporting bugs.
Comment 2 Andreas Weder 2005-05-17 00:02:47 UTC
My apologies.

Has this been fixed in FLAC? I did a fresh download and emerge of mythmusic.
Comment 3 Andreas Weder 2005-05-28 09:14:47 UTC
I've emerge sync-ed to get faad2 2.0-r7 (I've read the changelog with 0.18.1
emerge), but I'm still getting the same issue. I unmerge faad2 and mythmusic and
removed the distfiles to be sure, but the problem remains:

g++ -c -pipe -Wall -W -march=pentium3 -O3 -pipe -fomit-frame-pointer -mmmx
-ffast-math -I/usr/include/SDL -D_REENTRANT -D_REENTRANT -fPIC  -D_GNU_SOURCE
-DPREFIX=\"/usr\" -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 playbackbox.o playbackbox.cpp
aacdecoder.cpp: In member function `bool aacDecoder::initializeMP4()':
aacdecoder.cpp:298: error: invalid conversion from `long unsigned int*' to `
   uint32_t*'
make[2]: *** [aacdecoder.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/mythmusic-0.18.1/work/mythplugins-0.18.1/mythmusic/mythmusic'
make[1]: *** [sub-mythmusic] Error 2
make[1]: Leaving directory
`/var/tmp/portage/mythmusic-0.18.1/work/mythplugins-0.18.1/mythmusic'
make: *** [sub-mythmusic] Error

I'm not sure who had to change the type to uint or long, so I'm filing this with
the package I actually intend to install.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2005-05-29 13:41:56 UTC
Ok. Well I just re-emerged faad2 and I can duplicate it. Apparently the fix was
taken out. I discussed it with the faad2 guys, they patched faad2 and then I
guess they decided to take it out.
Comment 5 theboywho 2005-06-01 09:37:33 UTC
Isn't this the same as bug 93373? 
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2005-06-08 13:08:49 UTC
Fixed in CVS.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-06-23 19:18:38 UTC
*** Bug 96899 has been marked as a duplicate of this bug. ***