Created attachment 405514 [details, diff] Handbrake x265 fix The current handbrake ebuild fails to compile HandBrakeCLI with x265 support. /usr/bin/g++ -pipe -Wl,-S -Wl,-O1 -Wl,--as-needed -fmessage-length=0 -Wall -g0 -O3 -O2 -pipe -march=native -DUSE_X265 -I./libhb/ -Iinclude -o HandBrakeCLI -Wl,--start-group test/test.o test/parsecsv.o ./libhb/libhandbrake.a -Llib -lass -lavcodec -lavformat -lavutil -lavresample -ldvdnav -ldvdread -lfontconfig -lfribidi -lmp3lame -logg -lsamplerate -lswscale -lvpx -ltheoraenc -ltheoradec -lvorbis -lvorbisenc -lx264 -lbluray -lfreetype -lxml2 -lbz2 -lz -lpthread -ldl -lm -Wl,--end-group /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../x86_64-pc-linux-gnu/bin/ld: ./libhb/libhandbrake.a(encx265.o): undefined reference to symbol 'x265_param_alloc' /usr/lib64/libx265.so.59: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status ../test/module.rules:7: recipe for target 'HandBrakeCLI' failed make: *** [HandBrakeCLI] Error 1 I've attached a patch that adds the necessary link flag to fix this.
Hey Peter, Thanks for the patch, its in the tree now! https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8f141afeb0e183298fe227672ac9338e0e8e12c