Summary: | games-strategy/wesnoth-1.16.9 - .../work/wesnoth-1.16.9/src/color_range.cpp:24: [...] /usr/include/boost/functional.hpp:45:24: error: no member named 'unary_function' in namespace 'std' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ernsteiswuerfel <erhard_f> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
build.log
emerge --info |
Created attachment 865768 [details]
emerge --info
wesnoth-1.17.20 (latest as of now) seems to be building fine on MUSL LLVM profile. Feel free to close this one. Thanks for the hint! Yes, wesnoth-1.17.20 builds fine but as it is not keyworded yet it's too early for closing this bug. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e739646df9f27c7dbef2408916d00ad386441526 commit e739646df9f27c7dbef2408916d00ad386441526 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2024-05-07 19:03:26 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2024-05-07 19:03:26 +0000 games-strategy/wesnoth: add 1.18.0 Closes: https://bugs.gentoo.org/871567 Closes: https://bugs.gentoo.org/894696 Closes: https://bugs.gentoo.org/906996 Closes: https://bugs.gentoo.org/910521 Closes: https://bugs.gentoo.org/920061 Signed-off-by: Pacho Ramos <pacho@gentoo.org> games-strategy/wesnoth/Manifest | 1 + games-strategy/wesnoth/wesnoth-1.18.0.ebuild | 102 +++++++++++++++++++++++++++ 2 files changed, 103 insertions(+) |
Created attachment 865767 [details] build.log Builds fine with clang-15 but fails with clang-16. [...] [28/591] /usr/lib/llvm/16/bin/clang++ -DFIFODIR=\"/var/run/wesnothd\" -DHAS_RELATIVE_LOCALEDIR=1 -DHAVE_CONFIG_H -DHAVE_HISTORY -DHAVE_LIBDBUS -DLOCALEDIR=\"translations\" -DLUA_USE_POSIX -DWESNOTH_PATH=\"/usr/share/wesnoth\" -D_FORTIFY_SOURCE=2 -D_X11 -I/var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src -I/var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9_build/src -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/pango-1.0 -isystem /usr/lib/libffi/include -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/uuid -isystem /usr/include/json-c -isystem /usr/include/fribidi -isystem /usr/include/cairo -isystem /usr/include/libpng16 -isystem /usr/include/pixman-1 -isystem /usr/include/dbus-1.0 -isystem /usr/lib/dbus-1.0/include -isystem /usr/include/SDL2 -isystem /usr/include/opus -Wall -Wextra -Werror=non-virtual-dtor -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wold-style-cast -Wtrampolines -Qunused-arguments -Wno-unknown-warning-option -Wmismatched-tags -Wno-conditional-uninitialized -Wno-unused-lambda-capture -O2 -march=x86-64-v2 -pipe -fPIE -fstack-protector-strong -std=c++17 -I/usr/include/SDL2 -D_REENTRANT -MD -MT src/CMakeFiles/wesnoth-common.dir/color.cpp.o -MF src/CMakeFiles/wesnoth-common.dir/color.cpp.o.d -o src/CMakeFiles/wesnoth-common.dir/color.cpp.o -c /var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src/color.cpp [29/591] /usr/lib/llvm/16/bin/clang++ -DFIFODIR=\"/var/run/wesnothd\" -DHAS_RELATIVE_LOCALEDIR=1 -DHAVE_CONFIG_H -DHAVE_HISTORY -DHAVE_LIBDBUS -DLOCALEDIR=\"translations\" -DLUA_USE_POSIX -DWESNOTH_PATH=\"/usr/share/wesnoth\" -D_FORTIFY_SOURCE=2 -D_X11 -I/var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src -I/var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9_build/src -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/pango-1.0 -isystem /usr/lib/libffi/include -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/uuid -isystem /usr/include/json-c -isystem /usr/include/fribidi -isystem /usr/include/cairo -isystem /usr/include/libpng16 -isystem /usr/include/pixman-1 -isystem /usr/include/dbus-1.0 -isystem /usr/lib/dbus-1.0/include -isystem /usr/include/SDL2 -isystem /usr/include/opus -Wall -Wextra -Werror=non-virtual-dtor -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wold-style-cast -Wtrampolines -Qunused-arguments -Wno-unknown-warning-option -Wmismatched-tags -Wno-conditional-uninitialized -Wno-unused-lambda-capture -O2 -march=x86-64-v2 -pipe -fPIE -fstack-protector-strong -std=c++17 -I/usr/include/SDL2 -D_REENTRANT -MD -MT src/CMakeFiles/wesnoth-common.dir/color_range.cpp.o -MF src/CMakeFiles/wesnoth-common.dir/color_range.cpp.o.d -o src/CMakeFiles/wesnoth-common.dir/color_range.cpp.o -c /var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src/color_range.cpp FAILED: src/CMakeFiles/wesnoth-common.dir/color_range.cpp.o /usr/lib/llvm/16/bin/clang++ -DFIFODIR=\"/var/run/wesnothd\" -DHAS_RELATIVE_LOCALEDIR=1 -DHAVE_CONFIG_H -DHAVE_HISTORY -DHAVE_LIBDBUS -DLOCALEDIR=\"translations\" -DLUA_USE_POSIX -DWESNOTH_PATH=\"/usr/share/wesnoth\" -D_FORTIFY_SOURCE=2 -D_X11 -I/var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src -I/var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9_build/src -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/pango-1.0 -isystem /usr/lib/libffi/include -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/uuid -isystem /usr/include/json-c -isystem /usr/include/fribidi -isystem /usr/include/cairo -isystem /usr/include/libpng16 -isystem /usr/include/pixman-1 -isystem /usr/include/dbus-1.0 -isystem /usr/lib/dbus-1.0/include -isystem /usr/include/SDL2 -isystem /usr/include/opus -Wall -Wextra -Werror=non-virtual-dtor -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wold-style-cast -Wtrampolines -Qunused-arguments -Wno-unknown-warning-option -Wmismatched-tags -Wno-conditional-uninitialized -Wno-unused-lambda-capture -O2 -march=x86-64-v2 -pipe -fPIE -fstack-protector-strong -std=c++17 -I/usr/include/SDL2 -D_REENTRANT -MD -MT src/CMakeFiles/wesnoth-common.dir/color_range.cpp.o -MF src/CMakeFiles/wesnoth-common.dir/color_range.cpp.o.d -o src/CMakeFiles/wesnoth-common.dir/color_range.cpp.o -c /var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src/color_range.cpp In file included from /var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src/color_range.cpp:24: In file included from /var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src/map/map.hpp:21: In file included from /var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src/terrain/translation.hpp:24: In file included from /usr/include/boost/multi_array.hpp:34: In file included from /usr/include/boost/multi_array/multi_array_ref.hpp:32: /usr/include/boost/functional.hpp:45:24: error: no member named 'unary_function' in namespace 'std'; did you mean '__unary_function'? using std::unary_function; ~~~~~^ /usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; ^ In file included from /var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src/color_range.cpp:24: In file included from /var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src/map/map.hpp:21: In file included from /var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src/terrain/translation.hpp:24: In file included from /usr/include/boost/multi_array.hpp:34: In file included from /usr/include/boost/multi_array/multi_array_ref.hpp:32: /usr/include/boost/functional.hpp:46:24: error: no member named 'binary_function' in namespace 'std'; did you mean '__binary_function'? using std::binary_function; ~~~~~^ /usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>; ^ In file included from /var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src/color_range.cpp:24: In file included from /var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src/map/map.hpp:21: In file included from /var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src/terrain/translation.hpp:24: In file included from /usr/include/boost/multi_array.hpp:34: In file included from /usr/include/boost/multi_array/multi_array_ref.hpp:32: /usr/include/boost/functional.hpp:180:45: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'? : public boost::functional::detail::unary_function<typename unary_traits<Predicate>::argument_type,bool> ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/functional.hpp:45:24: note: '__unary_function' declared here using std::unary_function; ^ /usr/include/boost/functional.hpp:214:45: error: no template named 'binary_function' in namespace 'boost::functional::detail'; did you mean '__binary_function'? : public boost::functional::detail::binary_function< ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/functional.hpp:46:24: note: '__binary_function' declared here using std::binary_function; ^ /usr/include/boost/functional.hpp:252:45: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'? : public boost::functional::detail::unary_function< ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/functional.hpp:45:24: note: '__unary_function' declared here using std::unary_function; ^ /usr/include/boost/functional.hpp:299:45: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'? : public boost::functional::detail::unary_function< ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/functional.hpp:45:24: note: '__unary_function' declared here using std::unary_function; ^ /usr/include/boost/functional.hpp:345:57: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'? class mem_fun_t : public boost::functional::detail::unary_function<T*, S> ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/functional.hpp:45:24: note: '__unary_function' declared here using std::unary_function; ^ /usr/include/boost/functional.hpp:361:58: error: no template named 'binary_function' in namespace 'boost::functional::detail'; did you mean '__binary_function'? class mem_fun1_t : public boost::functional::detail::binary_function<T*, A, S> ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/functional.hpp:46:24: note: '__binary_function' declared here using std::binary_function; ^ /usr/include/boost/functional.hpp:377:63: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'? class const_mem_fun_t : public boost::functional::detail::unary_function<const T*, S> ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/functional.hpp:45:24: note: '__unary_function' declared here using std::unary_function; ^ /usr/include/boost/functional.hpp:393:64: error: no template named 'binary_function' in namespace 'boost::functional::detail'; did you mean '__binary_function'? class const_mem_fun1_t : public boost::functional::detail::binary_function<const T*, A, S> ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/functional.hpp:46:24: note: '__binary_function' declared here using std::binary_function; ^ /usr/include/boost/functional.hpp:438:61: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'? class mem_fun_ref_t : public boost::functional::detail::unary_function<T&, S> ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/functional.hpp:45:24: note: '__unary_function' declared here using std::unary_function; ^ /usr/include/boost/functional.hpp:454:62: error: no template named 'binary_function' in namespace 'boost::functional::detail'; did you mean '__binary_function'? class mem_fun1_ref_t : public boost::functional::detail::binary_function<T&, A, S> ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/functional.hpp:46:24: note: '__binary_function' declared here using std::binary_function; ^ /usr/include/boost/functional.hpp:470:67: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'? class const_mem_fun_ref_t : public boost::functional::detail::unary_function<const T&, S> ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/functional.hpp:45:24: note: '__unary_function' declared here using std::unary_function; ^ /usr/include/boost/functional.hpp:487:68: error: no template named 'binary_function' in namespace 'boost::functional::detail'; did you mean '__binary_function'? class const_mem_fun1_ref_t : public boost::functional::detail::binary_function<const T&, A, S> ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/functional.hpp:46:24: note: '__binary_function' declared here using std::binary_function; ^ /usr/include/boost/functional.hpp:533:73: error: no template named 'unary_function' in namespace 'boost::functional::detail'; did you mean '__unary_function'? class pointer_to_unary_function : public boost::functional::detail::unary_function<Arg,Result> ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/functional.hpp:45:24: note: '__unary_function' declared here using std::unary_function; ^ /usr/include/boost/functional.hpp:557:74: error: no template named 'binary_function' in namespace 'boost::functional::detail'; did you mean '__binary_function'? class pointer_to_binary_function : public boost::functional::detail::binary_function<Arg1,Arg2,Result> ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/include/boost/functional.hpp:46:24: note: '__binary_function' declared here using std::binary_function; ^ 16 errors generated. ninja: build stopped: subcommand failed. * ERROR: games-strategy/wesnoth-1.16.9::gentoo failed (compile phase):