← Back to team overview

touch-packages team mailing list archive

[Bug 1086701] Re: make check fails to compile (gtest-nux-gesturebroker.cpp:90:11: error: ‘class {anonymous}::SimpleTarget’ has no member named ‘MakeUnavailable’)

 

** Changed in: nux (Ubuntu)
       Status: New => In Progress

** Changed in: nux (Ubuntu)
     Assignee: (unassigned) => Sam Spilsbury (smspillaz)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to nux in Ubuntu.
https://bugs.launchpad.net/bugs/1086701

Title:
  make check fails to compile (gtest-nux-gesturebroker.cpp:90:11: error:
  ‘class {anonymous}::SimpleTarget’ has no member named
  ‘MakeUnavailable’)

Status in Nux:
  In Progress
Status in nux package in Ubuntu:
  In Progress

Bug description:
  This is a simple typo as a result of the check target not being built
  by default:

  gtest-nux-gesturebroker.cpp: In member function ‘virtual void GestureBrokerTest_RejectGestureIfTargetBecomesUnavailable_Test::TestBody()’:
  gtest-nux-gesturebroker.cpp:90:11: error: ‘class {anonymous}::SimpleTarget’ has no member named ‘MakeUnavailable’

  Also fails later on:

  xtest-text-entry.cpp:115: error: undefined reference to 'ibus_bus_list_active_engines'
  xtest-text-entry.cpp:121: error: undefined reference to 'ibus_bus_get_use_global_engine'
  xtest-text-entry.cpp:141: error: undefined reference to 'ibus_bus_set_global_engine'
  xtest-text-entry.cpp:126: error: undefined reference to 'ibus_engine_desc_get_type'
  xtest-text-entry.cpp:129: error: undefined reference to 'ibus_engine_desc_get_name'
  xtest-text-entry.cpp:138: error: undefined reference to 'ibus_bus_get_config'
  xtest-text-entry.cpp:138: error: undefined reference to 'ibus_config_set_value'
  xtest-text-entry.cpp:149: error: undefined reference to 'ibus_bus_get_config'
  xtest-text-entry.cpp:149: error: undefined reference to 'ibus_config_set_value'
  xtest-text-entry.cpp:347: error: undefined reference to 'ibus_init'
  xtest-text-entry.cpp:348: error: undefined reference to 'ibus_bus_new'

  And later segfaults:

  [----------] 3 tests from GeisAdapterTest
  [ RUN      ] GeisAdapterTest.SignalsInitComplete

  Program received signal SIGSEGV, Segmentation fault.
  0x00007ffff7276903 in std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  (gdb) bt
  #0  0x00007ffff7276903 in std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  #1  0x0000000000421cdf in _M_insert<_GeisEvent* const&> (__position=..., 
      this=0x48a9b8) at /usr/include/c++/4.7/bits/stl_list.h:1534
  #2  push_back (__x=<synthetic pointer>, this=0x48a9b8)
      at /usr/include/c++/4.7/bits/stl_list.h:997
  #3  FinishInitialization (geis=0x48a9b0, this=<optimised out>)
      at gtest-nux-geisadapter.cpp:36
  #4  GeisAdapterTest_SignalsInitComplete_Test::TestBody (this=0x487760)
      at gtest-nux-geisadapter.cpp:67
  #5  0x000000000044932a in HandleSehExceptionsInMethodIfSupported<testing::Test, void> (method=<optimised out>, object=<optimised out>, 
      location=<optimised out>) at /usr/src/gtest/src/gtest.cc:2090
  #6  testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>
      (object=object@entry=0x487760, method=&virtual testing::Test::TestBody(), 
      location=location@entry=0x44c308 "the test body")
      at /usr/src/gtest/src/gtest.cc:2126
  #7  0x000000000043e307 in testing::Test::Run (this=this@entry=0x487760)
      at /usr/src/gtest/src/gtest.cc:2162
  #8  0x000000000043e3de in testing::TestInfo::Run (this=0x47bcb0)
      at /usr/src/gtest/src/gtest.cc:2338
  #9  0x000000000043e52d in testing::TestCase::Run (this=0x47bdf0)
      at /usr/src/gtest/src/gtest.cc:2445

To manage notifications about this bug go to:
https://bugs.launchpad.net/nux/+bug/1086701/+subscriptions