Page MenuHomePhabricator

efl C++ examples fail to build
Closed, ResolvedPublic

Description

Likely caused by running make install-examples DESTDIR=%{buildroot}

[ 2613s] g++ -DHAVE_CONFIG_H -I. -I../..  -I. -I../../src/bindings -I../../src/bindings -I../../src/lib/efl/interfaces -I../../src/lib/evas/canvas -I../../src/lib/evas/gesture -I../../src/bindings/cxx/eina_cxx -I../../src/bindings/cxx/eina_cxx -I../../src/bindings/cxx/eo_cxx -I../../src/bindings/cxx/eo_cxx -I../../src/bindings/cxx/eldbus_cxx -I../../src/bindings/cxx/eldbus_cxx -I../../src/bindings/cxx/ecore_cxx -I../../src/bindings/cxx/ecore_cxx -I../../src/lib/ecore -I../../src/lib/ecore -I../../src/lib/ecore_audio -I../../src/lib/ecore_audio -I../../src/lib/ecore_avahi -I../../src/lib/ecore_avahi -I../../src/lib/ecore_buffer -I../../src/lib/ecore_buffer -I../../src/lib/ecore_cocoa -I../../src/lib/ecore_cocoa -I../../src/lib/ecore_con -I../../src/lib/ecore_con -I../../src/lib/ecore_drm -I../../src/lib/ecore_drm -I../../src/lib/ecore_drm2 -I../../src/lib/ecore_drm2 -I../../src/lib/ecore_evas -I../../src/lib/ecore_evas -I../../src/lib/ecore_fb -I../../src/lib/ecore_fb -I../../src/lib/ecore_file -I../../src/lib/ecore_file -I../../src/lib/ecore_imf -I../../src/lib/ecore_imf -I../../src/lib/ecore_imf_evas -I../../src/lib/ecore_imf_evas -I../../src/lib/ecore_input -I../../src/lib/ecore_input -I../../src/lib/ecore_input_evas -I../../src/lib/ecore_input_evas -I../../src/lib/ecore_ipc -I../../src/lib/ecore_ipc -I../../src/lib/ecore_sdl -I../../src/lib/ecore_sdl -I../../src/lib/ecore_wayland -I../../src/lib/ecore_wayland -I../../src/lib/ecore_win32 -I../../src/lib/ecore_win32 -I../../src/lib/ecore_wl2 -I../../src/lib/ecore_wl2 -I../../src/lib/ecore_x -I../../src/lib/ecore_x -I../../src/lib/ector -I../../src/lib/ector -I../../src/lib/edje -I../../src/lib/edje -I../../src/lib/eet -I../../src/lib/eet -I../../src/lib/eeze -I../../src/lib/eeze -I../../src/lib/efl -I../../src/lib/efl -I../../src/lib/efl_mono -I../../src/lib/efl_mono -I../../src/lib/efl_wl -I../../src/lib/efl_wl -I../../src/lib/efreet -I../../src/lib/efreet -I../../src/lib/eina -I../../src/lib/eina -I../../src/lib/eio -I../../src/lib/eio -I../../src/lib/eldbus -I../../src/lib/eldbus -I../../src/lib/elementary -I../../src/lib/elementary -I../../src/lib/elocation -I../../src/lib/elocation -I../../src/lib/elput -I../../src/lib/elput -I../../src/lib/elua -I../../src/lib/elua -I../../src/lib/embryo -I../../src/lib/embryo -I../../src/lib/emile -I../../src/lib/emile -I../../src/lib/emotion -I../../src/lib/emotion -I../../src/lib/eo -I../../src/lib/eo -I../../src/lib/eolian -I../../src/lib/eolian -I../../src/lib/eolian_cxx -I../../src/lib/eolian_cxx -I../../src/lib/ephysics -I../../src/lib/ephysics -I../../src/lib/escape -I../../src/lib/escape -I../../src/lib/ethumb -I../../src/lib/ethumb -I../../src/lib/ethumb_client -I../../src/lib/ethumb_client -I../../src/lib/evas -I../../src/lib/evas -DPACKAGE_BIN_DIR=\"/usr/bin\" -DPACKAGE_LIB_DIR=\"/usr/lib64\"    -Wall -Wextra -Wpointer-arith -Wno-missing-field-initializers -fvisibility=hidden -fdata-sections -ffunction-sections -I/usr/include/libxkbcommon -I/usr/include/wayland -I/usr/include/libdrm -I../../src/lib/elementary -I../../src/lib/elementary -I../../src/bindings/cxx/elementary -I../../src/bindings/elementary  -I../../src/lib/eina -I../../src/lib/eina -I../../src/lib/emile -I../../src/lib/emile -I../../src/lib/eet -I../../src/lib/eet -I../../src/lib/eo -I../../src/lib/eo -I../../src/lib/efl -I../../src/lib/efl -I../../src/lib/evas -I../../src/lib/evas -I../../src/lib/ecore -I../../src/lib/ecore -I../../src/lib/ecore_evas -I../../src/lib/ecore_evas -I../../src/lib/ecore_file -I../../src/lib/ecore_file -I../../src/lib/ecore_input -I../../src/lib/ecore_input -I../../src/lib/edje -I../../src/lib/edje -I../../src/lib/ethumb -I../../src/lib/ethumb -I../../src/lib/ethumb_client -I../../src/lib/ethumb_client -I../../src/lib/emotion -I../../src/lib/emotion -I../../src/lib/ecore_imf -I../../src/lib/ecore_imf -I../../src/lib/ecore_con -I../../src/lib/ecore_con -I../../src/lib/eldbus -I../../src/lib/eldbus -I../../src/lib/efreet -I../../src/lib/efreet -I../../src/lib/efreet -I../../src/lib/efreet -I../../src/lib/efreet -I../../src/lib/efreet -I../../src/lib/eio -I../../src/lib/eio -I../../src/lib/elocation -I../../src/lib/elocation -I../../src/lib/ecore_x -I../../src/lib/ecore_x -I../../src/lib/ecore_fb -I../../src/lib/ecore_fb -I../../src/lib/ecore_drm2 -I../../src/lib/ecore_drm2 -I../../src/lib/ecore_wl2 -I../../src/lib/ecore_wl2 -I../../src/lib/eeze -I../../src/lib/eeze -DEFL_BUILD=1   -I. -I../../src/bindings -I../../src/bindings -I../../src/lib/efl/interfaces -I../../src/lib/evas/canvas -I../../src/lib/evas/gesture -I../../src/bindings/cxx/eina_cxx -I../../src/bindings/cxx/eina_cxx -I../../src/bindings/cxx/eo_cxx -I../../src/bindings/cxx/eo_cxx -I../../src/bindings/cxx/eldbus_cxx -I../../src/bindings/cxx/eldbus_cxx -I../../src/bindings/cxx/ecore_cxx -I../../src/bindings/cxx/ecore_cxx -I../../src/lib/ecore -I../../src/lib/ecore -I../../src/lib/ecore_audio -I../../src/lib/ecore_audio -I../../src/lib/ecore_avahi -I../../src/lib/ecore_avahi -I../../src/lib/ecore_buffer -I../../src/lib/ecore_buffer -I../../src/lib/ecore_cocoa -I../../src/lib/ecore_cocoa -I../../src/lib/ecore_con -I../../src/lib/ecore_con -I../../src/lib/ecore_drm -I../../src/lib/ecore_drm -I../../src/lib/ecore_drm2 -I../../src/lib/ecore_drm2 -I../../src/lib/ecore_evas -I../../src/lib/ecore_evas -I../../src/lib/ecore_fb -I../../src/lib/ecore_fb -I../../src/lib/ecore_file -I../../src/lib/ecore_file -I../../src/lib/ecore_imf -I../../src/lib/ecore_imf -I../../src/lib/ecore_imf_evas -I../../src/lib/ecore_imf_evas -I../../src/lib/ecore_input -I../../src/lib/ecore_input -I../../src/lib/ecore_input_evas -I../../src/lib/ecore_input_evas -I../../src/lib/ecore_ipc -I../../src/lib/ecore_ipc -I../../src/lib/ecore_sdl -I../../src/lib/ecore_sdl -I../../src/lib/ecore_wayland -I../../src/lib/ecore_wayland -I../../src/lib/ecore_win32 -I../../src/lib/ecore_win32 -I../../src/lib/ecore_wl2 -I../../src/lib/ecore_wl2 -I../../src/lib/ecore_x -I../../src/lib/ecore_x -I../../src/lib/ector -I../../src/lib/ector -I../../src/lib/edje -I../../src/lib/edje -I../../src/lib/eet -I../../src/lib/eet -I../../src/lib/eeze -I../../src/lib/eeze -I../../src/lib/efl -I../../src/lib/efl -I../../src/lib/efl_mono -I../../src/lib/efl_mono -I../../src/lib/efl_wl -I../../src/lib/efl_wl -I../../src/lib/efreet -I../../src/lib/efreet -I../../src/lib/eina -I../../src/lib/eina -I../../src/lib/eio -I../../src/lib/eio -I../../src/lib/eldbus -I../../src/lib/eldbus -I../../src/lib/elementary -I../../src/lib/elementary -I../../src/lib/elocation -I../../src/lib/elocation -I../../src/lib/elput -I../../src/lib/elput -I../../src/lib/elua -I../../src/lib/elua -I../../src/lib/embryo -I../../src/lib/embryo -I../../src/lib/emile -I../../src/lib/emile -I../../src/lib/emotion -I../../src/lib/emotion -I../../src/lib/eo -I../../src/lib/eo -I../../src/lib/eolian -I../../src/lib/eolian -I../../src/lib/eolian_cxx -I../../src/lib/eolian_cxx -I../../src/lib/ephysics -I../../src/lib/ephysics -I../../src/lib/escape -I../../src/lib/escape -I../../src/lib/ethumb -I../../src/lib/ethumb -I../../src/lib/ethumb_client -I../../src/lib/ethumb_client -I../../src/lib/evas -I../../src/lib/evas -DPACKAGE_BIN_DIR=\"/usr/bin\" -DPACKAGE_LIB_DIR=\"/usr/lib64\"    -Wall -Wextra -Wpointer-arith -Wno-missing-field-initializers -fvisibility=hidden -fdata-sections -ffunction-sections -I/usr/include/libxkbcommon -I/usr/include/wayland -I/usr/include/libdrm -I../../src/lib/elementary -I../../src/lib/elementary -I../../src/bindings/cxx/elementary -I../../src/bindings/elementary  -I../../src/lib/eina -I../../src/lib/eina -I../../src/lib/emile -I../../src/lib/emile -I../../src/lib/eet -I../../src/lib/eet -I../../src/lib/eo -I../../src/lib/eo -I../../src/lib/efl -I../../src/lib/efl -I../../src/lib/evas -I../../src/lib/evas -I../../src/lib/ecore -I../../src/lib/ecore -I../../src/lib/ecore_evas -I../../src/lib/ecore_evas -I../../src/lib/ecore_file -I../../src/lib/ecore_file -I../../src/lib/ecore_input -I../../src/lib/ecore_input -I../../src/lib/edje -I../../src/lib/edje -I../../src/lib/ethumb -I../../src/lib/ethumb -I../../src/lib/ethumb_client -I../../src/lib/ethumb_client -I../../src/lib/emotion -I../../src/lib/emotion -I../../src/lib/ecore_imf -I../../src/lib/ecore_imf -I../../src/lib/ecore_con -I../../src/lib/ecore_con -I../../src/lib/eldbus -I../../src/lib/eldbus -I../../src/lib/efreet -I../../src/lib/efreet -I../../src/lib/efreet -I../../src/lib/efreet -I../../src/lib/efreet -I../../src/lib/efreet -I../../src/lib/eio -I../../src/lib/eio -I../../src/lib/elocation -I../../src/lib/elocation -I../../src/lib/ecore_x -I../../src/lib/ecore_x -I../../src/lib/ecore_fb -I../../src/lib/ecore_fb -I../../src/lib/ecore_drm2 -I../../src/lib/ecore_drm2 -I../../src/lib/ecore_wl2 -I../../src/lib/ecore_wl2 -I../../src/lib/eeze -I../../src/lib/eeze -DEFL_BUILD=1  -Wall -Wextra -Wpointer-arith -Wno-missing-field-initializers -fvisibility=hidden -fdata-sections -ffunction-sections  -I../../src/lib/elementary_cxx -I../../src/lib/elementary_cxx -I../../src/bindings/cxx/elementary_cxx -I../../src/bindings/elementary_cxx  -I../../src/lib/eina_cxx -I../../src/lib/eina_cxx -I../../src/lib/eet_cxx -I../../src/lib/eet_cxx -I../../src/lib/ecore_cxx -I../../src/lib/ecore_cxx -I../../src/lib/ecore -I../../src/lib/ecore -I../../src/lib/eina -I../../src/lib/eina -I../../src/lib/eo -I../../src/lib/eo -I../../src/lib/efl -I../../src/lib/efl -I../../src/lib/elementary -I../../src/lib/elementary  -DEFL_BUILD=1 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Wno-shadow -fPIC -DPIC -c -o elementary/calendar_cxx_example_02.o elementary/calendar_cxx_example_02.cc
[ 2622s] In file included from ../../src/lib/efl/Efl.eo.hh:149,
[ 2622s]                  from ../../src/lib/efl/Efl.hh:9,
[ 2622s]                  from ../../src/lib/elementary/Elementary.hh:14,
[ 2622s]                  from elementary/calendar_cxx_example_02.cc:3:
[ 2622s] ../../src/lib/efl/interfaces/efl_ui_format.eo.impl.hh: In instantiation of 'efl::eolian::return_traits<void>::type eo_cxx::efl::ui::Format::format_cb_set(F) const [with F = std::_Bind<appData::create()::<lambda(efl::eina::strbuf_wrapper&, const efl::eina::value_view&)>(std::_Placeholder<1>, std::_Placeholder<2>)>; efl::eolian::return_traits<void>::type = void]':
[ 2622s] elementary/calendar_cxx_example_02.cc:39:29:   required from here
[ 2622s] ../../src/lib/efl/interfaces/efl_ui_format.eo.impl.hh:37:20: error: invalid use of incomplete type 'struct efl::eolian::function_wrapper<void (*)(void*, _Eina_Strbuf*, _Eina_Value), std::_Bind<appData::create()::<lambda(efl::eina::strbuf_wrapper&, const efl::eina::value_view&)>(std::_Placeholder<1>, std::_Placeholder<2>)>, void>'
[ 2622s]      auto fw_func = new ::efl::eolian::function_wrapper<Efl_Ui_Format_Func_Cb, F>(func);
[ 2622s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 2622s] In file included from ../../src/bindings/cxx/eo_cxx/Eo.hh:11,
[ 2622s]                  from ../../src/lib/efl/Efl.hh:8,
[ 2622s]                  from ../../src/lib/elementary/Elementary.hh:14,
[ 2622s]                  from elementary/calendar_cxx_example_02.cc:3:
[ 2622s] ../../src/bindings/cxx/eo_cxx/eo_cxx_interop.hh:286:59: note: declaration of 'struct efl::eolian::function_wrapper<void (*)(void*, _Eina_Strbuf*, _Eina_Value), std::_Bind<appData::create()::<lambda(efl::eina::strbuf_wrapper&, const efl::eina::value_view&)>(std::_Placeholder<1>, std::_Placeholder<2>)>, void>'
[ 2622s]  template <typename U, typename F, typename V=void> struct function_wrapper;
[ 2622s] ^~~~~~~~~~~~~~~~
[ 2623s] make[2]: *** [Makefile:23444: elementary/calendar_cxx_example_02.o] Error 1
simotek created this task.Apr 14 2019, 4:09 PM

This is old enough to still use autotools. :-) @simotek are you still seeing this? For me the c++ examples build fine. Ple

stefan_schmidt closed this task as Resolved.Apr 20 2020, 4:28 AM
stefan_schmidt claimed this task.

Please re-open if you still see this problem.