project-trident / trident-core Public
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible missing QtCore modules - Qt5 Compilation & Linkage errors #26
Comments
|
WARNING The real problem that started this whole mess is the qconfig-modules.h include file. In the meantime, if you need to work around this issue so you can compile Qt apps locally then you can run |
|
Have you attempted to us RC3? |
|
|
Digging further and taking into account that the linker is consistently complaining about the same undefined symbol i.e. QNetworkInterface I see there is some macro logic associate with this class. Hopefully this provides some additional pointers... The macro associated with the class is Q_NETWORK_EXPORT
Snippet of suspected class from qnetworkinterface.h header:
|
|
QNetworkInterfarce is used by the following plugin qtbase-everywhere-src-5.11.2/src/plugins/bearer/generic/qgenericengine.cpp but under an interesting macro condition
So maybe this is related how the port is built and packaged, on some Makefile option? |
|
What is your build system? |
|
This happens on ISO downloaded from project-trident.org |
|
Ok that gives us a place to start. I can compare an installed system
vs our build server.
…On 11/21/18, Maksym Stetsyuk ***@***.***> wrote:
This happens on ISO downloaded from project-trident.org
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#26 (comment)
|
|
2 Questions. A) Have you tried Ken's advice of |
|
|
UPDATE
P.S. 6 reboots and so far issue didn’t reappear. This is workaround, the root cause seems to be due to the installer using Qt5 WebEngine of v5.11 as necessary depedency for falkon while pkg install prompt shows its dependency is Qt5 WebEngine v5.9. This is version on TrueOS 18.03 where issue is not present. |
|
UPDATE 2 Issue is still present. As per the chat it happens when I add my vlan ifconfig entries in rc.conf |
|
UPDATE 3 The workaround for the linkgage issue while having my VLAN configs in rc.conf is to build qt5-network/plugins/bearer with -DQT_NO_NETWORKINTERFACE option I submitted this patch which made the issue disappear as a pull request here https://github.com/trueos/trueos- |
|
Patch appears to have been accepted into FreeBSD/TrueOS. Closing this issue. |
UPDATE
The following sequence of steps cures the linkage problem:
P.S. 6 reboots and so far issue didn’t reappear. This is workaround, the root cause seems to be due to the installer using Qt5 WebEngine of v5.11 as necessary depedency for falkon while pkg install prompt shows its dependency is Qt5 WebEngine v5.9. This is version on TrueOS 18.03 where issue is not present.
Describe the bug
Falkon, AppCafe failed to start up due to the runtime linkage problem whee linker complaied that one of QNetwork symbols was undefined
For example when starting Falkon it fails with the following error
/usr/local/lib/qt5/plugins/bearer/libqgenericbearer.so: Undefined symbol "_ZN17QNetworkInterfaceC1ERKS_@Qt_5"Although such the symbol and library do exist on the system
strings /usr/local/lib/qt5/libQt5Network.so |grep _ZN17QNetworkInterfaceC1ERKS _ZN17QNetworkInterfaceC1ERKS_full output of ldd falkon
This started happening after reboot.
To Reproduce
UPDATE
The following sequence of steps cures the linkage problem:
P.S. 6 reboots and so far issue didn’t reappear. This is workaround, the root cause seems to be due to the installer using Qt5 WebEngine of v5.11 as necessary depedency for falkon while pkg install prompt shows its dependency is Qt5 WebEngine v5.9. This is version on TrueOS 18.03 where issue is not present.
Steps to reproduce the behavior:
Expected behavior
Qt5 apps start successfully
Screenshots
N/A
OS Version:
Trident RC 1
Additional context
N/A
UPDATE 2018-10-08
strip --strip-unneeded /usr/ports/net/qt5-network/work/stage/usr/local/lib/qt5/plugins/bearer/libqgenericbearer.so3.After removal of qt5/plugins/bearer (backing up to qt5/plugins/bearer.20181008) AppCafe, Falkon, started up. However Falkon then immediately crashed with the following on the first interaction
`Qt version: 5.11.1 (compiled with 5.11.1)
Falkon version: 3.0.0
Rendering engine: QtWebEngine
============== BACKTRACE ==============
#0: 0x20442f <???> at /usr/local/bin/falkon
#1: 0x807e30166 <pthread_sigmask+0x536> at /lib/libthr.so.3`
The text was updated successfully, but these errors were encountered: