Bug 266975 - www/luakit: Won't start possibly due to glib 2.74.0,2
Summary: www/luakit: Won't start possibly due to glib 2.74.0,2
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Nuno Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-11 18:41 UTC by meine
Modified: 2023-01-31 10:22 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (mbeis)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description meine 2022-10-11 18:41:42 UTC
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
Comment 1 Marco Beishuizen 2022-10-12 13:11:22 UTC
This bug is solved in the new version of luakit-devel. I'll submit a patch asap.
Comment 2 meine 2022-10-12 20:08:10 UTC
(In reply to Marco Beishuizen from comment #1)
TIA
Comment 3 Daniel Peyer 2022-11-29 11:55:53 UTC
I installed today the luakit-devel pkg on FreeBSD 13.1-RELEASE-p3. For me, the bug still exists.
Comment 4 Daniel Peyer 2022-11-30 01:27:19 UTC
I installed today the luakit-devel pkg on FreeBSD 13.1-RELEASE-p3. For me, the bug still exists.

Sorry, beginners mistake. If I would first update the ports tree and build it, it would work.