← Back to team overview

touch-packages team mailing list archive

[Bug 1369389] Re: Mir FTBFS: auto_unblock_thread.h:44:46: error: no matching function for call to ‘std::thread::thread(<brace-enclosed initializer list>)’

 

** Changed in: mir/0.7
       Status: New => Triaged

** Branch linked: lp:~vanvugt/mir/fix-1369389

** Summary changed:

- Mir FTBFS: auto_unblock_thread.h:44:46: error: no matching function for call to ‘std::thread::thread(<brace-enclosed initializer list>)’
+ Suddenly, Mir FTBFS on utopic: auto_unblock_thread.h:44:46: error: no matching function for call to ‘std::thread::thread(<brace-enclosed initializer list>)’

** Changed in: mir/0.7
     Assignee: (unassigned) => Daniel van Vugt (vanvugt)

** Changed in: mir/0.7
       Status: Triaged => In Progress

** Also affects: mir (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: mir (Ubuntu)
       Status: New => Triaged

** Changed in: mir (Ubuntu)
   Importance: Undecided => Critical

** Branch linked: lp:~vanvugt/mir/fix-1369389-0.7

-- 
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/1369389

Title:
  Suddenly, Mir FTBFS on utopic: auto_unblock_thread.h:44:46: error: no
  matching function for call to ‘std::thread::thread(<brace-enclosed
  initializer list>)’

Status in Mir:
  In Progress
Status in Mir 0.7 series:
  In Progress
Status in “mir” package in Ubuntu:
  Triaged

Bug description:
  Since updating my utopic build machine today, Mir no longer builds:

  In file included from /home/dan/bzr/mir/dev/tests/unit-tests/compositor/test_buffer_queue.cpp:26:0:
  /home/dan/bzr/mir/dev/tests/include/mir_test/auto_unblock_thread.h: In instantiation of ‘mir::test::AutoUnblockThread::AutoUnblockThread(const std::function<void()>&, Callable&&, Args&& ...) [with Callable = void (&)(mir::compositor::BufferQueue&, std::atomic<bool>&); Args = {std::reference_wrapper<mir::compositor::BufferQueue>, std::reference_wrapper<std::atomic<bool> >}]’:
  /home/dan/bzr/mir/dev/tests/unit-tests/compositor/test_buffer_queue.cpp:426:59:   required from here
  /home/dan/bzr/mir/dev/tests/include/mir_test/auto_unblock_thread.h:44:46: error: no matching function for call to ‘std::thread::thread(<brace-enclosed initializer list>)’
           : unblock{unblock}, thread{f, args...}
                                                ^
  /home/dan/bzr/mir/dev/tests/include/mir_test/auto_unblock_thread.h:44:46: note: candidates are:
  In file included from /home/dan/bzr/mir/dev/tests/include/mir_test/auto_unblock_thread.h:29:0,
                   from /home/dan/bzr/mir/dev/tests/unit-tests/compositor/test_buffer_queue.cpp:26:
  /usr/include/c++/4.9/thread:133:7: note: std::thread::thread(_Callable&&, _Args&& ...) [with _Callable = void (&)(mir::compositor::BufferQueue&, std::atomic<bool>&); _Args = {std::reference_wrapper<mir::compositor::BufferQueue>&&&, std::reference_wrapper<std::atomic<bool> >&&&}]
         thread(_Callable&& __f, _Args&&... __args)
         ^
  /usr/include/c++/4.9/thread:133:7: note:   no known conversion for argument 2 from ‘std::reference_wrapper<mir::compositor::BufferQueue>&&’ to ‘std::reference_wrapper<mir::compositor::BufferQueue>&&&’
  /usr/include/c++/4.9/thread:128:5: note: std::thread::thread(std::thread&&)
       thread(thread&& __t) noexcept
       ^
  /usr/include/c++/4.9/thread:128:5: note:   candidate expects 1 argument, 3 provided
  /usr/include/c++/4.9/thread:122:5: note: std::thread::thread()
       thread() noexcept = default;
       ^

  ....

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