Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625016 - www-client/chromium-59.0.3071.104 build failure (nodejs SyntaxError: Unexpected token "=>")
Summary: www-client/chromium-59.0.3071.104 build failure (nodejs SyntaxError: Unexpect...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL: https://groups.google.com/a/chromium....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-14 13:37 UTC by skaumo
Modified: 2017-08-03 18:12 UTC (History)
1 user (show)

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 skaumo 2017-07-14 13:37:10 UTC
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
Comment 1 Jory A. Pratt gentoo-dev 2017-07-17 00:49:14 UTC
emerge --info and build.log are required if you are looking for assistance.
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2017-07-19 19:09:10 UTC
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?
Comment 3 Andrew Waters 2017-07-31 07:29:20 UTC
# 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"
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2017-07-31 08:05:51 UTC
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.
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2017-08-02 15:18:13 UTC
Also asked upstream. It'd really help though to know the version of nodejs used.
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2017-08-03 15:26:01 UTC
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.