From nobody@FreeBSD.org  Sat Apr 28 20:59:26 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 82B8F106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Apr 2012 20:59:26 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 6E71F8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Apr 2012 20:59:26 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3SKxQXp043065
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Apr 2012 20:59:26 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q3SKxQeA043064;
	Sat, 28 Apr 2012 20:59:26 GMT
	(envelope-from nobody)
Message-Id: <201204282059.q3SKxQeA043064@red.freebsd.org>
Date: Sat, 28 Apr 2012 20:59:26 GMT
From: PortsAvenger <bowlapplefork@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: chromium doesn't build WITH_PULSEAUDIO, looks like
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         167402
>Category:       ports
>Synopsis:       www/chromium doesn't build WITH_PULSEAUDIO, looks like
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-chromium
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 28 21:00:26 UTC 2012
>Closed-Date:    Mon Apr 30 11:20:54 UTC 2012
>Last-Modified:  Mon Apr 30 11:20:54 UTC 2012
>Originator:     PortsAvenger
>Release:        9-stable
>Organization:
>Environment:
FreeBSD bogushost3 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat Apr 28 15:35:45 EDT 2012     root@bogushost3:/var/tmp/obj/usr/src/sys/ARL9VOSTRO  i386

>Description:
Haven't been able to build chromium for months with the following options:

# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for chromium-18.0.1025.162
_OPTIONS_READ=chromium-18.0.1025.162
WITH_CODECS=true
WITH_GCONF=true
WITH_PULSEAUDIO=true
WITH_CLANG=true
WITHOUT_GCC46=true
WITHOUT_DEBUG=true
~

(also with: WITHOUT_NOUVEAU and WITH_CUPS enabled )

I've been trying to build it with gcc46, but thought a clang build would work.  Sure doesn't.

The part of the build where it conks out:

  CXX(target) out/Release/obj.target/media/media/audio/audio_util.o
  CXX(target) out/Release/obj.target/media/media/audio/fake_audio_input_stream.o
  CXX(target) out/Release/obj.target/media/media/audio/fake_audio_output_stream.o
  CXX(target) out/Release/obj.target/media/media/audio/linux/audio_manager_linux.o
  CXX(target) out/Release/obj.target/media/media/audio/linux/alsa_input.o
  CXX(target) out/Release/obj.target/media/media/audio/linux/alsa_output.o
  CXX(target) out/Release/obj.target/media/media/audio/linux/alsa_util.o
  CXX(target) out/Release/obj.target/media/media/audio/linux/alsa_wrapper.o
  CXX(target) out/Release/obj.target/media/media/audio/pulse/pulse_output.o
  CXX(target) out/Release/obj.target/media/media/audio/simple_sources.o
In file included from media/audio/pulse/pulse_output.cc:5:
In file included from ./media/audio/pulse/pulse_output.h:25:
In file included from ./base/memory/weak_ptr.h:63:
./base/logging.h:555:26: error: invalid operands to binary expression ('const scoped_refptr<base::MessageLoopProxy>' and
      'MessageLoop *')
DEFINE_CHECK_OP_IMPL(EQ, ==)
~~~~~~~~~~~~~~~~~~~~~~~~~^~~
./base/logging.h:548:12: note: expanded from:
    if (v1 op v2) return NULL; \
        ~~ ^  ~~
media/audio/pulse/pulse_output.cc:129:3: note: in instantiation of function template specialization
      'logging::CheckEQImpl<scoped_refptr<base::MessageLoopProxy>, MessageLoop *>' requested here
  DCHECK_EQ(stream->manager_->GetMessageLoop(), MessageLoop::current());
  ^
./base/logging.h:744:31: note: expanded from:
#define DCHECK_EQ(val1, val2) DCHECK_OP(EQ, ==, val1, val2)
                              ^
./base/logging.h:719:9: note: expanded from:
        logging::Check##name##Impl((val1), (val2),              \
        ^
./base/memory/scoped_ptr.h:224:6: note: candidate template ignored: failed template argument deduction
bool operator==(C* p1, const scoped_ptr<C>& p2) {
     ^
./base/memory/scoped_ptr.h:336:6: note: candidate template ignored: failed template argument deduction
bool operator==(C* p1, const scoped_array<C>& p2) {
     ^
./base/memory/scoped_ptr.h:462:6: note: candidate template ignored: failed template argument deduction
bool operator==(C* p, const scoped_ptr_malloc<C, FP>& b) {
     ^
1 error generated.
gmake: *** [out/Release/obj.target/media/media/audio/pulse/pulse_output.o] Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 1

Stop in /usr/ports/www/chromium.
*** Error code 1

Stop in /usr/ports/www/chromium.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20120428-4646-1krqeoo-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=chromium-17.0.963.83 UPGRADE_PORT_VER=17.0.963.83 make WITHOUT_NOUVEAU=hellyes WITH_CUPS=yes
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! www/chromium (chromium-17.0.963.83)	(unknown build error)

And no, portupgrade isn't the problem.
>How-To-Repeat:

>Fix:
Back out the last few updates to the chromium port.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-chromium 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Apr 28 23:17:44 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167402 
State-Changed-From-To: open->closed 
State-Changed-By: rene 
State-Changed-When: Mon Apr 30 11:16:41 UTC 2012 
State-Changed-Why:  
Closed, the provided suggestion is both ambigious (how many revisions) and 
bogus because any earlier version of chromium has security problems. 

The patch at http://code.google.com/p/chromium/issues/detail?id=111392  
which was mentioned in the freebsd-chromium@ mailing list at 
http://lists.freebsd.org/pipermail/freebsd-chromium/2012-April/000396.html 
is under test. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167402 
>Unformatted:
