Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366079 - www-client/chromium-12.0.742.16 ffmpeg-9999 av_malloc declaration conflict
Summary: www-client/chromium-12.0.742.16 ffmpeg-9999 av_malloc declaration conflict
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
: 367317 368389 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-05 12:39 UTC by fkhp
Modified: 2011-07-22 22:39 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
log (build.log.bz2,50.69 KB, application/x-bzip)
2011-05-05 14:57 UTC, fkhp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fkhp 2011-05-05 12:39:27 UTC
x86_64-pc-linux-gnu-g++ '-DNO_HEAPCHECKER' '-DCHROMIUM_BUILD' '-DENABLE_REMOTING=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-D__OMX_EXPORTS' '-DHAVE_XINPUT2' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -Ithird_party/openmax/il -Iout/Release/obj/gen/openmax -I. -pthread -fno-exceptions -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -pipe -fPIC -fno-strict-aliasing -pthread -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/libpng14 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore -Wno-deprecated -Wno-format -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -MMD -MF out/Release/.deps/out/Release/obj.target/geni/il_stubs.o.d.raw -mtune=core2 -march=core2 -O2 -msse4.1 -pipe -c -o out/Release/obj.target/geni/il_stubs.o out/Release/obj.target/geni/il_stubs.cc
out/Release/obj.target/geni/ffmpeg_stubs.cc:40:64: ERROR:C function ‘void* av_malloc(unsigned int)’s declaration
/usr/include/libavutil/mem.h:73:7: ERROR:conflict with earlier declared ‘void* av_malloc(size_t)’
make: *** [out/Release/obj.target/geni/ffmpeg_stubs.o] ERROR 1


Reproducible: Always




emerge --info =www-client/chromium-12.0.742.16
Portage 2.1.9.46 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r2, 2.6.38-ccs-r3 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-ccs-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.2
Timestamp of tree: Thu, 05 May 2011 08:00:01 +0000
ccache version 3.1.4 [disabled]
app-shells/bash:     4.2_p8-r1
dev-java/java-config: 2.1.11-r3::<unknown repository>
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13::<unknown repository>, 2.68::<unknown repository>
sys-devel/automake:  1.9.6-r3::<unknown repository>, 1.10.3::<unknown repository>, 1.11.1-r1
sys-devel/binutils:  2.21::<unknown repository>
sys-devel/gcc:       4.4.5::<unknown repository>, 4.5.2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82::<unknown repository>
sys-kernel/linux-headers: 2.6.38
sys-libs/glibc:      2.13-r2
virtual/os-headers:  2.6.38 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /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/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /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="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.netnitco.net/ "
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="zh_CN en_US zh en"
MAKEOPTS="-j3"
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="/var/lib/layman/x11 /var/lib/layman/vmware /var/lib/layman/gentoo-china /var/lib/layman/gentoo-taiwan /var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 ao apache2 avahi bash-completion berkdb branding bzip2 cairo caps cdr cjk cli clutter consolekit cracklib crypt cups cxx dbus dga djvu dri dts dvd dvdr eds emboss encode evo examples exif fam ffmpeg firefox flac fortran gdbm gdu gif gimp gnome gnome-keyring gphoto2 gpm gstreamer gtk guile i18n iconv icu ipv6 jadetex java jpeg jpeg2k latex lcms ldap libnotify mad midi mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap multilib mysql nas nautilus ncurses networkmanager nfs nls nntp nptl nptlonly nsplugin nvidia ogg opengl openmp pam pango pch pcre pda pdf perl php png policykit ppds pppd pulseaudio python qt3support qt4 readline samba scsi sdl session smp snmp spell sqlite sse sse2 sse3 ssl ssse3 startup-notification suid svg sysfs tcpd threads tiff tk truetype unicode usb v4l2 vim-syntax vorbis x264 xattr xcb xml xmp xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ens1370 hda-intel" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN en_US zh en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vmwgfx vmwlegacy nouveau nvidia nv vmware vesa svga" XTABLES_ADDONS="cui gfw zhang ipset" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 fkhp 2011-05-05 12:41:16 UTC
ffmpeg-9999 is the system ffmpeg.
Comment 2 fkhp 2011-05-05 14:57:28 UTC
Created attachment 272203 [details]
log
Comment 3 fkhp 2011-05-06 01:33:08 UTC
chromium-12.0.742.12 failed too
Comment 4 Mike Gilbert gentoo-dev 2011-05-08 20:34:57 UTC
Can you produce this failure with a non-live version of ffmpeg or libav?

