Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 668042

Summary: www-client/chromium-70.0.3538.45 doesn't build with dev-libs/icu-62.1
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Chromium Project <chromium>
Status: RESOLVED INVALID    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Helmut Jarausch 2018-10-08 11:56:39 UTC
Building chromium-70.0.3538.45 fails since it tries to load
libicui18n.so.60   -- see below

but dev-libs/icu-62.1 installs /usr/lib64/libicui18n.so.62.1
and /usr/lib64/libicui18n.so.62


FAILED: gen/chrome/browser/resources/md_downloads/vulcanized.html gen/chrome/browser/resources/md_downloads/vulcanized.p2.html \
   gen/chrome/browser/resources/md_downloads/crisper.js 
python ../../chrome/browser/resources/optimize_webui.py --host downloads --input \
  ../../chrome/browser/resources/md_downloads --out_folder gen/chrome/browser/resources/md_downloads \
  --depfile gen/chrome/browser/resources/md_downloads/build.d --html_in_files downloads.html \
  --html_out_files vulcanized.html --html_out_files_polymer2 vulcanized.p2.html --js_out_files crisper.js \
  --insert_in_head \<base\ href=chrome://downloads\>

Traceback (most recent call last):
  File "../../chrome/browser/resources/optimize_webui.py", line 266, in <module>
    main(sys.argv[1:])
  File "../../chrome/browser/resources/optimize_webui.py", line 249, 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 27, in RunNode
    raise RuntimeError('%s failed: %s' % (cmd, stderr))
RuntimeError: ../../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 strings.js --exclude chrome://downloads/strings.js \
  --manifest-out /var/tmp/Big_Tmp/portage/www-client/chromium-70.0.3538.45/work/chromium-70.0.3538.45/out/Release/gen/chrome/browser/resources/md_downloads/downloads_requestlist.txt \
  --root /var/tmp/Big_Tmp/portage/www-client/chromium-70.0.3538.45/work/chromium-70.0.3538.45/chrome/browser/resources/md_downloads \
  --redirect "chrome://downloads/|/var/tmp/Big_Tmp/portage/www-client/chromium-70.0.3538.45/work/chromium-70.0.3538.45/chrome/browser/resources/md_downloads" \
  --out-dir gen/chrome/browser/resources/md_downloads/bundled --shell downloads.html --in-html downloads.html \
  failed: ../../third_party/node/linux/node-linux-x64/bin/node: error while loading shared libraries: libicui18n.so.60: \
>>>>>>>>>>>>>>>>>>>>>>>   ^^^^^^^^^^^^^^^^
  cannot open shared object file: No such file or directory
Comment 1 Arfrever Frehtes Taifersar Arahesis 2018-10-17 00:51:18 UTC
${S}/third_party/node/linux/node-linux-x64/bin/node is a symbolic link created in ebuild:

mkdir -p third_party/node/linux/node-linux-x64/bin || die
ln -s "${EPREFIX}"/usr/bin/node third_party/node/linux/node-linux-x64/bin/node || die


/usr/bin/node belongs to net-libs/nodejs (one of dependencies of www-client/chromium).
net-libs/nodejs has optional (wit USE="icu") dependency on dev-libs/icu with := operator.

So you have FEATURES="-preserve-libs" and you must have either used --nodeps for upgrade of dev-libs/icu or rebuild of another package failed and you have not completed rebuild of reverse dependencies of dev-libs/icu.