Mir fails to build on xenial today: android_graphic_buffer_allocator.h:23:31: fatal error: hardware/hardware.h: No such file or directory
Bug #1539338 reported by
Daniel van Vugt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Critical
|
Daniel van Vugt | ||
0.18 |
Won't Fix
|
Medium
|
Unassigned | ||
0.19 |
Won't Fix
|
Medium
|
Unassigned | ||
android-headers (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
mir (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
After updating my xenial build machine today, lp:mir no longer builds:
In file included from /home/dan/
/home/dan/
compilation terminated.
The file in question exists in /usr/include/
WORKAROUND:
Just avoid building Mir with Android support:
cmake .. -DMIR_PLATFORM=
Related branches
lp:~vanvugt/mir/fix-1539338
- Kevin DuBois (community): Approve
- Alan Griffiths: Approve
- Andreas Pokorny (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Mir CI Bot: Approve (continuous-integration)
-
Diff: 24 lines (+2/-2)2 files modifiedcmake/FindLibHardware.cmake (+1/-1)
src/platforms/android/common/syncfence.cpp (+1/-1)
Changed in mir: | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in mir: | |
status: | New → In Progress |
Changed in mir (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Found the cause. It was this update:
android-headers (23-0ubuntu1) xenial; urgency=medium
* New upstream release which now includes multiple sets of header files headers- <API level>. The former android-headers package is now
divided by the Android API levels we care about.
* All header sets are now installed in their corresponding debian package
android-
a transitional one depending on android-headers-19 and installing proper
symlinks to allow all current users to still build without any changes.
* Install proper pkgconfig configuration files for all header sets so that
users can now select which of those to use a build time.
-- Simon Fels <email address hidden> Mon, 11 Jan 2016 08:50:59 +0100