FTBFS on amd64, armhf and i386 due to missing headers

Bug #1506045 reported by Łukasz Zemczak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Committed
Undecided
Unassigned
mir (Ubuntu)
In Progress
Undecided
Sebastien Bacher

Bug Description

As per the test-rebuild of wily [1] the mir package seems to fail on amd64, armhf and i386 due to the following error:

[ 14%] Building CXX object src/platforms/mesa/server/kms/CMakeFiles/mirplatformgraphicsmesakmsobjects.dir/linux_virtual_terminal.cpp.o
cd /«BUILDDIR»/mir-0.16.0+15.10.20150921.1/obj-x86_64-linux-gnu/src/platforms/mesa/server/kms && /usr/bin/x86_64-linux-gnu-g++ -DLOG_NDEBUG=1 -DMESA_EGL_NO_X11_HEADERS -DMIR_VERSION_MAJOR=0 -DMIR_VERSION_MICRO=0 -DMIR_VERSION_MINOR=16 -D__GBM__ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -pthread -g -std=c++14 -Werror -Wall -fno-strict-aliasing -Wnon-virtual-dtor -Wextra -fPIC -I/«BUILDDIR»/mir-0.16.0+15.10.20150921.1/include/common -I/«BUILDDIR»/mir-0.16.0+15.10.20150921.1/include/platforms/mesa -I/«BUILDDIR»/mir-0.16.0+15.10.20150921.1/include/platform -I/«BUILDDIR»/mir-0.16.0+15.10.20150921.1/include/renderers/gl -I/«BUILDDIR»/mir-0.16.0+15.10.20150921.1/src/include/common -I/«BUILDDIR»/mir-0.16.0+15.10.20150921.1/src/include/platform -I/«BUILDDIR»/mir-0.16.0+15.10.20150921.1/src/platforms/mesa/server/common -I/usr/include/libdrm -o CMakeFiles/mirplatformgraphicsmesakmsobjects.dir/linux_virtual_terminal.cpp.o -c /«BUILDDIR»/mir-0.16.0+15.10.20150921.1/src/platforms/mesa/server/kms/linux_virtual_terminal.cpp
In file included from /usr/include/EGL/egl.h:39:0,
                 from /«BUILDDIR»/mir-0.16.0+15.10.20150921.1/include/platform/mir/graphics/platform.h:24,
                 from /«BUILDDIR»/mir-0.16.0+15.10.20150921.1/src/platforms/android/server/platform.h:22,
                 from /«BUILDDIR»/mir-0.16.0+15.10.20150921.1/src/platforms/android/server/platform.cpp:20:
/usr/include/EGL/eglplatform.h:100:35: fatal error: android/native_window.h: No such file or directory
compilation terminated.

[1] http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20151001-wily.html#core

Tags: ftbfs
Changed in mir (Ubuntu):
status: New → Confirmed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

It looks like this got fixed in the next mir release that landed in the overlay PPA (mir 0.16.1+15.10.20150930.1). Will have to see if we can safely copy-package this version, or maybe we'll just distro-patch it quickly to fix the build failure.

Changed in mir (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Ok, checking the changelog and changes in 0.16.1+15.10.20150930.1 it seems there's only 2 bugfixes inside - one for the build failure and one for a bug. I would recommend we copy-package this to the wily archive, possibly as a binary-copy (since I think mir deps in overlay should be the same as in the archive).

For interested, here's the changeset of 0.16.1+15.10.20150930.1:
http://bazaar.launchpad.net/~mir-team/mir/ubuntu/revision/1245

Could anyone copy mir 0.16.1+15.10.20150930.1 from https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay to the archive? Thanks!

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Actually, looks like seb was already looking into that (there was no bug so I didn't know). The new mir will be copied over soon.

Changed in mir:
status: New → Fix Committed
Changed in mir (Ubuntu):
assignee: Łukasz Zemczak (sil2100) → Sebastien Bacher (seb128)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Duplicate of bug 1499134.

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.