From owner-freebsd-ports-bugs@freebsd.org Mon Jun 8 15:23:38 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 88D7333365B for ; Mon, 8 Jun 2020 15:23:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49gcTk37qJz3XRN for ; Mon, 8 Jun 2020 15:23:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6BB2C33365A; Mon, 8 Jun 2020 15:23:38 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B7773332DA for ; Mon, 8 Jun 2020 15:23:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49gcTk2DTNz3XGn for ; Mon, 8 Jun 2020 15:23:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 480F0263D6 for ; Mon, 8 Jun 2020 15:23:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 058FNcDx001061 for ; Mon, 8 Jun 2020 15:23:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 058FNcIp001060 for ports-bugs@FreeBSD.org; Mon, 8 Jun 2020 15:23:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 247085] devel/simgear compilation failure Date: Mon, 08 Jun 2020 15:23:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: russo@bogodyn.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: martymac@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2020 15:23:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247085 Bug ID: 247085 Summary: devel/simgear compilation failure Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: martymac@FreeBSD.org Reporter: russo@bogodyn.org Flags: maintainer-feedback?(martymac@FreeBSD.org) Assignee: martymac@FreeBSD.org On Freebsd 11.3 FreeBSD yyyy.zzz 11.3-STABLE FreeBSD 11.3-STABLE #1 r354399: Wed Nov 6 11:58:48 MST 2019 xxxx@yyyy.zzz:/usr/obj/usr/src/sys/GENERIC amd64 Simgear 2020.1.2 fails to compile with: FAILED: simgear/nasal/cppbind/CMakeFiles/test-simgear_nasal_cppbind-cppbind_misc.di= r/test/cppbind_test.cxx.o=20 /usr/bin/c++ -DHAVE_CONFIG_H -DHAVE_INTTYPES_H -Isimgear -I. -I/usr/ports/devel/simgear/work/simgear-2020.1.2/3rdparty/udns -I/usr/local/include -I/usr/ports/devel/simgear/work/simgear-2020.1.2 -O2 -= pipe -fstack-protector-strong -fno-strict-aliasing -stdlib=3Dlibc++ -Wall -fPIC -Wno-overloaded-virtual -Wno-redeclared-class-member -Wno-unused-local-type= defs -DBOOST_BIMAP_DISABLE_SERIALIZATION -O3 -msse2 -mfpmath=3Dsse -ftree-vecto= rize -ftree-slp-vectorize -std=3Dgnu++11 -MD -MT simgear/nasal/cppbind/CMakeFiles/test-simgear_nasal_cppbind-cppbind_misc.di= r/test/cppbind_test.cxx.o -MF simgear/nasal/cppbind/CMakeFiles/test-simgear_nasal_cppbind-cppbind_misc.di= r/test/cppbind_test.cxx.o.d -o simgear/nasal/cppbind/CMakeFiles/test-simgear_nasal_cppbind-cppbind_misc.di= r/test/cppbind_test.cxx.o -c /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx In file included from /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:6: /usr/local/include/simgear/nasal/cppbind/Ghost.hxx:173:7: error: static_ass= ert failed due to requirement 'is_strong_ref >::valu= e' "Ghost can only wrap shared pointer!" static_assert( ^ This is only the first of many error messages. Here's the whole failure: In file included from /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:6: /usr/local/include/simgear/nasal/cppbind/Ghost.hxx:173:7: error: static_ass= ert failed due to requirement 'is_strong_ref >::valu= e' "Ghost can only wrap shared pointer!" static_assert( ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:269:3: note: in instantiation of template class 'nasal::Ghost, void>' requested here Ghost::init("BasePtr") ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:269:19: error: use of undeclared identifier 'init'; did you mean 'int'? Ghost::init("BasePtr") ^ In file included from /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:6: /usr/local/include/simgear/nasal/cppbind/Ghost.hxx:173:7: error: static_ass= ert failed due to requirement 'is_strong_ref >::value' "Ghost can only wrap shared pointer!" static_assert( ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:286:3: note: in instantiation of template class 'nasal::Ghost, void>' requested here Ghost::init("DerivedPtr") ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:286:22: error: use of undeclared identifier 'init'; did you mean 'int'? Ghost::init("DerivedPtr") ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:287:12: error: unexpected type name 'BasePtr': expected expression .bases() ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:287:21: error: expected expression .bases() ^ In file included from /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:6: /usr/local/include/simgear/nasal/cppbind/Ghost.hxx:173:7: error: static_ass= ert failed due to requirement 'is_strong_ref >::value' "Ghost can only wrap shared pointer!" static_assert( ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:296:3: note: in instantiation of template class 'nasal::Ghost, void>' requested here Ghost::init("DoubleDerivedPtr") ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:296:28: error: use of undeclared identifier 'init'; did you mean 'int'? Ghost::init("DoubleDerivedPtr") ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:297:12: error: unexpected type name 'DerivedPtr': expected expression .bases(); ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:297:24: error: expected expression .bases(); ^ In file included from /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:6: /usr/local/include/simgear/nasal/cppbind/Ghost.hxx:173:7: error: static_ass= ert failed due to requirement 'is_strong_ref >::value' "Ghost can only wrap shared pointer!" static_assert( ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:298:3: note: in instantiation of template class 'nasal::Ghost, void>' requested here Ghost::init("DoubleDerived2Ptr") ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:298:29: error: use of undeclared identifier 'init'; did you mean 'int'? Ghost::init("DoubleDerived2Ptr") ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:299:31: error: expected '(' for function-style cast or type construction .bases< Ghost >() ~~~~~~~~~~~~~~~~~ ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:299:33: error: expected expression .bases< Ghost >() ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:320:34: error: no member named 'isInit' in 'nasal::Ghost, void>' BOOST_REQUIRE( Ghost::isInit() ); ~~~~~~~~~~~~~~~~^ /usr/local/include/boost/test/tools/old/interface.hpp:85:6: note: expanded = from macro 'BOOST_REQUIRE' (P), BOOST_TEST_STRINGIZE( P ), REQUIRE, CHECK_PRED, _ ) ^ /usr/local/include/boost/test/tools/old/interface.hpp:68:61: note: expanded from macro 'BOOST_TEST_TOOL_IMPL' BOOST_JOIN( BOOST_TEST_TOOL_PASS_PRED, frwd_type )( P, ARGS ),=20= =20=20=20=20=20=20=20=20 \ ^ /usr/local/include/boost/test/tools/old/interface.hpp:51:47: note: expanded from macro 'BOOST_TEST_TOOL_PASS_PRED2' #define BOOST_TEST_TOOL_PASS_PRED2( P, ARGS ) P ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:403:44: error: no member named 'makeGhost' in 'nasal::Ghost, void>' nasal_objects.push_back( Ghost::makeGhost(c, d) ); ~~~~~~~~~~~~~~~~^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:404:44: error: no member named 'makeGhost' in 'nasal::Ghost, void>' nasal_objects.push_back( Ghost::makeGhost(c, d2) ); ~~~~~~~~~~~~~~~~^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:405:44: error: no member named 'makeGhost' in 'nasal::Ghost, void>' nasal_objects.push_back( Ghost::makeGhost(c, d3) ); ~~~~~~~~~~~~~~~~^ In file included from /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:4: In file included from /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/T= estContext.hxx:23: In file included from /usr/local/include/simgear/nasal/cppbind/NasalContext.hxx:125: /usr/local/include/simgear/nasal/cppbind/from_nasal.hxx:46:12: error: no vi= able conversion from returned value of type 'void' to function return type 'std::__1::function' return from_nasal_helper(c, ref, static_cast(0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/simgear/nasal/cppbind/NasalHash.hxx:119:16: note: in instantiation of function template specialization 'nasal::from_nasal >' requested here return from_nasal(_context, get(name)); ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/nasal/cppbind/test/c= ppbind_test.cxx:243:26: note: in instantiation of function template specialization 'nasal::Hash::get, char [5]>' requested here FuncVoidInt fvi =3D hash.get("func"); ^ /usr/include/c++/v1/functional:2203:5: note: candidate constructor not viab= le: cannot convert argument of incomplete type 'void' to 'std::nullptr_t' (aka 'nullptr_t') for 1st argument function(nullptr_t) _NOEXCEPT {} ^ /usr/include/c++/v1/functional:2204:5: note: candidate constructor not viab= le: cannot convert argument of incomplete type 'void' to 'const std::__1::function &' for 1st argument function(const function&); ^ /usr/include/c++/v1/functional:2205:5: note: candidate constructor not viab= le: cannot convert argument of incomplete type 'void' to 'std::__1::function &&' for 1st argument function(function&&) _NOEXCEPT; ^ /usr/include/c++/v1/functional:2207:5: note: candidate template ignored: substitution failure [with _Fp =3D void]: cannot form a reference to 'void' function(_Fp); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] --=20 You are receiving this mail because: You are the assignee for the bug.=