Solved Having to choose between removing Minetest to install OBS Studio because of luajit-openresty

D

Deleted member 72152

Guest
I'm having quite an unfortunate affair when I try to build multimedia/obs-studio, it depends on lang/luajit but I already have lang/luajit-openresty installed for Minetest and trying to install OBS will remove Minetest and this dependency. Ironically the point of me installing OBS was to record a bunch of games running on FreeBSD, including Minetest. Is there any way to fix this or should I just stick to something like multimedia/recordmydesktop (I find this a massive hassle because the encoder takes a lot longer than OBS and encoding on the fly is broken).
 
It shouldn't matter.

Code:
[what@home]~> pkg rquery %b luajit                         
libluajit-5.1.so.2
[what@home]~> pkg rquery %b luajit-openresty
libluajit-5.1.so.2
 
Could try putting the game in a sysutils/bastille jail. That game can still be recorded with that, depending on how the jail is set up. That's a task of its own though, and this may be a last resort or if a jail is otherwise needed.

Whatever can come out of the previous post is a better solution, even if it requires making a bug report.
 
It shouldn't matter.

Code:
[what@home]~> pkg rquery %b luajit                        
libluajit-5.1.so.2
[what@home]~> pkg rquery %b luajit-openresty
libluajit-5.1.so.2
When I try to install one or the other, a conflict message appears, but doesn't say whether or not it was installed. pkg info | grep luajit tells me that luajit-openresty is still installed but not the plain luajit.
 
Here is a snippet of precisely what happens when I make install-missing-packages after configuring OBS Studio:

Code:
Checking integrity... done (1 conflicting)
  - luajit-2.0.5_6 conflicts with luajit-openresty-2.1.20220411 on /usr/local/bin/luajit
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 34 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    atf: 0.21
    autoconf: 2.71
    autoconf-switch: 20220527
    automake: 1.16.5
    cmake-core: 3.24.0
    evdev-proto: 5.8
    fdk-aac: 2.0.2
    gettext-tools: 0.21_1
    gmake: 4.3_2
    help2man: 1.49.2
    kyua: 0.13_5,3
    libsysinfo: 0.0.3_2
    libtextstyle: 0.21
    libtool: 2.4.7
    libuv: 1.44.2
    luajit: 2.0.5_6
    lutok: 0.4_7
    m4: 1.4.19,1
    mbedtls: 2.28.1
    ninja: 1.11.1,2
    p5-Locale-gettext: 1.07
    p5-Locale-libintl: 1.32
    p5-Text-Unidecode: 1.30
    p5-Unicode-EastAsianWidth: 12.0
    pkgconf: 1.8.0_1,1
    qt5-buildtools: 5.15.5p165
    qt5-imageformats: 5.15.5p3_1
    qt5-qmake: 5.15.5p165
    rhash: 1.4.3
    swig: 4.0.2
    texinfo: 6.8_3,1
    v4l_compat: 1.23.0

Number of packages to be installed: 32

The process will require 165 MiB more space.

Proceed with this action? [y/N]: y
Fetching luajit-openresty-2.1.20220411.pkg: 100%    2 MiB 370.7kB/s    00:05   
[1/34] Installing m4-1.4.19,1...
[1/34] Extracting m4-1.4.19,1: 100%
[2/34] Installing autoconf-switch-20220527...
[2/34] Extracting autoconf-switch-20220527: 100%
[3/34] Installing atf-0.21...
[3/34] Extracting atf-0.21: 100%
[4/34] Deinstalling luajit-openresty-2.1.20220411...
[4/34] Deleting files for luajit-openresty-2.1.20220411: 100%
[5/34] Installing p5-Locale-gettext-1.07...
[5/34] Extracting p5-Locale-gettext-1.07: 100%
[6/34] Installing libuv-1.44.2...
[6/34] Extracting libuv-1.44.2: 100%
[7/34] Installing libtextstyle-0.21...
[7/34] Extracting libtextstyle-0.21: 100%
[8/34] Installing lutok-0.4_7...
[8/34] Extracting lutok-0.4_7: 100%
[9/34] Installing p5-Unicode-EastAsianWidth-12.0...
[9/34] Extracting p5-Unicode-EastAsianWidth-12.0: 100%
[10/34] Installing autoconf-2.71...
[10/34] Extracting autoconf-2.71: 100%
[11/34] Installing evdev-proto-5.8...
[11/34] Extracting evdev-proto-5.8: 100%
[12/34] Installing p5-Text-Unidecode-1.30...
[12/34] Extracting p5-Text-Unidecode-1.30: 100%
[13/34] Installing p5-Locale-libintl-1.32...
[13/34] Extracting p5-Locale-libintl-1.32: 100%
[14/34] Installing rhash-1.4.3...
[14/34] Extracting rhash-1.4.3: 100%
[14/34] Installing luajit-openresty-2.1.20220411...
[14/34] Extracting luajit-openresty-2.1.20220411: 100%
[15/34] Installing qt5-qmake-5.15.5p165...
[15/34] Extracting qt5-qmake-5.15.5p165: 100%
[16/34] Installing libsysinfo-0.0.3_2...
[16/34] Extracting libsysinfo-0.0.3_2: 100%
[17/34] Installing qt5-buildtools-5.15.5p165...
[17/34] Extracting qt5-buildtools-5.15.5p165: 100%
[18/34] Installing v4l_compat-1.23.0...
[18/34] Extracting v4l_compat-1.23.0: 100%
[19/34] Installing luajit-2.0.5_6...
pkg-static: luajit-2.0.5_6 conflicts with luajit-openresty-2.1.20220411 (installs files into the same place).  Problematic file: /usr/local/bin/luajit

You could build games/minetest from ports and turn off LUAJIT, that would remove its dependency. Don't know how this affects the game though.
Minetest revolves around Lua modding, so I am worried this might break it (surely not because its what the whole game is about). I will give it a try anyway.
 
games/minetest still works fine without Luajit. I just tried to build multimedia/obs-studio but it still can't be built without Pulseaudio. That would normally be a deal-breaker for me but I installed the package anyway and have no sound devices..

Update: Do have sound, but only input from my microphone in either sndio or OSS. I've decided to just stick with recordmydesktop for now.
 
That would be great, because it can be used to showcase games running on FreeBSD. Not just minetest.
Doesn't seem like I can record desktop audio with OBS Studio unless I configure everything to use Pulseaudio, which is not going to happen. I will probably keep using recordmydesktop (which works fine, is just slow to encode) and do like RoboNuggie where he just adds music or talks over the content, since getting desktop audio + microphone to work simultaneously is an act of congress (even with Pulseaudio it seems..)
 
When/where will one be able to see this? I'm playing this with my kids, and it is fun.
Dad builds a castle, suddenly there are monsters running around, the main hall is full of lava, a waterfall runns down to the dungeons and the doors attempt to squish you when you walk on that pressure plate...
 
When/where will one be able to see this?
I haven't actually recorded anything yet, but I was going to make a fun video in response to DistroTube's comments on FreeBSD yesterday. I used to make a lot of videos on some Youtube alternatives like Bitview, but these days I use Odysee. I will link the video once I can make it.
 
Back
Top