Bug 285106 - sysutils/kf6-kwallet: error open kwallet
Summary: sysutils/kf6-kwallet: error open kwallet
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-02 09:56 UTC by Oleksandr Kryvulia
Modified: 2025-03-04 20:54 UTC (History)
2 users (show)

See Also:
jhale: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksandr Kryvulia 2025-03-02 09:56:48 UTC
When installing sysutils/kf6-kwallet from packages there is an error while opening my kwallet. When I manually build it from ports tree it works fine because of libgpg support present:

--- kf6-kwallet.txt     2025-03-02 11:36:26.887030000 +0200
+++ kf6-kwallet2.txt    2025-03-02 11:36:45.087436000 +0200
@@ -1,7 +1,7 @@
 kf6-kwallet-6.11.0
 Name           : kf6-kwallet
 Version        : 6.11.0
-Installed on   : Sat Mar  1 12:07:11 2025 EET
+Installed on   : Sun Mar  2 09:58:49 2025 EET
 Origin         : sysutils/kf6-kwallet
 Architecture   : FreeBSD:15:amd64
 Prefix         : /usr/local
@@ -14,10 +14,14 @@
        libthr.so.3
        libqca-qt6.so.2
        libm.so.5
+       libgpgmepp.so.6
+       libgpgme.so.11
        libgcrypt.so.20
+       libgcc_s.so.1
        libcxxrt.so.1
        libc.so.7
        libc++.so.1
+       libassuan.so.9
        libX11.so.6
        libQt6Widgets.so.6
        libQt6Gui.so.6
@@ -39,15 +43,7 @@

Should security/gpgme and security/libassuan be added as dependency to Makefile?
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-03-04 07:48:23 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=18f8840b938ef4dc79a63e8e958341758e8b0bab

commit 18f8840b938ef4dc79a63e8e958341758e8b0bab
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2025-03-04 07:37:02 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2025-03-04 07:47:53 +0000

    sysutils/kf6-kwallet: Support GPG wallet encryption

    Add dependencies needed to enable the GnuPG backend. Users who have
    previously encrypted their wallet contents with GnuPG were unable to
    open their wallets when using the official packages.

    While here, remove a few unused dependencies leftover from KF5 and
    pet portclippy(1).

    PR:             285106
    Reported by:    Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua>

 sysutils/kf6-kwallet/Makefile | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
Comment 2 Jason E. Hale freebsd_committer freebsd_triage 2025-03-04 07:50:51 UTC
(In reply to Oleksandr Kryvulia from comment #0)
Yes, kwallet was missing a few dependencies. This has been corrected. Thanks for the report!
Comment 3 Max Brazhnikov freebsd_committer freebsd_triage 2025-03-04 20:54:13 UTC
I've created list of KF6 ports which may have similar issues: https://wiki.freebsd.org/KDE/TODO#KDE_Frameworks