Package Details: obs-advanced-scene-switcher 1.28.1-1

Git Clone URL: https://aur.archlinux.org/obs-advanced-scene-switcher.git (read-only, click to copy)
Package Base: obs-advanced-scene-switcher
Description: An automated scene switcher for OBS Studio
Upstream URL: https://obsproject.com/forum/resources/advanced-scene-switcher.395/
Keywords: obs obs-studio plugin
Licenses: GPL-2.0-or-later
Submitter: tytan652
Maintainer: tytan652
Last Packager: tytan652
Votes: 3
Popularity: 0.29
First Submitted: 2021-01-31 17:11 (UTC)
Last Updated: 2024-11-02 13:26 (UTC)

Latest Comments

1 2 Next › Last »

Nikolai2038 commented on 2024-11-01 14:20 (UTC) (edited on 2024-11-01 14:22 (UTC) by Nikolai2038)

I checked - installation works now without any scripts! Thank you @tytan652!

tytan652 commented on 2024-11-01 10:03 (UTC)

I found the issue on my side… (One package not kept up to date)

1.28.0 should no longer require to disable the Twitch plugin to build.

Nikolai2038 commented on 2024-10-18 13:32 (UTC)

+1

I have the same error. Thanks to @admalledd, for now I use this script to automatically install obs-advanced-scene-switcher (I don't need twitch plugin so I am good):

# Will fail but will download all the files
yay --sync --refresh --needed --sudoloop --noconfirm obs-advanced-scene-switcher

# Go to cache directory
cd ~/.cache/yay/obs-advanced-scene-switcher

# Add command to disable twitch plugin to PKGBUILD
sed -Ei "s|(cd deps/libremidi)|sed -i 's/^add_plugin(twitch)\$/# add_plugin(twitch) # Disabled for now by AUR-helper/g' ./plugins/CMakeLists.txt; \1|" ./PKGBUILD

# Build package
makepkg --syncdeps --noconfirm

# Install (without debug package)
sudo pacman --upgrade --noconfirm "$(/usr/bin/ls obs-advanced-scene-switcher-* | grep -v 'debug')"

admalledd commented on 2024-10-12 18:17 (UTC)

@PatoPan I am also having the same issue. While I am not versed in C++ enough to figure out the fix, I can at least let you know that if you don't desire/need the Twitch integration, simply disabling that plugin seems to work fine.

Adding to the PKGBUILD:prepare() just before the cd deps/libremidi a little sed-line to comment out the plugin in the CMake files lets me makepkg && pacman -U ./obs-adv*.pkg.*

  # disable twitch plugin for now
  sed -i 's/add_plugin(twitch)/#add_plugin(twitch)#disabled by AUR-helper/g' plugins/CMakeLists.txt


Note: attempting to use both the 1.28.0-beta1 tag, nor latest git seemed to help. The actual C++ error seems to be


/home/admalledd/.cache/paru/clone/obs-advanced-scene-switcher/src/obs-advanced-scene-switcher/plugins/twitch/twitch-helpers.cpp: In member function ‘bool advss::Args::operator<(const advss::Args&) const’:
/home/admalledd/.cache/paru/clone/obs-advanced-scene-switcher/src/obs-advanced-scene-switcher/plugins/twitch/twitch-helpers.cpp:35:39: error: no match for ‘operator<’ (operand types are ‘const httplib::Headers’ {aka ‘const std::unordered_multimap<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, httplib::detail::case_ignore::hash, httplib::detail::case_ignore::equal_to>’} and ‘const httplib::Headers’ {aka ‘const std::unordered_multimap<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, httplib::detail::case_ignore::hash, httplib::detail::case_ignore::equal_to>’})
   35 |                 ret = ret && _headers < other._headers;
      |                              ~~~~~~~~ ^ ~~~~~~~~~~~~~~
      |                              |                |
      |                              |                unordered_multimap<[...],[...],[...],[...]>
      |                              unordered_multimap<[...],[...],[...],[...]>


PatoPan commented on 2024-09-30 16:16 (UTC) (edited on 2024-09-30 16:17 (UTC) by PatoPan)

I had been having this issue lately, rebuilding doesn't help

make[2]: *** [plugins/twitch/CMakeFiles/advanced-scene-switcher-twitch.dir/build.make:223: plugins/twitch/CMakeFiles/advanced-scene-switcher-twitch.dir/twitch-helpers.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:623: plugins/twitch/CMakeFiles/advanced-scene-switcher-twitch.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'obs-advanced-scene-switcher-1.27.2-1': 
error: packages failed to build: obs-advanced-scene-switcher-1.27.2-1

I am currently in version 1.27.2

denilsonsa commented on 2024-04-04 20:40 (UTC)

@tytan652: The compilation error has been fixed upstream, you might want to add the fix as a patch to the PKGBUILD.

tytan652 commented on 2024-03-18 11:34 (UTC)

It seems that I can't reproduce this false positive while building the package in a chroot so there is another factor.

denilsonsa commented on 2024-03-18 11:06 (UTC) (edited on 2024-04-04 20:35 (UTC) by denilsonsa)

That error is a false positive coming from a GCC bug. There are plenty bug reports regarding that warning:

With the risk of creating yet another duplicate (but hopefully with a different test-case), I've reported https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114379

Regarding this package here, well, someone should disable this warning, possibly only for that source-code file, and hopefully upstream.

EDIT: Pull-request sent upstream.

EDIT: Already fixed upstream. Might be worth adding that small patch to the PKGBUILD. (At least until the next release version.)

majenko commented on 2024-03-17 18:53 (UTC) (edited on 2024-03-17 18:53 (UTC) by majenko)

Fails to compile:

[ 36%] Building CXX object CMakeFiles/advanced-scene-switcher-lib.dir/lib/utils/file-selection.cpp.o
In file included from /usr/include/c++/13.2.1/atomic:41,
                 from /usr/include/qt6/QtCore/qatomic_cxx11.h:9,
                 from /usr/include/qt6/QtCore/qbasicatomic.h:8,
                 from /usr/include/qt6/QtCore/qatomic.h:8,
                 from /usr/include/qt6/QtCore/qglobal.h:53,
                 from /usr/include/qt6/QtGui/qtguiglobal.h:7,
                 from /usr/include/qt6/QtWidgets/qtwidgetsglobal.h:7,
                 from /usr/include/qt6/QtWidgets/qcombobox.h:7,
                 from /usr/include/qt6/QtWidgets/QComboBox:1,
                 from /home/matt/.cache/yay/obs-advanced-scene-switcher/src/obs-advanced-scene-switcher/lib/utils/filter-combo-box.hpp:4,
                 from /home/matt/.cache/yay/obs-advanced-scene-switcher/src/obs-advanced-scene-switcher/lib/utils/item-selection-helpers.hpp:2,
                 from /home/matt/.cache/yay/obs-advanced-scene-switcher/src/obs-advanced-scene-switcher/lib/utils/action-queue.hpp:2,
                 from /home/matt/.cache/yay/obs-advanced-scene-switcher/src/obs-advanced-scene-switcher/lib/utils/action-queue.cpp:1:
In member function ‘void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = bool]’,
    inlined from ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator=(__int_type) [with _ITp = bool]’ at /usr/include/c++/13.2.1/bits/atomic_base.h:373:7,
    inlined from ‘bool std::atomic<bool>::operator=(bool)’ at /usr/include/c++/13.2.1/atomic:80:31,
    inlined from ‘void advss::ActionQueue::Stop()’ at /home/matt/.cache/yay/obs-advanced-scene-switcher/src/obs-advanced-scene-switcher/lib/utils/action-queue.cpp:63:8,
    inlined from ‘void advss::StopAndClearAllActionQueues()’ at /home/matt/.cache/yay/obs-advanced-scene-switcher/src/obs-advanced-scene-switcher/lib/utils/action-queue.cpp:424:20:
/usr/include/c++/13.2.1/bits/atomic_base.h:481:25: error: ‘void __atomic_store_1(volatile void*, unsigned char, int)’ writing 1 byte into a region of size 0 overflows the destination [-Werror=stringop-overflow=]