NetBSD Problem Report #53866

From dholland@netbsd.org  Mon Jan 14 05:59:50 2019
Return-Path: <dholland@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 7C0617A18B
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 14 Jan 2019 05:59:50 +0000 (UTC)
Message-Id: <20190114055950.30F1384D6C@mail.netbsd.org>
Date: Mon, 14 Jan 2019 05:59:50 +0000 (UTC)
From: dholland@NetBSD.org
Reply-To: dholland@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: games/wesnoth build failure
X-Send-Pr-Version: 3.95

>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

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.