Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373477 - Chromium doesn't compile with 3.0 kernel
Summary: Chromium doesn't compile with 3.0 kernel
Status: RESOLVED DUPLICATE of bug 372137
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL: http://code.google.com/p/chromium/iss...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-29 15:53 UTC by Michal Hrusecky (RETIRED)
Modified: 2011-06-30 07:59 UTC (History)
0 users

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


Attachments
patch for linux3 target (chromium-linux-3.patch,476 bytes, patch)
2011-06-29 17:48 UTC, Ben Kohler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Hrusecky (RETIRED) gentoo-dev 2011-06-29 15:53:19 UTC
Chromium compilation doesn't work with latest kernel (3.0). Patch proposed in the linked issue fixes this bug for me.

Reproducible: Always

Steps to Reproduce:
1. install kernel 3.0
2. use it
3. try to compile latest cromium
Actual Results:  

# emerge -u chromium
Calculating dependencies... done!
 
>>> Verifying ebuild manifests
 
>>> Emerging (1 of 1) www-client/chromium-14.0.803.0
 * chromium-14.0.803.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                       [ ok ]
 * Package:    www-client/chromium-14.0.803.0
 * Repository: gentoo
 * Maintainer: chromium@gentoo.org
 * USE:        amd64 cups elibc_glibc kernel_linux linguas_cs multilib userland_GNU xinerama
 * FEATURES:   sandbox
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     3.0.0-rc5-misibook
 * Checking for suitable kernel configuration options...                                                                             [ ok ]
>>> Unpacking source...
>>> Unpacking chromium-14.0.803.0.tar.bz2 to /home/tmp/portage/www-client/chromium-14.0.803.0/work
>>> Source unpacked in /home/tmp/portage/www-client/chromium-14.0.803.0/work
>>> Preparing source in /home/tmp/portage/www-client/chromium-14.0.803.0/work/chromium-14.0.803.0 ...
 * Applying chromium-system-vpx-r4.patch ...                                                                                         [ ok ]
 * Applying chromium-libgcrypt-r0.patch ...                                                                                          [ ok ]
>>> Source prepared.
>>> Configuring source in /home/tmp/portage/www-client/chromium-14.0.803.0/work/chromium-14.0.803.0 ...
build/gyp_chromium --depth=. -Ddisable_sse2=1 -Duse_system_bzip2=1 -Duse_system_flac=1 -Duse_system_icu=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libwebp=1 -Duse_system_libxml=1 -Duse_system_speex=1 -Duse_system_vpx=1 -Duse_system_xdg_utils=1 -Duse_system_yasm=1 -Duse_system_zlib=1 -Duse_cups=1 -Duse_gconf=0 -Duse_gnome_keyring=0 -Dlinux_link_gnome_keyring=0 -Dlinux_sandbox_path=/usr/lib64/chromium-browser/chrome_sandbox -Dlinux_sandbox_chrome_path=/usr/lib64/chromium-browser/chrome -Dtarget_arch=x64 -Dwerror=
Updating projects from gyp files...
Traceback (most recent call last):
  File "build/gyp_chromium", line 170, in <module>
    sys.exit(gyp.main(args))
  File "/home/tmp/portage/www-client/chromium-14.0.803.0/work/chromium-14.0.803.0/tools/gyp/pylib/gyp/__init__.py", line 323, in main
    'sunos5':   'make',}[sys.platform] ]
KeyError: 'linux3'
 * ERROR: www-client/chromium-14.0.803.0 failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_configure
 *   environment, line 6131:  Called die
 * The specific snippet of code:
 *       egyp ${myconf} || die
 *
 * If you need support, post the output of 'emerge --info =www-client/chromium-14.0.803.0',
 * the complete build log and the output of 'emerge -pqv =www-client/chromium-14.0.803.0'.
 * The complete build log is located at '/var/log/portage/www-client:chromium-14.0.803.0:20110629-134814.log'.
 * The ebuild environment file is located at '/home/tmp/portage/www-client/chromium-14.0.803.0/temp/environment'.
 * S: '/home/tmp/portage/www-client/chromium-14.0.803.0/work/chromium-14.0.803.0'
 
>>> Failed to emerge www-client/chromium-14.0.803.0, Log file:
 
>>>  '/var/log/portage/www-client:chromium-14.0.803.0:20110629-134814.log'
 
 * Messages for package www-client/chromium-14.0.803.0:
 
 * ERROR: www-client/chromium-14.0.803.0 failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_configure
 *   environment, line 6131:  Called die
 * The specific snippet of code:
 *       egyp ${myconf} || die
 *
 * If you need support, post the output of 'emerge --info =www-client/chromium-14.0.803.0',
 * the complete build log and the output of 'emerge -pqv =www-client/chromium-14.0.803.0'.
 * The complete build log is located at '/var/log/portage/www-client:chromium-14.0.803.0:20110629-134814.log'.
 * The ebuild environment file is located at '/home/tmp/portage/www-client/chromium-14.0.803.0/temp/environment'.
 * S: '/home/tmp/portage/www-client/chromium-14.0.803.0/work/chromium-14.0.803.0'

Expected Results:  
>>> Source compiled.
>>> Test phase [not enabled]: www-client/chromium-14.0.803.0

>>> Install chromium-14.0.803.0 into /home/tmp/portage/www-client/chromium-14.0.803.0/image/ category www-client
>>> Completed installing chromium-14.0.803.0 into /home/tmp/portage/www-client/chromium-14.0.803.0/image/

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/lib64/chromium-browser/libffmpegsumo.so
   usr/lib64/chromium-browser/ffmpegsumo_nolink
   usr/lib64/chromium-browser/libppGoogleNaClPluginChrome.so
   usr/lib64/chromium-browser/chrome_sandbox
   usr/lib64/chromium-browser/chrome
