Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955560 - net-misc/sunshine-0.23.1: does not build with dev-libs/boost-1.88.0
Summary: net-misc/sunshine-0.23.1: does not build with dev-libs/boost-1.88.0
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 955532
  Show dependency tree
 
Reported: 2025-05-07 10:15 UTC by Julien Delquié
Modified: 2025-05-15 19:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=net-misc/sunshine-0.23.1::gentoo' (emerge--info.txt,8.56 KB, text/plain)
2025-05-07 10:16 UTC, Julien Delquié
Details
/var/tmp/portage/net-misc/sunshine-0.23.1/temp/environment (environment,97.48 KB, text/plain)
2025-05-07 10:16 UTC, Julien Delquié
Details
/var/tmp/portage/net-misc/sunshine-0.23.1/temp/build.log (build.log,74.56 KB, text/plain)
2025-05-07 10:17 UTC, Julien Delquié
Details
/var/tmp/portage/net-misc/sunshine-0.23.1/temp/build.log (without nvenc things) (build.log,300.50 KB, text/plain)
2025-05-15 19:54 UTC, Julien Delquié
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Delquié 2025-05-07 10:15:43 UTC
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"
Comment 1 Julien Delquié 2025-05-07 10:16:24 UTC
Created attachment 927969 [details]
emerge --info '=net-misc/sunshine-0.23.1::gentoo'
Comment 2 Julien Delquié 2025-05-07 10:16:47 UTC
Created attachment 927970 [details]
/var/tmp/portage/net-misc/sunshine-0.23.1/temp/environment
Comment 3 Julien Delquié 2025-05-07 10:17:07 UTC
Created attachment 927971 [details]
/var/tmp/portage/net-misc/sunshine-0.23.1/temp/build.log
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-07 10:28:36 UTC
That looks a lot like it was just exposed by the fact you rebuilt it, and it broke with something else.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-07 14:32:28 UTC
(But will block bug 955532 until it is investigated.)
Comment 6 Holger Hoffstätte 2025-05-07 14:46:37 UTC
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.
Comment 7 Julien Delquié 2025-05-07 18:21:50 UTC
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 ?).
Comment 8 Holger Hoffstätte 2025-05-07 21:12:59 UTC

*** This bug has been marked as a duplicate of bug 951973 ***
Comment 9 Julien Delquié 2025-05-15 19:53:40 UTC
(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.
Comment 10 Julien Delquié 2025-05-15 19:54:21 UTC
Created attachment 928903 [details]
/var/tmp/portage/net-misc/sunshine-0.23.1/temp/build.log (without nvenc things)