/usr/include/boost/bind.hpp: At global scope: /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’ 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ [1791/2219] /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -DWL_USE_GLVND -I/var/tmp/portage/games-strategy/widelands-0.20-r1/work/widelands-build20/src -Isrc -isystem /usr/include/SDL2 -isystem /usr/include/GL -march=native -ggdb3 -O2 -pipe -fdiagnostics-color -std=c++11 -fext-numeric-literals -DNDEBUG -DNOPARACHUTE -Wredundant-decls -Wall -Wpedantic -Wdeprecated-declarations -Wextra -Wformat -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-include-dirs -Wno-undef -Wold-style-cast -Woverlength-strings -Wpacked -Wpointer-arith -Wsign-promo -Wsync-nand -Wtrampolines -Wundef -Wunused -Wunused-macros -Werror=format-security -Werror=return-type -Werror=shadow -Werror=uninitialized -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/tool_set_terrain_options_menu.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/tool_set_terrain_options_menu.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/tool_set_terrain_options_menu.cc.o -c /var/tmp/portage/games-strategy/widelands-0.20-r1/work/widelands-build20/src/editor/ui_menus/tool_set_terrain_options_menu.cc FAILED: src/editor/CMakeFiles/editor.dir/ui_menus/tool_set_terrain_options_menu.cc.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -DWL_USE_GLVND -I/var/tmp/portage/games-strategy/widelands-0.20-r1/work/widelands-build20/src -Isrc -isystem /usr/include/SDL2 -isystem /usr/include/GL -march=native -ggdb3 -O2 -pipe -fdiagnostics-color -std=c++11 -fext-numeric-literals -DNDEBUG -DNOPARACHUTE -Wredundant-decls -Wall -Wpedantic -Wdeprecated-declarations -Wextra -Wformat -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-include-dirs -Wno-undef -Wold-style-cast -Woverlength-strings -Wpacked -Wpointer-arith -Wsign-promo -Wsync-nand -Wtrampolines -Wundef -Wunused -Wunused-macros -Werror=format-security -Werror=return-type -Werror=shadow -Werror=uninitialized -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/tool_set_terrain_options_menu.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/tool_set_terrain_options_menu.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/tool_set_terrain_options_menu.cc.o -c /var/tmp/portage/games-strategy/widelands-0.20-r1/work/widelands-build20/src/editor/ui_menus/tool_set_terrain_options_menu.cc In file included from /var/tmp/portage/games-strategy/widelands-0.20-r1/work/widelands-build20/src/editor/ui_menus/tool_set_terrain_options_menu.h:27, from /var/tmp/portage/games-strategy/widelands-0.20-r1/work/widelands-build20/src/editor/ui_menus/tool_set_terrain_options_menu.cc:20: /var/tmp/portage/games-strategy/widelands-0.20-r1/work/widelands-build20/src/editor/ui_menus/categorized_item_selection_menu.h: In constructor ‘CategorizedItemSelectionMenu<DescriptionType, ToolType>::CategorizedItemSelectionMenu(UI::Panel*, const DescriptionMaintainer<Widelands::EditorCategory>&, const DescriptionMaintainer<DescriptionType>&, std::function<UI::Checkbox*(UI::Panel*, const DescriptionType&)>, std::function<void()>, ToolType*)’: /var/tmp/portage/games-strategy/widelands-0.20-r1/work/widelands-build20/src/editor/ui_menus/categorized_item_selection_menu.h:127:88: error: ‘_1’ was not declared in this scope 127 | cb->changedto.connect(boost::bind(&CategorizedItemSelectionMenu::selected, this, i, _1)); Reproducible: Always
Created attachment 640552 [details] emerge --info
Created attachment 640554 [details] build.log
Created attachment 644528 [details, diff] patch builds with this patch upstream, the issues are fixed, but the commit diffs couldn't be applied to release, so i just made changes manually
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=030ea7d9d612e6effe3f833e5f7cba260be9452c commit 030ea7d9d612e6effe3f833e5f7cba260be9452c Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-06-14 22:13:28 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-06-14 22:13:28 +0000 games-strategy/widelands: Fix for boost 1.73 Closes: https://bugs.gentoo.org/724316 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: David Seifert <soap@gentoo.org> .../files/widelands-0.20-boost-1.73.patch | 22 ++++++++++++++++++++++ games-strategy/widelands/widelands-0.20-r1.ebuild | 5 +++-- 2 files changed, 25 insertions(+), 2 deletions(-)
*** Bug 724396 has been marked as a duplicate of this bug. ***