[Bug 266975] www/luakit -- won't start possibly due to glib 2.74.0,2

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 11 Oct 2022 18:41:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266975

            Bug ID: 266975
           Summary: www/luakit -- won't start possibly due to glib
                    2.74.0,2
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: trialero@gmx.com
                CC: mbeis@xs4all.nl
             Flags: maintainer-feedback?(mbeis@xs4all.nl)
                CC: mbeis@xs4all.nl

Starting www/luakit browser version 2.3,1 gives the following error:

---

$ luakit
[    0.024773] I [core/luah]: Loading rc: /usr/local/etc/xdg/luakit/rc.lua
[    0.077072] W [glib]: GLib: g_regex_new: assertion '(compile_options &
~G_REGEX_COMPILE_MASK) == 0' failed
[    0.077097] W [glib]: GLib: g_regex_replace_eval: assertion 'regex != NULL'
failed
[    0.077154] E [core/common/lualib]: Lua error: attempt to concatenate a nil
value
                 Traceback:
                 (1) [C]                                           in function
traceback
                 (2) /usr/local/share/luakit/lib/modes.lua:36      in function
new_mode
                 (3) /usr/local/share/luakit/lib/modes.lua:139     in main
chunk
                 (4) [C]                                           in function
require
                 (5) /usr/local/share/luakit/lib/log_chrome.lua:14 in main
chunk
                 (6) [C]                                           in function
require
                 (7) /usr/local/etc/xdg/luakit/rc.lua:50           in main
chunk
[    0.077168] W [core/luah]: loading rc '/usr/local/etc/xdg/luakit/rc.lua'
failed, falling back...
[    0.016750] W [core/luah]: couldn't load any rc file
[    0.016819] F [core/luakit]: couldn't find rc file

---

This probably is caused by the latest version of glib, version 2.74.0,2. There
is no issue when using glib-2.72.2,2 pcre-8.45_1 and pcre2-10.40

The issue is reported at luakit GitHub
https://github.com/luakit/luakit/issues?q=%231005 issues #1005 and #1010

A possible fix is given at the GitHub site and FreeBSD Forum at
https://forums.freebsd.org/threads/luakit-browser-wont-start-any-solution.86683/#post-583554

TIA, meine

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