Merge lp:~raof/mir/fix-ftbfs-against-mesa-11 into lp:mir
| Status: | Merged |
|---|---|
| Merged at revision: | 2962 |
| Proposed branch: | lp:~raof/mir/fix-ftbfs-against-mesa-11 |
| Merge into: | lp:mir |
| Diff against target: |
210 lines (+171/-0) 5 files modified
3rd_party/android-deps/android/native_window.h (+126/-0) 3rd_party/android-deps/android/rect.h (+41/-0) src/common/graphics/android/CMakeLists.txt (+1/-0) src/platforms/android/client/CMakeLists.txt (+2/-0) src/platforms/android/server/CMakeLists.txt (+1/-0) |
| To merge this branch: | bzr merge lp:~raof/mir/fix-ftbfs-against-mesa-11 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-09-24 | |
| Daniel van Vugt | 2015-09-24 | Approve on 2015-09-24 | |
|
Review via email:
|
|||
Commit Message
Re-add android/
Khronos' eglplatform.h headers have long #include<>d native_window.h. Now that Mesa has refreshed their header (from 2009) to something more modern this means that we need to provide android/
Fixes the build against Mesa 11.0, now in Wily.
Description of the Change
Re-add android/
Khronos' eglplatform.h headers have long #include<>d native_window.h. Now that Mesa has refreshed their header (from 2009) to something more modern this means that we need to provide android/
Fixes the build against Mesa 11.0, now in Wily.
| Daniel van Vugt (vanvugt) wrote : | # |
Cool.
native_window.h was only recently removed in r2845 (for release in 0.16.0). However a similar fix (just the "include_
| Alan Griffiths (alan-griffiths) wrote : | # |
phablet-test-run -x -s 00693fd555c9186a -v umockdev-run -- mir_performance
running umockdev-run -- mir_performance
initctl: unable to determine sessions
initctl: unable to determine sessions
Running main() from main.cpp
[0;32m[==========] [mRunning 1 test from 1 test case.
[0;32m[----------] [mGlobal test environment set-up.
[0;32m[----------] [m1 test from GLMark2Test
[0;32m[ RUN ] [mGLMark2Test.
[1443076724.736955] mirplatform: Found graphics driver: android
[1443076724.737657] mirplatform: Found graphics driver: mesa-kms
[1443076724.738695] mirplatform: Found graphics driver: mesa-x11
[1443076724.739274] mirplatform: Found graphics driver: dummy
ERROR: Throw location unknown (consider using BOOST_THROW_
Dynamic exception type: N5boost16except
std::exception:
unknown file: Failure
C++ exception with description "Failed to start server thread" thrown in SetUp().
[0;31m[ FAILED ] [mGLMark2Test.
[0;32m[----------] [m1 test from GLMark2Test (10062 ms total)
[0;32m[----------] [mGlobal test environment tear-down
[0;32m[==========] [m1 test from 1 test case ran. (10064 ms total)
[0;32m[ PASSED ] [m0 tests.
[0;31m[ FAILED ] [m1 test, listed below:
[0;31m[ FAILED ] [mGLMark2Test.
@ "(consider using BOOST_THROW_
Does glmark need an update to match mesa?
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2962
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Alan Griffiths (alan-griffiths) wrote : | # |
[ RUN ] ThreadedDispatc
==3180==
==3180== FILE DESCRIPTORS: 3 open at exit.
==3180== Open file descriptor 4: /tmp/buildd/
==3180== <inherited from parent>
==3180==
==3180== Open file descriptor 2:
==3180== <inherited from parent>
==3180==
==3180== Open file descriptor 1:
==3180== <inherited from parent>
==3180==
==3180==
==3180== HEAP SUMMARY:
==3180== in use at exit: 107,163 bytes in 830 blocks
==3180== total heap usage: 828,191 allocs, 827,361 frees, 98,223,627 bytes allocated
==3180==
==3180== LEAK SUMMARY:
==3180== definitely lost: 0 bytes in 0 blocks
==3180== indirectly lost: 0 bytes in 0 blocks
==3180== possibly lost: 3,544 bytes in 114 blocks
==3180== still reachable: 103,167 bytes in 710 blocks
==3180== suppressed: 0 bytes in 0 blocks
==3180== Reachable blocks (those to which a pointer was found) are not shown.
==3180== To see them, rerun with: --leak-check=full --show-
==3180==
==3180== For counts of detected and suppressed errors, rerun with: -v
==3180== Use --track-origins=yes to see where uninitialised values come from
==3180== ERROR SUMMARY: 17534 errors from 16 contexts (suppressed: 1 from 1)
/tmp/buildd/
Value of: result.succeeded()
Actual: false
Expected: true
[ FAILED ] ThreadedDispatc
[----------] 1 test from ThreadedDispatc
The same failure in:
https:/
https:/
https:/
https:/
Something has changed. Logged as lp:1499229
| Alan Griffiths (alan-griffiths) wrote : | # |
The important fail (mir-wily-i386-ci and mir-mediumtests
https:/
...
> creating: package_
> inflating: package_
> inflating: package_
So these are *wily* debs? On a vivid+overlay image?
...
> running mir_demo_server --test-client /usr/bin/
> initctl: unable to determine sessions
> initctl: unable to determine sessions
> [1443083181.507545] mirplatform: Found graphics driver: android
> [1443083181.508430] mirplatform: Found graphics driver: mesa-kms
> [1443083181.508582] mirplatform: Found graphics driver: mesa-x11
> [1443083181.509131] mirplatform: Found graphics driver: dummy
> [1443083181.513890] mirserver: Starting
> [1443083181.514775] mircommon: Loading modules from: /usr/lib/
> [1443083181.515171] mircommon: Loading module: /usr/lib/
> [1443083181.515294] mircommon: Loading module: /usr/lib/
> [1443083181.515385] mircommon: Loading module: /usr/lib/
> [1443083181.519473] mircommon: Loading module: /usr/lib/
> [1443083181.522828] mircommon: Loading module: /usr/lib/
> [1443083181.524689] mircommon: Loading module: /usr/lib/
> [1443083181.527313] mirplatform: Found graphics driver: android
> [1443083181.527801] mirplatform: Found graphics driver: mesa-kms
> [1443083181.527953] mirplatform: Found graphics driver: mesa-x11
> [1443083181.528228] mirplatform: Found graphics driver: dummy
> [1443083181.529234] mirserver: Selected driver: android (version 0.16.0)
> [1443083182.041171] mirserver: Initial display configuration:
> [1443083182.045442] mirserver: 0.0: LVDS 4.7" 61x102mm
> [1443083182.045686] mirserver: Current mode 768x1280 60.00Hz
> [1443083182.045778] mirserver: Preferred mode 768x1280 60.00Hz
> [1443083182.045839] mirserver: Logical position +0+0
> [1443083182.045930] mirserver: 0.1: unused DisplayPort
> ERROR: Throw location unknown (consider using BOOST_THROW_
> Dynamic exception type: N5boost16except
> std::exception:
*Looks* like all clients are dying for lack of an endpoint.
| Alan Griffiths (alan-griffiths) wrote : | # |
Trying to reproduce (on krillin) I see another error entirely:
Running main() from main.cpp
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from GLMark2Test
[ RUN ] GLMark2Test.
[1443100994.386983] mirplatform: Found graphics driver: android
[1443100994.391768] mirplatform: Found graphics driver: mesa-kms
[1443100994.393662] mirplatform: Found graphics driver: mesa-x11
[1443100994.394339] mirplatform: Found graphics driver: dummy
Error: Requested MapBuffer VBO update method but GL_OES_mapbuffer is not supported!
Error: Requested MapBuffer VBO update method but GL_OES_mapbuffer is not supported!
Error: SceneTerrain requires Vertex Texture Fetch support, but GL_MAX_
[ OK ] GLMark2Test.
[----------] 1 test from GLMark2Test (311018 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (311024 ms total)
[ PASSED ] 1 test.
Segmentation fault (core dumped)
| Alberto Aguirre (albaguirre) wrote : | # |
I thought native_window.h was included in the android-headers package, but it is not.
Maybe we should ask for it to be included there?

FAILED: Continuous integration, rev:2962 jenkins. qa.ubuntu. com/job/ mir-ci/ 5007/ jenkins. qa.ubuntu. com/job/ mir-android- vivid-i386- build/4113 jenkins. qa.ubuntu. com/job/ mir-clang- vivid-amd64- build/3020 jenkins. qa.ubuntu. com/job/ mir-mediumtests -vivid- touch/4055/ console jenkins. qa.ubuntu. com/job/ mir-mediumtests -wily-touch/ 13/console jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 1158 jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 1158/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-wily- i386-ci/ 13/console jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 4056 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 4056/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- mako/6747/ console s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 23631 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- wily-armhf/ 14/console
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- ci/5007/ rebuild
http://