Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352889 - www-client/chromium-9999 emerge fails
Summary: www-client/chromium-9999 emerge fails
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
: 352891 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-27 05:26 UTC by Ralf Mayer
Modified: 2011-01-27 18:42 UTC (History)
0 users

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


Attachments
build.log (bz2) (build.log.bz2,100.65 KB, text/plain)
2011-01-27 06:38 UTC, Ralf Mayer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Mayer 2011-01-27 05:26:54 UTC
Hey there!

Every time when I'm trying to install Chromium I'm getting this error:
third_party/WebKit/Source/WebCore/bindings/v8/ScriptProfiler.cpp:58:59: error: expected class-name before ‘{’ token
third_party/WebKit/Source/WebCore/bindings/v8/ScriptProfiler.cpp:62:5: error: ‘ControlOption’ does not name a type
third_party/WebKit/Source/WebCore/bindings/v8/ScriptProfiler.cpp: In static member function ‘static WTF::PassRefPtr<WebCore::ScriptHeapSnapshot> WebCore::ScriptProfiler::takeHeapSnapshot(const WTF::String&, WebCore::ScriptProfiler::HeapSnapshotProgress*)’:
third_party/WebKit/Source/WebCore/bindings/v8/ScriptProfiler.cpp:87:101: error: no matching function for call to ‘v8::HeapProfiler::TakeSnapshot(v8::Handle<v8::String>, v8::HeapSnapshot::Type, WebCore::<unnamed>::ActivityControlAdapter*)’
/usr/include/v8-profiler.h:411:30: note: candidate is: static const v8::HeapSnapshot* v8::HeapProfiler::TakeSnapshot(v8::Handle<v8::String>, v8::HeapSnapshot::Type)
make: *** [out/Release/obj.target/webcore_remaining/third_party/WebKit/Source/WebCore/bindings/v8/ScriptProfiler.o] Error 1
make: *** Waiting for unfinished jobs....
emake failed
 ^[[31;01m*^[[0m ERROR: www-client/chromium-9999 failed:
 ^[[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 5408:  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-9999',
 ^[[31;01m*^[[0m the complete build log and the output of 'emerge -pqv =www-client/chromium-9999'.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/www-client/chromium-9999/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-9999/temp/environment'.
 ^[[31;01m*^[[0m S: '/var/tmp/portage/www-client/chromium-9999/work/chromium-9999'


Reproducible: Always

Steps to Reproduce:
1. emerge www-client/chromium on ~x86
Actual Results:  
Emerge fails.

Expected Results:  
Emerge should run like a charm, and www-client/chromium-9999 should compile fine.

emerge --info:
http://pastebin.com/W2i7W2wa
build.log:

Attached you'll find the build.log
Comment 1 Ralf Mayer 2011-01-27 05:52:36 UTC
Attachment was to big for the bug tracker (About 8000KB) - Uploaded it at file hoster:
Link:
http://ultrashare.net/hosting/fl/2573dcc28a/build
Comment 2 Mike Gilbert gentoo-dev 2011-01-27 06:11:21 UTC
*** Bug 352891 has been marked as a duplicate of this bug. ***
Comment 3 Mike Gilbert gentoo-dev 2011-01-27 06:18:49 UTC
Do not use pastebins or file sharing sites for bug reports.

Please paste emerge --info in a comment.

Please compress your build log (using gzip, bzip2, or xz) and post it as an attachment to the bug report.

It would be helpful to know what revision you are attempting to build.

Thanks!
Comment 4 Ralf Mayer 2011-01-27 06:33:31 UTC
Hi Mike,

I'm sorry for using pastebin-service and filehoster service.

emerge --info:
emerge --info
Portage 2.1.9.35 (default/linux/x86/10.0/desktop, gcc-4.5.2, glibc-2.12.2-r0, 2.6.38-rc2-git3 i686)
=================================================================
System uname: Linux-2.6.38-rc2-git3-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 26 Jan 2011 22:45:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/terminfo"
CXXFLAGS="-march=native -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.inode.at/ ftp://gentoo.inode.at/source/ http://gentoo.lagis.at/ ftp://gentoo.lagis.at/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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/mozilla"
SYNC="rsync://rsync.se.gentoo.org/gentoo-portage"
USE="X aac acpi alsa apm bash-completion branding btrfs bzip2 cairo cli consolekit cracklib crypt cups cxx dbus djvu dri dts emerald encode exif fat firefox flac fortran freetype fts3 fuse gdbm gdu gif gnutls gtk hfs iconv java javascript jfs jpeg lame lcms ldap libnotify lm_sensors lock mad mdnsresponder-compat mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap ncurses nls nptl nptlonly ntfs ogg oggvorbis opengl openmp pam pango pcre pdf perl pmu png policykit ppds pppd python readline sdl session sqlite sqlite3 sse sse2 ssl svg symlink sysfs theora truetype udev unicode unicode3 unsupported usb video vorbis wrappers x264 x86 xcb xcomposite xfce xfce4 xfs xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" 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" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

**Revision of Chromium** -> 69281
Comment 5 Ralf Mayer 2011-01-27 06:38:01 UTC
Created attachment 260829 [details]
build.log (bz2)

Build.log of revision 69281.
(Thanks to Mike for the hint with bzip2) :)
Comment 6 Mike Gilbert gentoo-dev 2011-01-27 15:52:54 UTC
FYI: 69281 is the depot_tools revision -- the chromium rev is further down in the log.

 * Installing/updating to version 10.0.651.0_p72687
Comment 7 Mike Gilbert gentoo-dev 2011-01-27 16:40:21 UTC
My guess at this point is that your dev-lang/v8 version is out-of-sync with the version in the chromium trunk.

I use the v8-9999 ebuild myself, and I always make sure to rebuild it before doing a chromium-9999 build. I also try to keep the v8 revision in-sync with whatever revison is specified in the chromium/src/DEPS file.

Can you try upgrading to v8-9999 to see if that resolves the issue?
Comment 8 Ralf Mayer 2011-01-27 18:42:11 UTC
Thanks Mike,

I'll give it a try with dev-lang/v8-3.0.7 because the git (-9999) version of the package has also a bug. (But this is another story... - http://bugs.gentoo.org/show_bug.cgi?id=352899)

I'm going to inform you ASAP. And again thanks for the information with the revision!

Have a great day!

Ralf