[oe] [meta-qt5][PATCH] qfilesystemengine_unix.cpp: optionally disable use of statx(2)

Rasmus Villemoes rasmus.villemoes at prevas.dk
Wed Jul 18 07:33:38 UTC 2018


On 2018-07-17 09:20, Martin Jansa wrote:
> On Mon, Jul 16, 2018 at 11:22:21AM +0200, Rasmus Villemoes wrote:
>> When used inside an unprivileged docker container, statx(2) gets
>> rejected with -EPERM by the default seccomp profile, unless the host
>> runs an almost-bleeding edge version of docker (at least 18.04). That
>> causes most qt apps, qmake in particular, to fail.
>> +
>> diff --git a/recipes-qt/qt5/qt5-git.inc b/recipes-qt/qt5/qt5-git.inc
>> index 09b6cc5..41f9b7a 100644
>> --- a/recipes-qt/qt5/qt5-git.inc
>> +++ b/recipes-qt/qt5/qt5-git.inc
>> @@ -15,3 +15,5 @@ CVE_PRODUCT = "qt"
>>  S = "${WORKDIR}/git"
>>  
>>  PV = "5.11.1+git${SRCPV}"
>> +
>> +SRC_URI_append_no-xstat = " file://0001-qfilesystemengine_unix.cpp-disable-use-of-statx-2.patch"
> 
> Isn't this applicable only to *qtbase* ?

That is entirely likely. I have no idea which source files go into
building which qt modules, or if any source files are shared between
modules.

Rasmus




More information about the Openembedded-devel mailing list