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

Bug 367317

Summary: www-client/chromium-11.0.696.68 emerge fails: av_malloc(unsigned int)' conflicts
Product: Gentoo Linux Reporter: John L. Poole <prestopoole>
Component: New packagesAssignee: Chromium Project <chromium>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: enivironment

Description John L. Poole 2011-05-15 05:32:46 UTC
x86_64-pc-linux-gnu-g++ '-DNO_HEAPCHECKER' '-DCHROMIUM_BUILD' '-DENABLE_REMOTING=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DHAVE_XINPUT2' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -I. -pthread -fno-exceptions -Wall -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -pipe -fPIC -fno-strict-aliasing -pthread -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/libpng14 -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -MMD -MF out/Release/.deps/out/Release/obj.target/common_constants/chrome/common/env_vars.o.d.raw -O2 -pipe -c -o out/Release/obj.target/common_constants/chrome/common/env_vars.o chrome/common/env_vars.cc
out/Release/obj.target/geni/ffmpeg_stubs.cc:40: error: declaration of C function 'void* av_malloc(unsigned int)' conflicts with
/usr/include/libavutil/mem.h:73: error: previous declaration 'void* av_malloc(size_t)' here


Reproducible: Always

Steps to Reproduce:
1. emerge www-client/chromium
Actual Results:  
out/Release/obj.target/geni/ffmpeg_stubs.cc:40: error: declaration of C function 'void* av_malloc(unsigned int)' conflicts with
/usr/include/libavutil/mem.h:73: error: previous declaration 'void* av_malloc(size_t)' here
make: *** [out/Release/obj.target/geni/ffmpeg_stubs.o] Error 1
make: *** Waiting for unfinished jobs....
emake failed
 * ERROR: www-client/chromium-11.0.696.68 failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 6040:  Called die
 * The specific snippet of code:
 *       emake chrome chrome_sandbox BUILDTYPE=Release V=1 || die;
 *
 * If you need support, post the output of 'emerge --info =www-client/chromium-11.0.696.68',
 * the complete build log and the output of 'emerge -pqv =www-client/chromium-11.0.696.68'.
 * The complete build log is located at '/var/tmp/portage/www-client/chromium-11.0.696.68/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-11.0.696.68/temp/environment'.
 * S: '/var/tmp/portage/www-client/chromium-11.0.696.68/work/chromium-11.0.696.68'



Expected Results:  
successful install
Comment 1 John L. Poole 2011-05-15 05:33:29 UTC
localhost ~ # emerge --info =www-client/chromium-11.0.696.68
Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, libc-0-r0, 2.6.34-gentoo-r12 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r12-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-2.0.2
Timestamp of tree: Sat, 14 May 2011 17:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.11.3
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb /var/lib/neatx/home"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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://192.168.168.15/gentoo-portage"
USE="X acl amd64 apache2 avahi berkdb bzip2 cli cracklib crypt cups cxx dbus dri fortran gdbm gnome gpm gtk iconv ipv6 mmx modules mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt3support readline session sse sse2 ssl sysfs tcpd unicode xorg zlib" 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="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

localhost ~ #
Comment 2 John L. Poole 2011-05-15 05:34:04 UTC
localhost ~ # emerge -pqv =www-client/chromium-11.0.696.68
[ebuild     U ] www-client/chromium-11.0.696.68 [11.0.696.65] USE="cups gnome -gnome-keyring -test"

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

localhost ~ #
Comment 3 John L. Poole 2011-05-15 05:38:08 UTC
Created attachment 273237 [details]
enivironment
Comment 4 John L. Poole 2011-05-15 05:41:15 UTC
The build log is 2,794 Kb and exceeds the upload limit for this bug system.

