Mir

Mir FTBFS with gcc 4.9.1-14 (utopic update): auto_unblock_thread.h:44:46: error: no matching function for call to ‘std::thread::thread(<brace-enclosed initializer list>)’

Bug #1369389 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Critical
Daniel van Vugt
0.7
Fix Released
Critical
Daniel van Vugt
mir (Ubuntu)
Fix Released
Critical
Unassigned
mir (Ubuntu RTM)
Fix Released
Critical
Unassigned

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;
     ^

....

Related branches

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Building on trusty still works. Only utopic build deps broke over the weekend...

Changed in mir:
assignee: nobody → Daniel van Vugt (vanvugt)
Changed in mir:
status: New → In Progress
summary: - 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 (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: 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>)’

Looks like the offending change was:

gcc-4.9 (4.9.1-14ubuntu2) utopic; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-4.9 (4.9.1-14) unstable; urgency=medium

  * Update to SVN 20140912 (r215228) from the gcc-4_9-branch.
  * Update the Linaro support to the 4.9-2014.09 release.
  * Fix installation of the libstdc++ documentation. Closes: #760872.
 -- Matthias Klose <email address hidden> Fri, 12 Sep 2014 15:20:06 +0200

summary: - 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>)’
+ Mir FTBFS with gcc 4.9.1-14 (utopic update):
+ auto_unblock_thread.h:44:46: error: no matching function for call to
+ ‘std::thread::thread(<brace-enclosed initializer list>)’
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir/0.7 at revision 1905, scheduled for release in mir, milestone 0.7.3

Changed in mir:
status: In Progress → Fix Committed
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir/devel at revision None, scheduled for release in mir, milestone Unknown

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mir - 0.7.3+14.10.20140918.1-0ubuntu1

---------------
mir (0.7.3+14.10.20140918.1-0ubuntu1) utopic; urgency=medium

  [ Andreas Pokorny ]
  * New upstream release 0.7.3 (https://launchpad.net/mir/+milestone/0.7.3)
    - Bug fixes
      . Fix constructor syntax errors (LP: #1369389)
      . server: Workaround for unresponsive clients causing the server to hang
        (LP: #1350207)
      . Relax strict dependencies of graphics drivers on an exact version
        of the libmirplatform2 package. It's blocking CI. (LP: #1370866)
      . Update cmake scripts to current version of gcovr.

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Thu, 18 Sep 2014 14:54:51 +0000

Changed in mir (Ubuntu):
status: Triaged → Fix Released
Changed in mir:
status: Fix Committed → Fix Released
Changed in mir (Ubuntu RTM):
importance: Undecided → Critical
status: New → 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.