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!
I changed Makefile in obs-studio port and build a package in jails. then installed it alongside neovim on my system. both programs seems to be working for me.
Created attachment 243190 [details] Replace "LIB_DEPENDS_${ARCH}=libluajit-5.1.so:lang/luajit" with "USES=luajit" Same was discussed today in IRC (#freebsd @ Libera.Chat). As result I made patch and tested build in poudriere 13.2 amd64. Then I search in bugzila and found this PR.
ping
Committed. Thanks for the patch!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8f4e2e277e3c807fa9099e3a586bf284f4eb642c commit 8f4e2e277e3c807fa9099e3a586bf284f4eb642c Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2023-07-16 16:51:33 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-07-16 16:51:33 +0000 multimedia/obs-studio: Fix conflict caused by luajit USES=luajit resolves it. PR: 271085 multimedia/obs-studio/Makefile | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-)
A commit in branch 2023Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7c673ea6efffaf1b20eed505f8c16ad506f818fb commit 7c673ea6efffaf1b20eed505f8c16ad506f818fb Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2023-07-16 16:51:33 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-07-16 16:53:20 +0000 multimedia/obs-studio: Fix conflict caused by luajit USES=luajit resolves it. PR: 271085 (cherry picked from commit 8f4e2e277e3c807fa9099e3a586bf284f4eb642c) multimedia/obs-studio/Makefile | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ebaa79bde4ad4c9fbb6ca41cb3430865b8c55752 commit ebaa79bde4ad4c9fbb6ca41cb3430865b8c55752 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-07-16 16:55:41 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-07-16 16:55:41 +0000 multimedia/obs-studio: Bump PR: 271085 multimedia/obs-studio/Makefile | 1 + 1 file changed, 1 insertion(+)
A commit in branch 2023Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=92f051ee10af2d46fa20fa2508417d8ca4dcf57b commit 92f051ee10af2d46fa20fa2508417d8ca4dcf57b Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-07-16 16:55:41 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-07-16 16:56:30 +0000 multimedia/obs-studio: Bump PR: 271085 (cherry picked from commit ebaa79bde4ad4c9fbb6ca41cb3430865b8c55752) multimedia/obs-studio/Makefile | 1 + 1 file changed, 1 insertion(+)