Bug 280454

Summary: www/luakit: conflicts with multimedia/mpv due to lang/luajit
Product: Ports & Packages Reporter: lumiwa
Component: Individual Port(s)Assignee: Jan Beich <jbeich>
Status: Closed FIXED    
Severity: Affects Only Me CC: jbeich, mew14930xvi
Priority: --- Flags: jbeich: merge-quarterly+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
switch LIB_DEPENDS to USES=luajit mew14930xvi: maintainer-approval+

Description lumiwa 2024-07-26 10:18:29 UTC
I am user of binary packages and the problem is because mpv is built with luajit-devel and
luakit web browser with luajit.

Thank you.
Comment 1 Jan Beich freebsd_committer freebsd_triage 2024-07-26 22:18:18 UTC
luajit-devel is the default for USES=luajit unless make.conf(5) or Makefile.local has DEFAULT_VERSIONS+=luajit=luajit. Pretty much all lang/luajit consumers have switched to lang/luajit-devel. To do the same for www/luakit* someone needs to test runtime.
Comment 2 Jan Beich freebsd_committer freebsd_triage 2024-07-26 22:36:10 UTC
multimedia/mpv simply uses the recommended lang/luajit* version. For example, lang/luajit (stable) is still stuck on the release from >10 years ago which lacks many bug fixes and support for non-x86 architectures. aarch64 is Tier1 since FreeBSD 13 while multimedia/mpv has many consumers.

multimedia/mpv cannot switch to lang/luajit (stable) without (re)introducing package conflicts with devel/efl, editors/neovim, multimedia/obs-studio, etc.
Comment 3 lumiwa 2024-07-26 23:46:03 UTC
(In reply to Jan Beich from comment #2)
Thank you. and I understand. But as long time ports user it is not the first time that I have problem with packages.
Comment 4 mew14930xvi 2024-07-27 01:27:51 UTC
Created attachment 252310 [details]
switch LIB_DEPENDS to USES=luajit

I enabled LUAJIT by default when I became the maintainer and should have changed it then.
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-07-27 02:00:57 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3f547f88def3aad776c60fdbfecb6a279cc61b75

commit 3f547f88def3aad776c60fdbfecb6a279cc61b75
Author:     mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2024-07-27 01:27:51 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-07-27 02:00:12 +0000

    www/luakit: switch to USES=luajit to avoid package conflicts

    PR:             280454
    Reported by:    LuMiWa

 www/luakit-devel/Makefile | 3 ++-
 www/luakit/Makefile       | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
Comment 6 commit-hook freebsd_committer freebsd_triage 2024-07-27 02:00:59 UTC
A commit in branch 2024Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9b8b60e8b431fa448b01f185a782e378c5d7885c

commit 9b8b60e8b431fa448b01f185a782e378c5d7885c
Author:     mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2024-07-27 01:27:51 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-07-27 02:00:46 +0000

    www/luakit: switch to USES=luajit to avoid package conflicts

    PR:             280454
    Reported by:    LuMiWa

    (cherry picked from commit 3f547f88def3aad776c60fdbfecb6a279cc61b75)

 www/luakit-devel/Makefile | 3 ++-
 www/luakit/Makefile       | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)