Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Mythtv-0.22 compile error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Tue Nov 10, 2009 6:28 am    Post subject: [SOLVED] Mythtv-0.22 compile error Reply with quote

HELP!

When compiling mythtv I get a load of clobbered errors and then it seems to fail on h264.

Code:
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
gcc -c -pipe -march=prescott -fomit-frame-pointer -O3 -DNDEBUG -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -g -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -fno-math-errno -fno-signed-zeros -w -D_REENTRANT -DPIC -fPIC -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/share/qt4/mkspecs/linux-g++ -I. -I.. -I../.. -o jpegls.o jpegls.c
gcc -c -pipe -march=prescott -fomit-frame-pointer -O3 -DNDEBUG -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -g -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -fno-math-errno -fno-signed-zeros -w -D_REENTRANT -DPIC -fPIC -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/share/qt4/mkspecs/linux-g++ -I. -I.. -I../.. -o jpeglsenc.o jpeglsenc.c
gcc -c -pipe -march=prescott -fomit-frame-pointer -O3 -DNDEBUG -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -g -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -fno-math-errno -fno-signed-zeros -w -D_REENTRANT -DPIC -fPIC -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/share/qt4/mkspecs/linux-g++ -I. -I.. -I../.. -o kmvc.o kmvc.c
make[2]: *** [h264.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.22_p22772/work/branches/release-0-22-fixes/mythtv/libs/libavcodec'
make[1]: *** [sub-libavcodec-make_default] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.22_p22772/work/branches/release-0-22-fixes/mythtv/libs'
make: *** [sub-libs-make_default-ordered] Error 2
 *
 * ERROR: media-tv/mythtv-0.22_p22772 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3883:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 *  The die message:
 *   emake failed


I've read a few other forums and mailing lists and tried various things with the ebuild etc, but all have no effect and I can't seem to figure it out.
I've even tried emerging the oldest and newest x264/x264-encoder with no joy.

My emerge info is below.

http://cdstealer.com/filez/gentoo-info/emerge.info.txt

Anyhelp would be very much appreciated.


Last edited by cdstealer on Wed Nov 11, 2009 7:53 am; edited 1 time in total
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Tue Nov 10, 2009 7:25 am    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=279944
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Tue Nov 10, 2009 8:28 am    Post subject: Reply with quote

Hi Sebaro,
I have tried everything in this bug which is why I posted this thread :P

I tried disabling MMX, commenting out CFLAGS & CXXFLAGS and disabling PIC all fails with h264.o.

I guess I'll roll back and wait for it to be fixed.
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Tue Nov 10, 2009 9:19 am    Post subject: Reply with quote

How about the "debug" flag?
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Tue Nov 10, 2009 9:25 am    Post subject: Reply with quote

ah yes.. I did notice the ebuild overrides the O make flag to -O3. I'll change it and edit this post.
Back to top
View user's profile Send private message
chris...
Apprentice
Apprentice


Joined: 26 Sep 2006
Posts: 179
Location: Melbourne, AU

PostPosted: Tue Nov 10, 2009 9:15 pm    Post subject: Reply with quote

For me changing eqmake4 to qmake in the ebuild works
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Wed Nov 11, 2009 7:00 am    Post subject: Reply with quote

just done a sync and the ebuild has just changed from p22772 to p22778.. watch this space..

* started compile.. time passed.. man evolved *

and the thing still fails on the same error.. :SIGH:

Chris: I'm trying your suggestion :)

*EDIT*
I can confirm that changing eqmake4 to qmake works like a charm and not a single clobber is sight ;)

To summarise in build 0.22-p22778:
PIC is enabled
MMX is enabled
CFLAGS are stripped
and eqmake4 changed to qmake

Thank you very much guys for your help :)

It looks like the ebuild for p22778 is just the CFLAGS commented out.
Back to top
View user's profile Send private message
ferg
Guru
Guru


Joined: 15 Nov 2002
Posts: 536
Location: Cambridge, UK

PostPosted: Wed Nov 11, 2009 6:54 pm    Post subject: Reply with quote

...ad I thought the db problems were going to be the only issues with upgrading! :-)

http://wiki.mythtv.org/wiki/Fixing_Corrupt_Database_Encoding

Changing the ebuild to use qmake works for me too. Thanks.
Cheers
Ferg
_________________
Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!"
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Wed Nov 11, 2009 9:37 pm    Post subject: Reply with quote

touch wood.. no DB problems only a few minor bugs with themes/gui.
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1816

PostPosted: Sat Nov 14, 2009 3:45 pm    Post subject: Reply with quote

cdstealer wrote:

*EDIT*
I can confirm that changing eqmake4 to qmake works like a charm and not a single clobber is sight ;)



I haven't upgraded as yet and was concerned about all this (I'm running on Dell P4 machines). I added a comment to this bug:

https://bugs.gentoo.org/show_bug.cgi?id=279944

...about your experience changing eqmake4 to eqmake. Hopefully it'll give someone a clue to this one.

Tom
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Sun Nov 15, 2009 3:57 am    Post subject: Reply with quote

Hi Tom,
I am still concerned about this too. TBH I'm not entirely happy about changing the make command. I feel this has/may introduce "bugs". Although this has got Mythtv installed, it doesn't run as nicely as it did on 0.21. So I am currently left with several annoyances:

1. Mytharchive will not work if any theme other then "Simple Autoplay" is selected.
2. Live TV in EPG not viewable, though audio is ok. (is ok on a complete new build)
3. Unable to play dvd images/dumps.

I've even done a 26-27 hour emerge -e :D

From what I have read around tinterweb, the mytharchive is a bug that is affecting 0.22 on all distros. I'm not sure if this has been registered as a bug yet, or at least, I can't seem to find it on gentoo bugzilla.

Also, the compile error is not present on the new build.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum