Chromium live build fails with: make: *** No rule to make target `out/Release/obj.target/opus/third_party/opus/src/celt/bands.o', needed by `out/Release/obj.target/third_party/opus/libopus.a'. Stop. make: *** Waiting for unfinished jobs.... * ERROR: www-client/chromium-9999-r1 failed (compile phase): * emake failed I've attached a patch that makes it build again. Reproducible: Always Steps to Reproduce: 1. emerge www-client/chromium:live 2. 3. # emerge --info Portage 2.1.11.30 (default/linux/amd64/10.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r3, 3.7.0-rc2 x86_64) ================================================================= System uname: Linux-3.7.0-rc2-x86_64-AMD_Athlon-tm-_II_X3_445_Processor-with-gentoo-2.2 Timestamp of tree: Thu, 25 Oct 2012 23:00:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.8 [enabled] app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.12 dev-lang/python: 2.7.3-r2, 3.2.3-r1 dev-util/ccache: 3.1.8 dev-util/cmake: 2.8.9-r1 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.2 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.6, 1.12.4 sys-devel/binutils: 2.23 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo x-portage mozilla sunrise jxh mistafunk daks proaudio ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=amdfam10 -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="-j4 --load-average=2.85 --quiet n --quiet-build y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs candy ccache config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.ds.karen.hj.se/gentoo/" LANG="sv_SE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="sv en en_GB" MAKEOPTS="-j4 -l2.95" PKGDIR="/usr/portage/" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/mozilla /var/lib/layman/sunrise /var/lib/layman/jxh /var/lib/layman/mistafunk /var/lib/layman/daks /var/lib/layman/pro-audio" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdr cleartype cli colord consolekit corefonts cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam fbcondecor ffmpeg firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 hddtemp iconv icu ipv6 java javascript jpeg kerberos lcms ldap libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio qt3 qt3support qt4 readline sdl session smp socialweb spell sse sse2 ssl startup-notification svg tcpd tiff truetype type1 udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xcb xml xv xvid zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy proxy_ajp proxy_balancer proxy_ftp proxy_http proxy_scgi slotmem_shm" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="gensplash plymouth" ELIBC="glibc" FOO2ZJS_DEVICES="hp1018" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="sv en en_GB" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 327526 [details, diff] add "third_party/opus/*" path to ebuild
Fixed, we use the system opus library now.
Created attachment 328806 [details] Build log I have the following failure now when trying to emerge chromium-9999 (recursive inclusion of opus.h): x86_64-pc-linux-gnu-g++ '-D_FILE_OFFSET_BITS=64' '-DNO_TCMALLOC' '-DDISABLE_NACL' '-DREMOTING_HOST_LINUX_CLIPBOARD' '-DCHROMIUM_BUILD' '-DUSE_LIBJPEG_TURBO=1' '-DUSE_NSS=1' '-DENABLE_ONE_CLICK_SIGNIN' '-DG TK_DISABLE_SINGLE_INCLUDES=1' '-DENABLE_REMOTING=1' '-DENABLE_WEBRTC=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_PEPPER_THREADING' '-DENABLE_CONFIGURATION_POLICY' '-DENABLE_INPUT_SPEECH' '-DENABLE_NOTIFICATIONS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DUSE_SKIA=1' '-DENABLE_TASK_MANAGER=1' '-DENABLE_WEB_INTENTS=1' '-DENABLE_EXTENSIONS=1' '-DENABLE_PLUGIN_INSTALLATION=1' '-DENABLE_PROTECTOR_SERVICE=1' '-DENABLE_SES SION_SERVICE=1' '-DENABLE_THEMES=1' '-DENABLE_BACKGROUND=1' '-DENABLE_AUTOMATION=1' '-DENABLE_LANGUAGE_DETECTION=1' '-DENABLE_PRINTING=1' '-DENABLE_CAPTIVE_PORTAL_DETECTION=1' '-DU_USING_ICU_NAMESPACE=0' '-D USE_SYSTEM_ICU' '-DSK_BUILD_NO_IMAGE_ENCODE' '-DSK_DEFERRED_CANVAS_USES_GPIPE=1' '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' '-DGR_AGGRESSIVE_SHADER_OPTS=1' '-DSK_USE_POSIX_THREADS' '-DUSE_SYSTEM_LIB VPX' '-DUSE_SYSTEM_OPUS' '-DGOOGLE_PROTOBUF_NO_RTTI' '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' '-DUSE_SYSTEM_SPEEX' '-DFEATURE_ENABLE_SSL' '-DFEATURE_ENABLE_VOICEMAIL' '-DEXPAT_RELATIVE_PATH' '-DGTEST_RELATI VE_PATH' '-DJSONCPP_RELATIVE_PATH' '-DNO_MAIN_THREAD_WRAPPING' '-DNO_SOUND_SYSTEM' '-DLINUX' '-DPOSIX' '-D__STDC_CONSTANT_MACROS' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENAB LED=0' -I. -Iskia/config -Ithird_party/skia/src/core -Ithird_party/skia/include/config -Ithird_party/skia/include/core -Ithird_party/skia/include/effects -Ithird_party/skia/include/pdf -Ithird_party/skia/inc lude/gpu -Ithird_party/skia/include/gpu/gl -Ithird_party/skia/include/pipe -Ithird_party/skia/include/ports -Ithird_party/skia/include/utils -Iskia/ext -Ithird_party/protobuf -Ithird_party/protobuf/src -Ithird_party/libjingle/overrides -Ithird_party/libjingle/source -Itesting/gtest/include -Ithird_party -Ithird_party/webrtc -Ithird_party/jsoncpp/overrides/include -Ithird_party/jsoncpp/source/include -Iout/Release/obj/gen -Iout/Release/obj/gen/protoc_out -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/opus -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/remoting_base/remoting/codec/audio_encoder_opus.o.d.raw -O2 -pipe -march=native -ggdb -c -o out/Release/obj.target/remoting_base/remoting/codec/audio_encoder_opus.o remoting/codec/audio_encoder_opus.cc remoting/codec/audio_decoder_opus.cc: In member function ‘void remoting::AudioDecoderOpus::InitDecoder()’: remoting/codec/audio_decoder_opus.cc:41:66: error: ‘opus_decoder_create’ was not declared in this scope remoting/codec/audio_decoder_opus.cc: In member function ‘void remoting::AudioDecoderOpus::DestroyDecoder()’: remoting/codec/audio_decoder_opus.cc:49:34: error: ‘opus_decoder_destroy’ was not declared in this scope remoting/codec/audio_decoder_opus.cc: In member function ‘virtual scoped_ptr<remoting::AudioPacket> remoting::AudioDecoderOpus::Decode(scoped_ptr<remoting::AudioPacket>)’: remoting/codec/audio_decoder_opus.cc:120:62: error: ‘opus_decode’ was not declared in this scope make: *** [out/Release/obj.target/remoting_base/remoting/codec/audio_decoder_opus.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from third_party/opus/opus.h:9:0, from third_party/opus/opus.h:9, from third_party/opus/opus.h:9, from third_party/opus/opus.h:9, from third_party/opus/opus.h:9, from third_party/opus/opus.h:9, **** snip **** from third_party/opus/opus.h:9, from third_party/opus/opus.h:9, from third_party/opus/opus.h:9, from third_party/opus/opus.h:9, from third_party/opus/opus.h:9, from third_party/opus/opus.h:9, from third_party/opus/opus.h:9, from ./third_party/opus/opus.h:9, from remoting/codec/audio_encoder_opus.cc:12: third_party/opus/opus.h:9:23: error: #include nested too deeply remoting/codec/audio_encoder_opus.cc: In member function ‘void remoting::AudioEncoderOpus::InitEncoder()’: remoting/codec/audio_encoder_opus.cc:66:34: error: ‘OPUS_APPLICATION_AUDIO’ was not declared in this scope remoting/codec/audio_encoder_opus.cc:66:64: error: ‘opus_encoder_create’ was not declared in this scope remoting/codec/audio_encoder_opus.cc:72:64: error: ‘OPUS_SET_BITRATE’ was not declared in this scope remoting/codec/audio_encoder_opus.cc:72:65: error: ‘opus_encoder_ctl’ was not declared in this scope remoting/codec/audio_encoder_opus.cc: In member function ‘void remoting::AudioEncoderOpus::DestroyEncoder()’: remoting/codec/audio_encoder_opus.cc:98:34: error: ‘opus_encoder_destroy’ was not declared in this scope remoting/codec/audio_encoder_opus.cc: In member function ‘virtual scoped_ptr<remoting::AudioPacket> remoting::AudioEncoderOpus::Encode(scoped_ptr<remoting::AudioPacket>)’: remoting/codec/audio_encoder_opus.cc:202:52: error: ‘opus_encode’ was not declared in this scope make: *** [out/Release/obj.target/remoting_base/remoting/codec/audio_encoder_opus.o] Error 1
Created attachment 334668 [details] system-opus.patch patch against 25.0.1364.5 tree. maybe helps gentoo. helped me to build against system opus package
(In reply to comment #4) > Created attachment 334668 [details] > system-opus.patch > > patch against 25.0.1364.5 tree. maybe helps gentoo. helped me to build > against system opus package Thank you for the patch, applied in chromium-25.0.1364.26.
you may show your appreciation to me by pushing it to upstream as well :)
(In reply to comment #6) > you may show your appreciation to me by pushing it to upstream as well :) Upstream has a different fix on trunk, committed by me. It's just not on M25 branch.