Bug 277281 - net/rssguard: crashes on startup
Summary: net/rssguard: crashes on startup
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-24 13:03 UTC by cb
Modified: 2024-03-16 11:31 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cb 2024-02-24 13:03:09 UTC
I think the port has a missing dependency. After doing an install of the rssguard package, ie. pkg install rssguard, when trying to run it, it crashes with:

```
$ rssguard 
time="     0.000" type="debug" -> core: Starting RSS Guard 4.6.3.
time="     0.000" type="debug" -> core: Current UTC date/time is 2024-02-24T12:38:38Z.
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!
time="     0.131" type="debug" -> core: Initializing settings in '/home/cb/.config/RSS Guard 4/config/config.ini' (non-portable way).
time="     0.131" type="debug" -> core: Starting to load active localization. Desired localization is 'C'.
time="     0.131" type="warning" -> core: Application localization 'C' was not loaded. Loading 'en_US' instead.
time="     0.132" type="warning" -> core: Qt localization 'en_US' WAS NOT loaded successfully.
time="     0.177" type="warning" -> QSqlDatabase: QSQLITE driver not loaded
time="     0.177" type="warning" -> QSqlDatabase: available drivers: 
time="     0.178" type="fatal" -> SQLite database was NOT opened. Delivered error message: 'Driver not loaded Driver not loaded'
Abort trap (core dumped)
```


I was able to solve this by installing the qt5-sqldrivers-sqlite3 package
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-03-16 11:30:08 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7ed359e8568654150d692498a657e1977939ded0

commit 7ed359e8568654150d692498a657e1977939ded0
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-03-16 11:28:28 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-03-16 11:28:28 +0000

    net/rssguard: the port had been updated to version 4.6.6

    Add missing USE_QT+=sql-sqlite3:run[time] dependency while
    here to prevent the program from crashing upon start-up.

    PR:     277281

 net/rssguard/Makefile | 4 ++--
 net/rssguard/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
Comment 2 Alexey Dokuchaev freebsd_committer freebsd_triage 2024-03-16 11:31:17 UTC
Good catch, should be fixed now, thanks!