Mir

EglSyncFence tests depend on android platform

Bug #1546676 reported by Alan Griffiths
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Critical
Kevin DuBois
0.20
Fix Released
Critical
Kevin DuBois
mir (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

If you build for MIR_PLATFORM=mesa-kms;mesa-x11 then you get build errors:

CMakeFiles/mir_unit_tests.dir/graphics/test_egl_sync_fence.cpp.o: In function `EglSyncFence_can_wait_for_fence_with_timeout_Test::TestBody()':
/«BUILDDIR»/mir-0.20.0+16.04.20160217.3/tests/unit-tests/graphics/test_egl_sync_fence.cpp:100: undefined reference to `mir::graphics::EGLSyncFence::EGLSyncFence(std::shared_ptr<mir::graphics::EGLSyncExtensions> const&)'
/«BUILDDIR»/mir-0.20.0+16.04.20160217.3/tests/unit-tests/graphics/test_egl_sync_fence.cpp:101: undefined reference to `mir::graphics::EGLSyncFence::raise()'
/«BUILDDIR»/mir-0.20.0+16.04.20160217.3/tests/unit-tests/graphics/test_egl_sync_fence.cpp:102: undefined reference to `mir::graphics::EGLSyncFence::wait_for(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)'
/«BUILDDIR»/mir-0.20.0+16.04.20160217.3/tests/unit-tests/graphics/test_egl_sync_fence.cpp:100: undefined reference to `mir::graphics::EGLSyncFence::~EGLSyncFence()'
/«BUILDDIR»/mir-0.20.0+16.04.20160217.3/tests/unit-tests/graphics/test_egl_sync_fence.cpp:100: undefined reference to `mir::graphics::EGLSyncFence::~EGLSyncFence()'
CMakeFiles/mir_unit_tests.dir/graphics/test_egl_sync_fence.cpp.o: In function `EglSyncFence_can_clear_without_waiting_Test::TestBody()':
/«BUILDDIR»/mir-0.20.0+16.04.20160217.3/tests/unit-tests/graphics/test_egl_sync_fence.cpp:118: undefined reference to `mir::graphics::EGLSyncFence::EGLSyncFence(std::shared_ptr<mir::graphics::EGLSyncExtensions> const&)'
/«BUILDDIR»/mir-0.20.0+16.04.20160217.3/tests/unit-tests/graphics/test_egl_sync_fence.cpp:119: undefined reference to `mir::graphics::EGLSyncFence::raise()'
/«BUILDDIR»/mir-0.20.0+16.04.20160217.3/tests/unit-tests/graphics/test_egl_sync_fence.cpp:120: undefined reference to `mir::graphics::EGLSyncFence::reset()'
/«BUILDDIR»/mir-0.20.0+16.04.20160217.3/tests/unit-tests/graphics/test_egl_sync_fence.cpp:118: undefined reference to `mir::graphics::EGLSyncFence::~EGLSyncFence()'
/«BUILDDIR»/mir-0.20.0+16.04.20160217.3/tests/unit-tests/graphics/test_egl_sync_fence.cpp:118: undefined reference to `mir::graphics::EGLSyncFence::~EGLSyncFence()'
CMakeFiles/mir_unit_tests.dir/graphics/test_egl_sync_fence.cpp.o: In function `void __gnu_cxx::new_allocator<mir::graphics::EGLSyncExtensions>::construct<mir::graphics::EGLSyncExtensions>(mir::graphics::EGLSyncExtensions*)':
/usr/include/c++/5/bits/shared_ptr_base.h:518: undefined reference to `mir::graphics::EGLSyncExtensions::EGLSyncExtensions()'
/usr/include/c++/5/bits/shared_ptr_base.h:518: undefined reference to `mir::graphics::EGLSyncExtensions::EGLSyncExtensions()'
/usr/include/c++/5/bits/shared_ptr_base.h:518: undefined reference to `mir::graphics::EGLSyncExtensions::EGLSyncExtensions()'
/usr/include/c++/5/bits/shared_ptr_base.h:518: undefined reference to `mir::graphics::EGLSyncExtensions::EGLSyncExtensions()'
/usr/include/c++/5/bits/shared_ptr_base.h:518: undefined reference to `mir::graphics::EGLSyncExtensions::EGLSyncExtensions()'

https://launchpadlibrarian.net/240210508/buildlog_ubuntu-xenial-arm64.mir_0.20.0+16.04.20160217.3-0ubuntu1_BUILDING.txt.gz

Tags: portability

Related branches

Changed in mir:
milestone: none → 0.20.0
assignee: nobody → Kevin DuBois (kdub)
importance: Undecided → Critical
status: New → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.21.0

Changed in mir:
status: In Progress → Fix Committed
Changed in mir:
milestone: 0.20.0 → 0.21.0
Changed in mir (Ubuntu):
importance: Undecided → Critical
status: New → Triaged
Changed in mir:
status: Fix Committed → Fix Released
Changed in mir (Ubuntu):
status: Triaged → Fix Released
Changed in mir:
status: Fix Released → Fix Committed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This bug got separate (diverged) fixes in Mir 0.21 and 0.20. So that's why it has two separate tasks.

Changed in mir:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.