![]() KDE Developer ![]()
|
Hi,
I opened the following question on Stack Overflow: https://stackoverflow.com/questions/527 ... -container To summarize, the QDir::exists() method does not work in the kdeneon docker image. With the latest tests (see my last comment), it seems that the problem comes from the kdeneon docker image from Docker hub (the problem does not occur in my KDE Neon host nor in a ubuntu:18.04 docker image). Any idea of the possible origin of the problem ? Gaël |
![]() KDE Developer ![]()
|
Since 5.10 Qt is using somewhat new syscalls. One of them is statx and last I checked the syscall was not whitelisted in docker, nor was it whitelistable because the libseccomp used for the upstream docker build was too old and didn't know what statx is. Chances are the problem you see is that. If so, seccomp=unconfined would make it work.
Annoyed with bbcode since 1999.
|
![]() KDE Developer ![]()
|
You are probably right. Thank you. Passing seccomp=unconfined made it work as suggested. Can I copy your answer to stackoverflow ? Gaël |
![]() KDE Developer ![]()
|
Sure
Annoyed with bbcode since 1999.
|
![]() KDE Developer ![]()
|
@apachelogger, a (maybe) complementary question: when I build and execute the Qt program on a kdeneon docker image on a KDE Neon host, it works as expected (with the problem above), but when I build and execute it on a docker image on a Debian 8 host, it fails with
|
![]() KDE Developer ![]()
|
Unlikely, certainly not if you disable seccomp. It's probably best to strace it and see what's going on, maybe the library lookup paths are wrong.
Annoyed with bbcode since 1999.
|
![]() KDE Developer ![]()
|
OK. Thanks. I'll see if I find time to trace the problem. But the simplest solution will be to switch to a newer OS on the host which was scheduled anyway. |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]