Using makepkg -fscCi
, I get this:
[…]
[ 7%] Building C object libobs/CMakeFiles/libobs.dir/obs-output.c.o
In file included from /tmp/makepkg/obs-studio-tytan652/src/obs-studio/libobs/util/threading.h:41,
from /tmp/makepkg/obs-studio-tytan652/src/obs-studio/libobs/obs-internal.h:24,
from /tmp/makepkg/obs-studio-tytan652/src/obs-studio/libobs/obs.c:24:
In function 'os_atomic_dec_long',
inlined from 'stop_gpu_encode' at /tmp/makepkg/obs-studio-tytan652/src/obs-studio/libobs/obs.c:3241:2:
/tmp/makepkg/obs-studio-tytan652/src/obs-studio/libobs/util/threading-posix.h:26:16: error: '__atomic_sub_fetch_8' writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
26 | return __atomic_sub_fetch(val, 1, __ATOMIC_SEQ_CST);
| ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [libobs/CMakeFiles/libobs.dir/build.make:76: libobs/CMakeFiles/libobs.dir/obs.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 7%] Built target obspython_swig_compilation
[ 8%] Linking CXX executable obs-browser-page
make[1]: *** [CMakeFiles/Makefile2:1136: libobs/CMakeFiles/libobs.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Installing obs-browser-page to OBS rundir
[ 8%] Built target obs-browser-page
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
I can’t quite tell if this is a local issue or not.
Pinned Comments
tytan652 commented on 2025-03-15 16:52 (UTC)
If you have issue building please try to downgrade
asio
to a version before 1.34.0, this a headers-only library so packages only rely on it as a build-time dependencies.Arch Linux has unfortunately updated
asio
without testing if packages using it would build andwebsocketpp
happens to not work with the newestasio
.tytan652 commented on 2023-01-13 07:51 (UTC) (edited on 2023-01-13 07:52 (UTC) by tytan652)
For those who might ask why
libva-vdpau-driver
was added to conflicts.It is the only way at package level to prevent the user to have segfaults because of this driver. This will not be fixed on OBS side since this is not an OBS issue.
The driver is only loaded with Nvidia cards.
Try
libva-nvidia-driver
if you really need Nvidia decode through VAAPI.tytan652 commented on 2021-05-14 17:49 (UTC) (edited on 2022-07-08 06:03 (UTC) by tytan652)
This package have some dependencies with version check, it will allow you to rebuild the package only when your system is correctly updated. This feature is not enabled on Manjaro.
If you have any issue, please before commenting rebuild this package (a clean build) and try again to make sure it's not because of a library update.
Pamac has a messed up dependency checker, use another AUR helper for the first install.
This AUR package provide OBS with all the missing feature except Twitch, Restream and YouTube integrations.
More explaination here: https://ideas.obsproject.com/posts/1558/
It provide any dependency needed for Wayland support.
It also contains some unmerged PR or backported fix documented in the PKGBUILD.
I'm quite active on OBS discord server (don't PM me directly), so if I saw something that need to be backported I add it.