Hi, "kded5" fails to run, reporting: ld-elf.so.1: /usr/local/lib/qt5/plugins/bearer/libqgenericbearer.so: Undefined symbol "ZN17QNetworkInterfaceC1ERKS@Qt_5" Issue is explained in detail here: https://github.com/project-trident/trident-core/issues/26 Workaround is here: https://github.com/trueos/trueos-ports/pull/65/commits/1b6853788364042f1e5bd4373efb5c84e60fe0c3#diff-8fa76113cb75f7770fc49902897f7cf9 I am using VLAN config lines in my "rc.conf"... Thanks, Nils
A **workaround** is to add QT_EXCLUDE_GENERIC_BEARER=1 to your environment.
The TrueOS commits -- which to me just randomly comment something out because that's triggering the symbol problem, which is something you can also do with the environment variable -- say this: This started to happen after upgrade to Qt5.11.2. Could you confirm that this **did** work before Qt 5.11.2?
(In reply to Adriaan de Groot from comment #2) I'm neither the comitter at TrueOS nor one of the issue participants there; just a random guy that happens to also be affected by that...
Closing as duplicate: 231402 is still open, and contains a bunch of debugging effort to try to figure out what's going wrong internally. *** This bug has been marked as a duplicate of bug 231402 ***
A commit references this bug: Author: adridg Date: Mon Dec 24 16:46:18 UTC 2018 New revision: 488276 URL: https://svnweb.freebsd.org/changeset/ports/488276 Log: Fix net/qt5-network in the face of VLANs. Adding a VLAN to a FreeBSD system caused memory corruption -- usually enough to make rtld fall over with symbol resolution errors, although in DEBUG builds it would just crash. Revamp network interface discovery to not be full of memory gotcha's. An explanation is included in the patches. While here, "make makesum" has moved some files around. PR: 231402, 233798, 232318 Reported by: Ting-Wei Lan, Nils Beyer, Marek Zarychta Changes: head/net/qt5-network/Makefile head/net/qt5-network/files/patch-qsslcontext_openssl.cpp head/net/qt5-network/files/patch-src_network_kernel_qnetworkinterface__unix.cpp head/net/qt5-network/files/patch-src_network_socket_qnet__unix__p.h head/net/qt5-network/files/patch-src_network_socket_qnet_unix_p.h head/net/qt5-network/files/patch-src_network_ssl_qsslcontext__openssl.cpp head/net/qt5-network/files/patch-src_plugins_bearer_generic_qgenericengine.cpp
(In reply to Adriaan de Groot from comment #2) Hello Adriaan, Yes, the issue did not appear with the version 5.9.5 (prior version on older TrueOS) I am going to check out the environment variable workaround as well. Thanks for reference. Thanks, Max
(In reply to commit-hook from comment #5) I've just tested this merged commit and can confirm that the issue seems to be fixed now Although I noticed that when QT_NO_NETWORK_INTERFACE option is used qt5-network does not compile so you might still like check out the following patch: https://github.com/trueos/trueos-ports/pull/65/files