How about chromium-12.0.742.21?
Comment 5 fkhp 2011-05-09 10:32:56 UTC
(In reply to comment #4)
> Can you produce this failure with a non-live version of ffmpeg or libav?
> 
> How about chromium-12.0.742.21?

failed too
Comment 6 fkhp 2011-05-09 10:43:34 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Can you produce this failure with a non-live version of ffmpeg or libav?
> > 
> > How about chromium-12.0.742.21?
> 
> failed too
but non-live version of ffmpeg not tested, there are other packages depend on live version.

av_malloc(unsigned int)  is changed to av_malloc(size_t).
Comment 7 Mike Gilbert gentoo-dev 2011-05-15 05:48:20 UTC
*** Bug 367317 has been marked as a duplicate of this bug. ***
Comment 8 Stefan Wimmer 2011-05-19 10:29:12 UTC
Same happens here with =www-client/chromium-12.0.742.53:

[I] media-video/ffmpeg
     Installed versions:  9999(03:14:01 PM 05/17/2011)(3dnow 3dnowext X aac alsa bzip2 dirac encode hardcoded-tables mmx mmxext mp3 ssse3 threads truetype vaapi vdpau vorbis x264 xvid zlib -altivec -amr -avx -bindist -celt -cpudetection -custom-cflags -debug -doc -faac -frei0r -gsm -ieee1394 -jack -jpeg2k -network -oss -pic -qt-faststart -rtmp -schroedinger -sdl -speex -static-libs -test -theora -v4l -v4l2 -video_cards_nvidia -vpx)

[I] virtual/ffmpeg
     Installed versions:  0.6.90(04:57:01 AM 05/07/2011)(X encode mp3 threads vaapi vdpau x264 -jpeg2k -sdl -theora)

emerge --info
--------------
Portage 2.1.9.49 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.13-r2, 2.6.38-gentoo-nouveau x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-nouveau-x86_64-Intel-R-_Core-TM-_i7_CPU_870_@_2.93GHz-with-gentoo-2.0.2
Timestamp of tree: Thu, 19 May 2011 08:15:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-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
sys-devel/gcc:            4.4.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--color y --with-bdeps y --keep-going --quiet-build y"
FEATURES="assume-digests binpkg-logs buildsyspkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ http://mirror.muntinternet.net/pub/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="--jobs=9 --load-average=8"
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="/var/lib/layman/lcd-filtering /var/lib/layman/mpd /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 berkdb bzip2 cairo cli consolekit cracklib crypt cups cxx dbus device-mapper dirac dri encode exif flac fortran gdbm gif gphoto2 gpm gtk iconv id3 jpeg libnotify maildir mmx modules mp3 mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png policykit pppd python qt3support qt4 readline scanner semantic-desktop session sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode vdpau vim-syntax vorbis x264 xorg xulrunner xvid zlib zsh-completion" ALSA_CARDS="hda-int
el emu10k1" 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 s
hare 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_m
agic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="dire
ctory ptp2 usb" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock it
rax 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" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock l
scan 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Joe Kappus 2011-05-22 19:20:43 UTC
This also happens with chromium-9999 when ffmpeg-9999 is installed and has been happening for a couple weeks now.
Comment 10 Mike Gilbert gentoo-dev 2011-05-22 22:49:05 UTC
*** Bug 368389 has been marked as a duplicate of this bug. ***
Comment 11 Andrey 2011-05-23 13:06:00 UTC
Chromium 12 emerged successfully if used ffmpeg-0.7-rc1. Live ffmpeg version still produce this error.
Comment 12 John L. Poole 2011-05-23 18:23:37 UTC
I had a bug pending regarding ffmpeg (I had "live" v. 9999) installed, and I back-stepped and installed a "supported" version and my problem with ffmpeg was solved.  https://bugs.gentoo.org/show_bug.cgi?id=368163

Imbued with success, I tried emerging chromium now that I have a non-live version of ffmpeg and the emerge was successful.  I'm closing out my my bug 367317 that was related to this one.
Comment 13 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-06-22 08:07:53 UTC
Because of bug #371931 we're back to bundled version of ffmpeg, and the -9999 versions are not supported anyway. I'm closing this bug for now.
Comment 14 Tianon 2011-07-22 22:22:12 UTC
This bug is back in chromium-14.0.825.0-r1 with as late as ffmpeg-0.7.1 (now that we're back to system ffmpeg).  Unmasking (and obviously upgrading to) ffmpeg-0.8 fixes it.

Build log snippet:

out/Release/obj.target/geni/ffmpeg_stubs.cc:41: error: declaration of C function ‘void* av_malloc(size_t)’ conflicts with
/usr/include/libavutil/mem.h:81: error: previous declaration ‘void* av_malloc(unsigned int)’ here
make: *** [out/Release/obj.target/geni/ffmpeg_stubs.o] Error 1