<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Sat, Oct 27, 2018 at 5:31 PM Dirk Hohndel <<a href="mailto:dirk@hohndel.org">dirk@hohndel.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><blockquote type="cite"><div>On Oct 27, 2018, at 6:54 AM, Dirk Hohndel <<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>> wrote:</div><br class="m_5070372910846879816Apple-interchange-newline"><div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><blockquote type="cite"><div><br class="m_5070372910846879816Apple-interchange-newline">On Oct 27, 2018, at 1:50 AM, Miika Turkia <<a href="mailto:miika.turkia@gmail.com" target="_blank">miika.turkia@gmail.com</a>> wrote:</div><br class="m_5070372910846879816Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr"><div>The continuous builds seem to be dying on my Nexus 7 tablet on startup. logcat shows the following:</div><div>---8<---</div><div>10-27 11:47:12.440  8343  8360 D /workspace/subsurface/qt-models/messagehandlermodel.cpp: INFO: QQmlApplicationEngine failed to load component<br>10-27 11:47:12.441  8343  8360 D /workspace/subsurface/qt-models/messagehandlermodel.cpp: INFO: qrc:/qml/main.qml:621 Type MapPage unavailable<br>10-27 11:47:12.441  8343  8360 D /workspace/subsurface/qt-models/messagehandlermodel.cpp: qrc:/qml/MapPage.qml:3 module "QtPositioning" plugin "declarative_positioning" not found<br>10-27 11:47:12.441  8343  8360 D /workspace/subsurface/qt-models/messagehandlermodel.cpp:<span class="m_5070372910846879816Apple-converted-space"> </span><br>10-27 11:47:12.486   649  1723 I WindowState: WIN DEATH: Window{793cf83 u0 org.subsurfacedivelog.mobile/org.subsurfacedivelog.mobile.SubsurfaceMobileActivity}<br>10-27 11:47:12.576   649  1314 I ActivityManager: Process org.subsurfacedivelog.mobile (pid 8343) has died<br>10-27 11:47:12.576   649  1314 W ActivityManager: Force removing ActivityRecord{6f53882 u0 org.subsurfacedivelog.mobile/.SubsurfaceMobileActivity t3076}: app died, no saved state<br>---8<---</div><div><br></div><div>Is something missing from the APK or is Android 6.0.1 too old?</div></div></div></div></blockquote><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Not at all - this runs all the way back to 4.4 IIRC.</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">This looks suspiciously like the bug that I fixed by fixing qt-android-cmake a few months ago.</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">We actually switched to our branch of that project (and I realize that we should switch back as my fix was merged upstream - but nothing has happened since in upstream, so it doesn't really matter).</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="https://github.com/LaurentGomila/qt-android-cmake/commit/17acb315af2d07571f0912440b4938799fc25c7d" target="_blank">https://github.com/LaurentGomila/qt-android-cmake/commit/17acb315af2d07571f0912440b4938799fc25c7d</a></div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">So the question becomes "why does this work if I build locally, but not when built on Travis".</span><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">You can see in the Travis log:</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"> -- Skipping /workspace/Qt/5.11.1/android_armv7/qml/QtPositioning/libdeclarative_positioning.so. It has unmet dependencies: lib/libQt5PositioningQuick.so.</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">So clearly on Travis the problem isn't fixed. But on my system I also build against Qt-5.11.1</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">The next step would be to NOT remove the '-verbose' flag and see what we can find in the output, I guess...</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">I hate having to re-fix bugs that I fixed already (and have forgotten how I fixed them).</div></div></blockquote><br></div><div>Hrmpvf. Heisenberg? I pushed a branch to see all the output of the dependency handling - and from the log it looks like that just worked.</div><div><br></div><div>Could you test <span style="white-space:pre-wrap"><a href="https://github.com/Subsurface-divelog/subsurface/releases/download/continuous-androidTravisTest/subsurface-mobile-build-arm-debug.apk" target="_blank">https://github.com/Subsurface-divelog/subsurface/releases/download/continuous-androidTravisTest/subsurface-mobile-build-arm-debug.apk</a> ?</span></div></div></blockquote><div><br></div><div>Seems to be working. (Asks for cloud credentials, so at least didn't prematurely end on startup)</div><div><br></div><div>miika<br></div></div></div>