Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build issue on Ubuntu 18.04 #248

Closed
Ali-Flt opened this issue Jul 9, 2022 · 6 comments
Closed

docker build issue on Ubuntu 18.04 #248

Ali-Flt opened this issue Jul 9, 2022 · 6 comments
Labels
invalid:duplicate This appears to be a duplicate of a pre-existing issue. wontfix This will not be worked on

Comments

@Ali-Flt
Copy link

Ali-Flt commented Jul 9, 2022

Describe the Bug

I tried building Sunshine using the Dockerfile-ubuntu_18_04 without CUDA (I commented out the two lines about installing CUDA (51 and 52) in the dockerfile).

I did what was described in doc but when I want to compile using ./build-sunshine.sh -p -s .. the build script can't find the ./gen-deb file to generate the deb file.
Here is the last lines of my build log.

[ 25%] Building C object third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/compress.c.o                                                                                                                                                                       [1568/1998]
[ 26%] Building C object third-party/cbs/CMakeFiles/cbs.dir/cbs_mpeg2.c.o                                                                                                                                                                                                      
[ 28%] Building C object third-party/moonlight-common-c/enet/CMakeFiles/enet.dir/peer.c.o                                                                                                                                                                                      
[ 29%] Building C object third-party/miniupnp/miniupnpc/CMakeFiles/libminiupnpc-static.dir/addr_is_reserved.c.o                                                                                                                                                                
[ 32%] Building C object third-party/miniupnp/miniupnpc/CMakeFiles/libminiupnpc-static.dir/igd_desc_parse.c.o                                                                                                                                                                  
[ 32%] Building C object third-party/miniupnp/miniupnpc/CMakeFiles/libminiupnpc-static.dir/portlistingparse.c.o                                                                                                                                                                
[ 34%] Building C object third-party/cbs/CMakeFiles/cbs.dir/cbs_jpeg.c.o                                                                                                                                                                                                       
[ 35%] Building C object third-party/miniupnp/miniupnpc/CMakeFiles/libminiupnpc-static.dir/upnperrors.c.o                                                                                                                                                                      
[ 37%] Building C object third-party/cbs/CMakeFiles/cbs.dir/cbs.c.o                                                                                                                                                                                                            
[ 38%] Building C object third-party/cbs/CMakeFiles/cbs.dir/cbs_h2645.c.o                                                                                                                                                                                                      
[ 40%] Building C object third-party/cbs/CMakeFiles/cbs.dir/cbs_av1.c.o                                                                                                                                                                                                        
[ 41%] Building C object third-party/miniupnp/miniupnpc/CMakeFiles/libminiupnpc-static.dir/minixml.c.o                                                                                                                                                                         
[ 43%] Building C object third-party/miniupnp/miniupnpc/CMakeFiles/libminiupnpc-static.dir/upnpreplyparse.c.o                                                                                                                                                                  
[ 44%] Building C object third-party/miniupnp/miniupnpc/CMakeFiles/libminiupnpc-static.dir/miniupnpc.c.o                                                                                                                                                                       
[ 46%] Building C object third-party/miniupnp/miniupnpc/CMakeFiles/libminiupnpc-static.dir/minisoap.c.o                                                                                    
[ 47%] Building C object third-party/miniupnp/miniupnpc/CMakeFiles/libminiupnpc-static.dir/upnpcommands.c.o                                                                                                                                                                    
[ 49%] Linking C static library libminiupnpc.a                                                                                                                                                                                                                                 
[ 49%] Built target libminiupnpc-static                                                                            
[ 50%] Linking C static library libenet.a                                                                                                                                                                                                                                      
[ 50%] Built target enet                                                                                                 
[ 52%] Linking C static library libcbs.a                                                                                                                                                                                                                                       
[ 52%] Built target cbs                                                                                                                                                                                                                                                       
[ 53%] Building C object CMakeFiles/sunshine.dir/third-party/moonlight-common-c/reedsolomon/rs.c.o                                                                                                                                                                            
[ 56%] Building CXX object CMakeFiles/sunshine.dir/sunshine/upnp.cpp.o                                                                                                                                                                                                         
[ 56%] Building CXX object CMakeFiles/sunshine.dir/sunshine/config.cpp.o                                                                                                                                                                                                       
[ 58%] Building C object CMakeFiles/sunshine.dir/third-party/moonlight-common-c/src/RtspParser.c.o                                                                                                                                                                             
[ 59%] Building CXX object CMakeFiles/sunshine.dir/sunshine/httpcommon.cpp.o                                                                                                                                                                                                   
[ 61%] Building CXX object CMakeFiles/sunshine.dir/sunshine/main.cpp.o                                                                                                                                                                                                         
[ 62%] Building CXX object CMakeFiles/sunshine.dir/sunshine/crypto.cpp.o                                                                                                                                                                                                       
[ 64%] Building CXX object CMakeFiles/sunshine.dir/sunshine/platform/linux/kmsgrab.cpp.o                                                                                                                                                                                       
[ 65%] Building CXX object CMakeFiles/sunshine.dir/sunshine/rtsp.cpp.o                                                                                                                                                                                                         
[ 67%] Building CXX object CMakeFiles/sunshine.dir/sunshine/nvhttp.cpp.o                                                                                                                                                                                                       
[ 68%] Building CXX object CMakeFiles/sunshine.dir/sunshine/process.cpp.o                                                                                                                                                                                                      
[ 70%] Building CXX object CMakeFiles/sunshine.dir/sunshine/platform/linux/wlgrab.cpp.o                                                                                                                                                                                        
[ 71%] Building CXX object CMakeFiles/sunshine.dir/sunshine/cbs.cpp.o                                                                                                                                                                                                          
[ 73%] Building CXX object CMakeFiles/sunshine.dir/sunshine/platform/linux/graphics.cpp.o                                                                                                                                                                                     
[ 74%] Building C object CMakeFiles/sunshine.dir/third-party/glad/src/gl.c.o                                                                                                                                                                                                   
[ 76%] Building CXX object CMakeFiles/sunshine.dir/sunshine/platform/linux/publish.cpp.o                                                                                                                                
[ 77%] Building CXX object CMakeFiles/sunshine.dir/sunshine/platform/linux/vaapi.cpp.o                                                                                     
[ 80%] Building CXX object CMakeFiles/sunshine.dir/sunshine/platform/linux/wayland.cpp.o                                                                                                                        
[ 79%] Building CXX object CMakeFiles/sunshine.dir/sunshine/platform/linux/input.cpp.o                                                                                         
[ 82%] Building CXX object CMakeFiles/sunshine.dir/sunshine/audio.cpp.o                                                                                                                                                                                                        
[ 83%] Building CXX object CMakeFiles/sunshine.dir/sunshine/stream.cpp.o                                                                                                                                                                                                       
[ 85%] Building CXX object CMakeFiles/sunshine.dir/sunshine/platform/linux/x11grab.cpp.o                                                                                                                                                                                       
[ 86%] Building C object CMakeFiles/sunshine.dir/generated-src/wlr-export-dmabuf-unstable-v1.c.o                                                                                                                                                                               
[ 88%] Building CXX object CMakeFiles/sunshine.dir/sunshine/input.cpp.o                                           
[ 89%] Building C object CMakeFiles/sunshine.dir/generated-src/xdg-output-unstable-v1.c.o                           
[ 91%] Building CXX object CMakeFiles/sunshine.dir/sunshine/video.cpp.o                                                                        
[ 92%] Building CXX object CMakeFiles/sunshine.dir/sunshine/network.cpp.o                                             
[ 94%] Building CXX object CMakeFiles/sunshine.dir/sunshine/platform/linux/audio.cpp.o                                                                                                                                                                                         
[ 95%] Building CXX object CMakeFiles/sunshine.dir/sunshine/platform/linux/misc.cpp.o                                                                                                                                                                                          
[ 97%] Building CXX object CMakeFiles/sunshine.dir/sunshine/confighttp.cpp.o                                                                                                                                                                                                   
[ 98%] Building C object CMakeFiles/sunshine.dir/third-party/glad/src/egl.c.o                                                                               
[100%] Linking CXX executable sunshine                                                                      
[100%] Built target sunshine                                                                                                                                                                                                                                                   
Packaging in .deb format.                                                                                                      
/root/build.sh: line 43: ./gen-deb: No such file or directory

