pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53866: games/wesnoth build failure



>Number:         53866
>Category:       pkg
>Synopsis:       games/wesnoth build failure
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 14 06:00:00 +0000 2019
>Originator:     David A. Holland
>Release:        NetBSD 8.99.25 (20181103) pkgsrc 20190112
>Organization:
>Environment:
System: NetBSD valkyrie 8.99.25 NetBSD 8.99.25 (VALKYRIE) #27: Sun Nov  4 03:37:03 EST 2018  dholland@valkyrie:/usr/src/sys/arch/amd64/compile/VALKYRIE amd64
Architecture: x86_64
Machine: amd64
>Description:

games/wesnoth (1.14.5nb3) fails with boost problems:

   :
[ 98%] Building CXX object src/CMakeFiles/wesnoth-client.dir/units/types.cpp.o
/usr/pkgsrc/games/wesnoth/work/wesnoth-1.14.5/src/units/frame.cpp: In member function 'std::vector<std::basic_string<char> > frame_parsed_parameters::debug_strings() const':
/usr/pkgsrc/games/wesnoth/work/wesnoth-1.14.5/src/units/frame.cpp:463:64: error: cannot convert 'const boost::logic::tribool' to 'bool' for argument '1' to 'std::string utils::bool_string(bool)'
   v.emplace_back("auto_vflip=" + utils::bool_string(auto_vflip_));
                                                                ^
/usr/pkgsrc/games/wesnoth/work/wesnoth-1.14.5/src/units/frame.cpp:467:64: error: cannot convert 'const boost::logic::tribool' to 'bool' for argument '1' to 'std::string utils::bool_string(bool)'
   v.emplace_back("auto_hflip=" + utils::bool_string(auto_hflip_));
                                                                ^
/usr/pkgsrc/games/wesnoth/work/wesnoth-1.14.5/src/units/frame.cpp:471:70: error: cannot convert 'const boost::logic::tribool' to 'bool' for argument '1' to 'std::string utils::bool_string(bool)'
   v.emplace_back("primary_frame=" + utils::bool_string(primary_frame_));
                                                                      ^
/usr/pkgsrc/games/wesnoth/work/wesnoth-1.14.5/src/units/frame.cpp: In member function 'const frame_parameters unit_frame::merge_parameters(int, const frame_parameters&, const frame_parameters&) const':
/usr/pkgsrc/games/wesnoth/work/wesnoth-1.14.5/src/units/frame.cpp:775:103: error: cannot convert 'boost::logic::tribool' to 'const bool' in initialization
  const bool primary = result.primary_frame == true || boost::logic::indeterminate(result.primary_frame);
                                                                                                       ^
/usr/pkgsrc/games/wesnoth/work/wesnoth-1.14.5/src/units/frame.cpp:906:24: error: in argument to unary !
   result.auto_vflip = !primary;
                        ^~~~~~~


boost is 1.69.0.

>How-To-Repeat:
	make
>Fix:
	bell, book, and candle



Home | Main Index | Thread Index | Old Index