Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2018 21:13:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230630] games/nxengine: fails to build with libc++ 7
Message-ID:  <bug-230630-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230630

            Bug ID: 230630
           Summary: games/nxengine: fails to build with libc++ 7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: lifanov@freebsd.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 230355
             Flags: maintainer-feedback?(lifanov@freebsd.org)
          Assignee: lifanov@freebsd.org

$ poudriere jail -cj clang7 -a amd64 -v projects/clang700-import -m svn+htt=
ps
$ poudriere testport -j clang7 games/nxengine
[...]
In file included from src/i18n/translate.cpp:2:
src/i18n/../common/json.hpp:1379:9: error: static_assert failed "could not =
find
from_json() method in T's namespace"
        static_assert(sizeof(BasicJsonType) =3D=3D 0,
        ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~
src/i18n/../common/json.hpp:1388:16: note: in instantiation of function
template specialization
'nlohmann::detail::from_json_fn::call<nlohmann::basic_json<std::map,
std::vector, std::__1::basic_string<char>, bool, long, unsigned long, doubl=
e,
std::allocator, adl_serializer>, std::__1::basic_string_view<char,
std::__1::char_traits<char> > >' requested here
        return call(j, val, priority_tag<1> {});
               ^
src/i18n/../common/json.hpp:6860:9: note: in instantiation of function temp=
late
specialization
'nlohmann::detail::from_json_fn::operator()<nlohmann::basic_json<std::map,
std::vector, std::__1::basic_string<char>, bool, long, unsigned long, doubl=
e,
std::allocator, adl_serializer>, std::__1::basic_string_view<char,
std::__1::char_traits<char> > >' requested here
        ::nlohmann::from_json(std::forward<BasicJsonType>(j), val);
        ^
src/i18n/../common/json.hpp:9579:36: note: in instantiation of function
template specialization
'nlohmann::adl_serializer<std::__1::basic_string_view<char,
std::__1::char_traits<char> >, void>::from_json<const
nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, b=
ool,
long, unsigned long, double, std::allocator, adl_serializer> &,
std::__1::basic_string_view<char, std::__1::char_traits<char> > >' requested
here
        JSONSerializer<ValueType>::from_json(*this, ret);
                                   ^
src/i18n/../common/json.hpp:9842:16: note: in instantiation of function
template specialization 'nlohmann::basic_json<std::map, std::vector,
std::__1::basic_string<char>, bool, long, unsigned long, double,
std::allocator, adl_serializer>::get<std::__1::basic_string_view<char,
std::__1::char_traits<char> >, std::__1::basic_string_view<char,
std::__1::char_traits<char> >, 0>' requested here
        return get<ValueType>();
               ^
/usr/include/c++/v1/string:875:29: note: in instantiation of function templ=
ate
specialization 'nlohmann::basic_json<std::map, std::vector,
std::__1::basic_string<char>, bool, long, unsigned long, double,
std::allocator, adl_serializer>::operator
basic_string_view<std::__1::basic_string_view<char, std::__1::char_traits<c=
har>
>, 0>' requested here
        {__self_view __sv =3D __t; return assign(__sv);}
                            ^
src/i18n/translate.cpp:22:34: note: in instantiation of function template
specialization 'std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >::operator=3D<nlohmann::basic_json<std::map,
std::vector, std::__1::basic_string<char>, bool, long, unsigned long, doubl=
e,
std::allocator, adl_serializer>, void>' requested here
            _strings[ it.key() ] =3D it.value();
                                 ^
1 error generated.

http://package18.nyi.freebsd.org/data/headamd64PR230355-default/2018-08-11_=
19h01m06s/logs/errors/nxengine-2.6.3_1.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230355
[Bug 230355] [exp-run] Against projects/clang700-import branch
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230630-7788>