Expected Behavior

Sunshine builds and generate deb file.

Additional Context

No response

Sunshine Host Operating System and Version

Ubuntu 18.04

Architecture

x86_64

Sunshine Version

0.14.0 (master branch)

GPU Type

Intel CPU integrated GPU

GPU Model

Intel Corporation HD Graphics 630

GPU Driver/Mesa Version

N.A.

Capture Method (Linux Only)

No response

@ReenigneArcher
Copy link
Member

We don't use gen-deb anymore, more than likely these dockerfiles will go away. For now they just serve as reference. I'd suggest building on your target system.

@ReenigneArcher ReenigneArcher added the wontfix This will not be worked on label Jul 9, 2022
@Ali-Flt
Copy link
Author

Ali-Flt commented Jul 9, 2022

So if I follow the instructions here I can build without issue?

@ReenigneArcher
Copy link
Member

So if I follow the instructions here I can build without issue?

Should work fine.

@Ali-Flt
Copy link
Author

Ali-Flt commented Jul 10, 2022

I managed to build it successfully build it. Now when I try to connect to it using moonlight, It connects for a split of second and connection terminates immediately.
Here is the log I get. The only Errors I see are
Error: Couldn't import RGB Image: 00003003
Error: Couldn't set default-sink [auto_null]: No such entity
could these cause the failure?
log.log

@ReenigneArcher
Copy link
Member

Duplicate of #48

@ReenigneArcher ReenigneArcher marked this as a duplicate of #48 Jul 10, 2022
@ReenigneArcher ReenigneArcher added the invalid:duplicate This appears to be a duplicate of a pre-existing issue. label Jul 10, 2022
@github-actions
Copy link

👋 @Ali-Flt, this appears to be a duplicate of a pre-existing issue.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid:duplicate This appears to be a duplicate of a pre-existing issue. wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants