I get this when rebuild of net-misc/sunshine-0.23.1 is performed after dev-libs/boost-1.88.0 update: libavcodec/nvenc.c: In function ‘nvenc_setup_hevc_config’: libavcodec/nvenc.c:1373:9: error: ‘NV_ENC_CONFIG_HEVC’ has no member named ‘pixelBitDepthMinus8’ 1373 | hevc->pixelBitDepthMinus8 = IS_10BIT(ctx->data_pix_fmt) ? 2 : 0; | ^~ libavcodec/nvenc.c: In function ‘nvenc_setup_av1_config’: libavcodec/nvenc.c:1458:8: error: ‘NV_ENC_CONFIG_AV1’ has no member named ‘inputPixelBitDepthMinus8’ 1458 | av1->inputPixelBitDepthMinus8 = IS_10BIT(ctx->data_pix_fmt) ? 2 : 0; | ^~ libavcodec/nvenc.c:1459:8: error: ‘NV_ENC_CONFIG_AV1’ has no member named ‘pixelBitDepthMinus8’ 1459 | av1->pixelBitDepthMinus8 = (IS_10BIT(ctx->data_pix_fmt) || ctx->highbitdepth) ? 2 : 0; | ^~ libavcodec/nvenc.c: In function ‘nvenc_map_buffer_format’: libavcodec/nvenc.c:1692:16: error: ‘NV_ENC_BUFFER_FORMAT_YV12_PL’ undeclared (first use in this function); did you mean ‘NV_ENC_BUFFER_FORMAT_YV12’? 1692 | return NV_ENC_BUFFER_FORMAT_YV12_PL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | NV_ENC_BUFFER_FORMAT_YV12 libavcodec/nvenc.c:1692:16: note: each undeclared identifier is reported only once for each function it appears in libavcodec/nvenc.c:1694:16: error: ‘NV_ENC_BUFFER_FORMAT_NV12_PL’ undeclared (first use in this function); did you mean ‘NV_ENC_BUFFER_FORMAT_NV12’? 1694 | return NV_ENC_BUFFER_FORMAT_NV12_PL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | NV_ENC_BUFFER_FORMAT_NV12 libavcodec/nvenc.c:1700:16: error: ‘NV_ENC_BUFFER_FORMAT_YUV444_PL’ undeclared (first use in this function); did you mean ‘NV_ENC_BUFFER_FORMAT_YUV444’? 1700 | return NV_ENC_BUFFER_FORMAT_YUV444_PL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | NV_ENC_BUFFER_FORMAT_YUV444 make: *** [ffbuild/common.mak:81: libavcodec/nvenc.o] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory '/var/tmp/portage/net-misc/sunshine-0.23.1/work/ffmpeg-build' Reproducible: Always Steps to Reproduce: 1. Update boost 2. It try to rebuild sunshine Actual Results: sunshine does not build. Expected Results: sunshine builds. $ emerge -pqv '=net-misc/sunshine-0.23.1::gentoo' [ebuild R ] net-misc/sunshine-0.23.1 USE="X filecaps libdrm trayicon vaapi wayland x264 x265 -cuda -debug -svt-av1" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4 -xop"
Created attachment 927969 [details] emerge --info '=net-misc/sunshine-0.23.1::gentoo'
Created attachment 927970 [details] /var/tmp/portage/net-misc/sunshine-0.23.1/temp/environment
Created attachment 927971 [details] /var/tmp/portage/net-misc/sunshine-0.23.1/temp/build.log
That looks a lot like it was just exposed by the fact you rebuilt it, and it broke with something else.
(But will block bug 955532 until it is investigated.)
Definitely not caused by boost. NV prefix indicates Nvidia/Cuda-related breakage, best I could find on a whim is the linked PR; I don't have anything Nvidia-related myself though.
I do not own an Nvidia card, I have an AMD one. I think I don’t need NV things for sunshine, but I wonder if it could be disabled (via USE flag ?).
*** This bug has been marked as a duplicate of bug 951973 ***
(In reply to Holger Hoffstätte from comment #6) > Definitely not caused by boost. NV prefix indicates Nvidia/Cuda-related > breakage, best I could find on a whim is the linked PR; I don't have > anything Nvidia-related myself though. So I masked media-libs/nv-codec-headers-12.2.72.0. With this, there are no more nvenc things in build.log. But still, there are issues with dev-libs/boost-1.88.0. I will add an attachment.
Created attachment 928903 [details] /var/tmp/portage/net-misc/sunshine-0.23.1/temp/build.log (without nvenc things)