MythTV in breezy is updated to 0.18.1 but the plugins aren't

Bug #2286 reported by Jordy Potman
4
Affects Status Importance Assigned to Milestone
mythtv (Ubuntu)
Fix Released
Medium
Matt Zimmerman

Bug Description

The mythtv package in breezy is updated to version 0.18.1 but the myth plugins are still at version 0.17 as far as I can tell from packages.ubuntu.com and the buildlogs at http://people.ubuntu.com/~lamont/buildLogs/m/

I have tried to build the source package from http://dijkstra.csh.rit.edu/~mdz/debian/dists/hoary/mythtv/source/ in a breezy pbuilder environment, but this fails with a build error in mythmusic:

g++-3.4 -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRANT -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr\" -DHAVE_MMX -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include -I/usr/include/cdda -I/usr/include/qt3 -I/usr/X11R6/include -o aacdecoder.o aacdecoder.cpp
aacdecoder.cpp: In member function `bool aacDecoder::initializeMP4()':
aacdecoder.cpp:298: error: invalid conversion from `long unsigned int*' to `uint32_t*'
aacdecoder.cpp:298: error: initializing argument 4 of `int8_t faacDecInit2(void*, uint8_t*, uint32_t, uint32_t*, uint8_t*)'
make[3]: *** [aacdecoder.o] Error 1
make[3]: Leaving directory `/tmp/buildd/mythplugins-0.18.1/mythmusic/mythmusic'
make[2]: *** [sub-mythmusic] Error 2
make[2]: Leaving directory `/tmp/buildd/mythplugins-0.18.1/mythmusic'
make[1]: *** [sub-mythmusic] Error 2
make[1]: Leaving directory `/tmp/buildd/mythplugins-0.18.1'
make: *** [build-stamp] Error 2
pbuilder: Failed autobuilding of package

The following patch fixes this problem for me:

--- mythplugins-0.18.1_orig/mythmusic/mythmusic/aacdecoder.h 2005-09-14 23:11:53.000000000 +0200
+++ mythplugins-0.18.1/mythmusic/mythmusic/aacdecoder.h 2005-09-14 23:14:40.000000000 +0200
@@ -52,7 +52,7 @@
     bool done, finish;
     long len, bitrate;
     uchar channels;
- unsigned long sample_rate;
+ uint32_t sample_rate;
     unsigned long output_size;
     double totalTime, seekTime;

With this patch the mythplugins source package builds without further problems. As far as I can tell from the mythplugins source code the changes in this patch can hardly do any harm. The only problem is that I also had a quick look at the mythplugins-0.18.1-112.rhfc4.at.src.rpm at http://atrpms.net/dist/fc4/mythplugins/ and they don't seem to need a similar patch to mythmusic, but this might be explained by different compiler or library versions or something like that.

I hope this helps to make it possible to update the mythplugins packages for breezy, because I am affraid that the current situation might cause some upgrade problems.

Sincerely,

Jordy Potman

Changed in mythtv:
assignee: nobody → mdz
Revision history for this message
Jordy Potman (jordypotman) wrote :

A mythplugins package has recently been imported to breezy and the mythplugins-0.18.1-3 source package contains a (slightly different) fix for the build problem I describe above. According to the buildlogs the package builds fine now, so I guess this bug can be closed.

Changed in mythtv:
status: New → Fixed
Revision history for this message
Vermyndax (vermyndax) wrote :

Uhh, weird, because I still can't install MythTV at all on AMD64. I get:

 Depends: libmyth-0.17 but it is not installable
 Depends: libqt3c102-mt (>=3:3.3.3) but it is not installable

Revision history for this message
Jordy Potman (jordypotman) wrote :

Yeah there is still a build problem for the mythtv_0.18.1-5 source package on AMD64, IA64 and PowerPC (see the build log:

http://people.ubuntu.com/~lamont/buildLogs/m/mythtv/0.18.1-5/mythtv_0.18.1-5_20051109-1916-amd64-failed.gz

so I'm affraid my comment above is only true for i386.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.