Please bump to latest release. At least x265-9999-test-ns.patch needs rebase. Check for latest build number/slot!
yes please, i second that! i tried the usual of simply modifying the ebuild, but all the patches are now incompatible, so this breaks the multi-bit variants (8bit+10bit) and i only managed to get one (either 8 or 10 bit, not both) working etc. I'm not good enough with ebuilds/patches to do the multi-bit patches for v4.1 :(
At least I was able to rebuild it without the failing patches. - "${FILESDIR}/${PN}-9999-test-ns.patch" - "${FILESDIR}/${PN}-3.6-cmake-cleanup.patch" - "${FILESDIR}/${PN}-3.6-code-cleanup.patch" media-libs/x265-9999::gentoo was built with the following: USE="10bit 12bit -numa -test" ABI_X86="(64) -32 (-x32)" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks export-pms-vars fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" media-video/ffmpeg-7.1.1::gentoo was built with the following: USE="alsa bluray bzip2 cdio dav1d drm dvd fdk fontconfig gnutls gpl jack jpeg2k jpegxl ladspa lame lcms libaom libass libplacebo librtmp lv2 lzma modplug openal opencl opengl openh264 openssl opus postproc pulseaudio qrcode quirc rubberband sdl speex ssh svg theora truetype twolame v4l vaapi vorbis vpx vulkan webp x264 xml xvid zlib zvbi -X -amf -amr -amrenc (-appkit) -bs2b -chromaprint -chromium -codec2 -cuda -doc -flite -frei0r -fribidi -gcrypt -gme -gmp -gsm -iec61883 -ieee1394 -kvazaar -libaribb24 -libcaca -libilbc -liblc3 -libsoxr -libtesseract -npp -nvenc -openmpt -qsv -rabbitmq -rav1e -samba -shaderc -snappy -sndio -soc -srt -svt-av1 -vdpau -verify-sig -vidstab -vmaf -x265 -zeromq -zimg" ABI_X86="32 (64) (-x32)" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks export-pms-vars fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" dev-build/cmake-3.31.7::gentoo was built with the following: USE="gui ncurses -dap -doc -test -verify-sig" ABI_X86="(64)" Where can I see the multi-bit problem? Did you mean 10bit 12bit?
without those 3 patches x265-9999 builds today with 8+10bit and my ffmpeg config, however i think the test-ns does the namespacing for 8+10+12bit, so this silently dropped will result in an 8bit build for me: [ebuild R *] media-libs/x265-9999:0/212::gentoo USE="10bit -12bit -numa -test" ABI_X86="(64) -32 (-x32)" 0 KiB however: x265 [info]: HEVC encoder version 4.1+140-9ee146fb2 x265 [info]: build info [Linux][GCC 14.2.1][64 bit] 8bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
i meant that dropping those patches allows to build, but breaks 8+10bit (+12bit, any version with more than one bit depth, but 8bit is always enabled) like i mentioned earlier.
265 --help x265 [info]: HEVC encoder version 4.1+140-9ee146fb2 x265 [info]: build info [Linux][GCC 14.2.1][64 bit] 8bit+10bit+12bit