From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 9 19:20:01 2013 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 ESMTP id 5A9BDC84 for ; Fri, 9 Aug 2013 19:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3423B2C0E for ; Fri, 9 Aug 2013 19:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r79JK1aA063515 for ; Fri, 9 Aug 2013 19:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r79JK1uE063514; Fri, 9 Aug 2013 19:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 9 Aug 2013 19:20:01 GMT Resent-Message-Id: <201308091920.r79JK1uE063514@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, Christoph Moench-Tegeder Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 57DAFA6D for ; Fri, 9 Aug 2013 19:11:30 +0000 (UTC) (envelope-from cmt@elch.exwg.net) Received: from smtp.burggraben.net (base.exwg.net [IPv6:2a01:4f8:140:50a2::2]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DB5722BB4 for ; Fri, 9 Aug 2013 19:11:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id EB8536003CC for ; Fri, 9 Aug 2013 21:11:27 +0200 (CEST) Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D8QT+Cp-uZmu for ; Fri, 9 Aug 2013 21:11:26 +0200 (CEST) Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7b43:1:6a05:caff:fe01:aae9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS for ; Fri, 9 Aug 2013 21:11:26 +0200 (CEST) Received: by elch.exwg.net (Postfix, from userid 1000) id BBC3030AF6; Fri, 9 Aug 2013 21:11:25 +0200 (CEST) Message-Id: <20130809191125.BBC3030AF6@elch.exwg.net> Date: Fri, 9 Aug 2013 21:11:25 +0200 (CEST) From: Christoph Moench-Tegeder To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/181169: www/firefox build fails with webrtc and pulseaudio X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Christoph Moench-Tegeder List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Aug 2013 19:20:01 -0000 >Number: 181169 >Category: ports >Synopsis: www/firefox build fails with webrtc and pulseaudio >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 09 19:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Christoph Moench-Tegeder >Release: FreeBSD 9.2-RC1 amd64 >Organization: >Environment: System: FreeBSD elch.exwg.net 9.2-RC1 FreeBSD 9.2-RC1 #7 r253915: Sun Aug 4 14:43:05 CEST 2013 cmt@elch.exwg.net:/usr/obj/usr/src/sys/ELCH amd64 www/firefox firefox-23.0,1 cmt@elch:firefox$ make showconfig ===> The following configuration options are available for firefox-23.0,1: DBUS=on: D-Bus IPC system support DEBUG=off: Install debug symbols GCONF=on: GConf configuration backend support GIO=on: GIO for file I/O GNOMEUI=on: libgnomeui support module GNOMEVFS2=on: GnomeVFS2 (virtual file system) support GSTREAMER=on: Multimedia support via GStreamer LIBPROXY=on: Proxy support via libproxy LOGGING=off: Additional log messages OPTIMIZED_CFLAGS=on: Use extra compiler optimizations PGO=off: Use Profile-Guided Optimization WEBRTC=on: Web Real-Time Communication ====> Options available for the single AUDIO: you have to select exactly one of them ALSA=off: ALSA audio architecture support PULSEAUDIO=on: PulseAudio sound server support ===> Use 'make config' to modify these settings >Description: build fails, error message (requires some digging): /usr/ports/www/firefox/work/mozilla-release/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_pulse_linux.cc:82:5: error: initializer 'sample_rate_hz_' does not name a non-static data member or base class; did you mean the member 'sampling_rate_hz'? sample_rate_hz_(0), ^~~~~~~~~~~~~~~ sampling_rate_hz /usr/ports/www/firefox/work/mozilla-release/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_pulse_linux.h:313:19: note: 'sampling_rate_hz' declared here WebRtc_Word32 sampling_rate_hz; ^ >How-To-Repeat: use config as above (webrtc + pulseaudio) this looks like a merging error at mozilla. >Fix: use the attached patch as /usr/ports/www/firefox/files/patch-media-webrtc-trunk-webrtc-modules-audio_device-linux-audio_device_pulse_linux.h . I reported this issue upstream at https://bugzilla.mozilla.org/show_bug.cgi?id=903549 Patch: --- media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_pulse_linux.h.orig 2013-08-09 20:23:23.000000000 +0200 +++ media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_pulse_linux.h 2013-08-09 20:23:47.000000000 +0200 @@ -310,7 +310,7 @@ bool _inputDeviceIsSpecified; bool _outputDeviceIsSpecified; - WebRtc_Word32 sampling_rate_hz; + WebRtc_Word32 sample_rate_hz_; WebRtc_UWord8 _recChannels; WebRtc_UWord8 _playChannels; Regards, Christoph >Release-Note: >Audit-Trail: >Unformatted: