I have a build error:
==> Starting build()... -- OBS: Application Version: 27.2.0.r124.g7dcd22dc9 - Build Number: 1 CMake Error at CMakeLists.txt:15 (project): VERSION "27.2.0.r124.g7dcd22dc9" format invalid.
| Git Clone URL: | https://aur.archlinux.org/obs-studio-git.git (read-only, click to copy) |
|---|---|
| Package Base: | obs-studio-git |
| Description: | Free, open source software for live streaming and recording |
| Upstream URL: | https://github.com/obsproject/obs-studio |
| Licenses: | GPL-2.0-or-later |
| Conflicts: | obs-studio |
| Provides: | obs-studio |
| Submitter: | ledti |
| Maintainer: | benklett (xiota) |
| Last Packager: | benklett |
| Votes: | 112 |
| Popularity: | 0.086630 |
| First Submitted: | 2014-03-12 22:29 (UTC) |
| Last Updated: | 2026-06-10 22:13 (UTC) |
« First ‹ Previous 1 .. 11 12 13 14 15 16 17 18 19 20 21 .. 38 Next › Last »
I have a build error:
==> Starting build()... -- OBS: Application Version: 27.2.0.r124.g7dcd22dc9 - Build Number: 1 CMake Error at CMakeLists.txt:15 (project): VERSION "27.2.0.r124.g7dcd22dc9" format invalid.
I was able to build this by specifying a cmake option -DENABLE_AJA=OFF when invoking cmake. If -DENABLE_AJA=ON is desired, I think this aur package is a required dependency: https://aur.archlinux.org/packages/libajantv2 .
As for the VERSION error, I used this:
-DOBS_VERSION_OVERRIDE=$(echo $pkgver | sed 's/\([0-9]\+\.[0-9]\+\.[0-9]\+\)\.r\([0-9]\+\)\.g[a-f0-9]\+/\1.\2/')
This sets the "tweak" version number to the revision count (so 27.2.0.r124.g7dcd22dc9 becomes 27.2.0.124). See https://cmake.org/cmake/help/latest/command/project.html#options as reference.
Why paru is trying to update my obs to version obs-studio-git-27.1.3.r255.gb2c09d352-1
My installed versions is 27.2.0.r103.g02e541038 and this is already newer right?
https://github.com/obsproject/obs-studio/pull/5155 This was merged yesterday, I suspect some changes to the PKGBUILD will be needed to build.
Yea I am not getting this to build -getting this:
[ 92%] Linking CXX executable obs
/usr/bin/ld: /usr/lib/librsvg-2.so.2: undefined reference to `cairo_tag_end'
/usr/bin/ld: /usr/lib/librsvg-2.so.2: undefined reference to `cairo_svg_surface_get_document_unit'
/usr/bin/ld: /usr/lib/librsvg-2.so.2: undefined reference to `pango_color_parse_with_alpha'
/usr/bin/ld: /usr/lib/librsvg-2.so.2: undefined reference to `cairo_tag_begin'
/usr/bin/ld: /usr/lib/librsvg-2.so.2: undefined reference to `cairo_pdf_surface_set_thumbnail_size'
/usr/bin/ld: /usr/lib/librsvg-2.so.2: undefined reference to `cairo_pdf_surface_set_metadata'
/usr/bin/ld: /usr/lib/librsvg-2.so.2: undefined reference to `cairo_font_options_get_variations'
/usr/bin/ld: /usr/lib/librsvg-2.so.2: undefined reference to `cairo_svg_surface_set_document_unit'
/usr/bin/ld: /usr/lib/librsvg-2.so.2: undefined reference to `cairo_pdf_surface_set_page_label'
/usr/bin/ld: /usr/lib/librsvg-2.so.2: undefined reference to `cairo_pdf_surface_add_outline'
collect2: error: ld returned 1 exit statusc
make[2]: *** [UI/CMakeFiles/obs.dir/build.make:1574: UI/obs] Error 1
make[1]: *** [CMakeFiles/Makefile2:1858: UI/CMakeFiles/obs.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
I just had issues with luajit and libdl.so. If you have issues building the package, try a clean build first.
Oh well! I didn't notice there was still an old workaround in place which replaced the actual cef-minimal dependency with cef-minimal-obs-studio-browser-bin. Thanks for making me aware, it works after removing it.
@dr460nf1r3, the log you gave are with cef-minimal-obs-studio-browser-bin which put the CEF in /opt/cef. And the actual PKGBUILD check in /opt/cef-obs.
My CEF packages put it in /opt/cef-obs because they provide a specific version for OBS.
Note: OBS has added patches about Media Handling to the CEF that they will use for 27.2.
The package currently fails to compile with
CMake Error at plugins/obs-browser/CMakeLists.txt:16 (message):
CEF Not found -- set CEF_ROOT_DIR or set BUILD_BROWSER=OFF. in a clean chroot. I also tried using cef-minimal-obs-rc-bin as suggested by @tytan652 but that doesn't help. Full logs are available here :)
Pinned Comments
thotypous commented on 2021-02-05 14:12 (UTC)
If you don't want to build this package yourself, hourly builds are available at https://aur.chaotic.cx
benklett commented on 2016-02-06 23:11 (UTC) (edited on 2016-08-10 14:01 (UTC) by benklett)