Mir

Mir fails to build in: COMPOSITOR_TRACE_CALL

Bug #1584601 reported by Daniel van Vugt on 2016-05-23
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Critical
Andreas Pokorny
0.23
Fix Released
Critical
Andreas Pokorny
mir (Ubuntu)
Undecided
Unassigned

Bug Description

13:08:37 /��BUILDDIR��/mir-0.23.0+vivid1139bzr3514/src/server/report/lttng/compositor_report.cpp:30:1: error: use of GNU statement expression extension [-Werror,-Wgnu-statement-expression]
13:08:37 COMPOSITOR_TRACE_CALL(started)
13:08:37 ^
13:08:37 /��BUILDDIR��/mir-0.23.0+vivid1139bzr3514/src/server/report/lttng/compositor_report.cpp:28:37: note: expanded from macro 'COMPOSITOR_TRACE_CALL'
13:08:37 #define COMPOSITOR_TRACE_CALL(name) MIR_LTTNG_VOID_TRACE_CALL(CompositorReport, mir_server_compositor, name)
13:08:37 ^
13:08:37 /��BUILDDIR��/mir-0.23.0+vivid1139bzr3514/src/server/report/lttng/lttng_utils.h:28:9: note: expanded from macro 'MIR_LTTNG_VOID_TRACE_CALL'
13:08:37 mir_tracepoint(comp, name, 0); \
13:08:37 ^
13:08:37 /��BUILDDIR��/mir-0.23.0+vivid1139bzr3514/src/include/common/mir/report/lttng/mir_tracepoint.h:22:32: note: expanded from macro 'mir_tracepoint'
13:08:37 #define mir_tracepoint(c, ...) tracepoint(c, __VA_ARGS__)
13:08:37 ^
13:08:37 note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
13:08:37 /usr/include/lttng/tracepoint.h:50:15: note: expanded from macro 'tracepoint_enabled'
13:08:37 caa_unlikely(CMM_LOAD_SHARED(__tracepoint_##provider##___##name.state))
13:08:37 ^
13:08:37 /usr/include/urcu/system.h:35:3: note: expanded from macro 'CMM_LOAD_SHARED'
13:08:37 ({ \
13:08:37 ^

--- or ---

13:13:56 /usr/bin/cmake -E cmake_progress_report /��BUILDDIR��/mir-0.23.0+vivid1139bzr3514/obj-arm-linux-gnueabihf/CMakeFiles
13:13:56 ../../../../../src/server/report/lttng/compositor_report.cpp: In member function 'virtual void mir::report::lttng::CompositorReport::started()':
13:13:56 ../../../../../src/server/report/lttng/compositor_report.cpp:30:87: error: ISO C++ forbids braced-groups within expressions [-Werror=pedantic]
13:13:56 COMPOSITOR_TRACE_CALL(started)
13:13:56 ^
13:13:56 ../../../../../src/server/report/lttng/compositor_report.cpp: In member function 'virtual void mir::report::lttng::CompositorReport::stopped()':
13:13:56 ../../../../../src/server/report/lttng/compositor_report.cpp:31:87: error: ISO C++ forbids braced-groups within expressions [-Werror=pedantic]
13:13:56 COMPOSITOR_TRACE_CALL(stopped)
13:13:56

Related branches

tags: added: ci-blocker
Changed in mir:
status: New → In Progress
assignee: nobody → Andreas Pokorny (andreas-pokorny)
Mir CI Bot (mir-ci-bot) wrote :

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

Changed in mir:
status: In Progress → Fix Committed
summary: - Mir fails to build in vivid+overlay: COMPOSITOR_TRACE_CALL
+ Mir fails to build in: COMPOSITOR_TRACE_CALL
Daniel van Vugt (vanvugt) wrote :

Fix committed to lp:mir/0.23 at revision 3528, scheduled for release in Mir 0.23.5

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mir - 0.23.5+16.10.20160729-0ubuntu1

---------------
mir (0.23.5+16.10.20160729-0ubuntu1) yakkety; urgency=medium

  * New upstream release 0.23.5 (https://launchpad.net/mir/+milestone/0.23.5)
    - ABI summary:
      . No ABI changes in any libraries.
    - Enhancements:
      . Enable new buffer semantics (NBS) by default.
    - Bugs fixed:
      . OSK flickers and buttons are sometimes invisble (LP: #1590765)
      . Mir fails to build in: COMPOSITOR_TRACE_CALL (LP: #1584601)
      . [testsfail] Process.* (memory leak in libhybris generated when probing
        android platforms) (LP: #1602199)
      . CI InputEvents failure in krillin (LP: #1603145)

 -- Kevin DuBois <email address hidden> Fri, 29 Jul 2016 11:31:02 +0000

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

Duplicates of this bug

Other bug subscribers