obsproject / obsproject/obs-studio
Unable to Build Debian Package
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 76.4k
- Forks
- 10.2k
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 12
Description
Operating System Info
Other
Other OS
Debian Sid
OBS Studio Version
Git
OBS Studio Version (Other)
No response
OBS Studio Log URL
-na-
OBS Studio Crash Log URL
No response
Expected Behavior
The command make package or cpack should generate installable Debian package files.
Current Behavior
Package build fails in dpkg-shlibdeps:
$ cpack
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: obs-studio
CPack: - Install project: obs-studio []
CPack: Create package
CPackDeb: - Generating dependency list
CMake Error at /usr/share/cmake-3.27/Modules/Internal/CPack/CPackDeb.cmake:348 (message):
CPackDeb: dpkg-shlibdeps: 'dpkg-shlibdeps: error: no dependency information
found for usr/local/lib/libobs-frontend-api.so.0 (used by
./usr/local/lib/obs-scripting/_obspython.so)
Hint: check if the library actually comes from a package.
';
executed command: '/usr/bin/dpkg-shlibdeps -O
./usr/local/bin/obs;./usr/local/bin/obs-ffmpeg-mux;./usr/local/lib/libobs-frontend-api.so.30;./usr/local/lib/libobs-opengl.so.30;./usr/local/lib/libobs-scripting.so.30;./usr/local/lib/libobs.so.30;./usr/local/lib/obs-plugins/decklink-captions.so;./usr/local/lib/obs-plugins/decklink-output-ui.so;./usr/local/lib/obs-plugins/decklink.so;./usr/local/lib/obs-plugins/frontend-tools.so;./usr/local/lib/obs-plugins/image-source.so;./usr/local/lib/obs-plugins/linux-alsa.so;./usr/local/lib/obs-plugins/linux-capture.so;./usr/local/lib/obs-plugins/linux-pipewire.so;./usr/local/lib/obs-plugins/linux-pulseaudio.so;./usr/local/lib/obs-plugins/linux-v4l2.so;./usr/local/lib/obs-plugins/obs-ffmpeg.so;./usr/local/lib/obs-plugins/obs-filters.so;./usr/local/lib/obs-plugins/obs-outputs.so;./usr/local/lib/obs-plugins/obs-qsv11.so;./usr/local/lib/obs-plugins/obs-transitions.so;./usr/local/lib/obs-plugins/obs-vst.so;./usr/local/lib/obs-plugins/obs-websocket.so;./usr/local/lib/obs-plugins/obs-x264.so;./usr/local/lib/obs-plugins/rtmp-services.so;./usr/local/lib/obs-plugins/text-freetype2.so;./usr/local/lib/obs-plugins/vlc-video.so;./usr/local/lib/obs-scripting/_obspython.so;./usr/local/lib/obs-scripting/obslua.so';
[ ...4800 more lines of debug info... ]
The files that are claimed to have no dependency information change between runs. A run subsequent to the above reported:
CMake Error at /usr/share/cmake-3.27/Modules/Internal/CPack/CPackDeb.cmake:348 (message):
CPackDeb: dpkg-shlibdeps: 'dpkg-shlibdeps: error: no dependency information
found for usr/local/lib/libobs.so.0 (used by
./usr/local/lib/obs-plugins/rtmp-services.so)
[ ... ]
This same build environment worked fine up until about six weeks ago. Creating a new build directory from scratch did not help.
Steps to Reproduce
git pull --recurse-submodulesmake -j11make package
Anything else we should know?
ENABLE_BROWSER is false. Full debug output from cpack available upon request (4800 lines, 163KB).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with git pull --recurse-submodules, make -j11, and make package, then inspect CPack's DEB generation and the dpkg-shlibdeps error for the listed OBS libraries. Compare the generated dependency information across runs. Done means make package or cpack produces installable Debian package files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, debian, linux
- Domain
- build-system, release
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100