** Changed in: mir Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mir in Ubuntu. https://bugs.launchpad.net/bugs/1603303
Title: Autolanding keeps failing: mock_egl.h:89:7: error: type 'struct MockEGL' violates one definition rule [-Werror=odr] Status in Mir: Fix Released Status in mir package in Ubuntu: Fix Released Bug description: Autolandings are failing with this error: 03:37:16 ../../../../../../include/test/mir/test/doubles/mock_egl.h:89:7: error: type 'struct MockEGL' violates one definition rule [-Werror=odr] 03:37:16 class MockEGL 03:37:16 ^ 03:37:16 ../../../../../../include/test/mir/test/doubles/mock_egl.h:89:7: note: a different type is defined in another translation unit 03:37:16 class MockEGL 03:37:16 ^ 03:37:16 ../../../../../../include/test/mir/test/doubles/mock_egl.h:106:6: note: the first difference of corresponding definitions is field 'gmock1_eglGetDisplay_106' 03:37:16 MOCK_METHOD1(eglGetDisplay, EGLDisplay(NativeDisplayType)); 03:37:16 ^ 03:37:16 ../../../../../../include/test/mir/test/doubles/mock_egl.h:106:6: note: a field of same name but different type is defined in another translation unit 03:37:16 MOCK_METHOD1(eglGetDisplay, EGLDisplay(NativeDisplayType)); 03:37:16 ^ 03:37:16 /usr/include/gmock/gmock-generated-function-mockers.h:81:7: note: type name 'testing::internal::FunctionMocker<void* (void*)>' should match type name 'testing::internal::FunctionMocker<void* (gbm_device*)>' 03:37:16 class FunctionMocker<R(A1)> : public 03:37:16 ^ 03:37:16 /usr/include/gmock/gmock-generated-function-mockers.h:81:7: note: the incompatible type is defined here 03:37:16 class FunctionMocker<R(A1)> : public 03:37:16 ^ 03:37:16 /usr/include/gmock/gmock-generated-nice-strict.h:80:7: error: type 'struct NiceMock' violates one definition rule [-Werror=odr] 03:37:16 class NiceMock : public MockClass { 03:37:16 ^ 03:37:16 /usr/include/gmock/gmock-generated-nice-strict.h:80:7: note: a type with different bases is defined in another translation unit 03:37:16 class NiceMock : public MockClass { 03:37:16 ^ 03:37:16 lto1: all warnings being treated as errors 03:37:16 lto-wrapper: fatal error: /usr/bin/i686-linux-gnu-g++ returned 1 exit status 03:37:16 compilation terminated. 03:37:16 /usr/bin/ld.gold: fatal error: lto-wrapper failed https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=amd64,compiler=gcc,platform=mesa,release=xenial+overlay/1527/consoleFull https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=i386,compiler=gcc,platform=mesa,release=xenial+overlay/1527/consoleFull To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1603303/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp