[Pkg-chromium-maint] Bug#868926: chromium-browser: FTBFS: ../../ui/gfx/linux/client_native_pixmap_dmabuf.cc:47:29: error: variable 'gfx::{anonymous}::PrimeSyncStart(int)::local_dma_buf_sync sync_start' has initializer but incomplete type

Lucas Nussbaum lucas at debian.org
Wed Jul 19 15:42:18 UTC 2017


Source: chromium-browser
Version: 59.0.3071.104-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170719 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> g++ -MMD -MF obj/ui/gfx/memory_buffer_sources/client_native_pixmap_dmabuf.o.d -DGFX_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I../.. -Igen -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Igen/shim_headers/libevent_shim -Igen/shim_headers/libdrm_shim -I/usr/include/libdrm -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -m64 -march=x86-64 -pthread -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fomit-frame-pointer -g0 -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -fno-delete-null-pointer-checks -c ../../ui/gfx/linux/client_native_pixmap_dmabuf.cc -o obj/ui/gfx/memory_buffer_sources/client_native_pixmap_dmabuf.o
> ../../ui/gfx/linux/client_native_pixmap_dmabuf.cc: In function 'void gfx::{anonymous}::PrimeSyncStart(int)':
> ../../ui/gfx/linux/client_native_pixmap_dmabuf.cc:47:29: error: variable 'gfx::{anonymous}::PrimeSyncStart(int)::local_dma_buf_sync sync_start' has initializer but incomplete type
>    struct local_dma_buf_sync sync_start = {0};
>                              ^~~~~~~~~~
> ../../ui/gfx/linux/client_native_pixmap_dmabuf.cc:49:22: error: 'LOCAL_DMA_BUF_SYNC_START' was not declared in this scope
>    sync_start.flags = LOCAL_DMA_BUF_SYNC_START | LOCAL_DMA_BUF_SYNC_RW;
>                       ^~~~~~~~~~~~~~~~~~~~~~~~
> ../../ui/gfx/linux/client_native_pixmap_dmabuf.cc:49:49: error: 'LOCAL_DMA_BUF_SYNC_RW' was not declared in this scope
>    sync_start.flags = LOCAL_DMA_BUF_SYNC_START | LOCAL_DMA_BUF_SYNC_RW;
>                                                  ^~~~~~~~~~~~~~~~~~~~~
> ../../ui/gfx/linux/client_native_pixmap_dmabuf.cc:53:27: error: 'LOCAL_DMA_BUF_IOCTL_SYNC' was not declared in this scope
>        drmIoctl(dmabuf_fd, LOCAL_DMA_BUF_IOCTL_SYNC, &sync_start);
>                            ^~~~~~~~~~~~~~~~~~~~~~~~
> ../../ui/gfx/linux/client_native_pixmap_dmabuf.cc: In function 'void gfx::{anonymous}::PrimeSyncEnd(int)':
> ../../ui/gfx/linux/client_native_pixmap_dmabuf.cc:58:29: error: variable 'gfx::{anonymous}::PrimeSyncEnd(int)::local_dma_buf_sync sync_end' has initializer but incomplete type
>    struct local_dma_buf_sync sync_end = {0};
>                              ^~~~~~~~
> ../../ui/gfx/linux/client_native_pixmap_dmabuf.cc:60:20: error: 'LOCAL_DMA_BUF_SYNC_END' was not declared in this scope
>    sync_end.flags = LOCAL_DMA_BUF_SYNC_END | LOCAL_DMA_BUF_SYNC_RW;
>                     ^~~~~~~~~~~~~~~~~~~~~~
> ../../ui/gfx/linux/client_native_pixmap_dmabuf.cc:60:45: error: 'LOCAL_DMA_BUF_SYNC_RW' was not declared in this scope
>    sync_end.flags = LOCAL_DMA_BUF_SYNC_END | LOCAL_DMA_BUF_SYNC_RW;
>                                              ^~~~~~~~~~~~~~~~~~~~~
> ../../ui/gfx/linux/client_native_pixmap_dmabuf.cc:64:27: error: 'LOCAL_DMA_BUF_IOCTL_SYNC' was not declared in this scope
>        drmIoctl(dmabuf_fd, LOCAL_DMA_BUF_IOCTL_SYNC, &sync_end);
>                            ^~~~~~~~~~~~~~~~~~~~~~~~
> [11804/27825] ACTION //ui/gfx/mojo:mojo__generator(//build/toolchain/linux:x64)
> [11805/27825] CXX obj/ui/gfx/animation/animation/tween.o
> [11806/27825] ACTION //ui/gfx/mojo:mojo__generator(//build/toolchain/linux:x64)
> [11807/27825] ACTION //ui/gfx/mojo:mojo__generator(//build/toolchain/linux:x64)
> [11808/27825] CXX obj/ui/gfx/test_support/fontconfig_util_linux.o
> [11809/27825] ACTION //ui/gfx/mojo:mojo__generator(//build/toolchain/linux:x64)
> [11810/27825] CXX obj/ui/gfx/test_support/rect_test_util.o
> [11811/27825] CXX obj/ui/gfx/test_support/gfx_util.o
> [11812/27825] CXX obj/ui/gfx/ipc/color/color/gfx_param_traits.o
> [11813/27825] CXX obj/ui/gfx/ipc/ipc/gfx_param_traits.o
> [11814/27825] CXX obj/ui/gfx/ipc/skia/skia/gfx_skia_param_traits.o
> [11815/27825] CXX obj/ui/gfx/test_support/image_unittest_util.o
> [11816/27825] CXX obj/ui/gfx/ipc/geometry/geometry/gfx_param_traits.o
> [11817/27825] CXX obj/ui/gfx/gfx/render_text_harfbuzz.o
> [11818/27825] CXX obj/ui/gfx/gfx/render_text.o
> ninja: build stopped: subcommand failed.
> debian/rules:92: recipe for target 'override_dh_auto_build-arch' failed
> make[1]: *** [override_dh_auto_build-arch] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/07/19/chromium-browser_59.0.3071.104-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-chromium-maint mailing list