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
1 I ran the build failed twice, each time with MAKEOPTS="--jobs=1" and the
2 build logs are essentially identical. After about 12 hours compiling and
3 36MB of build.log, the error shown below occurs
4
5 I have two laptops with *very* similar gentoo distributions. The newer
6 machine had a successful build first try. The second older (4 years)
7 machine had both failures. Each machine has profile
8 default/linux/amd64/17.0/desktop/gnome/systemd
9
10 Thanks in advance for any help.
11
12 allan
13
14 ================================================================
15
16 [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
17 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
18 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
19 ../../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
20 throw err;
21 ^
22
23 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'
24 at Function.Module._resolveFilename (module.js:469:15)
25 at Function.Module._load (module.js:417:25)
26 at Module.runMain (module.js:604:10)
27 at run (bootstrap_node.js:383:7)
28 at startup (bootstrap_node.js:149:9)
29 at bootstrap_node.js:496:3
30
31 Traceback (most recent call last):
32 File "../../chrome/browser/resources/optimize_webui.py", line 252, in <module>
33 main(sys.argv[1:])
34 File "../../chrome/browser/resources/optimize_webui.py", line 235, in main
35 manifest_out_path = _optimize(args.input, args)
36 File "../../chrome/browser/resources/optimize_webui.py", line 159, in _optimize
37 ] + in_html_args)
38 File "../../third_party/node/node.py", line 28, in RunNode
39 raise
40 TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
41 ninja: build stopped: subcommand failed.
42 [31;01m*[0m ERROR: www-client/chromium-63.0.3239.132::gentoo failed (compile phase):
43 [31;01m*[0m ninja -v -j1 -l0 -C out/Release chrome chromedriver failed
44 [31;01m*[0m
45 [31;01m*[0m Call stack:
46 [31;01m*[0m ebuild.sh, line 124: Called src_compile
47 [31;01m*[0m environment, line 5079: Called eninja '-C' 'out/Release' 'chrome' 'chromedriver'
48 [31;01m*[0m environment, line 1748: Called die
49 [31;01m*[0m The specific snippet of code:
50 [31;01m*[0m "$@" || die "${nonfatal_args[@]}" "${*} failed"
51 [31;01m*[0m
52 [31;01m*[0m If you need support, post the output of `emerge --info '=www-client/chromium-63.0.3239.132::gentoo'`,
53 [31;01m*[0m the complete build log and the output of `emerge -pqv '=www-client/chromium-63.0.3239.132::gentoo'`.
54 [32;01m*[0m
55 [32;01m*[0m MemTotal: 8045252 kB
56 [32;01m*[0m SwapTotal: 2097148 kB
57 [32;01m*[0m
58 [31;01m*[0m The complete build log is located at '/var/tmp/portage/www-client/chromium-63.0.3239.132/temp/build.log'.
59 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-63.0.3239.132/temp/environment'.
60 [31;01m*[0m Working directory: '/var/tmp/portage/www-client/chromium-63.0.3239.132/work/chromium-63.0.3239.132'
61 [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>