Public bug reported:

A no change rebuild of mir failed on armhf/arm64 in zesty

Please see build logs at:
https://launchpad.net/ubuntu/+source/mir/0.24.1+16.10.20160928-0ubuntu2

Please help to fix this issue.


n file included from 
/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/tests/mir_test_doubles/stub_buffer.cpp:22:0:
/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/tests/include/mir/test/doubles/stub_android_native_buffer.h:54:21:
 error: invalid use of ‘struct native_handle’ with a zero-size array in ‘struct 
mir::test::doubles::StubAndroidNativeBuffer’ [-Werror=pedantic]
     native_handle_t native_handle;
                     ^~~~~~~~~~~~~
In file included from /usr/include/android-23/system/window.h:20:0,
                 from 
/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/src/platforms/android/include/native_buffer.h:23,
                 from 
/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/tests/include/mir/test/doubles/stub_android_native_buffer.h:22,
                 from 
/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/tests/mir_test_doubles/stub_buffer.cpp:22:
/usr/include/android-23/cutils/native_handle.h:29:15: note: array member ‘int 
native_handle::data [0]’ declared here
     int data[0];        /* numFds + numInts ints */
               ^
[ 38%] Building CXX object 
src/server/frontend/CMakeFiles/mirfrontend.dir/default_ipc_factory.cpp.o
cd 
/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/obj-aarch64-linux-gnu/src/server/frontend
 && /usr/bin/c++   -DLOG_NDEBUG=1 -DMESA_EGL_NO_X11_HEADERS 
-DMIR_LOG_COMPONENT_FALLBACK=\"mirserver\" 
-DMIR_SERVER_EGL_OPENGL_API=EGL_OPENGL_ES_API 
-DMIR_SERVER_EGL_OPENGL_BIT=EGL_OPENGL_ES2_BIT 
-DMIR_SERVER_GLEXT_H="<GLES2/gl2ext.h>" -DMIR_SERVER_GL_H="<GLES2/gl2.h>" 
-DMIR_SERVER_GRAPHICS_PLATFORM_VERSION=\"MIR_GRAPHICS_PLATFORM_0.24\" 
-DMIR_SERVER_INPUT_PLATFORM_VERSION=\"MIR_INPUT_PLATFORM_0.19\" 
-DMIR_SERVER_PLATFORM_PATH=\"/usr/lib/aarch64-linux-gnu/mir/server-platform\" 
-DMIR_VERSION=\"0.24.1\" -DMIR_VERSION_MAJOR=0 -DMIR_VERSION_MICRO=1 
-DMIR_VERSION_MINOR=24 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/include/common 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/include/cookie 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/src/include/common 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/obj-aarch64-linux-gnu/src/protobuf 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/include/platform 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/include/client 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/include/server 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/include/renderers/gl 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/src/include/platform 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/src/include/client 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/src/include/server 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/src/include/cookie 
-I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include  -g -O2 
-fdebug-prefix-map=/<<BUILDDIR>>/mir-0.24.1+16.10.20160928=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2  -pthread -g -std=c++14 -Werror -Wall -fno-strict-aliasing 
-pedantic -Wnon-virtual-dtor -Wextra -fPIC -flto -ffat-lto-objects   -o 
CMakeFiles/mirfrontend.dir/default_ipc_factory.cpp.o -c 
/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/src/server/frontend/default_ipc_factory.cpp
cc1plus: all warnings being treated as errors
tests/mir_test_doubles/CMakeFiles/mir-public-test-doubles.dir/build.make:161: 
recipe for target 
'tests/mir_test_doubles/CMakeFiles/mir-public-test-doubles.dir/stub_buffer.cpp.o'
 failed
make[3]: *** 
[tests/mir_test_doubles/CMakeFiles/mir-public-test-doubles.dir/stub_buffer.cpp.o]
 Error 1
