Bug 275514

Summary: x11/plasma6-kactivitymanagerd: missing RUN_DEPENDS for databases/qt6-base_sqldriver
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: freebsd-kde (group) <kde>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jan Beich freebsd_committer freebsd_triage 2023-12-03 22:49:18 UTC
plasma5- variant has USE_QT=sql but not plasma6- which leads to some shell components crashsing. To reproduce create a pristine jail with X11/Wayland sockets passed through then run:

$ pkg install plasma6-plasma
$ startplasma-x11
[...]
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
org.kde.kactivities.resources: KActivities: Database is not open:  "kactivities_db_resources_54880232349696_readwrite" "" QSqlError("", "Driver not loaded", "Driver not loaded")
KActivities: Opening the database in RW mode should always succeed
KCrash: Application 'kactivitymanagerd' crashing...
KActivities: FATAL ERROR: Failed to contact the activity manager daemon
[...]
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-12-03 23:11:52 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1005ac76ab0cc9380359ab6400d7893f4bff19c6

commit 1005ac76ab0cc9380359ab6400d7893f4bff19c6
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-12-03 23:11:05 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-12-03 23:11:05 +0000

    x11/plasma6-kactivitymanagerd: add dependency on sqlite

    Reported by:    jbeich
    PR:             275514

 x11/plasma6-kactivitymanagerd/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)