Error buiding branch 4183 on Ubuntu 20

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Error buiding branch 4183 on Ubuntu 20

Postby edgardog » Mon Sep 14, 2020 8:14 am

Hi, I'm trying to build branch 4183 on Ubuntu 20.
This is a clean freshly installed Ubuntu 20. I ran the install-deps script...
I'm using:
Code: Select all
export CEF_USE_GN=1
export GYP_DEFINES='buildtype=Official branding=Chrome'
export GN_DEFINES="is_official_build=true use_gconf=false ffmpeg_branding=Chrome proprietary_codecs=true remove_webcore_debug_symbols=true is_debug=false use_sysroot=true symbol_level=1"
python automate-git.py --download-dir=/media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef4183 --branch=4183 --x64-build --force-update --no-debug-build --force-config --force-clean --force-clean-deps --build-target=cefsimple


I starts building and fails on about [29589/41733].
I re-ran ninja -C out/Release_GN_x64 cefsimple chrome_sandbox
and got the following...

Code: Select all
ninja: Entering directory `out/Release_GN_x64'
[16/12136] CXX obj/content/browser/browser/render_frame_proxy_host.o
FAILED: obj/content/browser/browser/render_frame_proxy_host.o
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/content/browser/browser/render_frame_proxy_host.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"n356902-4e813bbd-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -DCR_LIBCXX_REVISION=375504 -DCR_SYSROOT_HASH=d6879d611f3dcf3da8dd92e080029394aa30bc42 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DCONTENT_IMPLEMENTATION -DV8_USE_EXTERNAL_STARTUP_DATA -DATK_LIB_DIR=\"/usr/lib/x86_64-linux-gnu\" -DUSE_ATK_BRIDGE -DATSPI_MAJOR_VERSION=2 -DATSPI_MINOR_VERSION=34 -DATSPI_MICRO_VERSION=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DWEBP_EXTERN=extern -DVK_USE_PLATFORM_XCB_KHR -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DTOOLKIT_VIEWS=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DVK_USE_PLATFORM_XCB_KHR -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_BUILTIN_ISAC_FIX=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT=1 -DWEBRTC_USE_X11 -DHAVE_SCTP -DNO_MAIN_THREAD_WRAPPING -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DI18N_ADDRESS_VALIDATION_DATA_URL=\"https://chromium-i18n.appspot.com/ssl-aggregate-address/\" -DSQLITE_OMIT_ANALYZE -DSQLITE_OMIT_AUTOINIT -DSQLITE_OMIT_AUTORESET -DSQLITE_OMIT_COMPILEOPTION_DIAGS -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_EXPLAIN -DSQLITE_OMIT_GET_TABLE -DSQLITE_DEFAULT_LOOKASIDE=0,0 -DSQLITE_OMIT_LOOKASIDE -DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_REINDEX -DSQLITE_OMIT_TRACE -DSQLITE_OMIT_UPSERT -DSQLITE_OMIT_WINDOWFUNC -DSQLITE_ENABLE_FTS3 -DSQLITE_DISABLE_FTS3_UNICODE -DSQLITE_DISABLE_FTS4_DEFERRED -DSQLITE_ENABLE_ICU -DSQLITE_SECURE_DELETE -DSQLITE_THREADSAFE=1 -DSQLITE_MAX_WORKER_THREADS=0 -DSQLITE_MAX_MMAP_SIZE=268435456 -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600 -DSQLITE_DEFAULT_MEMSTATUS=1 -DSQLITE_DEFAULT_PAGE_SIZE=4096 -DSQLITE_DEFAULT_PCACHE_INITSZ=0 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_USE_ALLOCA -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_HAVE_ISNAN -DSQLITE_ENABLE_BATCH_ATOMIC_WRITE -DSQLITE_TEMP_STORE=3 -DSQLITE_ENABLE_LOCKING_STYLE=0 -DPERFETTO_IMPLEMENTATION -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DFLAC__NO_DLL -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../third_party/libwebp/src -I../../third_party/vulkan_headers/include -I../../third_party/libyuv/include -I../../third_party/jsoncpp/source/include -I../../third_party/jsoncpp/generated -I../../third_party/khronos -I../../gpu -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/ced/src -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -I../../third_party/protobuf/src -I../../third_party/skia -I../../third_party/libgifcodec -I../../third_party/vulkan/include -I../../third_party/vulkan_headers/include -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/non_mac -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/zlib -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/abseil-cpp -I../../third_party/libwebm/source -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -I../../third_party/mesa_headers -Igen/third_party/metrics_proto -I../../third_party/libaddressinput/src/cpp/include -I../../third_party/perfetto -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../v8/include -Igen/v8/include -I../../third_party/angle/src/common/third_party/base -Igen/angle -I../../third_party/angle/include -I../../third_party/brotli/include -I../../third_party/re2/src -I../../third_party/fontconfig/src -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -fcomplete-member-pointers -m64 -march=x86-64 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Werror -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g1 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-blacklist=../../tools/cfi/blacklist.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wshadow -Wexit-time-destructors -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/atk-1.0 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/at-spi2-atk/2.0 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/at-spi-2.0 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/dbus-1.0 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu/dbus-1.0/include -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/glib-2.0 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/at-spi-2.0 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/dbus-1.0 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu/dbus-1.0/include -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/glib-2.0 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/glib-2.0 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/pango-1.0 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/harfbuzz -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/pango-1.0 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/fribidi -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/cairo -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/glib-2.0 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/pixman-1 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/uuid -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/libpng16 -Wno-shorten-64-to-32 -Wno-header-guard -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/nss -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/nspr -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/dbus-1.0 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu/dbus-1.0/include -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include --sysroot=../../build/linux/debian_sid_amd64-sysroot -fvisibility-inlines-hidden -Wno-deprecated-declarations -c ../../content/browser/frame_host/render_frame_proxy_host.cc -o obj/content/browser/browser/render_frame_proxy_host.o
Killed


I'm moving away from Ubuntu 16 and decided to build on Ubuntu 20 first. Not sure if its supported, but I wanted to give it a try before using Ubuntu 18.

Do I need to revise my GN_DEFINES? Or maybe the arguments I pass to automate-git.py ?
edgardog
Expert
 
Posts: 111
Joined: Mon Feb 01, 2016 2:05 pm

Re: Error buiding branch 4183 on Ubuntu 20

Postby magreenblatt » Mon Sep 14, 2020 8:46 am

There’s not much to go on in that error message. The newest Ubuntu that I’ve built with is 18.
magreenblatt
Site Admin
 
Posts: 12384
Joined: Fri May 29, 2009 6:57 pm

Re: Error buiding branch 4183 on Ubuntu 20

Postby edgardog » Tue Sep 15, 2020 7:36 am

I tried to re run ninja using -j1 so it might give more details of the error building.
To my surprise it kept building.. I stopped it and ran again ninja (I guess it normally runs with -j8) and it finish.
I'm confused on why it did not fail again.. or why it failed originally.

I created the binary_distrib using the make_distrib script.

I don't have hopes this will work, but I tried building cefclient and got the following errors:

Code: Select all
 73%] Linking CXX static library libcef_dll_wrapper.a
[ 73%] Built target libcef_dll_wrapper
Scanning dependencies of target cefclient
[ 76%] Building CXX object tests/cefclient/CMakeFiles/cefclient.dir/browser/binding_test.cc.o
[ 76%] Building CXX object tests/cefclient/CMakeFiles/cefclient.dir/browser/bytes_write_handler.cc.o
[ 76%] Building CXX object tests/cefclient/CMakeFiles/cefclient.dir/browser/client_app_delegates_browser.cc.o
[ 76%] Building CXX object tests/cefclient/CMakeFiles/cefclient.dir/browser/client_handler.cc.o
[ 76%] Building CXX object tests/cefclient/CMakeFiles/cefclient.dir/browser/client_browser.cc.o
[ 76%] Building CXX object tests/cefclient/CMakeFiles/cefclient.dir/browser/browser_window.cc.o
[ 76%] Building CXX object tests/cefclient/CMakeFiles/cefclient.dir/browser/client_handler_osr.cc.o
[ 76%] Building CXX object tests/cefclient/CMakeFiles/cefclient.dir/browser/client_handler_std.cc.o
[ 78%] Building CXX object tests/cefclient/CMakeFiles/cefclient.dir/browser/dialog_test.cc.o
[ 78%] Building CXX object tests/cefclient/CMakeFiles/cefclient.dir/browser/drm_test.cc.o
[ 78%] Building CXX object tests/cefclient/CMakeFiles/cefclient.dir/browser/image_cache.cc.o
[ 79%] Building CXX object tests/cefclient/CMakeFiles/cefclient.dir/browser/main_context.cc.o
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler_osr.h:9,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler_osr.cc:5:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: error: ‘GTypeDebugFlags’ is deprecated [-Werror=deprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      |                                                                ^
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler_osr.h:9,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler_osr.cc:5:
/usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here
  685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36;
      |   ^~~~~~~~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/browser_window.h:11,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/browser_window.cc:5:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: error: ‘GTypeDebugFlags’ is deprecated [-Werror=deprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      |                                                                ^
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/browser_window.h:11,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/browser_window.cc:5:
/usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here
  685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36;
      |   ^~~~~~~~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler_std.h:9,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler_std.cc:5:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: error: ‘GTypeDebugFlags’ is deprecated [-Werror=deprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      |                                                                ^
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler_std.h:9,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler_std.cc:5:
/usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here
  685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36;
      |   ^~~~~~~~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.cc:5:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: error: ‘GTypeDebugFlags’ is deprecated [-Werror=deprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      |                                                                ^
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.cc:5:
/usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here
  685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36;
      |   ^~~~~~~~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/browser_window.h:11,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/browser_window.cc:5:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: error: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Werror=deprecated-declarations]
   73 |   GTimeVal last_popdown;
      |            ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/browser_window.h:11,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/browser_window.cc:5:
/usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
  545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
      |                          ^~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler_osr.h:9,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler_osr.cc:5:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: error: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Werror=deprecated-declarations]
   73 |   GTimeVal last_popdown;
      |            ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler_osr.h:9,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler_osr.cc:5:
/usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
  545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
      |                          ^~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler_std.h:9,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler_std.cc:5:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: error: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Werror=deprecated-declarations]
   73 |   GTimeVal last_popdown;
      |            ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler_std.h:9,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler_std.cc:5:
/usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
  545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
      |                          ^~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.cc:5:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: error: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Werror=deprecated-declarations]
   73 |   GTimeVal last_popdown;
      |            ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_handler.cc:5:
/usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
  545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
      |                          ^~~~~~~~
[ 79%] Building CXX object tests/cefclient/CMakeFiles/cefclient.dir/browser/main_context_impl.cc.o
cc1plus: error: unrecognized command line option ‘-Wno-undefined-var-template’ [-Werror]
cc1plus: all warnings being treated as errors
make[3]: *** [tests/cefclient/CMakeFiles/cefclient.dir/build.make:76: tests/cefclient/CMakeFiles/cefclient.dir/browser/browser_window.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1plus: error: unrecognized command line option ‘-Wno-undefined-var-template’ [-Werror]
cc1plus: all warnings being treated as errors
make[3]: *** [tests/cefclient/CMakeFiles/cefclient.dir/build.make:154: tests/cefclient/CMakeFiles/cefclient.dir/browser/client_handler_std.cc.o] Error 1
cc1plus: error: unrecognized command line option ‘-Wno-undefined-var-template’ [-Werror]
cc1plus: all warnings being treated as errors
make[3]: *** [tests/cefclient/CMakeFiles/cefclient.dir/build.make:141: tests/cefclient/CMakeFiles/cefclient.dir/browser/client_handler_osr.cc.o] Error 1
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/root_window.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/root_window_manager.h:15,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/main_context_impl.h:14,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/main_context_impl.cc:5:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: error: ‘GTypeDebugFlags’ is deprecated [-Werror=deprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      |                                                                ^
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/root_window.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/root_window_manager.h:15,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/main_context_impl.h:14,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/main_context_impl.cc:5:
/usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here
  685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36;
      |   ^~~~~~~~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/root_window.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/root_window_manager.h:15,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/main_context_impl.h:14,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/main_context_impl.cc:5:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: error: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Werror=deprecated-declarations]
   73 |   GTimeVal last_popdown;
      |            ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/client_types.h:12,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/root_window.h:16,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/root_window_manager.h:15,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/main_context_impl.h:14,
                 from /media/edgardog/2544f486-d797-45a8-ab09-6e092f7a0980/cefbuild/cef3/cef_binary_85.3.6+gacfac2f+chromium-85.0.4183.102_linux64/tests/cefclient/browser/main_context_impl.cc:5:
/usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
  545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
      |                          ^~~~~~~~
cc1plus: error: unrecognized command line option ‘-Wno-undefined-var-template’ [-Werror]
cc1plus: all warnings being treated as errors
make[3]: *** [tests/cefclient/CMakeFiles/cefclient.dir/build.make:219: tests/cefclient/CMakeFiles/cefclient.dir/browser/main_context_impl.cc.o] Error 1
cc1plus: error: unrecognized command line option ‘-Wno-undefined-var-template’ [-Werror]
cc1plus: all warnings being treated as errors
make[3]: *** [tests/cefclient/CMakeFiles/cefclient.dir/build.make:128: tests/cefclient/CMakeFiles/cefclient.dir/browser/client_handler.cc.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:287: tests/cefclient/CMakeFiles/cefclient.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:294: tests/cefclient/CMakeFiles/cefclient.dir/rule] Error 2
make: *** [Makefile:170: cefclient] Error 2



I see a bunch of glib/gtk errors.
Should I use_gtk3=true ?
I have not used that flag before... I'm trying to figure out what changes I will need to address moving into Ubuntu 18 (but trying ubuntu 20 first).

Best Regards!
edgardog
Expert
 
Posts: 111
Joined: Mon Feb 01, 2016 2:05 pm

Re: Error buiding branch 4183 on Ubuntu 20

Postby magreenblatt » Tue Sep 15, 2020 9:20 am

The gtk deprecation errors sound like https://bitbucket.org/chromiumembedded/ ... ecause-gtk
magreenblatt
Site Admin
 
Posts: 12384
Joined: Fri May 29, 2009 6:57 pm

Re: Error buiding branch 4183 on Ubuntu 20

Postby edgardog » Tue Sep 15, 2020 10:47 am

That worked.
I added the ADD_DEFINITIONS("-DGTK_DISABLE_DEPRECATED") to CMakeList.txt and finished building cefclient.
Works on Ubuntu 20 with that change..
I will be rebuilding it just to revise my steps and try to figure out why it failed building on the first time but worked when I ran it with ninja -j1 ...

Thanks for the help.
edgardog
Expert
 
Posts: 111
Joined: Mon Feb 01, 2016 2:05 pm

Re: Error buiding branch 4183 on Ubuntu 20

Postby magreenblatt » Tue Sep 15, 2020 10:53 am

Running with "-j1" will use a single process, whereas the default will scale based on your machine capabilities. Maybe something is killing the build if it uses too many resources?
magreenblatt
Site Admin
 
Posts: 12384
Joined: Fri May 29, 2009 6:57 pm

Re: Error buiding branch 4183 on Ubuntu 20

Postby edgardog » Tue Sep 15, 2020 11:06 am

might be that.. I ran it with -j1 because I wanted it to stop as soon as the error happened..while if its running with -j8 since its running several jobs it stops them slighty after the failure...
To my surprise it did not fail again.. since this is very weird I'll retry again using my cef build computer. This build I made on a spare unit to test if ubuntu 20 build was possible before updating the actual unit I plan to use to ubuntu 20.
Since it looks like its possible, I'll repeat my steps and test again.
Will keep you posted.

thanks again
edgardog
Expert
 
Posts: 111
Joined: Mon Feb 01, 2016 2:05 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 50 guests