ecompressdir: xz  /usr/share/man

 * QA Notice: The following files contain runtime text relocations
 *  Text relocations force the dynamic linker to perform extra
 *  work at startup, waste system resources, and may pose a security
 *  risk.  On some architectures, the code may not even function
 *  properly, if at all.
 *  For more information, see http://hardened.gentoo.org/pic-fix-guide.xml
 *  Please include the following list of files in your report:
 * TEXTREL usr/lib64/chromium-browser/chrome


>>> Installing (1 of 1) www-client/chromium-14.0.803.0
 * >>> SetUID: [chmod go-r] /usr/lib64/chromium-browser/chrome_sandbox ...                                                           [ ok ]
 * Updating icons cache ...                                                                                                          [ ok ]
 * Updating desktop mime database ...
 * Updating icons cache ...                                                                                                          [ ok ]
 * 
 * Depending on your desktop environment, you may need
 * to install additional packages to get icons on the Downloads page.
 * 
 * For KDE, the required package is kde-base/oxygen-icons.
 * 
 * For other desktop environments, try one of the following:
 *  - x11-themes/gnome-icon-theme
 *  - x11-themes/tango-icon-theme
 * 
 * Some web pages may require additional fonts to display properly.
 * Try installing some of the following packages if some characters
 * are not displayed properly:
 *  - media-fonts/arphicfonts
 *  - media-fonts/bitstream-cyberbit
 *  - media-fonts/droid
 *  - media-fonts/ipamonafont
 *  - media-fonts/ja-ipafonts
 *  - media-fonts/takao-fonts
 *  - media-fonts/wqy-microhei
 *  - media-fonts/wqy-zenhei

# emerge --info
Portage 2.1.10.3 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 3.0.0-rc5-misibook x86_64)
=================================================================
System uname: Linux-3.0.0-rc5-misibook-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 29 Jun 2011 12:30:01 +0000
ccache version 3.1.5 [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2, 3.2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3
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:            3.4.6-r2, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo x-local sunrise x-lab science mozilla ruby systemd bazaar mysql x11
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -msse -msse2 -mssse3 -mmmx -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
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.3/ext-active/ /etc/php/cgi-php5.3/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="-march=native -msse -msse2 -mssse3 -mmmx -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
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="/home/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/local /usr/local/portage/layman/sunrise /usr/local/portage/layman/lab /usr/local/portage/layman/science /usr/local/portage/layman/mozilla /usr/local/portage/layman/ruby /usr/local/portage/layman/systemd /usr/local/portage/layman/bazaar /usr/local/portage/layman/mysql /usr/local/portage/layman/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aacs aalib abiword acl acpi aften aiglx aio alsa amd64 amr animgif anthy apache2 aplaymidi apm archive asf aspell ass async audio audioscrobbler authfile automap avahi bash-completion bazaar berkdb bittorrent blender-game blink bluetooth bluray branding browser bs2b btrfs bzip2 cairo ccache cddb cdparanoia cdr cdrdao chardet cli client clutter colordiff colors contrast contrib corefonts cover cracklib crypt css csv ctype cue cups curl cvs cxx dbus device-mapper dga djvu dri dri2 dts dv dvb dvd dvdnav dvdr dvdread emboss enca encode esd exif extensions extras fading-colors fam fbcon ffmpeg firefox flac flv ftp fuse gd gdbm geoip gif gimp glib glx gnutls gpg gpgme gpm gps graphviz gstreamer gtk gtk2 gtkstyle gzip h264 hddtemp http hunspell hvm i2c ical iconv icu imap immqt inotify insecure-patches iproute2 ipv6 irmc ithreads jabber javascript jpeg jpeg2k kqemu latex lcms libcaca libffi libnotify lirc lzma lzo mad matroska mbox mikmod mime mmx mmxext mng modplug modules mp2 mp3 mp4 mpeg mplayer mudflap multilib nas ncurses nls notebook nptl nptlonly nsplugin obex ogg openexr opengl openmp openssl osd pam pango pcre pda pdf perl php php5 plugins png pnm portage postscript ppds pppd private-headers pulseaudio python qt3support qt4 quicktime ramdisk readline recode rtmp ruby schroedinger scrobbler sdl serjtag session slang slp smime sms smtp sndfile sockets sox speex spell sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification subversion svg syncml sysfs system-sqlite tcpd tga theora threads threadsafe tiff timidity tk truetype type1 udev unicode usb vcd vde vhosts vim-syntax vorbis vpx wavpack webkit wifi wma wpa wxwindows x264 xanim xcb xcomposite xinerama xinetd xml xmp xorg xosd xrandr xscreensaver xslt xv xvid xvmc yv12 zeroconf zip 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" 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 synaptics mouse joystick evdev dummy" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 m68k mipsel ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 m68k mipsel ppc ppc64 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="gt68xx" USERLAND="GNU" VIDEO_CARDS="intel i810 fbdev vesa dummy" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ben Kohler gentoo-dev 2011-06-29 17:48:02 UTC
Created attachment 278631 [details, diff]
patch for linux3 target

I see the same thing here.  Works fine if I just patch in a "linux3" entry the same as the existing "linux2" one.  No idea if there are any further consequences to this change.
Comment 2 Mike Gilbert gentoo-dev 2011-06-30 01:03:39 UTC
Before Pawel dups this against bug 372137, I want to point out that this has been fixed upstream in the gyp repo, but somebody needs to roll DEPS to r935 or higher.

I will leave a comment on the upstream bug as well.

http://code.google.com/p/gyp/source/detail?r=935
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-06-30 07:59:35 UTC

*** This bug has been marked as a duplicate of bug 372137 ***