Gentoo Archives: gentoo-user

From: allan gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: [gentoo-user] chromium build failure
Date: Thu, 25 Jan 2018 04:11:14
Message-Id: 87vafqziga.fsf@nyu.edu
I ran the build failed twice, each time with MAKEOPTS="--jobs=1" and the
build logs are essentially identical.  After about 12 hours compiling and
36MB of build.log, the error shown below occurs

I have two laptops with *very* similar gentoo distributions.  The newer
machine had a successful build first try.  The second older (4 years)
machine had both failures.  Each machine has profile
default/linux/amd64/17.0/desktop/gnome/systemd

Thanks in advance for any help.

allan

================================================================

[132/15175] python ../../chrome/browser/resources/optimize_webui.py --host history --input ../../chrome/browser/resources/md_history --out_folder gen/chrome/browser/resources/md_history --depfile gen/chrome/browser/resources/md_history/build.d --html_in_files app.html lazy_load.html --html_out_files app.vulcanized.html lazy_load.vulcanized.html --js_out_files app.crisper.js lazy_load.crisper.js --exclude chrome://resources/html/util.html chrome://history/constants.html
FAILED: gen/chrome/browser/resources/md_history/app.vulcanized.html gen/chrome/browser/resources/md_history/lazy_load.vulcanized.html gen/chrome/browser/resources/md_history/app.crisper.js gen/chrome/browser/resources/md_history/lazy_load.crisper.js 
python ../../chrome/browser/resources/optimize_webui.py --host history --input ../../chrome/browser/resources/md_history --out_folder gen/chrome/browser/resources/md_history --depfile gen/chrome/browser/resources/md_history/build.d --html_in_files app.html lazy_load.html --html_out_files app.vulcanized.html lazy_load.vulcanized.html --js_out_files app.crisper.js lazy_load.crisper.js --exclude chrome://resources/html/util.html chrome://history/constants.html
../../third_party/node/linux/node-linux-x64/bin/node ../../third_party/node/node_modules/polymer-bundler/lib/bin/polymer-bundler --exclude chrome://resources/html/polymer.html --exclude chrome://resources/polymer/v1_0/polymer/polymer.html --exclude chrome://resources/polymer/v1_0/polymer/polymer-micro.html --exclude chrome://resources/polymer/v1_0/polymer/polymer-mini.html --exclude chrome://resources/polymer/v1_0/web-animations-js/web-animations-next-lite.min.js --exclude chrome://resources/css/roboto.css --exclude chrome://resources/css/text_defaults.css --exclude chrome://resources/css/text_defaults_md.css --exclude chrome://resources/js/load_time_data.js --inline-css --inline-scripts --rewrite-urls-in-templates --strip-comments --redirect "chrome://resources/cr_components/|../../ui/webui/resources/cr_components" --redirect "chrome://resources/cr_elements/|../../ui/webui/resources/cr_elements" --redirect "chrome://resources/css/|../../ui/webui/resources/css" --redirect "chrome://resources/html/|../../ui/webui/resources/html" --redirect "chrome://resources/js/|../../ui/webui/resources/js" --redirect "chrome://resources/polymer/v1_0/|../../third_party/polymer/v1_0/components-chromium" --exclude chrome://resources/html/util.html --exclude chrome://history/constants.html --exclude strings.js --exclude chrome://history/strings.js --manifest-out /var/tmp/portage/www-client/chromium-63.0.3239.132/work/chromium-63.0.3239.132/out/Release/gen/chrome/browser/resources/md_history/history_requestlist.txt --root /var/tmp/portage/www-client/chromium-63.0.3239.132/work/chromium-63.0.3239.132/chrome/browser/resources/md_history --redirect "chrome://history/|/var/tmp/portage/www-client/chromium-63.0.3239.132/work/chromium-63.0.3239.132/chrome/browser/resources/md_history" --out-dir gen/chrome/browser/resources/md_history/bundled --shell app.html --in-html app.html --in-html lazy_load.html failed: module.js:471
    throw err;
    ^

Error: Cannot find module '/var/tmp/portage/www-client/chromium-63.0.3239.132/work/chromium-63.0.3239.132/third_party/node/node_modules/polymer-bundler/lib/bin/polymer-bundler'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:383:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:496:3

Traceback (most recent call last):
  File "../../chrome/browser/resources/optimize_webui.py", line 252, in <module>
    main(sys.argv[1:])
  File "../../chrome/browser/resources/optimize_webui.py", line 235, in main
    manifest_out_path = _optimize(args.input, args)
  File "../../chrome/browser/resources/optimize_webui.py", line 159, in _optimize
    ] + in_html_args)
  File "../../third_party/node/node.py", line 28, in RunNode
    raise
TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
ninja: build stopped: subcommand failed.
 [31;01m*[0m ERROR: www-client/chromium-63.0.3239.132::gentoo failed (compile phase):
 [31;01m*[0m   ninja -v -j1 -l0 -C out/Release chrome chromedriver failed
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  124:  Called src_compile
 [31;01m*[0m   environment, line 5079:  Called eninja '-C' 'out/Release' 'chrome' 'chromedriver'
 [31;01m*[0m   environment, line 1748:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=www-client/chromium-63.0.3239.132::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=www-client/chromium-63.0.3239.132::gentoo'`.
 [32;01m*[0m 
 [32;01m*[0m MemTotal:        8045252 kB
 [32;01m*[0m SwapTotal:       2097148 kB
 [32;01m*[0m 
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/www-client/chromium-63.0.3239.132/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-63.0.3239.132/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/www-client/chromium-63.0.3239.132/work/chromium-63.0.3239.132'
 [31;01m*[0m S: '/var/tmp/portage/www-client/chromium-63.0.3239.132/work/chromium-63.0.3239.132'

Replies

Subject Author
Re: [gentoo-user] chromium build failure "Canek Peláez Valdés" <caneko@×××××.com>