Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Trouble compiling HandBrake from multimedia overlay
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Wintershade
n00b
n00b


Joined: 21 Jul 2007
Posts: 32
Location: Croatia

PostPosted: Fri Mar 30, 2012 11:37 am    Post subject: [SOLVED] Trouble compiling HandBrake from multimedia overlay Reply with quote

Hi everyone. After a few years of absence, I'm back to Gentoo... yay for me! :D

Anyway. I've kind of got hooked on this beautiful piece of software called HandBrake, and I've found it in the multimedia portage overlay here...
Now, the problem is that my compile fails and I'm pretty much out of ideas what to do about it. After a bit of searching, I've found some other people had similar problems, but those solutions either don't work for me, or (in a few cases) I'm not sure how to apply them at all.

So the error I'm getting during the compile is this...
Code:
 * ERROR: media-video/handbrake-0.9.5_p4210 failed (compile phase):
 *   failed compiling handbrake
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 2687:  Called die
 * The specific snippet of code:
 *       WANT_AUTOMAKE=1.9 emake -C build || die "failed compiling ${PN}"
 *



I've put the output of emerge --info =media-video/handbrake-0.9.5_p4210 into pastebin.
the =media-video/handbrake-0.9.5_p4210 build log is over 1MiB large, so I'm putting it on Mediafire; uncompressed (around 1.1 MiB) and gzipped (around 95 KiB).

Here is the last part of the log, where I saw an error...
Code:
gcc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15   -c -o create_resources-native.o /home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/create_resources.c
gcc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15   -c -o plist-native.o /home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/plist.c
gcc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15   -c -o values-native.o /home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/values.c
python /home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/makedeps.py
  File "/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/makedeps.py", line 78
    except Exception, err:
                    ^
SyntaxError: invalid syntax
make[3]: *** [widget.deps] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/gtk/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/gtk'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/gtk'
make: *** [gtk.build] Error 2
make: Leaving directory `/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build'
emake failed
 * ERROR: media-video/handbrake-0.9.5_p4210 failed (compile phase):
 *   failed compiling handbrake
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 2687:  Called die
 * The specific snippet of code:
 *       WANT_AUTOMAKE=1.9 emake -C build || die "failed compiling ${PN}"
 *
 * If you need support, post the output of 'emerge --info =media-video/handbrake-0.9.5_p4210',
 * the complete build log and the output of 'emerge -pqv =media-video/handbrake-0.9.5_p4210'.
 * This ebuild is from an overlay named 'multimedia': '/var/lib/layman/multimedia/'
 * The complete build log is located at '/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/temp/build.log'.
 * The ebuild environment file is located at '/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/temp/environment'.
 * S: '/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210'


the outpuf of 'emerge -pqv =media-video/handbrake-0.9.5_p4210' is as follows...
Code:
[ebuild  N    ] media-video/handbrake-0.9.5_p4210  USE="css gtk"



If anyone has any idea about this, please help me out. Thanks in advance! :)

edit: corrected information
_________________
Only the best is good enough.

My make.conf file


Last edited by Wintershade on Mon Apr 02, 2012 9:51 am; edited 3 times in total
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6319
Location: /usr/lib64/lv2

PostPosted: Fri Mar 30, 2012 2:40 pm    Post subject: Reply with quote

It seems to have trouble with automake:

Code:

Please try emerging the correct version of automake.


Maybe you can check the ebuild and see which version of automake it wants, and then emerge it. I'm guessing it will slot itself rather than up or downgrade.

I'm going to try emerging Handbrake myself in a few days, so I'll post here how the emerge works for me.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Wintershade
n00b
n00b


Joined: 21 Jul 2007
Posts: 32
Location: Croatia

PostPosted: Fri Mar 30, 2012 3:58 pm    Post subject: Reply with quote

*facepalm*

Okay, I'm stupid. I'm really, really stupid. Anyway, it's still not compiling.

After checking to find where that message you quoted is, I realised I'm compiling from "my own" Portage overlay, from an ebuild I've tampered with (with little success, obviously), rather than the ebuild from the multimedia overlay.
I could have sworn, however, that I tried compiling from at least 4 or 5 different overlays (such as init6, sabayon, et al., including the multimedia overlay), and it didn't work. Finally I've resorted to trying my luck with an ebuild from somewhere in this forum; that one didn't work either, so I tried modifying it, but it appears I'm still too green.

Anyway. I've edited the original post and now the links are pointing to the real, current build logs and other stuff.
Any ideas after seeing that?
Thank you for your patience.
_________________
Only the best is good enough.

My make.conf file
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6319
Location: /usr/lib64/lv2

PostPosted: Fri Mar 30, 2012 6:20 pm    Post subject: Reply with quote

When I click on the link for the build log, it wants me to download it. Nobody wants to do that. It would be better if you could put it up on pastebin or some place people can see the text in a browser.

If it's too big for pastebin, usually a generous portion of the tail end of the log is sufficient for troubleshooting, since Portage quits when it encounters a problem anyway.

What I usually do is paste directly into my thread anywhere up to a couple of paragraphs worth of the tail end of my terminal output - the last chunk of lines complaining about something. I rarely need more than that, and people ask for a complete log if they think it's necessary.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Wintershade
n00b
n00b


Joined: 21 Jul 2007
Posts: 32
Location: Croatia

PostPosted: Fri Mar 30, 2012 10:56 pm    Post subject: Reply with quote

I pasted the tail of the build log up there, albeit perhaps a small one. I didn't want to make everything unclear by pasting tons of text, sorry :-/
Here is a larger tail, some 100-ish lines:

Code:
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/denoise.c -o libhb/denoise.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/hb.c -o libhb/hb.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/dvdnav.c -o libhb/dvdnav.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/decvobsub.c -o libhb/decvobsub.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/downmix.c -o libhb/downmix.o
../libhb/hb.c: In function 'hb_get_preview':
../libhb/hb.c:771:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
../libhb/hb.c: In function 'redirect_thread_func':
../libhb/hb.c:1920:9: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/eedi2.c -o libhb/eedi2.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/bd.c -o libhb/bd.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/muxmp4.c -o libhb/muxmp4.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/deblock.c -o libhb/deblock.o
../libhb/muxmp4.c: In function 'MP4Init':
../libhb/muxmp4.c:382:25: warning: 'audio_type' may be used uninitialized in this function
../libhb/muxmp4.c:382:25: note: 'audio_type' was declared here
../libhb/muxmp4.c:383:62: warning: 'config_len' may be used uninitialized in this function
../libhb/muxmp4.c:383:62: note: 'config_len' was declared here
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/ports.c -o libhb/ports.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/stream.c -o libhb/stream.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/dectx3gsub.c -o libhb/dectx3gsub.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/encavcodecaudio.c -o libhb/encavcodecaudio.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/common.c -o libhb/common.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/encvorbis.c -o libhb/encvorbis.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/render.c -o libhb/render.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/decssasub.c -o libhb/decssasub.o
../libhb/eedi2.c: In function 'eedi2_interpolate_lattice':
../libhb/eedi2.c:1202:21: warning: suggest parentheses around '&&' within '||'
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/demuxmpeg.c -o libhb/demuxmpeg.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/decavcodec.c -o libhb/decavcodec.o
../libhb/stream.c: In function 'hb_stream_read':
../libhb/stream.c:1601:22: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/batch.c -o libhb/batch.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/encvobsub.c -o libhb/encvobsub.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/muxmkv.c -o libhb/muxmkv.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/sync.c -o libhb/sync.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/enclame.c -o libhb/enclame.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/rotate.c -o libhb/rotate.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/deca52.c -o libhb/deca52.o
../libhb/rotate.c:59:5: warning: initialization from incompatible pointer type
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/dvd.c -o libhb/dvd.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/fifo.c -o libhb/fifo.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/scan.c -o libhb/scan.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/decomb.c -o libhb/decomb.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/lang.c -o libhb/lang.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/decsrtsub.c -o libhb/decsrtsub.o
../libhb/scan.c: In function 'DecodePreviews':
../libhb/scan.c:748:23: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/decmetadata.c -o libhb/decmetadata.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/encavcodec.c -o libhb/encavcodec.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/update.c -o libhb/update.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/decutf8sub.c -o libhb/decutf8sub.o
../libhb/encavcodec.c: In function 'encavcodecInit':
../libhb/encavcodec.c:276:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/declpcm.c -o libhb/declpcm.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/muxcommon.c -o libhb/muxcommon.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/encfaac.c -o libhb/encfaac.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/deccc608sub.c -o libhb/deccc608sub.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/enctheora.c -o libhb/enctheora.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/decdca.c -o libhb/decdca.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/work.c -o libhb/work.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/detelecine.c -o libhb/detelecine.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/deinterlace.c -o libhb/deinterlace.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/decmpeg2.c -o libhb/decmpeg2.o
../libhb/deinterlace.c:97:5: warning: initialization from incompatible pointer type
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/encx264.c -o libhb/encx264.o
../libhb/deccc608sub.c: In function 'write_cc_buffer_as_srt':
../libhb/deccc608sub.c:1610:9: warning: format not a string literal and no format arguments
../libhb/deccc608sub.c: In function 'write_cc_buffer_as_sami':
../libhb/deccc608sub.c:1693:12: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
../libhb/deccc608sub.c:1705:20: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
../libhb/deccc608sub.c:1710:24: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
../libhb/deccc608sub.c:1713:20: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
../libhb/deccc608sub.c:1723:12: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
../libhb/deccc608sub.c:1731:12: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
../libhb/deccc608sub.c: In function 'write_cc_buffer_to_gui':
../libhb/deccc608sub.c:1576:20: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
../libhb/deccc608sub.c:1577:20: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -I./contrib/include -c ../libhb/reader.c -o libhb/reader.o
../libhb/decmpeg2.c: In function 'hb_libmpeg2_decode':
../libhb/decmpeg2.c:645:31: warning: format not a string literal and no format arguments
../libhb/decmpeg2.c:645:31: warning: format not a string literal and no format arguments
../libhb/reader.c:206:25: warning: 'find_st' defined but not used
/usr/bin/ar rsu libhb/libhb.a libhb/denoise.o libhb/hb.o libhb/dvdnav.o libhb/decvobsub.o libhb/downmix.o libhb/eedi2.o libhb/bd.o libhb/muxmp4.o libhb/deblock.o libhb/ports.o libhb/stream.o libhb/dectx3gsub.o libhb/encavcodecaudio.o libhb/common.o libhb/encvorbis.o libhb/render.o libhb/decssasub.o libhb/demuxmpeg.o libhb/decavcodec.o libhb/batch.o libhb/encvobsub.o libhb/muxmkv.o libhb/sync.o libhb/enclame.o libhb/rotate.o libhb/deca52.o libhb/dvd.o libhb/fifo.o libhb/scan.o libhb/decomb.o libhb/lang.o libhb/decsrtsub.o libhb/decmetadata.o libhb/encavcodec.o libhb/update.o libhb/decutf8sub.o libhb/declpcm.o libhb/muxcommon.o libhb/encfaac.o libhb/deccc608sub.o libhb/enctheora.o libhb/decdca.o libhb/work.o libhb/detelecine.o libhb/deinterlace.o libhb/decmpeg2.o libhb/encx264.o libhb/reader.o
/usr/bin/ar: creating libhb/libhb.a
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -I./libhb/ -I./contrib/include -c ../test/test.c -o test/test.o
/usr/lib64/ccache/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -I./libhb/ -I./contrib/include -c ../test/parsecsv.c -o test/parsecsv.o
make -C ./gtk/
make[1]: Entering directory `/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/gtk'
make  all-recursive
make[2]: Entering directory `/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/gtk'
Making all in src
make[3]: Entering directory `/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/gtk/src'
if gcc -DHAVE_CONFIG_H -I. -I/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -pthread -D_REENTRANT -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gudev-1.0 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4    -Wall -g -g0 -O3 -I/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build//libhb -D_ENABLE_GST -MT callbacks.o -MD -MP -MF ".deps/callbacks.Tpo" -c -o callbacks.o /home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/callbacks.c; \
then mv -f ".deps/callbacks.Tpo" ".deps/callbacks.Po"; else rm -f ".deps/callbacks.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -pthread -D_REENTRANT -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gudev-1.0 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4    -Wall -g -g0 -O3 -I/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build//libhb -D_ENABLE_GST -MT queuehandler.o -MD -MP -MF ".deps/queuehandler.Tpo" -c -o queuehandler.o /home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/queuehandler.c; \
then mv -f ".deps/queuehandler.Tpo" ".deps/queuehandler.Po"; else rm -f ".deps/queuehandler.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -pthread -D_REENTRANT -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gudev-1.0 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4    -Wall -g -g0 -O3 -I/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build//libhb -D_ENABLE_GST -MT audiohandler.o -MD -MP -MF ".deps/audiohandler.Tpo" -c -o audiohandler.o /home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/audiohandler.c; \
then mv -f ".deps/audiohandler.Tpo" ".deps/audiohandler.Po"; else rm -f ".deps/audiohandler.Tpo"; exit 1; fi
/usr/lib64/ccache/bin/g++ -pipe -Wl,-S -fmessage-length=0 -Wall -g0 -O3 -I./libhb/ -I./contrib/include -o HandBrakeCLI -Wl,--start-group test/test.o test/parsecsv.o ./libhb/libhb.a ./contrib/lib/liba52.a ./contrib/lib/libass.a ./contrib/lib/libavcodec.a ./contrib/lib/libavformat.a ./contrib/lib/libavutil.a ./contrib/lib/libdca.a ./contrib/lib/libdvdnav.a ./contrib/lib/libdvdread.a ./contrib/lib/libfaac.a ./contrib/lib/libfontconfig.a ./contrib/lib/libfreetype.a ./contrib/lib/libmkv.a ./contrib/lib/libmpeg2.a ./contrib/lib/libmp3lame.a ./contrib/lib/libmp4v2.a ./contrib/lib/libogg.a ./contrib/lib/libsamplerate.a ./contrib/lib/libswscale.a ./contrib/lib/libtheora.a ./contrib/lib/libvorbis.a ./contrib/lib/libvorbisenc.a ./contrib/lib/libx264.a ./contrib/lib/libxml2.a ./contrib/lib/libbluray.a -lbz2 -lz -lpthread -ldl -lm -Wl,--end-group
if gcc -DHAVE_CONFIG_H -I. -I/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -pthread -D_REENTRANT -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gudev-1.0 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4    -Wall -g -g0 -O3 -I/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build//libhb -D_ENABLE_GST -MT subtitlehandler.o -MD -MP -MF ".deps/subtitlehandler.Tpo" -c -o subtitlehandler.o /home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/subtitlehandler.c; \
then mv -f ".deps/subtitlehandler.Tpo" ".deps/subtitlehandler.Po"; else rm -f ".deps/subtitlehandler.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -pthread -D_REENTRANT -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gudev-1.0 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4    -Wall -g -g0 -O3 -I/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build//libhb -D_ENABLE_GST -MT x264handler.o -MD -MP -MF ".deps/x264handler.Tpo" -c -o x264handler.o /home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/x264handler.c; \
then mv -f ".deps/x264handler.Tpo" ".deps/x264handler.Po"; else rm -f ".deps/x264handler.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -pthread -D_REENTRANT -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gudev-1.0 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4    -Wall -g -g0 -O3 -I/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build//libhb -D_ENABLE_GST -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o /home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -pthread -D_REENTRANT -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gudev-1.0 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4    -Wall -g -g0 -O3 -I/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build//libhb -D_ENABLE_GST -MT settings.o -MD -MP -MF ".deps/settings.Tpo" -c -o settings.o /home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/settings.c; \
then mv -f ".deps/settings.Tpo" ".deps/settings.Po"; else rm -f ".deps/settings.Tpo"; exit 1; fi
gcc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15   -c -o create_resources-native.o /home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/create_resources.c
gcc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15   -c -o plist-native.o /home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/plist.c
gcc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15   -c -o values-native.o /home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/values.c
python /home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/makedeps.py
  File "/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/../gtk/src/makedeps.py", line 78
    except Exception, err:
                    ^
