Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Feb 2013 21:50:24 GMT
From:      fred portsbuilder <lankfordandrew@charter.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175972: chromium does not build with pulseaudio
Message-ID:  <201302082150.r18LoO4M048099@red.freebsd.org>
Resent-Message-ID: <201302082200.r18M004G079267@freefall.freebsd.org>

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

>Number:         175972
>Category:       ports
>Synopsis:       chromium does not build with pulseaudio
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 08 22:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     fred portsbuilder
>Release:        stable-9
>Organization:
>Environment:
FreeBSD bogushost3 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r244925M: Tue Jan  1 15:12:18 EST 2013     root@bogushost3:/var/tmp/obj/usr/src/sys/ARL9VOSTRO  i386

>Description:
The clang-compiled version of Chromium does not build, at least with the following options enabled:

# This file is auto-generated by 'make config'.
# Options for chromium-23.0.1271.97
_OPTIONS_READ=chromium-23.0.1271.97
_FILE_COMPLETE_OPTIONS_LIST=CLANG CODECS DEBUG GCONF PULSEAUDIO
OPTIONS_FILE_SET+=CLANG
OPTIONS_FILE_SET+=CODECS
OPTIONS_FILE_UNSET+=DEBUG
OPTIONS_FILE_SET+=GCONF
OPTIONS_FILE_SET+=PULSEAUDIO


Here is where compilation fails...

In file included from media/audio/pulse/pulse_output.cc:1:
media/audio/pulse/pulse_output.cc:89:28: error: use of undeclared identifier 'kChannelOrderings'; did you mean 'ChannelOrder'?
    int channel_position = kChannelOrderings[channel_layout][channel];
                           ^~~~~~~~~~~~~~~~~
                           ChannelOrder
./media/base/channel_layout.h:121:18: note: 'ChannelOrder' declared here
             int ChannelOrder(ChannelLayout layout, Channels channel);
                 ^
In file included from media/audio/pulse/pulse_output.cc:1:
media/audio/pulse/pulse_output.cc:89:45: error: type 'int (media::ChannelLayout, media::Channels)' does not provide a subscript operator
    int channel_position = kChannelOrderings[channel_layout][channel];
                           ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
2 errors generated.
gmake: *** [out/Release/obj.target/media/media/audio/pulse/pulse_output.o] Error 1
gmake: *** Waiting for unfinished jobs....
clang++: warning: argument unused during compilation: '-I third_party/icu/public/common'
clang++: warning: argument unused during compilation: '-I third_party/icu/public/i18n'
clang++: warning: argument unused during compilation: '-I .'
clang++: warning: argument unused during compilation: '-I net/third_party/nss/ssl'
clang++: warning: argument unused during compilation: '-I skia/config'
clang++: warning: argument unused during compilation: '-I third_party/skia/src/core'
clang++: warning: argument unused during compilation: '-I third_party/skia/include/config'
clang++: warning: argument unused during compilation: '-I third_party/skia/include/core'
clang++: warning: argument unused during compilation: '-I third_party/skia/include/effects'
clang++: warning: argument unused during compilation: '-I third_party/skia/include/pdf'
clang++: warning: argument unused during compilation: '-I third_party/skia/include/gpu'
clang++: warning: argument unused during compilation: '-I third_party/skia/include/gpu/gl'
clang++: warning: argument unused during compilation: '-I third_party/skia/include/pipe'
clang++: warning: argument unused during compilation: '-I third_party/skia/include/ports'
clang++: warning: argument unused during compilation: '-I third_party/skia/include/utils'
clang++: warning: argument unused during compilation: '-I skia/ext'
clang++: warning: argument unused during compilation: '-I out/Release/obj/gen/ffmpeg'
clang++: warning: argument unused during compilation: '-I third_party/ffmpeg/chromium/config/Chrome/linux/ia32'
clang++: warning: argument unused during compilation: '-I third_party/ffmpeg'
clang++: warning: argument unused during compilation: '-I /usr/local/include'
clang++: warning: argument unused during compilation: '-I /usr/local/include/glib-2.0'
clang++: warning: argument unused during compilation: '-I /usr/local/include'
clang++: warning: argument unused during compilation: '-I /usr/local/include/gtk-2.0'
clang++: warning: argument unused during compilation: '-I /usr/local/include/gio-unix-2.0/'
clang++: warning: argument unused during compilation: '-I /usr/local/include/atk-1.0'
clang++: warning: argument unused during compilation: '-I /usr/local/include/cairo'
clang++: warning: argument unused during compilation: '-I /usr/local/include/pixman-1'
clang++: warning: argument unused during compilation: '-I /usr/local/include/gdk-pixbuf-2.0'
clang++: warning: argument unused during compilation: '-I /usr/local/include/libpng15'
clang++: warning: argument unused during compilation: '-I /usr/local/include/pango-1.0'
clang++: warning: argument unused during compilation: '-I /usr/local/include/freetype2'
clang++: warning: argument unused during compilation: '-I /usr/local/include'
clang++: warning: argument unused during compilation: '-I /usr/local/include/glib-2.0'
clang++: warning: argument unused during compilation: '-I /usr/local/include/nss'
clang++: warning: argument unused during compilation: '-I /usr/local/include/nss/nss'
clang++: warning: argument unused during compilation: '-I /usr/local/include/nspr'
*** [do-build] Error code 1

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

Stop in /usr/ports/www/chromium.

>How-To-Repeat:
Build with the options indicated
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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