Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352296 - www-client/chromium-8.0.552.237 gyp_chromium "SyntaxError: invalid syntax"
Summary: www-client/chromium-8.0.552.237 gyp_chromium "SyntaxError: invalid syntax"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Chromium Project
URL: http://pastebin.com/B5Fu6skm
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-20 23:04 UTC by upszot
Modified: 2011-01-21 04:31 UTC (History)
0 users

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 upszot 2011-01-20 23:04:25 UTC
when emerge chromium crash wich this error:
-----------------------------------------------------------
>>> Configuring source in /var/tmp/portage/www-client/chromium-8.0.552.237/work/chromium-8.0.552.237 ...
  File "build/gyp_chromium", line 93
    print 'Updating projects from gyp files...'
                                              ^
SyntaxError: invalid syntax
 * ERROR: www-client/chromium-8.0.552.237 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_configure
 *   environment, line 2864:  Called die
 * The specific snippet of code:
 *       build/gyp_chromium --depth=. ${myconf} || die
----------------------------------------------------------- 
for all logs http://pastebin.com/B5Fu6skm
my emerge --info -> http://pastebin.com/dyrDqvrU


Reproducible: Always

Steps to Reproduce:
1.emerge chromium
2.
3.
Comment 1 upszot 2011-01-20 23:12:51 UTC
emerge --info
Portage 2.1.9.34 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.11.2-r3, 2.6.36-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-i686-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 20 Jan 2011 21:15:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 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
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula AdobeFlash-10.1 googleearth"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
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="-O2 -march=i686 -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.localhost.net.ar/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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/overlay-local"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="X accessibility acl acpi alsa berkdb bzip2 cli cracklib crypt cups cxx dri dvd etc fortran gdbm gif glib gnome gpm iconv java jpeg jpeg2k kde latin1 logrotate modules mp3 mpeg mudflap mysql ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd pulseaudio python qt3support readline samba session ssh ssl sysfs tcpd tiff unicode wifi win32codecs x86 xorg 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga vesa" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-01-20 23:27:59 UTC
Please do not use pastebins. Attach your log to this bug report.
Comment 3 Mike Gilbert gentoo-dev 2011-01-21 02:04:32 UTC
This looks like bug 344367. I don't think the fix was ever applied to chromium-8*.

As a workaround, you should be able to build it with python2 set as default.
Comment 4 upszot 2011-01-21 02:33:08 UTC
#
M1530 upszot # cat /var/tmp/portage/www-client/chromium-8.0.552.237/temp/build.log
#
 * Package:    www-client/chromium-8.0.552.237
#
 * Repository: gentoo
#
 * Maintainer: chromium@gentoo.org
#
 * USE:        cups elibc_glibc gecko-mediaplayer gnome kernel_linux userland_GNU x86
#
 * FEATURES:   sandbox
#
>>> Unpacking source...
#
>>> Unpacking chromium-8.0.552.237.tar.bz2 to /var/tmp/portage/www-client/chromium-8.0.552.237/work
#
>>> Source unpacked in /var/tmp/portage/www-client/chromium-8.0.552.237/work
#
>>> Preparing source in /var/tmp/portage/www-client/chromium-8.0.552.237/work/chromium-8.0.552.237 ...
#
 * Applying chromium-system-icu-r1.patch ...                                                                                                                              [ ok ]
#
 * Applying chromium-gecko-mediaplayer-r0.patch ...                                                                                                                       [ ok ]
#
 * Applying chromium-locale-glib-r1.patch ...                                                                                                                             [ ok ]
#
 * Removing bundled library third_party/bzip2 ...
#
 * Removing bundled library third_party/codesighs ...
#
 * Removing bundled library third_party/icu ...
#
 * Removing bundled library third_party/jemalloc ...
#
 * Removing bundled library third_party/lcov ...
#
 * Removing bundled library third_party/libevent ...
#
 * Removing bundled library third_party/libjpeg ...
#
 * Removing bundled library third_party/libpng ...
#
 * Removing bundled library third_party/libxml ...
#
 * Removing bundled library third_party/libxslt ...
#
 * Removing bundled library third_party/lzma_sdk ...
#
 * Removing bundled library third_party/molokocacao ...
