platform-api FTBFS in wily (2.9.0+15.04.20150326-0ubuntu1)

Bug #1458680 reported by Ricardo Salveti on 2015-05-25
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
platform-api (Ubuntu)
Undecided
Unassigned

Bug Description

sbuild -A --dist=wily --arch=i386 -c wily-proposed-i386-sbuild platform-api_2.9.0+15.04.20150326-0ubuntu1.dsc

[ 26%] Building CXX object src/ubuntu/application/common/mircommon/CMakeFiles/ubuntu_application_api_mircommon.dir/event_helpers_mir.cpp.o
cd /«BUILDDIR»/platform-api-2.9.0+15.04.20150326/obj-i686-linux-gnu/src/ubuntu/application/common/mircommon && /usr/bin/i686-linux-gnu-g++-4.9 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fvisibility=hidden -fPIC --std=c++11 -I/«BUILDDIR»/platform-api-2.9.0+15.04.20150326/include -I/«BUILDDIR»/platform-api-2.9.0+15.04.20150326/android/include -I/usr/include/mirclient -I/usr/include/mircommon -I/«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src -I/«BUILDDIR»/platform-api-2.9.0+15.04.20150326/obj-i686-linux-gnu/include -I/«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/../../bridge -I/«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common -o CMakeFiles/ubuntu_application_api_mircommon.dir/event_helpers_mir.cpp.o -c /«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.cpp
/«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.cpp: In function 'bool ubuntu::application::ui::mir::event_to_ubuntu_event(const MirEvent*, WindowEvent&)':
/«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.cpp:28:22: error: invalid use of incomplete type 'const MirEvent {aka const union MirEvent}'
     switch (mir_event->type)
                      ^
In file included from /usr/include/mirclient/mir_toolkit/event.h:22:0,
                 from /«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.h:24,
                 from /«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.cpp:19:
/usr/include/mirclient/mir_toolkit/events/event.h:57:15: error: forward declaration of 'const MirEvent {aka const union MirEvent}'
 typedef union MirEvent MirEvent;
               ^
/«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.cpp:32:44: error: invalid use of incomplete type 'const MirEvent {aka const union MirEvent}'
         ubuntu_ev.key.device_id = mir_event->key.device_id;
                                            ^
In file included from /usr/include/mirclient/mir_toolkit/event.h:22:0,
                 from /«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.h:24,
                 from /«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.cpp:19:
/usr/include/mirclient/mir_toolkit/events/event.h:57:15: error: forward declaration of 'const MirEvent {aka const union MirEvent}'
 typedef union MirEvent MirEvent;
               ^
/«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.cpp:33:44: error: invalid use of incomplete type 'const MirEvent {aka const union MirEvent}'
         ubuntu_ev.key.source_id = mir_event->key.source_id;
                                            ^
In file included from /usr/include/mirclient/mir_toolkit/event.h:22:0,
                 from /«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.h:24,
                 from /«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.cpp:19:
/usr/include/mirclient/mir_toolkit/events/event.h:57:15: error: forward declaration of 'const MirEvent {aka const union MirEvent}'
 typedef union MirEvent MirEvent;
               ^
/«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.cpp:34:41: error: invalid use of incomplete type 'const MirEvent {aka const union MirEvent}'
         ubuntu_ev.key.action = mir_event->key.action;
                                         ^
In file included from /usr/include/mirclient/mir_toolkit/event.h:22:0,
                 from /«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.h:24,
                 from /«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.cpp:19:
/usr/include/mirclient/mir_toolkit/events/event.h:57:15: error: forward declaration of 'const MirEvent {aka const union MirEvent}'
 typedef union MirEvent MirEvent;
               ^
/«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.cpp:35:40: error: invalid use of incomplete type 'const MirEvent {aka const union MirEvent}'
         ubuntu_ev.key.flags = mir_event->key.flags;
                                        ^
In file included from /usr/include/mirclient/mir_toolkit/event.h:22:0,
                 from /«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.h:24,
                 from /«BUILDDIR»/platform-api-2.9.0+15.04.20150326/src/ubuntu/application/common/mircommon/event_helpers_mir.cpp:19:
/usr/include/mirclient/mir_toolkit/events/event.h:57:15: error: forward declaration of 'const MirEvent {aka const union MirEvent}'
 typedef union MirEvent MirEvent;
....

summary: - platform-api FTBS in wily (2.9.0+15.04.20150326-0ubuntu1)
+ platform-api FTBFS in wily (2.9.0+15.04.20150326-0ubuntu1)

On Tue, May 26, 2015 at 2:56 PM, Robert Carr <email address hidden> wrote:
> https://code.launchpad.net/~mir-team/platform-api/delete-
> deprecations/+merge/254170 needed to land

Thanks.

Can we please coordinate such landings next time we change something
on mir that breaks the reverse build-deps?

Hans Joachim Desserud (hjd) wrote :

Looks like the merge proposal from comment #1 has been merged now.

Based on the title, since 3.0.0+15.10.20150706-0ubuntu1 is the current version in Ubuntu Wily and has built successfully, is this issue considered fixed? :)

tags: added: ftbfs
tags: added: wily
Changed in platform-api (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers