← Back to team overview

ubuntu-phonedations-bugs team mailing list archive

[Bug 1539338] Re: Mir fails to build on xenial today: android_graphic_buffer_allocator.h:23:31: fatal error: hardware/hardware.h: No such file or directory

 

Fix Released? I can't see it; https://launchpad.net/ubuntu/+source
/android-headers

** Description changed:

  After updating my xenial build machine today, lp:mir no longer builds:
  
  In file included from /home/dan/bzr/mir/trunk/src/platforms/android/server/platform.cpp:22:0:
  /home/dan/bzr/mir/trunk/src/platforms/android/server/android_graphic_buffer_allocator.h:23:31: fatal error: hardware/hardware.h: No such file or directory
  compilation terminated.
  
  The file in question exists in /usr/include/android-19/ but I suspect it
  might have moved there only recently.
+ 
+ WORKAROUND:
+ Just avoid building Mir with Android support:
+ cmake .. -DMIR_PLATFORM=mesa-kms

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to android-headers in Ubuntu.
https://bugs.launchpad.net/bugs/1539338

Title:
  Mir fails to build on xenial today:
  android_graphic_buffer_allocator.h:23:31: fatal error:
  hardware/hardware.h: No such file or directory

Status in Mir:
  In Progress
Status in Mir 0.18 series:
  New
Status in Mir 0.19 series:
  New
Status in android-headers package in Ubuntu:
  Fix Released

Bug description:
  After updating my xenial build machine today, lp:mir no longer builds:

  In file included from /home/dan/bzr/mir/trunk/src/platforms/android/server/platform.cpp:22:0:
  /home/dan/bzr/mir/trunk/src/platforms/android/server/android_graphic_buffer_allocator.h:23:31: fatal error: hardware/hardware.h: No such file or directory
  compilation terminated.

  The file in question exists in /usr/include/android-19/ but I suspect
  it might have moved there only recently.

  WORKAROUND:
  Just avoid building Mir with Android support:
  cmake .. -DMIR_PLATFORM=mesa-kms

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