Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2012 21:47:02 +0300
From:      Team Govs <team@govs.lv>
To:        chromium@freebsd.org
Subject:   Re: build fails (with pulseaudio enabled)
Message-ID:  <20120403184702.GA1953@vps.govs.lv>
In-Reply-To: <CADL2u4iN1O95HGkpO2gi_zFi4-22ggRcyU=0x9ON1L0wk2uEMg@mail.gmail.com>
References:  <20120403101845.GA11349@vps.govs.lv> <CADL2u4iN1O95HGkpO2gi_zFi4-22ggRcyU=0x9ON1L0wk2uEMg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > Since update to 18.x, Chromium builds fails if PulseAudio is enabled. Both with GCC and Clang.
> >
> Do you have a log available?

Yeah, sorry for forgetting to include it before.
Here's Clang output (if outputfrom GCC is required, do not hesitate to ask):


===>  Building for chromium-18.0.1025.142
  ACTION Extracting last change to /usr/ports/www/chromium/work/chromium-courgette-redacted-18.0.1025.142/out/Release/obj/gen/build/LASTCHANGE out/Release/obj/gen/build/LASTCHANGE.always
  AR(target) out/Release/obj.target/v8/tools/gyp/libv8_snapshot.a
  ACTION Generating resources from /usr/ports/www/chromium/work/chromium-courgette-redacted-18.0.1025.142/out/Release/obj/gen/devtools/devtools_resources.grd out/Release/obj/gen/webkit/grit/devtools_resources.h
  AR(target) out/Release/obj.target/third_party/cacheinvalidation/libcacheinvalidation.a
  CXX(target) out/Release/obj.target/media/media/audio/pulse/pulse_output.o
  CXX(target) out/Release/obj.target/media/media/base/audio_decoder_config.o
  CXX(target) out/Release/obj.target/media/media/base/buffers.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) {
     ^
  CXX(target) out/Release/obj.target/media/media/base/byte_queue.o
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.






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