You are not logged in.
i have upgraded qt5 packages today:
[2018-12-11 18:43] [ALPM] upgraded qt5-xmlpatterns (5.11.2-1 -> 5.12.0-1)
[2018-12-11 18:43] [ALPM] upgraded qt5-x11extras (5.11.2-1 -> 5.12.0-1)
[2018-12-11 18:43] [ALPM] upgraded qt5-webengine (5.11.2-2 -> 5.12.0-1)
[2018-12-11 18:42] [ALPM] upgraded qt5-tools (5.11.2-2 -> 5.12.0-1)
[2018-12-11 18:42] [ALPM] upgraded qt5-script (5.11.2-1 -> 5.12.0-1)
[2018-12-11 18:42] [ALPM] upgraded qt5-multimedia (5.11.2-1 -> 5.12.0-1)
[2018-12-11 18:42] [ALPM] upgraded qt5-svg (5.11.2-1 -> 5.12.0-1)
[2018-12-11 18:42] [ALPM] upgraded qt5-webkit (5.212.0alpha2-21 -> 5.212.0alpha2-22)
[2018-12-11 18:42] [ALPM] upgraded qt5-webchannel (5.11.2-1 -> 5.12.0-1)
[2018-12-11 18:42] [ALPM] upgraded qt5-sensors (5.11.2-1 -> 5.12.0-1)
[2018-12-11 18:42] [ALPM] upgraded qt5-location (5.11.2-2 -> 5.12.0-1)
[2018-12-11 18:42] [ALPM] upgraded qt5-declarative (5.11.2-1 -> 5.12.0-1)
[2018-12-11 18:42] [ALPM] upgraded qt5-base (5.11.2-3 -> 5.12.0-1)
after that - almost all at5 applications stopped working, for example:
q4wine
q4wine: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
copyq
copyq: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
edit:
topic has been solved via installing newest kernel-lts. With old kernel-lts , qt5 apps have not been working.
Last edited by collector1871 (2018-12-11 19:36:36)
Offline
Sounds like your system is corrupted, it is saying it cannot find the file /usr/lib/libQt5Core.so.5 but that is definitely provided by qt5-base.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Please paste full logs, not selectively truncated excerpts: https://bbs.archlinux.org/viewtopic.php?id=57855
Offline
ok got it, i used old kernel-lts : 4.9.78-1
with newest kernel-lts (uname -a : 4.14.87-1-lts ) and reboot this problem is gone
for me problem is with newest kernel:
https://bbs.archlinux.org/viewtopic.php?id=225676 , so i need to investigate deeply "udl 2-1.8.6:1.0: swiotlb buffer is full"
anyway, this topic has been solved
Last edited by collector1871 (2018-12-11 19:37:42)
Offline
Hi there. I had the same problem and raised https://bugs.archlinux.org/task/61130.
In the meantime there's a bit of a hack/work-around if you want to use qt5-base 5.12.0-1 with your old kernel.
Try running:
$ strip --remove-section=.note.ABI-tag /lib/libQt5Core.so
Offline
How about no? You don't fix libraries that require a newer kernel, by removing the tag that indicates this. You fix them by recompiling the library so that it doesn't use the functionality of newer kernels.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Yeah, thanks for pointing that out. I misread the Qt source code. It seems it used to have a runtime fallback in case statx didn't exist, so I thought this would be safe. However the runtime fallback was removed in Qt 5.12.0.
This wasn't clear at first because it still checks for ENOSYS at runtime, but this will only be returned if it didn't detect statx support in glibc at compile time.
I've created qt5-base-nostatx which is identical to qt5-base except for that it disables statx at compile time.
Offline
Great, awesome.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Yeah, thanks for pointing that out. I misread the Qt source code. It seems it used to have a runtime fallback in case statx didn't exist, so I thought this would be safe. However the runtime fallback was removed in Qt 5.12.0.
This wasn't clear at first because it still checks for ENOSYS at runtime, but this will only be returned if it didn't detect statx support in glibc at compile time.
I've created qt5-base-nostatx which is identical to qt5-base except for that it disables statx at compile time.
I installed qt5-base-nostatx on my linux-lts 4.4.168-1 kernel from AUR but my virtual machines just hangs when I try to launch them from virtualbox manager. I re-installed qt5-base and went back to 4.14.x kernel and works fine. I'm not sure if issue is with qt5-base-nostatx or 4.4.x kernel.
Offline
It sounds like you can launch the GUI but the VM doesn't start? I suspect this is an issue with VirtualBox and Linux 4.4.168 rather than anything to do with Qt.
In Linux 4.4.168 the internal API for kernel modules changed. Are you using the virtualbox-host-dkms to provide the kernel module part of VirtualBox? If so you'll need to wait for an update to be compatible.
Specifically the Linux 4.4.168 changed the get_user_pages function to merge two boolean params into a flags parameter. I had to create nvidia-340xx-lts44 with a hacky patch so I could keep using graphics
Offline
Are you using the virtualbox-host-dkms to provide the kernel module part of VirtualBox? If so you'll need to wait for an update to be compatible.
Specifically the Linux 4.4.168 changed the get_user_pages function to merge two boolean params into a flags parameter. I had to create nvidia-340xx-lts44 with a hacky patch so I could keep using graphics
Yes, I also modified get_user_pages because I'm getting error when installing virtualbox-host-dkms. I also made a post about this -> [SOLVED] Virtualbox: Module vboxdrv not found Linux 4.4 LTS.
I can now install virtualbox-host-dkms but can't launch VMs with no error messages, not sure where to look. I was using 4.19.x stable but experiencing freezing issues when waking from sleep so I tried 4.4.x LTS which solves freezing issues. For now to solve this VM issue I switch to 4.14.x LTS. I still get freezing issues but minimal compared to 4.19.x.
Offline