Summary: | >=www-client/chromium-31: jinja2.Environment unexpected keyword argument 'keep_trailing_newline' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Zeno Davatz <zdavatz> |
Component: | Current packages | Assignee: | Chromium Project <chromium> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log from chromium-32.0.1678.0 build error on Gentoo with Linux 3.12. |
Description
Zeno Davatz
2013-11-07 07:21:43 UTC
Is dev-python/jinja up to date on your system? Which jinja's slots are installed? Thanks for the reply. jinja version installed is: 2.7.1-r1000 * dev-python/jinja Latest version available: 2.7.1-r1000 Latest version installed: 2.7.1-r1000 Size of files: 368 kB Homepage: http://jinja.pocoo.org/ https://github.com/mitsuhiko/jinja2 https://pypi.python.org/pypi/Jinja2 Description: A small but fast and easy to use stand-alone template engine written in pure python. License: BSD Best Zeno There is no jinja-2.7.1-r1000 version in gentoo's portage repository. Latest is 2.7.1. Could you retry after downgrading to 2.7.1 ebuild? Sure, just did a downgrade to jinja-2.7.1.ebuild. Same error: FAILED: cd ../../third_party/WebKit/Source/core; python ../build/scripts/make_internal_runtime_flags.py page/RuntimeEnabledFeatures.in --output_dir ../../../../out/Release/gen/blink Traceback (most recent call last): File "../build/scripts/make_internal_runtime_flags.py", line 64, in <module> in_generator.Maker(InternalRuntimeFlagsWriter).main(sys.argv) File "/var/tmp/portage/www-client/chromium-32.0.1678.0/work/chromium-32.0.1678.0/third_party/WebKit/Source/build/scripts/in_generator.py", line 122, in main writer.write_files(options.output_dir) File "/var/tmp/portage/www-client/chromium-32.0.1678.0/work/chromium-32.0.1678.0/third_party/WebKit/Source/build/scripts/in_generator.py", line 80, in write_files self._write_file(output_dir, generator(), file_name) File "/var/tmp/portage/www-client/chromium-32.0.1678.0/work/chromium-32.0.1678.0/third_party/WebKit/Source/build/scripts/template_expander.py", line 53, in generator_internal return apply_template(template_file_name, parameters, filters=filters) File "/var/tmp/portage/www-client/chromium-32.0.1678.0/work/chromium-32.0.1678.0/third_party/WebKit/Source/build/scripts/template_expander.py", line 42, in apply_template jinja_env = jinja2.Environment(loader=jinja2.FileSystemLoader([dirname, path_to_templates]), keep_trailing_newline=True) TypeError: __init__() got an unexpected keyword argument 'keep_trailing_newline' ninja: build stopped: subcommand failed. Best Zeno Have you jinja-2.6-r100:compat slot installed too? Perhaps the build system try to use it instead of required 2.7 version? (keep_trailing_newline does not exist in 2.6). How do I check the slot? I have no other jinja version installed to my best of knowledge. Best Zeno Could you post full `emerge --info jinja chromium` output? System uname: Linux-3.12.0-x86_64-Intel-R-_Core-TM-_i7_CPU_960_@_3.20GHz-with-gentoo-2.2.0 KiB Mem: 12303304 total, 4343980 free KiB Swap: 0 total, 0 free Timestamp of tree: Thu, 31 Oct 2013 01:45:01 +0000 ld GNU ld (GNU Binutils) 2.21.1 app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.5-r1000, 3.2.5, 3.3.2-r1000 dev-util/cmake: 2.8.11.1 sys-apps/baselayout: 2.2.0-r1 sys-apps/openrc: 0.10.2-r3 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.2, 1.12.6 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.6.4-r2 sys-devel/gcc-config: 1.5 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers) sys-libs/glibc: 2.15-r4 Repositories: gentoo betagarden ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=generic -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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 /etc/udev/rules.d" CXXFLAGS="-mtune=generic -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_CH.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/betagarden" SYNC="git://github.com/funtoo/ports-2012.git" SYNC_USER="root" USE="X X* amd64 apache2 bzip2 cairo consolekit corefonts cracklib crypt cxx dbus dga firefox gd gdbm gnome gtk iconv icu ipv6 java jpeg jpg libkms libxml2 midi minizip mmx modules mudflap multilib mysql ncurses nls nptl openmp otr pam pcre pdo php png policykit python readline redis resolvconf ruby skype sse sse2 ssl tcpd tif tiff tk unicode webgl wmf xml yaml zlib" ABI_X86="64" 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 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 proxy proxy_http cgi cgid" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_ABIS="2.7 3.3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19 ruby20" USERLAND="GNU" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK ================================================================= Package Settings ================================================================= dev-python/jinja-2.7.1 was built with the following: USE="-doc -examples" PYTHON_TARGETS="python2_7 python3_3 -pypy2_0 -python2_6" www-client/chromium-30.0.1599.66 was built with the following: USE="gnome -bindist -cups -custom-cflags -gnome-keyring -gps -kerberos (-neon) -pulseaudio (-selinux) (-system-sqlite) (-tcmalloc) -test" LINGUAS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW" It sounds like the issue fixed by the following change in blink: https://codereview.chromium.org/23498033/ when will the patch go into the Gentoo-Release? Do you know anything? (In reply to Zeno Davatz from comment #10) > when will the patch go into the Gentoo-Release? Do you know anything? Chromium ebuild uses jinja2 system library and depends on version 2.7. So this issue should not occur on your system (I can't reproduce on my system with 32.0.1678.0 and above link was just posted for reference). It sounds like a <jinja-2.7 is present somewhere on your system. Could you retry to build chromium-32.0.1678.0 and attach the full log to the bug? Created attachment 362728 [details]
Build log from chromium-32.0.1678.0 build error on Gentoo with Linux 3.12.
Build log from chromium-32.0.1678.0 on Gentoo with Linux 3.12.
There's some fishy stuff going on in this bug report... The -r1000 revisions seem like something from Progress overlay or Funtoo. As well, you conveniently cut off the top line from your emerge --info output, which would tell me which version of Portage you are using. I don't generally mind helping, but when you try to hide information from me it just makes things more difficult. Sorry about that! Here it comes with the top-lines: ~> emerge --info jinja chromium Portage 2.3.6-r5 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.6.4, glibc-2.15-r4, 3.12.0 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.12.0-x86_64-Intel-R-_Core-TM-_i7_CPU_960_@_3.20GHz-with-gentoo-2.2.0 KiB Mem: 12303304 total, 2810156 free KiB Swap: 0 total, 0 free Timestamp of tree: Unknown ld GNU ld (GNU Binutils) 2.21.1 app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.5-r1000, 3.2.5, 3.3.2-r1000 dev-util/cmake: 2.8.11.1 sys-apps/baselayout: 2.2.0-r1 sys-apps/openrc: 0.10.2-r3 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.2, 1.12.6 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.6.4-r2 sys-devel/gcc-config: 1.5 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers) sys-libs/glibc: 2.15-r4 Repositories: gentoo betagarden ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=generic -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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 /etc/udev/rules.d" CXXFLAGS="-mtune=generic -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_CH.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/betagarden" SYNC="git://github.com/funtoo/ports-2012.git" SYNC_USER="root" USE="X X* amd64 apache2 bzip2 cairo consolekit corefonts cracklib crypt cxx dbus dga firefox gd gdbm gnome gtk iconv icu ipv6 java jpeg jpg libkms libxml2 midi minizip mmx modules mudflap multilib mysql ncurses nls nptl openmp otr pam pcre pdo php png policykit python readline redis resolvconf ruby skype sse sse2 ssl tcpd tif tiff tk unicode webgl wmf xml yaml zlib" ABI_X86="64" 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 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 proxy proxy_http cgi cgid" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_ABIS="2.7 3.3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19 ruby20" USERLAND="GNU" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK ================================================================= Package Settings ================================================================= This error has always shown up, also before I upgraded to jinja-2.7.1-r1000. As shown above I downgraded yesterday again. Same error. The error started happening after Chromium 30.0 Best Zeno Zeno, next time, please, use FUntoo bug tracker for it's issues or provide full emerge --info. I can't reproduce this failure and with jinja-2.7.1-r1000 Full emerge --info is attached above as requested. Funtoo is based on Gentoo as I understand. Zeno Davatz: Please show: emerge -ptv dev-python/jinja python2.6 -c 'import jinja2; jinja2.Environment(keep_trailing_newline=True)' python2.7 -c 'import jinja2; jinja2.Environment(keep_trailing_newline=True)' python2.6 -c 'import jinja2; print(jinja2.__version__)' python2.7 -c 'import jinja2; print(jinja2.__version__)' Python 2.6 is not installed on my system. ~> python2.7 -c 'import jinja2; jinja2.Environment(keep_trailing_newline=True)' Traceback (most recent call last): File "<string>", line 1, in <module> TypeError: __init__() got an unexpected keyword argument 'keep_trailing_newline' ~> python2.7 -c 'import jinja2; jinja2.Environment(keep_trailing_newline=True)' Traceback (most recent call last): File "<string>", line 1, in <module> TypeError: __init__() got an unexpected keyword argument 'keep_trailing_newline'j ~> python2.7 -c 'import jinja2; print(jinja2.__version__)' 2.6 ~> emerge -ptv dev-python/jinja Calculating dependencies... done! [ebuild U ] dev-python/jinja-2.7.1-r1000 [2.7.1] USE="-doc -examples -i18n% -vim-syntax%" PYTHON_ABIS="2.7%* 3.3%* -2.6% -2.7-jython% -2.7-pypy-2.0% -3.1% -3.2% (-3.4)" PYTHON_TARGETS="(-pypy2_0%) (-python2_6%) (-python2_7%*) (-python3_3%*)" 0 kB and with python 3.2 I get: ~> python3.2 -c 'import jinja2; print(jinja2.__version__)' Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named jinja2 ~> python3.2 -c 'import jinja2; jinja2.Environment(keep_trailing_newline=True)' Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named jinja2 (In reply to Zeno Davatz from comment #18) > ~> python2.7 -c 'import jinja2; print(jinja2.__version__)' > 2.6 This shows that jinja 2.6 is actually used... > ~> emerge -ptv dev-python/jinja > Calculating dependencies... done! > [ebuild U ] dev-python/jinja-2.7.1-r1000 [2.7.1] USE="-doc -examples > -i18n% -vim-syntax%" PYTHON_ABIS="2.7%* 3.3%* -2.6% -2.7-jython% > -2.7-pypy-2.0% -3.1% -3.2% (-3.4)" PYTHON_TARGETS="(-pypy2_0%) (-python2_6%) > (-python2_7%*) (-python3_3%*)" 0 kB But Portage thinks that jinja 2.7.1 is installed. Show: python2.7 -c 'import jinja2; print(jinja2)' ~> python2.7 -c 'import jinja2; print(jinja2)' <module 'jinja2' from '/usr/lib64/python2.7/site-packages/Jinja2-2.6-py2.7.egg/jinja2/__init__.pyc'> Is there still some python-jinja-2.6 binary on my system? (In reply to Zeno Davatz from comment #20) > ~> python2.7 -c 'import jinja2; print(jinja2)' > <module 'jinja2' from > '/usr/lib64/python2.7/site-packages/Jinja2-2.6-py2.7.egg/jinja2/__init__. > pyc'> You probably used easy_install, pip or something else, which broke your system... Python packages installed using Portage do not contain *.egg directories. (They might contain harmless *.egg-info directories / regular files.) I once used pip to install some packages for python but I can not remember installing jinja using pip. Should I just delete the directory /usr/lib64/python2.7/site-packages/Jinja2-2.6-py2.7.egg/ ? Best Zeno (In reply to Zeno Davatz from comment #22) Show: find /usr/lib64/python* -name "*.egg" find /usr/lib64/python* -name "*.pth" (In reply to Arfrever Frehtes Taifersar Arahesis from comment #23) (IIRC a *.egg directory works only when a *.pth file tells Python to use this *.egg directory.) removing the Dir: /usr/lib64/python2.7/site-packages/Jinja2-2.6-py2.7.egg/ seems to have helped ;) ! ~> find /usr/lib64/python* -name "*.egg" /usr/lib64/python2.7/site-packages/Coffin-0.3.7-py2.7.egg /usr/lib64/python2.7/site-packages/Django-1.3.1-py2.7.egg /usr/lib64/python2.7/site-packages/South-0.7.6-py2.7.egg /usr/lib64/python2.7/site-packages/Unidecode-0.04.9-py2.7.egg /usr/lib64/python2.7/site-packages/akismet-0.2.0-py2.7.egg /usr/lib64/python2.7/site-packages/amqplib-1.0.2-py2.7.egg /usr/lib64/python2.7/site-packages/anyjson-0.3.3-py2.7.egg /usr/lib64/python2.7/site-packages/askbot-0.7.43-py2.7.egg /usr/lib64/python2.7/site-packages/celery-2.2.7-py2.7.egg /usr/lib64/python2.7/site-packages/chardet-2.1.1-py2.7.egg /usr/lib64/python2.7/site-packages/django_celery-2.2.7-py2.7.egg /usr/lib64/python2.7/site-packages/django_countries-1.0.5-py2.7.egg /usr/lib64/python2.7/site-packages/django_followit-0.0.3-py2.7.egg /usr/lib64/python2.7/site-packages/django_keyedcache-1.4_6-py2.7.egg /usr/lib64/python2.7/site-packages/django_kombu-0.9.2-py2.7.egg /usr/lib64/python2.7/site-packages/django_picklefield-0.2.1-py2.7.egg /usr/lib64/python2.7/site-packages/django_recaptcha_works-0.3.4-py2.7.egg /usr/lib64/python2.7/site-packages/django_robots-0.8.1-py2.7.egg /usr/lib64/python2.7/site-packages/django_threaded_multihost-1.4_1-py2.7.egg /usr/lib64/python2.7/site-packages/html5lib-0.90-py2.7.egg /usr/lib64/python2.7/site-packages/httplib2-0.7.6-py2.7.egg /usr/lib64/python2.7/site-packages/kombu-1.5.1-py2.7.egg /usr/lib64/python2.7/site-packages/lamson-1.1-py2.7.egg /usr/lib64/python2.7/site-packages/lockfile-0.9.1-py2.7.egg /usr/lib64/python2.7/site-packages/markdown2-2.1.0-py2.7.egg /usr/lib64/python2.7/site-packages/mock-1.0b1-py2.7.egg /usr/lib64/python2.7/site-packages/nose-1.2.1-py2.7.egg /usr/lib64/python2.7/site-packages/oauth2-1.5.211-py2.7.egg /usr/lib64/python2.7/site-packages/pyparsing-1.5.6-py2.7.egg /usr/lib64/python2.7/site-packages/pystache-0.3.1-py2.7.egg /usr/lib64/python2.7/site-packages/python_daemon-1.6-py2.7.egg /usr/lib64/python2.7/site-packages/python_dateutil-1.5-py2.7.egg /usr/lib64/python2.7/site-packages/python_openid-2.2.5-py2.7.egg ~> find /usr/lib64/python* -name "*.pth" /usr/lib64/python2.7/site-packages/easy-install.pth /usr/lib64/python2.7/site-packages/protobuf-2.5.0-py2.7-nspkg.pth /usr/lib64/python2.7/site-packages/pygtk.pth /usr/lib64/python2.7/site-packages/setuptools.pth /usr/lib64/python2.7/site-packages/wx.pth /usr/lib64/python3.2/site-packages/pygtk.pth Ok, now I get a new error after deleting above directory: ATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen/shim_headers/libpng/target -Igen/shim_headers/zlib/target -Igen/shim_headers/icuuc/target -Igen/shim_headers/icui18n/target -Igen/shim_headers/nspr/target -Igen/shim_headers/libevent/target -I../.. -I../../third_party/skia/src/core -I../../skia/config -I../../third_party/skia/include/config -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -Igen/ui/app_locale_settings -Igen/ui/ui_strings -Igen/ui/ui_resources -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -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/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng15 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng15 -I/usr/include/pango-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -O2 -fno-ident -fdata-sections -ffunction-sections -mtune=generic -O2 -pipe -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -c ../../ui/base/touch/touch_factory_x11.cc -o obj/ui/base/touch/ui.touch_factory_x11.o ../../ui/base/touch/touch_factory_x11.cc: In member function ‘void ui::TouchFactory::UpdateDeviceList(Display*)’: ../../ui/base/touch/touch_factory_x11.cc:133:11: error: ‘XITouchClassInfo’ was not declared in this scope ../../ui/base/touch/touch_factory_x11.cc:133:29: error: ‘tci’ was not declared in this scope ../../ui/base/touch/touch_factory_x11.cc:134:32: error: expected type-specifier before ‘XITouchClassInfo’ ../../ui/base/touch/touch_factory_x11.cc:134:32: error: expected ‘>’ before ‘XITouchClassInfo’ ../../ui/base/touch/touch_factory_x11.cc:134:32: error: expected ‘(’ before ‘XITouchClassInfo’ ../../ui/base/touch/touch_factory_x11.cc:134:50: error: expected primary-expression before ‘>’ token ../../ui/base/touch/touch_factory_x11.cc:134:64: error: expected ‘)’ before ‘;’ token ninja: build stopped: subcommand failed. Show: cat /usr/lib64/python2.7/site-packages/easy-install.pth cat /usr/lib64/python2.7/site-packages/setuptools.pth ~> cat /usr/lib64/python2.7/site-packages/easy-install.pth import sys; sys.__plen = len(sys.path) ./django_threaded_multihost-1.4_1-py2.7.egg ./South-0.7.6-py2.7.egg ./Coffin-0.3.7-py2.7.egg ./django_recaptcha_works-0.3.4-py2.7.egg ./markdown2-2.1.0-py2.7.egg ./lamson-1.1-py2.7.egg ./akismet-0.2.0-py2.7.egg ./Jinja2-2.6-py2.7.egg ./django_countries-1.0.5-py2.7.egg ./django_kombu-0.9.2-py2.7.egg ./html5lib-0.90-py2.7.egg /home/zeno/.software/askbot-devel ./Django-1.3.1-py2.7.egg ./django_keyedcache-1.4_6-py2.7.egg ./django_robots-0.8.1-py2.7.egg ./django_celery-2.2.7-py2.7.egg ./pystache-0.3.1-py2.7.egg ./python_openid-2.2.5-py2.7.egg ./oauth2-1.5.211-py2.7.egg ./Unidecode-0.04.9-py2.7.egg ./django_followit-0.0.3-py2.7.egg ./python_daemon-1.6-py2.7.egg ./nose-1.2.1-py2.7.egg ./mock-1.0b1-py2.7.egg ./chardet-2.1.1-py2.7.egg ./celery-2.2.7-py2.7.egg ./django_picklefield-0.2.1-py2.7.egg ./httplib2-0.7.6-py2.7.egg ./lockfile-0.9.1-py2.7.egg ./pyparsing-1.5.6-py2.7.egg ./kombu-1.5.1-py2.7.egg ./anyjson-0.3.3-py2.7.egg ./python_dateutil-1.5-py2.7.egg ./amqplib-1.0.2-py2.7.egg import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new) ~> cat /usr/lib64/python2.7/site-packages/setuptools.pth /usr/lib64/python2.7/site-packages I'm closing this bug since there is nothing the chromium team can do here. Why are you closing this? It has not yet been resolved? It is definitely an issue with how Gentoo deals with python packages that are installed using pip! In the future Gentoo should try to detect these kinds of collisions and warn the user. Closing this doesn't help anyone. Specially not the advanced users. (In reply to Zeno Davatz from comment #30) > Why are you closing this? It has not yet been resolved? It is definitely an > issue with how Gentoo deals with python packages that are installed using > pip! This was filed as a www-client/chromium issue, and has been shown not to be a bug in Gentoo but a problem with the system. Thank you Julien, Mike, and Arfrever for helping diagnose this. > In the future Gentoo should try to detect these kinds of collisions and warn > the user. Please consider opening a new bug for this - actually, discussing on gentoo-dev first may be a better option. It is a well-known problem that distro package installs don't work well with pip and other language-provided installers. I do agree it is a real issue, it's just fixing it would be a pretty large scale project. (In reply to Paweł Hajdan, Jr. from comment #31) > > In the future Gentoo should try to detect these kinds of collisions and warn > > the user. > > Please consider opening a new bug for this - actually, discussing on > gentoo-dev first may be a better option. It is a well-known problem that > distro package installs don't work well with pip and other language-provided > installers. I do agree it is a real issue, it's just fixing it would be a > pretty large scale project. Right. This kind of problem can even occur if you install C libraries outside of portage's control. With python, it is just a bit more difficult for an end user to understand because of the convoluted way that setuptools and pip work. First of all thanks for all you help! Second: This all reminds of Ruby ;) and several Rubies installed at the same time. I will post to the devel List, thanks for the hint. In the mean time the jinja Error is gone but a ninja error shows up. See above. Thanks again Zeno (In reply to Zeno Davatz from comment #33) I see no "ninja" error other than the failure due to jinja. If you look at #c26 you will see that there is no more jinja error but a new ninja error. (In reply to Zeno Davatz from comment #35) Ah, I missed that. Could you file a new bug and attach a full build log please? (In reply to Mike Gilbert from comment #36) Done: https://bugs.gentoo.org/show_bug.cgi?id=490810 Best Zeno |