Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236248 - media-tv/mythtv-0.20.2_p15634 fails to emerge
Summary: media-tv/mythtv-0.20.2_p15634 fails to emerge
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-31 02:51 UTC by a_tevelev
Modified: 2009-01-17 19:28 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge.info,3.39 KB, text/plain)
2008-08-31 02:57 UTC, a_tevelev
Details
build.log (build.log,341.37 KB, text/plain)
2008-08-31 02:57 UTC, a_tevelev
Details
environment (environment,129.06 KB, text/plain)
2008-08-31 02:58 UTC, a_tevelev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description a_tevelev 2008-08-31 02:51:21 UTC
media-tv/mythtv-0.20.2_p15634 fails to emerge with the following error:

make[2]: *** [pespacket.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.20.2_p15634/work/mythtv-0.20.2/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.20.2_p15634/work/mythtv-0.20.2/libs'
make: *** [sub-libs] Error 2
 * 
 * ERROR: media-tv/mythtv-0.20.2_p15634 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2892:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-tv/mythtv-0.20.2_p15634/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-tv/mythtv-0.20.2_p15634/temp/environment'.
Comment 1 a_tevelev 2008-08-31 02:57:15 UTC
Created attachment 164141 [details]
emerge --info
Comment 2 a_tevelev 2008-08-31 02:57:48 UTC
Created attachment 164143 [details]
build.log
Comment 3 a_tevelev 2008-08-31 02:58:19 UTC
Created attachment 164144 [details]
environment
Comment 4 Jens Mueller 2008-10-19 18:45:08 UTC
Same for me on amd64:

mpeg/pespacket.cpp: In member function »uint PESPacket::CalcCRC() const«:
mpeg/pespacket.cpp:160: Fehler: »av_crc04C11DB7« wurde in diesem Gültigkeitsbereich nicht definiert

(error: »av_crc04C11DB7« not defined in this scope)
Comment 5 Jens Mueller 2008-10-19 19:54:33 UTC
OK, p18501 works for me, so this has probably been fixed upstream. I suggest marking as RESOLVED FIXED ...
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2008-12-11 09:58:33 UTC
It doesn't compile here either.
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2008-12-11 16:22:05 UTC
Which is why we've been trying to get MythTV 0.21 stable for months. I'm not putting any effort into 0.20 since it's dead. It's unsupported by upstream by the developers and the community.
Comment 8 Bill 2008-12-27 00:40:49 UTC
Please do not delete this (myth 0.20).  It can still be built.

I was able to build this (myth 0.20) after some minor changes.  I had tried mythtv 0.21 and it was a disaster, nasty snow on the HD channels, analog tv just completely quit working, it even lost all of my analog station numbers so I had to re-scan.  After re-scan (and first we had to re-configure, etc. etc. etc.) I just get green and gray snow on the analog channels, and no sound.  Normally beautiful HD channels looked terrible.  After reverting (to 0.20) everything is working again, back to normal.

Here is what I did:

1. emerge =mythtv-0.20.2_p15634  (it will fail)
2. Find the file in question, pespacket.cpp (find / -name pespacket.cpp)
3. Found mine here: /usr/portage/distfiles/svn-src/mythtv/mythtv/libs/libmythtv/mpeg/pespacket.cpp 

find the following in this file ...

extern "C" {
#include "mythconfig.h"
#include "../libavcodec/avcodec.h"
#include "../libavformat/avformat.h"
#include "../libavutil/crc.h"
#include "../libavutil/bswap.h"
}

... and change it to this:

extern "C" {
#include "mythconfig.h"
#include "../../libavcodec/avcodec.h"
#include "../../libavformat/avformat.h"
#include "../../libavutil/crc.h"
#include "../../libavutil/bswap.h"
}

emerge =mythtv-0.20.2_p15634

And it built for me.  I also had to revert to the following:

mythtv-0.20.2_p15634
mythtv-themes-0.20.2_p14301
mythtv-themes-extra-0.20.2
mythtv-mythdvd-0.20.2_p14282
mythtv-mythvideo-0.20.2_p15087

And restore the database of course.

Off topic, is there a way to instruct portage to never ever delete this (0.20) ?

I may try 0.22, but it appears that requires an unstable version of portage, and unstable qt4, all of those unstable dependencies, etc. etc. etc. etc.

mythtv 0.21 = NO GOOD (IMHO)

Not a happy camper here today.
Comment 9 Steve Dibb (RETIRED) gentoo-dev 2009-01-10 13:56:44 UTC
0.20.x is going to be removed

Bill, I'll get 0.20 ebuilds in my overlay when they are removed, since I'm using it as well.
Comment 10 Bill 2009-01-17 19:28:32 UTC
Ok, I have the ebuild files saved into an overlay, and portage (emerge -p) claims that it will re-build version 0.20.2 if commanded to do so.  (I have not done an actual re-build)  The source files appear to be in "/usr/portage/distfiles/svn-src/mythtv" instead of a "tar.gz" file.  The executable appears to be in "/usr/bin"  Is there anything special that needs to be done to archive the source code (like replicate the svn repository) or will it all just work ?