make[3]: Leaving directory 
'/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/obj-aarch64-linux-gnu'
CMakeFiles/Makefile2:11488: recipe for target 
'tests/mir_test_doubles/CMakeFiles/mir-public-test-doubles.dir/all' failed
make[2]: *** 
[tests/mir_test_doubles/CMakeFiles/mir-public-test-doubles.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....

** Affects: mir (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: arm64 armhf boost1.62 ftbfs zesty

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1640322

Title:
  FTBFS in zesty on armhf arm64 only

Status in mir package in Ubuntu:
  New

Bug description:
  A no change rebuild of mir failed on armhf/arm64 in zesty

  Please see build logs at:
  https://launchpad.net/ubuntu/+source/mir/0.24.1+16.10.20160928-0ubuntu2

  Please help to fix this issue.

  
  n file included from 
/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/tests/mir_test_doubles/stub_buffer.cpp:22:0:
  
/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/tests/include/mir/test/doubles/stub_android_native_buffer.h:54:21:
 error: invalid use of ‘struct native_handle’ with a zero-size array in ‘struct 
mir::test::doubles::StubAndroidNativeBuffer’ [-Werror=pedantic]
       native_handle_t native_handle;
                       ^~~~~~~~~~~~~
  In file included from /usr/include/android-23/system/window.h:20:0,
                   from 
/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/src/platforms/android/include/native_buffer.h:23,
                   from 
/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/tests/include/mir/test/doubles/stub_android_native_buffer.h:22,
                   from 
/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/tests/mir_test_doubles/stub_buffer.cpp:22:
  /usr/include/android-23/cutils/native_handle.h:29:15: note: array member ‘int 
native_handle::data [0]’ declared here
       int data[0];        /* numFds + numInts ints */
                 ^
  [ 38%] Building CXX object 
src/server/frontend/CMakeFiles/mirfrontend.dir/default_ipc_factory.cpp.o
  cd 
/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/obj-aarch64-linux-gnu/src/server/frontend
 && /usr/bin/c++   -DLOG_NDEBUG=1 -DMESA_EGL_NO_X11_HEADERS 
-DMIR_LOG_COMPONENT_FALLBACK=\"mirserver\" 
-DMIR_SERVER_EGL_OPENGL_API=EGL_OPENGL_ES_API 
-DMIR_SERVER_EGL_OPENGL_BIT=EGL_OPENGL_ES2_BIT 
-DMIR_SERVER_GLEXT_H="<GLES2/gl2ext.h>" -DMIR_SERVER_GL_H="<GLES2/gl2.h>" 
-DMIR_SERVER_GRAPHICS_PLATFORM_VERSION=\"MIR_GRAPHICS_PLATFORM_0.24\" 
-DMIR_SERVER_INPUT_PLATFORM_VERSION=\"MIR_INPUT_PLATFORM_0.19\" 
-DMIR_SERVER_PLATFORM_PATH=\"/usr/lib/aarch64-linux-gnu/mir/server-platform\" 
-DMIR_VERSION=\"0.24.1\" -DMIR_VERSION_MAJOR=0 -DMIR_VERSION_MICRO=1 
-DMIR_VERSION_MINOR=24 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/include/common 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/include/cookie 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/src/include/common 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/obj-aarch64-linux-gnu/src/protobuf 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/include/platform 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/include/client 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/include/server 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/include/renderers/gl 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/src/include/platform 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/src/include/client 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/src/include/server 
-I/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/src/include/cookie 
-I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include  -g -O2 
-fdebug-prefix-map=/<<BUILDDIR>>/mir-0.24.1+16.10.20160928=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2  -pthread -g -std=c++14 -Werror -Wall -fno-strict-aliasing 
-pedantic -Wnon-virtual-dtor -Wextra -fPIC -flto -ffat-lto-objects   -o 
CMakeFiles/mirfrontend.dir/default_ipc_factory.cpp.o -c 
/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/src/server/frontend/default_ipc_factory.cpp
  cc1plus: all warnings being treated as errors
  tests/mir_test_doubles/CMakeFiles/mir-public-test-doubles.dir/build.make:161: 
recipe for target 
'tests/mir_test_doubles/CMakeFiles/mir-public-test-doubles.dir/stub_buffer.cpp.o'
 failed
  make[3]: *** 
[tests/mir_test_doubles/CMakeFiles/mir-public-test-doubles.dir/stub_buffer.cpp.o]
 Error 1
  make[3]: Leaving directory 
'/<<BUILDDIR>>/mir-0.24.1+16.10.20160928/obj-aarch64-linux-gnu'
  CMakeFiles/Makefile2:11488: recipe for target 
'tests/mir_test_doubles/CMakeFiles/mir-public-test-doubles.dir/all' failed
  make[2]: *** 
[tests/mir_test_doubles/CMakeFiles/mir-public-test-doubles.dir/all] Error 2
  make[2]: *** Waiting for unfinished jobs....

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to