Here are lines 1924 to the end:

 export LD_LIBRARY_PATH=/var/tmp/portage/www-client/chromium-11.0.696.68/work/chromium-11.0.696.68/out/Release/lib.host:/var/tmp/portage/www-client/chromium-11.0.696.68/work/chromium-11.0.696.68/out/Release/lib.target:$LD_LIBRARY_PATH; cd chrome; mkdir -p /var/tmp/portage/www-client/chromium-11.0.696.68/work/chromium-11.0.696.68/out/Release; python ../tools/data_pack/repack.py "/var/tmp/portage/www-client/chromium-11.0.696.68/work/chromium-11.0.696.68/out/Release/resources.pak" "/var/tmp/portage/www-client/chromium-11.0.696.68/work/chromium-11.0.696.68/out/Release/obj/gen/chrome/component_extension_resources.pak" "/var/tmp/portage/www-client/chromium-11.0.696.68/work/chromium-11.0.696.68/out/Release/obj/gen/chrome/net_internals_resources.pak" "/var/tmp/portage/www-client/chromium-11.0.696.68/work/chromium-11.0.696.68/out/Release/obj/gen/chrome/shared_resources.pak" "/var/tmp/portage/www-client/chromium-11.0.696.68/work/chromium-11.0.696.68/out/Release/obj/gen/chrome/sync_internals_resources.pak"
  x86_64-pc-linux-gnu-g++ '-DNO_HEAPCHECKER' '-DCHROMIUM_BUILD' '-DENABLE_REMOTING=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DHAVE_XINPUT2' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -I. -pthread -fno-exceptions -Wall -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -pipe -fPIC -fno-strict-aliasing -pthread -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/libpng14 -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -MMD -MF out/Release/.deps/out/Release/obj.target/common_constants/chrome/common/chrome_constants.o.d.raw -O2 -pipe -c -o out/Release/obj.target/common_constants/chrome/common/chrome_constants.o chrome/common/chrome_constants.cc
  x86_64-pc-linux-gnu-g++ '-DNO_HEAPCHECKER' '-DCHROMIUM_BUILD' '-DENABLE_REMOTING=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DHAVE_XINPUT2' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -I. -pthread -fno-exceptions -Wall -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -pipe -fPIC -fno-strict-aliasing -pthread -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/libpng14 -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -MMD -MF out/Release/.deps/out/Release/obj.target/common_constants/chrome/common/chrome_paths.o.d.raw -O2 -pipe -c -o out/Release/obj.target/common_constants/chrome/common/chrome_paths.o chrome/common/chrome_paths.cc
  x86_64-pc-linux-gnu-g++ '-DNO_HEAPCHECKER' '-DCHROMIUM_BUILD' '-DENABLE_REMOTING=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DHAVE_XINPUT2' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -I. -pthread -fno-exceptions -Wall -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -pipe -fPIC -fno-strict-aliasing -pthread -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/libpng14 -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -MMD -MF out/Release/.deps/out/Release/obj.target/common_constants/chrome/common/chrome_paths_linux.o.d.raw -O2 -pipe -c -o out/Release/obj.target/common_constants/chrome/common/chrome_paths_linux.o chrome/common/chrome_paths_linux.cc
  x86_64-pc-linux-gnu-g++ '-DNO_HEAPCHECKER' '-DCHROMIUM_BUILD' '-DENABLE_REMOTING=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DHAVE_XINPUT2' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -I. -pthread -fno-exceptions -Wall -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -pipe -fPIC -fno-strict-aliasing -pthread -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/libpng14 -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -MMD -MF out/Release/.deps/out/Release/obj.target/common_constants/chrome/common/chrome_switches.o.d.raw -O2 -pipe -c -o out/Release/obj.target/common_constants/chrome/common/chrome_switches.o chrome/common/chrome_switches.cc
  x86_64-pc-linux-gnu-g++ '-DNO_HEAPCHECKER' '-DCHROMIUM_BUILD' '-DENABLE_REMOTING=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DHAVE_XINPUT2' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -I. -pthread -fno-exceptions -Wall -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -pipe -fPIC -fno-strict-aliasing -pthread -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/libpng14 -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -MMD -MF out/Release/.deps/out/Release/obj.target/common_constants/chrome/common/env_vars.o.d.raw -O2 -pipe -c -o out/Release/obj.target/common_constants/chrome/common/env_vars.o chrome/common/env_vars.cc
