From owner-freebsd-ports-bugs@freebsd.org Fri Mar 6 19:48:27 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 F2F5926F905 for ; Fri, 6 Mar 2020 19:48:27 +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 48Yypg4wHCz40Yw for ; Fri, 6 Mar 2020 19:48:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5DBDB26F901; Fri, 6 Mar 2020 19:48:27 +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 5D31826F900 for ; Fri, 6 Mar 2020 19:48:27 +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) server-signature RSA-PSS (4096 bits) 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 48Yypf5WbJz40Wv for ; Fri, 6 Mar 2020 19:48:26 +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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 535D42532A for ; Fri, 6 Mar 2020 19:48:26 +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 026JmQOR050742 for ; Fri, 6 Mar 2020 19:48:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 026JmQug050741 for ports-bugs@FreeBSD.org; Fri, 6 Mar 2020 19:48:26 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 244645] biology/jellyfish Date: Fri, 06 Mar 2020 19:48:25 +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 Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jwb@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 blocked flagtypes.name attachments.created 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.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2020 19:48:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244645 Bug ID: 244645 Summary: biology/jellyfish Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: jwb@freebsd.org Reporter: dim@FreeBSD.org Blocks: 244251 Flags: maintainer-feedback?(jwb@freebsd.org) Assignee: jwb@freebsd.org Created attachment 212207 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D212207&action= =3Dedit Fix biology/jellyfish build with clang 10.0.0 As reported in bug 244251, with clang 10.0.0 the biology/jellyfish port runs into -Werror warnings: lib/jsoncpp.cpp:2303:74: error: implicit conversion from 'const Json::Int64' (aka 'const long long') to 'double' changes value from 9223372036854775807 = to 9223372036854775808 [-Werror,-Wimplicit-int-float-conversion] JSON_ASSERT_MESSAGE( value_.real_ >=3D minInt64 && value_.real_ <=3D maxInt64, "Real out of Int64 range" ); ~~ ^~~~~~~~ lib/jsoncpp.cpp:1566:58: note: expanded from macro 'JSON_ASSERT_MESSAGE' #define JSON_ASSERT_MESSAGE( condition, message ) if (!( condition )) JSON_FAIL_MESSAGE( message ) ^~~~~~~~~ lib/jsoncpp.cpp:2331:67: error: implicit conversion from 'const Json::UInt6= 4' (aka 'const unsigned long long') to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Werror,-Wimplicit-int-float-conversion] JSON_ASSERT_MESSAGE( value_.real_ >=3D 0 && value_.real_ <=3D maxUI= nt64,=20 "Real out of UInt64 range" ); ~~ ^~~~~~~~~ lib/jsoncpp.cpp:1566:58: note: expanded from macro 'JSON_ASSERT_MESSAGE' #define JSON_ASSERT_MESSAGE( condition, message ) if (!( condition )) JSON_FAIL_MESSAGE( message ) ^~~~~~~~~ This can be fixed by adding explicit casts. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244251 [Bug 244251] [exp-run] Against projects/clang1000-import branch --=20 You are receiving this mail because: You are the assignee for the bug.=