Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Apr 2012 20:59:26 GMT
From:      PortsAvenger <bowlapplefork@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/167402: chromium doesn't build WITH_PULSEAUDIO, looks like
Message-ID:  <201204282059.q3SKxQeA043064@red.freebsd.org>
Resent-Message-ID: <201204282100.q3SL0QDk057136@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         167402
>Category:       ports
>Synopsis:       chromium doesn't build WITH_PULSEAUDIO, looks like
>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:   Sat Apr 28 21:00:26 UTC 2012
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204282059.q3SKxQeA043064>