From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 23 13:20:02 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 289E3C1E for ; Fri, 23 May 2014 13:20:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F2EA22BED for ; Fri, 23 May 2014 13:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4NDK1rA044725 for ; Fri, 23 May 2014 13:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4NDK1wB044724; Fri, 23 May 2014 13:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 23 May 2014 13:20:01 GMT Resent-Message-Id: <201405231320.s4NDK1wB044724@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tsurutani Naoki Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D0576758 for ; Fri, 23 May 2014 13:11:52 +0000 (UTC) Received: from smtp-auth.kuins.kyoto-u.ac.jp (smtp-auth.kuins.kyoto-u.ac.jp [133.3.248.237]) by mx1.freebsd.org (Postfix) with ESMTP id 785BC2B74 for ; Fri, 23 May 2014 13:11:52 +0000 (UTC) Received: from smtp-auth.kuins.kyoto-u.ac.jp (smtp-auth.kuins.kyoto-u.ac.jp [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id BA8E32EC004; Fri, 23 May 2014 22:11:50 +0900 (JST) Received: from h120.65.226.10.32118.vlan.kuins.net (p17131-ipngn100401kyoto.kyoto.ocn.ne.jp [180.10.64.131]) by smtp-auth.kuins.kyoto-u.ac.jp (Postfix) with ESMTP id 86E252EC001; Fri, 23 May 2014 22:11:50 +0900 (JST) Received: from h120.65.226.10.32118.vlan.kuins.net (localhost [127.0.0.1]) by h120.65.226.10.32118.vlan.kuins.net (8.14.8/8.14.8/20071004-1) with ESMTP id s4NDBj6Y047521; Fri, 23 May 2014 22:11:45 +0900 (JST) (envelope-from turutani@h120.65.226.10.32118.vlan.kuins.net) Received: (from turutani@localhost) by h120.65.226.10.32118.vlan.kuins.net (8.14.8/8.14.8/Submit) id s4NDBiMt047517; Fri, 23 May 2014 22:11:44 +0900 (JST) (envelope-from turutani) Message-Id: <201405231311.s4NDBiMt047517@h120.65.226.10.32118.vlan.kuins.net> Date: Fri, 23 May 2014 22:11:44 +0900 (JST) From: Tsurutani Naoki Reply-To: Tsurutani Naoki To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/190140: building www/chromium fails Cc: turutani@scphys.kyoto-u.ac.jp X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2014 13:20:02 -0000 >Number: 190140 >Category: ports >Synopsis: building www/chromium fails >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 23 13:20:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Tsurutani Naoki >Release: FreeBSD 8.4-STABLE i386 >Organization: >Environment: System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 8.4-STABLE FreeBSD 8.4-STABLE #28 r266560: Fri May 23 07:38:29 JST 2014 turutani@h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386 >Description: building www/chromium fails. >How-To-Repeat: % make ... ../../media/cast/rtcp/rtcp.cc: In member function 'bool media::cast::Rtcp::RtpTimestampInSenderTime(int, uint32, base::TimeTicks*) const': ../../media/cast/rtcp/rtcp.cc:365:32: error: call of overloaded 'abs(int64&)' is ambiguous ../../media/cast/rtcp/rtcp.cc:365:32: note: candidates are: In file included from ../../base/memory/scoped_ptr.h:95:0, from ../../media/cast/rtcp/rtcp.h:15, from ../../media/cast/rtcp/rtcp.cc:5: /usr/local/lib/gcc47/gcc/i386-portbld-freebsd8.4/4.7.3/include-fixed/stdlib.h:100:6: note: int abs(int) In file included from /usr/local/lib/gcc47/include/c++/bits/stl_algo.h:61:0, from /usr/local/lib/gcc47/include/c++/algorithm:63, from ../../base/memory/scoped_ptr.h:97, from ../../media/cast/rtcp/rtcp.h:15, from ../../media/cast/rtcp/rtcp.cc:5: /usr/local/lib/gcc47/include/c++/cstdlib:140:3: note: long int std::abs(long int) At global scope: cc1plus: warning: unrecognized command line option "-Wno-unknown-warning" [enabled by default] [3/7497] CXX obj/media/cast/rtcp/cast_rtcp.sender_rtcp_event_subscriber.o ninja: build stopped: subcommand failed. ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop in /usr/ports/www/chromium. *** Error code 1 >Fix: new patch can solve this. --- media/cast/rtcp/rtcp.cc.orig 2014-05-15 04:23:34.000000000 +0900 +++ media/cast/rtcp/rtcp.cc 2014-05-23 20:04:07.000000000 +0900 @@ -362,7 +362,7 @@ int64 rtp_time_diff_ms = rtp_timestamp_diff / frequency_khz; // Sanity check. - if (std::abs(rtp_time_diff_ms) > kMaxDiffSinceReceivedRtcpMs) + if (std::labs(rtp_time_diff_ms) > kMaxDiffSinceReceivedRtcpMs) return false; *rtp_timestamp_in_ticks = ConvertNtpToTimeTicks(last_received_ntp_seconds_, >Release-Note: >Audit-Trail: >Unformatted: