As suggested by TCB i open a PR even the port is not in the official ports tree but the port is availabe in the area51 repo. See the post on the kde-freebsd mailing list [url]https://mail.kde.org/pipermail/kde-freebsd/2017-July/026414.html[/url] The problem: kdeconnect dies when i try to connect via the app on my phone. So i started the daemon from the command line and i get the following output: % /usr/local/lib/libexec/kdeconnectd kdeconnect.core: KdeConnect daemon starting qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set1_groups kdeconnect.core: onStart kdeconnect.core: KdeConnect daemon started kdeconnect.core: Broadcasting identity packet kdeconnect.core: Fallback (1), try reverse connection (send udp packet) "Connection refused" Speicherschutzverletzung The problem is not limited to my phone, i also tried an other android device with the same result. Tell me if you need more information. Stefan
I can confirm that it seems to crash. Still have to investigate the issue though. Mfg Tobias
Have you had a chance to look into this? I encountered the "qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set1_groups" and segfault error with another application (not in ports) called Orion which is a desktop client for Twitch. I Googled the error, and this bug came up. Maybe the issue is with the QT library since there are at least two applications segfaulting with the same error.
(In reply to Patrick from comment #2) I think the qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set1_groups is a red herring. mfg Tobias
I am having the same error with astro/merkaartor. It should certainly be filed under net/qt5-network. I reinstalled it (portupgrade -Rf qt5-network), but the error did not go away. The problem may be related to a change in the base system, as I only got the error after upgrading the OS from 10.3-STABLE to 11.1-STABLE. $ merkaartor **** "2017-12-23T10:58:17" -- Starting "Merkaartor/0.18.2 (Other)" ------- "using Qt version 5.7.1 (built with 5.7.1)" ------- "using PROJ4 version 4.9.3" ------- "using GDAL version 2.2.3" ------- with arguments: ("merkaartor") PluginsDir: "/usr/local/lib/merkaartor/plugins" Loading plugins from directory "plugins" Loading plugins from directory "background" Loading "libMGdalBackgroundPlugin.so" as plugin. ... Requesting preferences from OSM server. QSslSocket: cannot resolve SSL_CTX_set1_groups Segmentation fault (core dumped)
This seems like a duplicate of #218421, where conflicting SSL libaries have been identified as the problem. I moved /usr/lib/libssl.* to a backup directory in order to see which libary is linked to them: $ merkaartor Shared object "libssl.so.7" not found, required by "libcurl.so.4" Now I reinstalled ftp/curl and moved the libssl.* back to /usr/lib/. That solved the problem in Merkaator, and I guess that you can resolve the crashes in kdeconnect and Orion in the same way.
Created attachment 193987 [details] shar I think I fixed the crash, can someone test this port?
Seems to work, thanks :)
(In reply to Tobias C. Berner from comment #7) I can confirm that it is working now.
(In reply to mikael.urankar from comment #6) I have tested your new port on two machines. It seems to work (I haven't tested in extensively) on a netbook running 11.2-RC1. It does not work on a desktop running 12-CURRENT r334647. Since it at least works on the one running a stable branch, I'd call this a win.
Correction. It does work on the desktop running 12-CURRENT. However, on the 12-CURRENT desktop I do not get a notification tray popup telling me a pairing request has been sent when I send a request from my phone. However, if I open the KDE Connect application on the desktop and click on my phone's listing, I can accept the request. I do get the popup notification on my 11.2-RC1 netbook when I send a pairing request from my phone. For some reason I do not get a notification on my phone when I send a pairing request from either of my FreeBSD computers. But that may have nothing to do with FreeBSD or the KDE Connect application and may only be an issue with the Android app.
A commit references this bug: Author: tcberner Date: Sun Sep 30 19:22:46 UTC 2018 New revision: 480969 URL: https://svnweb.freebsd.org/changeset/ports/480969 Log: Add new port: deskutils/kdeconnect-kde -- the KF5 baesed version of deskutils/kdeconnect-kde-kde4. Thanks to mikael.urankar@gmail.com for the patch fixing segfaults on IPv4 mapped IPV6 addresses. PR: 220896 PR: 227832 Changes: head/deskutils/Makefile head/deskutils/kdeconnect-kde/ head/deskutils/kdeconnect-kde/Makefile head/deskutils/kdeconnect-kde/distinfo head/deskutils/kdeconnect-kde/files/ head/deskutils/kdeconnect-kde/files/patch-core_backends_lan_lanlinkprovider.cpp head/deskutils/kdeconnect-kde/pkg-plist head/deskutils/kdeconnect-kde-kde4/Makefile
Finally committed. Thanks for the patch Mikael.