Created attachment 373458 [details] x265-libdir.patch.out * Error messages for package media-libs/x265-9999: * Failed Patch: x265-libdir.patch ! * ( /usr/portage/media-libs/x265/files/x265-libdir.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/media-libs/x265-9999/temp/x265-libdir.patch.out * ERROR: media-libs/x265-9999::gentoo failed (prepare phase): * Failed Patch: x265-libdir.patch! * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 3142: Called cmake-utils_src_prepare * environment, line 734: Called _execute_optionaly 'src_prepare' * environment, line 230: Called enable_cmake-utils_src_prepare * environment, line 1025: Called epatch '/usr/portage/media-libs/x265/files/x265-libdir.patch' '/usr/portage/media-libs/x265/files/x265-libdir_pkgconfig.patch' * environment, line 1082: Called epatch '/usr/portage/media-libs/x265/files/x265-libdir.patch' * environment, line 1259: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; *
I try today compile media-libs/x265-9999 too. I'm found solution: comment ebuild lines with 2 patches and x265-9999 compiles just fine.
fixed in portage by dropping both patches and passing -DLIB_INSTALL_DIR="$(get_libdir)" since git was changed to it