SyntaxError: invalid syntax
make[3]: *** [widget.deps] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/gtk/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/gtk'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build/gtk'
make: *** [gtk.build] Error 2
make: Leaving directory `/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210/build'
emake failed
 * ERROR: media-video/handbrake-0.9.5_p4210 failed (compile phase):
 *   failed compiling handbrake
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 2687:  Called die
 * The specific snippet of code:
 *       WANT_AUTOMAKE=1.9 emake -C build || die "failed compiling ${PN}"
 *
 * If you need support, post the output of 'emerge --info =media-video/handbrake-0.9.5_p4210',
 * the complete build log and the output of 'emerge -pqv =media-video/handbrake-0.9.5_p4210'.
 * This ebuild is from an overlay named 'multimedia': '/var/lib/layman/multimedia/'
 * The complete build log is located at '/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/temp/build.log'.
 * The ebuild environment file is located at '/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/temp/environment'.
 * S: '/home/gentoo/var/tmp/portage/portage/media-video/handbrake-0.9.5_p4210/work/handbrake-0.9.5_p4210'



If more is needed, I'll paste more.
_________________
Only the best is good enough.

My make.conf file
Back to top
View user's profile Send private message
ultraslinky
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2011
Posts: 80
Location: Milan, Italy

PostPosted: Mon Apr 02, 2012 2:41 am    Post subject: Reply with quote

Handbrake has the weirdest build system ever. The build script downloads its own sources from somewhere, including its own ffmpeg. And it tries to tell gcc to do "-mcpu=pentiumpro". Haven't seen that in a while! However, it's a great piece of software!
I have no idea of how an ebuild would cope with such a weird build. There, clone their trunk:
svn co svn://svn.handbrake.fr/HandBrake/trunk hb-trunk
You will need to build using "WANT_AUTOMAKE=1.10 make". Then (for me at least) it fails, and you need to run "make" on its own.

Hope it works, i just tried now and for me it's working :)

EDIT: i see the ebuild is calling "WANT_AUTOMAKE=1.9"... You want 1.10 for some of the build and the latest version for the rest. Try on the svn.
Back to top
View user's profile Send private message
Wintershade
n00b
n00b


Joined: 21 Jul 2007
Posts: 32
Location: Croatia

PostPosted: Mon Apr 02, 2012 9:51 am    Post subject: Reply with quote

ultraslinky wrote:
Handbrake has the weirdest build system ever.
...Word. 8O


Anyway, I solved it through the "semi-official" (or semi-unofficial? :D) ebuild from the multimedia overlay.
The problem - as I see it - was that I was using the wrong version of Python. The "active" python version was 3.2 When I switched to 2.7 via eselect+python-updater, it apparently compiled. I'll probably have to do some testing before I can be absolutely sure that everything worked, however for now it's compiling and running.

I'll mark the thread as solved, but as I said, I'm still not 100% sure about everything.

Also, now that I've switched to the 2.7 version of python, my question is - what happens when/if I grab a package that requires python 3.2 to compile? Will I have to (theoretically) juggle the two versions every time I want to emerge -uDN world, or is there a more elegant way for all this?
TIA :)


And thanks everyone for your time and effort, it's much appreciated.
_________________
Only the best is good enough.

My make.conf file
Back to top
View user's profile Send private message
ultraslinky
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2011
Posts: 80
Location: Milan, Italy

PostPosted: Mon Apr 02, 2012 12:35 pm    Post subject: Reply with quote

Strange, i didn't think Handbrake used python in the build. Seems it does after all!
And for portage, it has a very good wrapper script that will select python2.7 or python3.2 when needed. I've actually never touched the python settings :) I think most packages assume you have 2.7 as default and 3.2 available as "python3.2". I have 2.7 as default and my updates have been fine :)
Back to top
View user's profile Send private message
Wintershade
n00b
n00b


Joined: 21 Jul 2007
Posts: 32
Location: Croatia

PostPosted: Wed Apr 04, 2012 10:31 pm    Post subject: Reply with quote

That sounds good, thanks!
_________________
Only the best is good enough.

My make.conf file
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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