From owner-freebsd-ports-bugs@freebsd.org Thu May 17 17:05:57 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11A06ED6FA1 for ; Thu, 17 May 2018 17:05:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A21B66AD8A for ; Thu, 17 May 2018 17:05:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 62DFAED6FA0; Thu, 17 May 2018 17:05:56 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3B74FED6F9F for ; Thu, 17 May 2018 17:05:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C81E16AD89 for ; Thu, 17 May 2018 17:05:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2875813C92 for ; Thu, 17 May 2018 17:05:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w4HH5tIM032326 for ; Thu, 17 May 2018 17:05:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4HH5tpe032325 for ports-bugs@FreeBSD.org; Thu, 17 May 2018 17:05:55 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 228319] database/mongodb fails to build on 11.2-BETA1 Date: Thu, 17 May 2018 17:05:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: mgrooms@shrew.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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.26 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2018 17:05:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228319 --- Comment #1 from mgrooms@shrew.net --- Uggh, sorry. I was trying to fix two broken port builds and I mixed up the = info for the two. Let me try again. Makefile Diff ... --- Makefile.old 2018-05-17 11:52:01.482886000 -0500 +++ Makefile 2018-05-17 12:00:06.856907000 -0500 @@ -38,7 +38,7 @@ OPTIONS_DEFAULT=3DSSL TEST_DESC=3D Add support for running regression test -USES=3D cpe scons +USES=3D cpe compiler scons MAKE_ARGS=3D --prefix=3D${STAGEDIR}${PREFIX} --cc=3D${CC} --cxx=3D${CX= X} \ --use-system-pcre --use-system-snappy --use-system-v8 @@ -72,6 +72,14 @@ ALL_TARGET=3D core tools .endif +.include + +.if ${COMPILER_TYPE} =3D=3D clang +.if ${COMPILER_VERSION} >=3D 60 +CXXFLAGS+=3D -Wno-undefined-var-template -Wno-unused-private-field -Wno-unused-local-typedef -Wno-undefined-bool-conversion +.endif +.endif + post-patch: @${REINPLACE_CMD} 's/\["-O3"\]/"${CXXFLAGS}"/' \ ${WRKSRC}/SConstruct @@ -82,4 +90,4 @@ ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} ${TEST_TARGET} .endif -.include +.include Source code diff ( not sure how to make that conditional on clang 6.0 ) ... --- src/mongo/util/fail_point_registry.cpp.old 2018-05-17 12:03:41.9631780= 00 -0500 +++ src/mongo/util/fail_point_registry.cpp 2018-05-17 12:03:52.7640140= 00 -0500 @@ -53,7 +53,7 @@ } FailPoint* FailPointRegistry::getFailPoint(const string& name) const { - return mapFindWithDefault(_fpMap, name, reinterpret_cast(NULL)); + return mapFindWithDefault(_fpMap, name, static_cast(NULL)); } void FailPointRegistry::freeze() { --=20 You are receiving this mail because: You are the assignee for the bug.=