Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 385745

Summary: www-client/chromium-16.0.899.0 pulse_output.cc:287:40: error: ‘Bind’ is not a member of ‘base’
Product: Gentoo Linux Reporter: Kamen Dokov <polidevk.polidevk>
Component: Current packagesAssignee: Chromium Project <chromium>
Status: RESOLVED UPSTREAM    
Severity: normal CC: chris, guillaume.ramelet, mads, matrix47, mike, naota, tsdh
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: http://code.google.com/p/chromium/issues/detail?id=99222
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Kamen Dokov 2011-10-05 15:22:56 UTC
Compilation of www-client/chromium-16.0.899.0 fails with:

 x86_64-pc-linux-gnu-g++ '-DNO_HEAPCHECKER' '-DDISABLE_NACL' '-DCHROMIUM_BUILD' '-DTOOLKIT_USES_GTK=1' '-DENABLE_REMOTING=1' '-DENABLE_P2P_APIS=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_CONFIGURATION_POLICY' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DUSE_SKIA=1' '-DENABLE_REGISTER_PROTOCOL_HANDLER=1' '-DMEDIA_IMPLEMENTATION' '-DUSE_PULSEAUDIO' '-D__STDC_CONSTANT_MACROS' '-D__OMX_EXPORTS' '-DU_USING_ICU_NAMESPACE=0' '-DUSE_SYSTEM_ICU' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -I. -Iout/Release/obj/gen/ffmpeg -Ithird_party/ffmpeg/config -Ithird_party/ffmpeg/patched-ffmpeg -Ithird_party/openmax/il -Iout/Release/obj/gen/openmax -pthread -fno-exceptions -Wall -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -pipe -fPIC -fno-strict-aliasing -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -D_REENTRANT -DQT_SHARED -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -MMD -MF out/Release/.deps/out/Release/obj.target/media/media/audio/linux/pulse_output.o.d.raw -march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear -fvisibility-inlines-hidden -c -o out/Release/obj.target/media/media/audio/linux/pulse_output.o media/audio/linux/pulse_output.cc
media/audio/linux/pulse_output.cc: In member function ‘void PulseAudioOutputStream::WaitForWriteRequest()’:
media/audio/linux/pulse_output.cc:287:40: error: ‘Bind’ is not a member of ‘base’
media/audio/linux/pulse_output.cc: In member function ‘void PulseAudioOutputStream::FulfillWriteRequest(size_t)’:
media/audio/linux/pulse_output.cc:347:40: error: ‘Bind’ is not a member of ‘base’
media/audio/linux/pulse_output.cc:353:40: error: ‘Bind’ is not a member of ‘base’
media/audio/linux/pulse_output.cc: In member function ‘virtual void PulseAudioOutputStream::Start(AudioOutputStream::AudioSourceCallback*)’:
media/audio/linux/pulse_output.cc:389:38: error: ‘Bind’ is not a member of ‘base’
media/audio/linux/pulse_output.cc: In function ‘pa_channel_position ChromiumToPAChannelPosition(Channels)’:
media/audio/linux/pulse_output.cc:71:1: warning: control reaches end of non-void function
make: *** [out/Release/obj.target/media/media/audio/linux/pulse_output.o] Error 1
emake failed



Reproducible: Always

Steps to Reproduce:
1.emerge -1 www-client/chromium-16.0.899.0
2.
3.
Actual Results:  
media/audio/linux/pulse_output.cc:71:1: warning: control reaches end of non-void function
make: *** [out/Release/obj.target/media/media/audio/linux/pulse_output.o] Error 1
emake failed


Expected Results:  
To compile and install fine ;)

emerge --info '=www-client/chromium-16.0.899.0'

Portage 2.2.0_alpha39_p20 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 2.6.39.1-zen-00003-g6d6d304 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.39.1-zen-00003-g6d6d304-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-2.1
Timestamp of tree: Wed, 05 Oct 2011 12:30:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r3
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo repo_name-seti
Installed sets: @kde, @koffice
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/config/kdm/ /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org http://mirrors.ludost.net/gentoo/ ftp://mirrors.ludost.net/gentoo/ http://gentoo.osuosl.org http://mirror.gentoo.no/ http://gentoo.ynet.sk/pub http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="bg_BG.UTF-8"
LC_ALL="bg_BG.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 bash-completion bitmap-fonts bluray branding cairo cdr cli consolekit cracklib crypt cups dbus dri dvd dvdr dvdread encode esd evo exceptions fam fortran gcj gdbm gif gpm handbook html iconv ipv6 isdnlog jpeg kde4 ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ocamlopt ogg opengl openmp oss pam pcre pdf png policykit pppd pulseaudio python qt3support qt4 quicktime readline reflection sdl session spell spl sqlite sse sse2 sse3 ssl ssse3 svg tcpd threads tiff truetype truetype-fonts type1-fonts udev udisks unicode upower vorbis xcomposite xml xorg xv zeroconf zlib zsh-completion" ALSA_CARDS="hda-nvidia hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling status substitute unique_id userdir usertrack version vhost_alias cgid cgi" APACHE2_MPMS="worker" CAMERAS="ptp2 canon" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech clientdebug earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 navcom nmea ntrip oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar timing tnt tripmate tsip ubx" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


emerge -pqv '=www-client/chromium-16.0.899.0'

[ebuild     U ] www-client/chromium-16.0.899.0 [16.0.891.0] USE="chromedriver cups kerberos pulseaudio -bindist -gnome -gnome-keyring -test" LINGUAS="-am -ar -bg -bn -ca -cs -da -de -el -en_GB -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW"
Comment 1 Kamen Dokov 2011-10-05 15:26:23 UTC
Created attachment 288867 [details]
build.log
Comment 2 Sergey Dulko 2011-10-05 18:12:47 UTC
Same here...
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-10-05 18:16:27 UTC
Please report upstream and post the link here.
Comment 4 Kamen Dokov 2011-10-05 19:23:07 UTC
(In reply to comment #3)
> Please report upstream and post the link here.

Ok here it is:


http://code.google.com/p/chromium/issues/detail?id=99222

Is it ok?
Comment 5 Mads 2011-10-06 10:56:15 UTC
Same with chromium-9999-r1 revision 104176 (tested just now).
Comment 6 Mike Gilbert gentoo-dev 2011-10-06 13:39:22 UTC
Warnings don't cause compile failures. Updated summary.
Comment 7 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-10-06 22:49:07 UTC
Not a blocker. Hey, this is hard masked, breakages are expected.
Comment 8 Mike Lothian 2011-10-08 09:44:39 UTC
I can confirm adding the line '#include "base/bind.h"' to pulse_output.cc fixes this for me