[Bug 271085] multimedia/obs-studio conflict with neovim due to luajit dependency

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 Apr 2023 19:52:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271085

            Bug ID: 271085
           Summary: multimedia/obs-studio conflict with neovim due to
                    luajit dependency
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: keltir@keemail.me
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

Hello,

I have obs-studio installed and, but I can't install neovim because:
"pkg install neovim
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (2 conflicting)
  - luajit-devel-2.1.0.20230416_1 conflicts with luajit-2.0.5_6 on
/usr/local/bin/luajit
  - luajit-devel-2.1.0.20230416_1 conflicts with luajit-2.0.5_6 on
/usr/local/bin/luajit
Checking integrity... done (0 conflicting)
The following 12 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
        luajit: 2.0.5_6
        obs-studio: 29.0.2

New packages to be INSTALLED:
        libtermkey: 0.22
        libvterm: 0.3.1
        luajit-devel: 2.1.0.20230416_1
        luv: 1.44.2.1_1
        msgpack-c: 6.0.0
        neovim: 0.9.0
        tree-sitter: 0.20.8
        unibilium: 2.1.1

Installed packages to be REINSTALLED:
        libltdl-2.4.7
        pkg-1.19.1_1

Number of packages to be removed: 2
Number of packages to be installed: 8
Number of packages to be reinstalled: 2

The process will require 5 MiB more space. "

I asked on the discord server and got the following reply:
"neovim's port Makefile has a USES=luajit line, which is the common way to
depend on luajit.  It makes the port depend on luajit-devel by default (or
luajit-openresty for powerpc64).   The obs-studio port has a bunch of hardcoded
LIB_DEPENDS_* lines where it depends on luajit instead of luajit-devel.  That
should probably be removed and replaced with USES=luajit"

So I decided to report this issue.
Please take a look if you have time.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.