#
 * Removing bundled library third_party/ocmock ...
#
 * Removing bundled library third_party/pyftpdlib ...
#
 * Removing bundled library third_party/simplejson ...
#
 * Removing bundled library third_party/tlslite ...
#
>>> Source prepared.
#
>>> Configuring source in /var/tmp/portage/www-client/chromium-8.0.552.237/work/chromium-8.0.552.237 ...
#
  File "build/gyp_chromium", line 93
#
    print 'Updating projects from gyp files...'
#
                                              ^
#
SyntaxError: invalid syntax
#
 * ERROR: www-client/chromium-8.0.552.237 failed:
#
 *   (no error message)
#
 *
#
 * Call stack:
#
 *     ebuild.sh, line  56:  Called src_configure
#
 *   environment, line 2863:  Called die
#
 * The specific snippet of code:
#
 *       build/gyp_chromium --depth=. ${myconf} || die
#
 *
#
 * If you need support, post the output of 'emerge --info =www-client/chromium-8.0.552.237',
#
 * the complete build log and the output of 'emerge -pqv =www-client/chromium-8.0.552.237'.
#
 * The complete build log is located at '/var/tmp/portage/www-client/chromium-8.0.552.237/temp/build.log'.
#
 * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-8.0.552.237/temp/environment'.
#
 * S: '/var/tmp/portage/www-client/chromium-8.0.552.237/work/chromium-8.0.552.237'
#
M1530 upszot # emerge --info =www-client/chromium-8.0.552.237
#
Portage 2.1.9.34 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.11.2-r3, 2.6.36-gentoo-r5 i686)
#
=================================================================
#
                         System Settings
#
=================================================================
#
System uname: Linux-2.6.36-gentoo-r5-i686-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.1
#
Timestamp of tree: Thu, 20 Jan 2011 21:15:01 +0000
#
app-shells/bash:     4.1_p7
#
dev-java/java-config: 2.1.11-r1
#
dev-lang/python:     2.6.6-r1, 3.1.2-r4
#
dev-util/cmake:      2.8.1-r2
#
sys-apps/baselayout: 2.0.1
#
sys-apps/openrc:     0.7.0
#
sys-apps/sandbox:    2.4
#
sys-devel/autoconf:  2.13, 2.65-r1
#
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 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
#
sys-devel/libtool:   2.4-r1
#
sys-devel/make:      3.81-r2
#
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
#
ACCEPT_KEYWORDS="x86"
#
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula AdobeFlash-10.1 googleearth"
#
CBUILD="i686-pc-linux-gnu"
#
CFLAGS="-O2 -march=i686 -pipe"
#
CHOST="i686-pc-linux-gnu"
#
CONFIG_PROTECT="/etc /usr/share/config"
#
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="-O2 -march=i686 -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.localhost.net.ar/"
#
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
#
LINGUAS="es en"
#
MAKEOPTS="-j3"
#
PKGDIR="/usr/portage/packages"
#
PORTAGE_CONFIGROOT="/"
#
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
#
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/overlay-local"
#
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
#
USE="X accessibility acl acpi alsa berkdb bzip2 cli cracklib crypt cups cxx dri dvd etc fortran gdbm gif glib gnome gpm iconv java jpeg jpeg2k kde latin1 logrotate modules mp3 mpeg mudflap mysql ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd pulseaudio python qt3support readline samba session ssh ssl sysfs tcpd tiff unicode wifi win32codecs x86 xorg 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga vesa" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
#
 
#
M1530 upszot # emerge -pqv =www-client/chromium-8.0.552.237
#
[ebuild     U ] www-client/chromium-8.0.552.237 [8.0.552.224] USE="cups gecko-mediaplayer gnome -gnome-keyring -system-sqlite (-system-v8)"
#
M1530 upszot #
Comment 5 upszot 2011-01-21 02:34:58 UTC
M1530 upszot # eselect python list
Available Python interpreters:
  [1]   python2.6
  [2]   python3.1 *
Comment 6 upszot 2011-01-21 04:31:27 UTC
ok, i set python version 2.* 

----------------------------------
M1530 upszot # eselect python list
Available Python interpreters:
  [1]   python2.6 *
  [2]   python3.1
----------------------------------

... and emerge chromium OK.

thx