Yay -S obs-multi-rtmp

Hello, previously I installed the rtmp module for obs from the following command (yay -S obs-multi-rtmp-git) and I get the following error

:: (1/1) Analizando SRCINFO: obs-multi-rtmp-git
==> Creando el paquete: obs-multi-rtmp-git r96.b27ea4b-1 (sáb 18 feb 2023 20:39:42)
==> Recibiendo las fuentes...
  -> Actualizando obs-multi-rtmp del repositorio git...
==> Validando los archivos source con sha256sums...
    obs-multi-rtmp ... Omitido
==> Creando el paquete: obs-multi-rtmp-git r96.b27ea4b-1 (sáb 18 feb 2023 20:39:43)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> Recibiendo las fuentes...
  -> Actualizando obs-multi-rtmp del repositorio git...
==> Validando los archivos source con sha256sums...
    obs-multi-rtmp ... Omitido
==> Eliminando el directorio $srcdir/...
==> Extrayendo las fuentes...
  -> Creando copia de trabajo de obs-multi-rtmp del repositorio git...
Clonando en 'obs-multi-rtmp'...
hecho.
==> Iniciando pkgver()...
==> Versión actualizada: obs-multi-rtmp-git r109.22404f1-1
==> Las fuentes están listas.
==> Creando el paquete: obs-multi-rtmp-git r109.22404f1-1 (sáb 18 feb 2023 20:39:44)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> ADVERTENCIA: Usando el árbol existente $srcdir/
==> Iniciando pkgver()...
==> Eliminando el directorio $pkgdir/...
==> Iniciando build()...
+ : 0
+ : /usr
+ : ''
+ : /usr/include/obs
++ grep 'obs-multi-rtmp VERSION' CMakeLists.txt
+ ver='project(obs-multi-rtmp VERSION 0.2.8.0)'
+ ver=($ver)
+ ver='0.2.8.0)'
+ ver=0.2.8.0
+ rm -fr build dist '*.tar.xz'
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTDIR= -DOBS_SRC_DIR=/usr/include/obs -B build .
-- The C compiler identification is GNU 12.2.1
-- The CXX compiler identification is GNU 12.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE  
-- Found OpenGL: /usr/lib/libOpenGL.so   
-- Found WrapOpenGL: TRUE  
-- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.5.0", minimum required is "0.5.0") 
-- Found WrapVulkanHeaders: /usr/include  
=== OBS executable located in /usr/bin/obs
=== OBS libraries located in /usr/lib
=== OBS headers located in /usr/include/obs
Install plugin to /usr/lib/obs-plugins and /usr/share/obs/obs-plugins
-- Configuring done
-- Generating done
-- Build files have been written to: /home/astronomy/.cache/yay/obs-multi-rtmp-git/src/obs-multi-rtmp/build
+ cmake --build build --config Release
[ 20%] Building CXX object CMakeFiles/obs-multi-rtmp.dir/cmake_pch.hxx.gch
[ 60%] Building CXX object CMakeFiles/obs-multi-rtmp.dir/src/edit-widget.cpp.o
[ 60%] Building CXX object CMakeFiles/obs-multi-rtmp.dir/src/obs-multi-rtmp.cpp.o
[ 80%] Building CXX object CMakeFiles/obs-multi-rtmp.dir/src/push-widget.cpp.o
/home/astronomy/.cache/yay/obs-multi-rtmp-git/src/obs-multi-rtmp/src/push-widget.cpp: En la función miembro ‘bool PushWidgetImpl::PrepareOutputEncoders()’:
/home/astronomy/.cache/yay/obs-multi-rtmp-git/src/obs-multi-rtmp/src/push-widget.cpp:243:35: aviso: ‘void obs_encoder_addref(obs_encoder_t*)’ es obsoleto [-Wdeprecated-declarations]
  243 |                 obs_encoder_addref(venc);
      |                 ~~~~~~~~~~~~~~~~~~^~~~~~
En el fichero incluido desde /usr/include/obs/obs-module.h:20,
                 desde /home/astronomy/.cache/yay/obs-multi-rtmp-git/src/obs-multi-rtmp/src/pch.h:30,
                 desde /home/astronomy/.cache/yay/obs-multi-rtmp-git/src/obs-multi-rtmp/build/CMakeFiles/obs-multi-rtmp.dir/cmake_pch.hxx:5,
                 desde <línea-de-órdenes>:
/usr/include/obs/obs.h:2277:37: nota: se declara aquí
 2277 | OBS_EXTERNAL_DEPRECATED EXPORT void obs_encoder_addref(obs_encoder_t *encoder);
      |                                     ^~~~~~~~~~~~~~~~~~
/home/astronomy/.cache/yay/obs-multi-rtmp-git/src/obs-multi-rtmp/src/push-widget.cpp:248:35: aviso: ‘void obs_encoder_addref(obs_encoder_t*)’ es obsoleto [-Wdeprecated-declarations]
  248 |                 obs_encoder_addref(aenc);
      |                 ~~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/obs/obs.h:2277:37: nota: se declara aquí
 2277 | OBS_EXTERNAL_DEPRECATED EXPORT void obs_encoder_addref(obs_encoder_t *encoder);
      |                                     ^~~~~~~~~~~~~~~~~~
[100%] Linking CXX shared library obs-multi-rtmp.so
[100%] Built target obs-multi-rtmp
+ cmake --install build --config Release --prefix dist//usr
-- Installing: /usr/lib/obs-plugins/obs-multi-rtmp.so
CMake Error at build/cmake_install.cmake:60 (file):
  file INSTALL cannot copy file
  "/home/astronomy/.cache/yay/obs-multi-rtmp-git/src/obs-multi-rtmp/build/obs-multi-rtmp.so"
  to "/usr/lib/obs-plugins/obs-multi-rtmp.so": Permission denied.


==> ERROR: Se produjo un fallo en build().
    Cancelando...
 -> error compilando: obs-multi-rtmp-git

I would like some advice, thanks - I have version 29.0.2-1 of obs


Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

  • remove the yay cache and try again?
  • use makepkg to build?
  • use yay to build but do the installation via pacman - install the file that was built from the yay cache
    because that seems to be the step that failed here:

Permission denied

also:
use code tags ( </> ) when posting terminal output
and prepend your command with:
LANG=C
so that the output is in english

Hi @cesar_leonardo, and welcome!

On the package’s AUR page it’s flagged as out of date, and it seems it had been for quite some time. Long enough that it makes me think it’s unmaintained.

I’d say best would be to look for something else.
:man_shrugging:


:bangbang: Tip: :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.