Download raw body.
About net/nextcloudclient, libp11 and devel/pkgconf
On Wed, Jun 11, 2025 at 11:29:37PM +0200, Jeremie Courreges-Anglas wrote:
> On Wed, Jun 11, 2025 at 02:53:45PM -0400, Adriano Barbosa wrote:
> > Hi,
> >
> > Since version 3.16.0, net/nextcloudclient requires libp11 [1][2],
> > which in turn depends on devel/pkgconf. I submitted a port of libp11
> > [3] before pkgconf was removed from the ports tree, but the commit
> > didn“t go through. Now, devel/pkgconf is no longer available in the
> > ports tree.
> > Are there any current alternatives to devel/pkgconf in the ports tree?
> > What should be the future of net/nextcloudclient in this context?
>
> pkgconf has been imported in base as a replacement for the previous
> homegrown and Perl-based pkg-config. So you should be able to use it
> directly. If your ports look for the pkgconf executable names, there
> are various approaches like a symlink in ${WRKDIR}/bin. Maybe it
> could/should be reachable under both names in the base system.
>
> m2 ~$ pkg-config --about
> pkgconf-lite 2.4.3
> [...]
>
> --
> jca
Thank you for pointing that out.
I've been trying to fix a new issue without success. I've never used
gdb before, and from what I've learned over the past few days, the
issue seems to be an incompatibility between ssl libraries used in qt
and nextcloud, which now require openssl. Please find the backtrace from
the core dump below. I'm out of ideas on how to proceed to make it
work, and I'm wondering if there is any chance to resolve itwithout
recompiling qt stuff.
--
Adriano
#0 0x00000a2a7028d02f in ossl_asn1_item_embed_free () from /usr/local/lib/eopenssl34/libcrypto.so.32.0
#1 0x00000a2a7028cfc5 in ASN1_item_free () from /usr/local/lib/eopenssl34/libcrypto.so.32.0
#2 0x00000a2a493c7f7a in QTlsPrivate::X509CertificateOpenSSL::convertExtension () from /usr/local/lib/qt6/plugins/tls/libqopensslbackend.so
#3 0x00000a2a493c5abe in QTlsPrivate::X509CertificateOpenSSL::parseExtensions () from /usr/local/lib/qt6/plugins/tls/libqopensslbackend.so
#4 0x00000a2a493c56b0 in QTlsPrivate::X509CertificateOpenSSL::certificateFromX509 () from /usr/local/lib/qt6/plugins/tls/libqopensslbackend.so
#5 0x00000a2a493c6936 in QTlsPrivate::X509CertificateOpenSSL::certificatesFromPem () from /usr/local/lib/qt6/plugins/tls/libqopensslbackend.so
#6 0x00000a2b08e24401 in QSslCertificate::fromData () from /usr/local/lib/libQt6Network.so.4.0
#7 0x00000a2b08e23f49 in QSslCertificate::fromPath () from /usr/local/lib/libQt6Network.so.4.0
#8 0x00000a2a493bfe80 in QTlsPrivate::systemCaCertificates () from /usr/local/lib/qt6/plugins/tls/libqopensslbackend.so
#9 0x00000a2a493bef53 in QTlsBackendOpenSSL::ensureCiphersAndCertsLoaded () from /usr/local/lib/qt6/plugins/tls/libqopensslbackend.so
#10 0x00000a2b08ecb0fb in QSslSocketPrivate::ensureInitialized () from /usr/local/lib/libQt6Network.so.4.0
#11 0x00000a2b08e22a9a in QSslCertificate::QSslCertificate () from /usr/local/lib/libQt6Network.so.4.0
#12 0x00000a2844a1adaa in OCC::OwncloudWizard::OwncloudWizard () from /usr/local/bin/nextcloud
#13 0x00000a28448a3cef in OCC::OwncloudSetupWizard::OwncloudSetupWizard () from /usr/local/bin/nextcloud
#14 0x00000a28448a6d00 in OCC::OwncloudSetupWizard::runWizard () from /usr/local/bin/nextcloud
#15 0x00000a284489287e in OCC::ownCloudGui::slotOpenSettingsDialog () from /usr/local/bin/nextcloud
#16 0x00000a28447f3a28 in OCC::Application::slotCheckConnection () from /usr/local/bin/nextcloud
#17 0x00000a2ac5864738 in QObject::event () from /usr/local/lib/libQt6Core.so.6.0
#18 0x00000a2b25eae58e in QGuiApplication::event () from /usr/local/lib/libQt6Gui.so.8.0
#19 0x00000a2b06a7d405 in QApplication::event () from /usr/local/lib/libQt6Widgets.so.4.0
#20 0x00000a28447f5d82 in OCC::Application::event () from /usr/local/bin/nextcloud
#21 0x00000a2b06a7f0d9 in QApplicationPrivate::notify_helper () from /usr/local/lib/libQt6Widgets.so.4.0
#22 0x00000a2b06a800c5 in QApplication::notify () from /usr/local/lib/libQt6Widgets.so.4.0
#23 0x00000a2ac5813fb0 in QCoreApplication::notifyInternal2 () from /usr/local/lib/libQt6Core.so.6.0
#24 0x00000a2ac58151f9 in QCoreApplicationPrivate::sendPostedEvents () from /usr/local/lib/libQt6Core.so.6.0
#25 0x00000a2ac5abd449 in _ZL23postEventSourceDispatchP8_GSourcePFiPvES1_ () from /usr/local/lib/libQt6Core.so.6.0
#26 0x00000a2a9cd5660d in g_main_context_dispatch_unlocked () from /usr/local/lib/libglib-2.0.so.4201.14
#27 0x00000a2a9cd56ae2 in g_main_context_iterate_unlocked () from /usr/local/lib/libglib-2.0.so.4201.14
#28 0x00000a2a9cd56b8b in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.4201.14
#29 0x00000a2ac5abcd62 in QEventDispatcherGlib::processEvents () from /usr/local/lib/libQt6Core.so.6.0
#30 0x00000a2ac581e865 in QEventLoop::exec () from /usr/local/lib/libQt6Core.so.6.0
#31 0x00000a2ac58147e5 in QCoreApplication::exec () from /usr/local/lib/libQt6Core.so.6.0
#32 0x00000a284476b882 in main () from /usr/local/bin/nextcloud
About net/nextcloudclient, libp11 and devel/pkgconf