Chromium build failing: FAILED: python ../../chrome/browser/resources/polymer_css_build_gn.py --out_folder gen/chrome/browser/resources/md_history --input_files app.vulcanized.unbuilt.html lazy_load.vulcanized.unbuilt.html --output_files app.vulcanized.html lazy_load.vulcanized.html ../../third_party/node/linux/node-linux-x64/bin/node ../../third_party/node/node_modules/polymer-css-build/bin/polymer-css-build --no-inline-includes -f /var/tmp/portage/www-client/chromium-59.0.3071.104/work/chromium-59.0.3071.104/out/Release/gen/chrome/browser/resources/md_history/app.vulcanized.unbuilt.html /var/tmp/portage/www-client/chromium-59.0.3071.104/work/chromium-59.0.3071.104/out/Release/gen/chrome/browser/resources/md_history/lazy_load.vulcanized.unbuilt.html -o /var/tmp/portage/www-client/chromium-59.0.3071.104/work/chromium-59.0.3071.104/out/Release/gen/chrome/browser/resources/md_history/app.vulcanized.html /var/tmp/portage/www-client/chromium-59.0.3071.104/work/chromium-59.0.3071.104/out/Release/gen/chrome/browser/resources/md_history/lazy_load.vulcanized.html failed: /var/tmp/portage/www-client/chromium-59.0.3071.104/work/chromium-59.0.3071.104/third_party/node/node_modules/polymer-css-build/bin/polymer-css-build:83 const docs = args.file.map(f => ({ ^ SyntaxError: Unexpected token > at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:906:3 [ebuild U ] www-client/chromium-59.0.3071.104::gentoo [49.0.2623.87::gentoo] USE="gtk3* hangouts (pic) suid%* -component-build% -cups* -custom-cflags -gconf% -gnome-keyring -kerberos (-neon) -proprietary-codecs* -pulseaudio (-selinux) -system-ffmpeg* (-system-libvpx) (-tcmalloc*) {-test} -widevine (-gn%) (-gnome%) (-hidpi%) (-hotwording%)" 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%*" 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%)" 0 KiB
emerge --info and build.log are required if you are looking for assistance.
Please provide info anarchy@ asked for. Meanwhile, I prefer to keep the bug open because most info is there already. skaumo, what version of nodejs do you have installed?
# emerge -pqv '=www-client/chromium-61.0.3163.13::gentoo' [ebuild U ] www-client/chromium-61.0.3163.13 [61.0.3159.5] USE="cups gtk3 hangouts kerberos (pic) proprietary-codecs suid system-ffmpeg system-icu -component-build -custom-cflags -gnome-keyring (-neon) -pulseaudio (-selinux) (-system-libvpx) (-tcmalloc) {-test} -widevine" L10N="en-GB -am -ar -bg -bn -ca -cs -da -de -el -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"
Andrew, thanks for providing the affected version of chromium. The following info is still missing and would be useful to help fix the bug: - output of "emerge --info" command - attached build log (compressed as needed) - version of nodejs you have installed Please reply back with above info.
Also asked upstream. It'd really help though to know the version of nodejs used.
I reproduced with www-client/chromium-61.0.3163.25 and net-libs/nodejs-0.12.17 . Looks like net-libs/nodejs-4.6.1 works. Running some more tests to confirm.
Fixed in https://gitweb.gentoo.org/repo/gentoo.git/commit/www-client/chromium?id=b41323a244f517b26c959ce2694069fea88a2ee5 .