| View previous topic :: View next topic |
| Author |
Message |
jbaldassari n00b

Joined: 24 Mar 2009 Posts: 13
|
Posted: Fri Jan 20, 2017 6:19 am Post subject: [SOLVED] jinja TemplateSyntaxError building Chromium 55 |
|
|
I ran into a problem that seems similar to the problem described in https://forums.gentoo.org/viewtopic-t-1057420.html and Bug 605140, but the error I'm getting is slightly different, and I have jinja 2.8 installed. After a world update, I needed to remerge chromium:
| Code: | | [ebuild rR ] www-client/chromium-55.0.2883.75 |
During the emerge I get these jinja template errors: http://pastebin.com/NyGUdpLj
Shorter version:
| Code: | File "/var/tmp/portage/www-client/chromium-55.0.2883.75/work/chromium-55.0.2883.75/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl", line 14, in template
{% set define_exception_state -%}
jinja2.exceptions.TemplateSyntaxError: expected token '=', got 'end of statement block' |
I have jinja 2.8 installed:
| Code: | * dev-python/jinja
Latest version available: 2.8
Latest version installed: 2.8
Size of files: 349 KiB
Homepage: http://jinja.pocoo.org/ 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 |
emerge --info '=www-client/chromium-55.0.2883.75::gentoo' : http://pastebin.com/nUXpy7S9
emerge -pqv '=www-client/chromium-55.0.2883.75::gentoo' :
| Code: | | [ebuild R ] www-client/chromium-55.0.2883.75 USE="cups (gn) gnome gnome-keyring hangouts (pic) proprietary-codecs pulseaudio suid system-ffmpeg tcmalloc -custom-cflags (-gtk3) -kerberos (-neon) (-selinux) {-test} -widevine" L10N="-am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -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" |
Anyone else run into this?
Last edited by jbaldassari on Sat Jan 21, 2017 4:20 am; edited 1 time in total |
|
| Back to top |
|
 |
kharitonow n00b

Joined: 10 Dec 2015 Posts: 38
|
Posted: Fri Jan 20, 2017 8:37 am Post subject: |
|
|
| I would try the easiest way: to keyword 56.0.2924.59 version and try to build it. |
|
| Back to top |
|
 |
jbaldassari n00b

Joined: 24 Mar 2009 Posts: 13
|
Posted: Fri Jan 20, 2017 5:50 pm Post subject: |
|
|
| Quote: | | I would try the easiest way: to keyword 56.0.2924.59 version and try to build it. |
Maybe I'll give that a shot. It's just weird because I'm not upgrading Chromium, I'm just rebuilding it. I already have chromium-55.0.2883.75 installed, and it compiled fine the last time. I also checked my emerge log to find out if jinja had been updated recently (since the last time I built Chromium), but it has been at v2.8 for months. I don't believe I've made any USE flag changes either. One other thing I tried was clearing out the temp dir for the build and also removing all the Chromium distfiles just to make sure I didn't get some bad copy. That didn't work either. Well, maybe I'll just try going to a more recent version of Chromium. |
|
| Back to top |
|
 |
jbaldassari n00b

Joined: 24 Mar 2009 Posts: 13
|
Posted: Fri Jan 20, 2017 8:04 pm Post subject: |
|
|
| It turns out that all later versions of Chromium require GCC v5+, and I don't think I'm brave enough to unmask that one. Still getting the Jinja template errors on www-client/chromium-55.0.2883.75. |
|
| Back to top |
|
 |
jbaldassari n00b

Joined: 24 Mar 2009 Posts: 13
|
|
| Back to top |
|
 |
jbaldassari n00b

Joined: 24 Mar 2009 Posts: 13
|
Posted: Sat Jan 21, 2017 4:19 am Post subject: |
|
|
| Found a fix. After re-emerging dev-python/jinja I was able to emerge chromium without errors. |
|
| Back to top |
|
 |
|