DragonFlyBSD / DPorts

The dedicated application build system for DragonFly BSD
Other
89 stars 44 forks source link

Nextcloudclient/owncloudclient giving SSL error #201

Closed hexop closed 5 years ago

hexop commented 5 years ago

Both owncloudclient and nextcloudclient are broken, using a Nextcloud server. I've tried compiling previous versions from source, but they I was unable to build them. I've tried with my own Nextcloud instance, which uses restrictive SSL settings, and with a friend's Nextcloud and the same error is displayed.

hexop commented 5 years ago

Well it seems it is a problem with qt5-network and LibreSSL. I get the following error when running nextcloudcmd:

qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_new_null qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_push qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_free qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_num qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_pop_free qt.network.ssl: QSslSocket: cannot resolve OPENSSL_sk_value qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_options qt.network.ssl: QSslSocket: cannot resolve SSL_session_reused qt.network.ssl: QSslSocket: cannot resolve X509_get_version qt.network.ssl: QSslSocket: cannot resolve DSA_bits

And it looks like it has been patched on FreeBSD recently. Here you can see a discussion about it.

For the moment I'm syncing via HTTP, which is less than ideal

hexop commented 5 years ago

Well I just built qt5-network from source, version 5.11.2, and it finally works.