out/Release/obj.target/geni/ffmpeg_stubs.cc:40: error: declaration of C function 'void* av_malloc(unsigned int)' conflicts with
/usr/include/libavutil/mem.h:73: error: previous declaration 'void* av_malloc(size_t)' here
make: *** [out/Release/obj.target/geni/ffmpeg_stubs.o] Error 1
make: *** Waiting for unfinished jobs....
emake failed
 [31;01m*[0m ERROR: www-client/chromium-11.0.696.68 failed (compile phase):
 [31;01m*[0m   (no error message)
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  56:  Called src_compile
 [31;01m*[0m   environment, line 6040:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       emake chrome chrome_sandbox BUILDTYPE=Release V=1 || die;
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of 'emerge --info =www-client/chromium-11.0.696.68',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =www-client/chromium-11.0.696.68'.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/www-client/chromium-11.0.696.68/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-11.0.696.68/temp/environment'.
 [31;01m*[0m S: '/var/tmp/portage/www-client/chromium-11.0.696.68/work/chromium-11.0.696.68'
Comment 5 John L. Poole 2011-05-15 05:41:54 UTC
I can make the entire build file available if wanted.  Please let me know where I can stage it for your access.
Comment 6 Mike Gilbert gentoo-dev 2011-05-15 05:48:20 UTC

*** This bug has been marked as a duplicate of bug 366079 ***
Comment 7 John L. Poole 2011-05-15 05:55:02 UTC
I see that Bug 366079 (which this bug is a duplicate of) may concern ffmpeg, so here's what I have:

localhost ~ # eix -I ffmpeg
[U] dev-php5/ffmpeg-php
     Available versions:  0.6.0-r1!t {php_targets_php5-2 php_targets_php5-3}
     Installed versions:  0.6.0(23:06:03 09/07/10)
     Homepage:            http://sourceforge.net/projects/ffmpeg-php/
     Description:         PHP extension that provides access to movie info.

[I] media-video/ffmpeg
     Available versions:  0.6 0.6_p25767 (~)0.6.90_rc0-r2 (~)0.7_rc1 (**)9999 {+3dnow +3dnowext X aac alsa altivec amr avx bindist +bzip2 celt cpudetection custom-cflags debug dirac doc +encode faac faad frei0r gsm +hardcoded-tables ieee1394 jack jpeg2k +mmx +mmxext mp3 network oss pic qt-faststart rtmp schroedinger sdl speex +ssse3 static-libs test theora threads truetype v4l v4l2 vaapi vdpau video_cards_nvidia vorbis vpx x264 xvid (+)zlib}
     Installed versions:  9999(17:20:18 05/13/11)(3dnow 3dnowext X bzip2 encode hardcoded-tables mmx mmxext mp3 sdl ssse3 threads zlib -aac -alsa -altivec -amr -avx -bindist -celt -cpudetection -custom-cflags -debug -dirac -doc -faac -frei0r -gsm -ieee1394 -jack -jpeg2k -network -oss -pic -qt-faststart -rtmp -schroedinger -speex -static-libs -test -theora -truetype -v4l -v4l2 -vaapi -vdpau -video_cards_nvidia -vorbis -vpx -x264 -xvid)
     Homepage:            http://ffmpeg.org/
     Description:         Complete solution to record, convert and stream audio and video. Includes libavcodec.

[I] virtual/ffmpeg
     Available versions:  0.6-r1 ~0.6.90 {X +encode jpeg2k mp3 sdl theora threads vaapi vdpau x264}
     Installed versions:  0.6-r1(14:50:41 04/07/11)(X encode mp3 sdl threads -theora -vaapi -vdpau -x264)
     Description:         Virtual package for FFmpeg implementation

Found 3 matches.
localhost ~ #

Also, I do not have installed media-video/libav or sys-libs/libavc1394.
Comment 8 John L. Poole 2011-05-23 18:26:54 UTC
the problem appears to have been ffmpeg -- I had the "live" version, 9999, and when I re-emerge ffmpeg replacing the live with a supported version, chromium installed.