Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330463 - www-client/chromium-9999::revision 54277: compilation failed
Summary: www-client/chromium-9999::revision 54277: compilation failed
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chromium Project
URL: http://code.google.com/p/chromium/iss...
Whiteboard: ht-wanted
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-30 06:20 UTC by fkhp
Modified: 2010-08-12 19:56 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fkhp 2010-07-30 06:20:04 UTC
x86_64-pc-linux-gnu-g++ -mtune=core2 -march=core2 -O2 -msse4.1 -pipe -ftracer -pthread -fno-exceptions -Wall -Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -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 '-DNO_TCMALLOC' '-DNO_HEAPCHECKER' '-DCHROMIUM_BUILD' '-DENABLE_REMOTING=1' '-DUSE_PROPRIETARY_CODECS' '-DNACL_WINDOWS=0' '-DNACL_LINUX=1' '-DNACL_OSX=0' '-DNACL_TARGET_SUBARCH=64' '-DNACL_BUILD_SUBARCH=64' '-DGL_GLEXT_PROTOTYPES' '-DHUNSPELL_STATIC' '-DHUNSPELL_CHROME_CLIENT' '-DUSE_HUNSPELL' '-DCLD_WINDOWS' '-DCOMPILER_GCC' '-DU_STATIC_IMPLEMENTATION' '-DNACL_BLOCK_SHIFT=5' '-DNACL_BLOCK_SIZE=32' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -Ithird_party/icu/public/common -Ithird_party/icu/public/i18n -I. -Ithird_party/cld -Ithird_party -Igpu -Ithird_party/mesa/MesaLib/include -Iout/Release/obj/gen/app -Ithird_party/sqlite/preprocessed -Iout/Release/obj/gen/chrome -Iskia/config -Ithird_party/skia/include/config -Ithird_party/skia/include/core -Ithird_party/skia/include/effects -Iskia/ext -Ithird_party/harfbuzz/src -Ithird_party/harfbuzz/contrib -Ithird_party/npapi -Ithird_party/npapi/bindings -Iout/Release/obj/gen/webkit -MMD -MF out/Release/.deps/out/Release/obj.target/renderer/chrome/renderer/websharedworker_proxy.o.d.raw -c -o out/Release/obj.target/renderer/chrome/renderer/websharedworker_proxy.o chrome/renderer/websharedworker_proxy.cc
chrome/renderer/webplugin_delegate_pepper.cc:68:7: error: 'gpu' has not been declared
chrome/renderer/webplugin_delegate_pepper.cc:86:3: error: 'gpu' does not name a type
make: *** [out/Release/obj.target/renderer/chrome/renderer/webplugin_delegate_pepper.o] Error 1
make: *** Waiting for unfinished jobs....
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in www-client/chromium-9999::gentoo:
!!! In src_compile at line 4282
!!! compilation failed


Reproducible: Always




# emerge --info chromium
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.5.0, glibc-2.11.2-r0, 2.6.34-ccs-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-ccs-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 29 Jul 2010 22:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1, 4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
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/X11/xkb /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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.netnitco.net/ "
LANG="zh_CN.UTF-8"
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="/usr/local/portage /var/lib/layman/x11 /var/lib/layman/vmware /var/lib/layman/gentoo-china /var/lib/layman/gentoo-taiwan /var/lib/layman/sunrise /var/lib/layman/gnome /var/lib/layman/mozilla /var/lib/layman/init6"
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 consolekit cracklib crypt cups cxx dbus dga djvu doc 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 introspection 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 reflection samba scsi sdl session smp snmp spell spl 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" ELIBC="glibc" 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" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

www-client/chromium-9999 was built with the following:
USE="cups gnome sse2" 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" INPUT_DEVICES="evdev synaptics" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US zh zh_CN" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18" VIDEO_CARDS="nouveau nv nvidia (svga) vesa vmware vmwgfx vmwlegacy" XTABLES_ADDONS="account chaos condition delude dhcpmac fuzzy geoip iface ipmark ipp2p ipset ipv4options length2 logmark lscan pknock psd quota2 rawnat steal sysrq tarpit tee" 
CFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe -ftracer"
CXXFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe -ftracer"
LDFLAGS="-Wl,-O1"
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-07-31 00:57:19 UTC
Thanks to the early warning. Will definitely take a look. Any analysis what's going on would be appreciated.
Comment 2 fkhp 2010-07-31 07:16:13 UTC
revision 54432 failed with the same problem.

Comment 3 Mike Gilbert gentoo-dev 2010-08-01 17:06:51 UTC
I'm running rev 54483 and did not encounter this problem. However, I am using a modified version of the ebuild in a local overlay.

My guess based on the error message is that -Denable_gpu=0 is triggering this. I have this enabled (=1) in my overlay. I will try doing a build without it in the next day or so.
Comment 4 fkhp 2010-08-02 01:50:23 UTC
(In reply to comment #3)
> I'm running rev 54483 and did not encounter this problem. However, I am using a
> modified version of the ebuild in a local overlay.
> 
> My guess based on the error message is that -Denable_gpu=0 is triggering this.
> I have this enabled (=1) in my overlay. I will try doing a build without it in
> the next day or so.
> 

after commenting the line containing -Denable_gpu=0 in the ebuild  and running ebuild, though the ebuiled said this configure brings bug 319331 which lead to 'fails to build' , the chromium 6.0.483.0 (54509) was compiled whitout this problem anymore, bug 319331 did not show up either.

Comment 5 fkhp 2010-08-02 01:51:54 UTC
my video card is Nividia.
Comment 6 Mike Gilbert gentoo-dev 2010-08-02 02:00:30 UTC
I am also able to reproduce this with -Denable_gpu=0.

I made an attempt to pinpoint why this happens, but I got lost in the many header files. :)
Comment 7 Daniel Douglas 2010-08-02 12:22:59 UTC
Is this build flag related to why none of the webgl demos work?
Comment 8 fkhp 2010-08-02 15:12:10 UTC
(In reply to comment #7)
> Is this build flag related to why none of the webgl demos work?
> 
the compiled chromium works well with http://learningwebgl.com/lessons/lesson15/index.html
using nvidia video card.
Comment 9 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-08-12 19:56:49 UTC
Thank you for the report.