build fails (with pulseaudio enabled)

Team Govs team at govs.lv
Tue Apr 3 18:47:06 UTC 2012


> > 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.





More information about the freebsd-chromium mailing list