<div dir="ltr">Hi all,<br><div><br></div><div>I am trying to update the base Docker image from Cosmic to Disco to get a more recent SIP version.</div><div><br></div><div>Before Cosmic Docker was building fine on Travis with Trusty.</div><div>I updated the Docker image to Disco and hit a timeout when building sip files for QGIS.</div><div>So, I tried to update the Travis dist to Xenial, and now I get this issue:</div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:11.9px;background-color:rgba(27,31,35,0.05)">clang: error: no such file or directory: 'src/native/moc_qgsnative.cpp'</span><br></div><div><br></div><div>This seems to be a known issue in Qt 5.10+ which requires statx calls:</div><div><br></div><div>From the Qt release notes (<a href="https://code.qt.io/cgit/qt/qtbase.git/tree/dist/changes-5.10.0#n502">https://code.qt.io/cgit/qt/qtbase.git/tree/dist/changes-5.10.0#n502</a>):</div><div><pre style="padding:0px;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:13.3333px"><code>Qt uses the statx(2) system call for obtaining file information on
   kernels 4.12 and later. Some older container systems install system call
   protection rules that do not include this system call. If you experience
   problems running Qt applications inside containers (such as the report of
   a file not existing when it does), ensure the statx(2) is allowed in the
   container configuration.</code></pre></div><div><br></div><div>I found some information saying that this could be solved by using the privileged mode when doing docker run. </div><div>But in our case, the QGIS build is made within the Docker build (and not docker run).</div><div>From the Docker docs, it seems that building has full capabilities.</div><div><br></div><div>I don't really know what to look for. If anyone has a hint, it is more than welcome.</div><div><br></div><div>Cheers,</div><div>Denis</div></div>