You are not logged in.

#1 2023-06-18 16:10:34

signal11
Member
From: bangalore, india
Registered: 2008-01-09
Posts: 30

[SOLVED] error building ungoogled-chromium

hi,

when i try to build ungoogled-chromium

 yay -S aur/ungoogled-chromium 

i get the following error:

ninja: Entering directory `out/Release'
[294/53783] ACTION //chrome/browser/resources/access_code_cast:html_wrapper_files(//build/toolchain/linux/unbundle:default)
FAILED: gen/chrome/browser/resources/access_code_cast/preprocessed/access_code_cast.html.ts gen/chrome/browser/resources/access_code_cast/preprocessed/error_message/error_message.html.ts gen/chrome/browser/resources/access_code_cast/preprocessed/passcode_input/passcode_input.html.ts 
python3 ../../tools/polymer/html_to_wrapper.py --in_folder gen/chrome/browser/resources/access_code_cast/preprocessed --out_folder gen/chrome/browser/resources/access_code_cast/preprocessed --in_files access_code_cast.html error_message/error_message.html passcode_input/passcode_input.html --minify
Traceback (most recent call last):
  File "/home/anupam/.cache/yay/ungoogled-chromium/src/chromium-114.0.5735.133/out/Release/../../tools/polymer/html_to_wrapper.py", line 166, in <module>
    main(sys.argv[1:])
  File "/home/anupam/.cache/yay/ungoogled-chromium/src/chromium-114.0.5735.133/out/Release/../../tools/polymer/html_to_wrapper.py", line 121, in main
    raise err
  File "/home/anupam/.cache/yay/ungoogled-chromium/src/chromium-114.0.5735.133/out/Release/../../tools/polymer/html_to_wrapper.py", line 116, in main
    node.RunNode(
  File "/home/anupam/.cache/yay/ungoogled-chromium/src/chromium-114.0.5735.133/third_party/node/node.py", line 34, in RunNode
    raise RuntimeError('Command \'%s\' failed\n%s' % (' '.join(cmd), err))
RuntimeError: Command '/home/anupam/.cache/yay/ungoogled-chromium/src/chromium-114.0.5735.133/third_party/node/linux/node-linux-x64/bin/node /home/anupam/.cache/yay/ungoogled-chromium/src/chromium-114.0.5735.133/out/Release/../../tools/polymer/html_minifier.js /home/anupam/.cache/yay/ungoogled-chromium/src/chromium-114.0.5735.133/out/Release/gen/chrome/browser/resources/access_code_cast/preprocessed /home/anupam/.cache/yay/ungoogled-chromium/src/chromium-114.0.5735.133/out/Release/gen/chrome/browser/resources/access_code_cast/preprocessed/tmpmgyfy97u access_code_cast.html error_message/error_message.html passcode_input/passcode_input.html' failed
/home/anupam/.cache/yay/ungoogled-chromium/src/chromium-114.0.5735.133/third_party/node/linux/node-linux-x64/bin/node: error while loading shared libraries: libicui18n.so.71: cannot open shared object file: No such file or directory

[303/53783] ACTION //chrome/browser/metrics:expired_histograms_array(//build/toolchain/linux/unbundle:default)
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: ungoogled-chromium-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
ungoogled-chromium - exit status 4
yay -S aur/ungoogled-chromium  404.40s user 100.64s system 141% cpu 5:56.02 total

it seems that the library

 libicui18n.so.71 

is missing. however a newer version of it

 /usr/lib/libicui18n.so.72 

is available, and is owned by

 icu 72.1-2 

how do i build it when an earlier version of the library is needed ?

--
thank you !

Last edited by signal11 (2023-06-21 02:34:53)

Offline

#2 2023-06-18 16:45:50

loqs
Member
Registered: 2014-03-06
Posts: 18,817

Re: [SOLVED] error building ungoogled-chromium

What is the output of the following (requires pax-utils)

$ lddtree /usr/bin/node

Offline

#3 2023-06-20 02:53:19

signal11
Member
From: bangalore, india
Registered: 2008-01-09
Posts: 30

Re: [SOLVED] error building ungoogled-chromium

ok, so

 lddtree /usr/bin/node 

shows this

/usr/bin/node (interpreter => /lib64/ld-linux-x86-64.so.2)
    libz.so.1 => /usr/lib/libz.so.1
    libuv.so.1 => /usr/lib/libuv.so.1
    libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1
        libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1
    libbrotlienc.so.1 => /usr/lib/libbrotlienc.so.1
    libcares.so.2 => /usr/lib/libcares.so.2
    libnghttp2.so.14 => /usr/lib/libnghttp2.so.14
    libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1
    libssl.so.1.1 => /usr/lib/libssl.so.1.1
    libicui18n.so.71 => None
    libicuuc.so.71 => None
    libstdc++.so.6 => /usr/lib/libstdc++.so.6
    libm.so.6 => /usr/lib/libm.so.6
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1
    libc.so.6 => /usr/lib/libc.so.6

then i installed the

nodejs

thingy again, and after doing that i get this

% lddtree /usr/bin/node
/usr/bin/node (interpreter => /lib64/ld-linux-x86-64.so.2)
    libnode.so.115 => /usr/lib/libnode.so.115
        libz.so.1 => /usr/lib/libz.so.1
        libuv.so.1 => /usr/lib/libuv.so.1
        libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1
            libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1
        libbrotlienc.so.1 => /usr/lib/libbrotlienc.so.1
        libcares.so.2 => /usr/lib/libcares.so.2
        libnghttp2.so.14 => /usr/lib/libnghttp2.so.14
        libcrypto.so.3 => /usr/lib/libcrypto.so.3
        libssl.so.3 => /usr/lib/libssl.so.3
        libicui18n.so.72 => /usr/lib/libicui18n.so.72
        libicuuc.so.72 => /usr/lib/libicuuc.so.72
            libicudata.so.72 => /usr/lib/libicudata.so.72
        libstdc++.so.6 => /usr/lib/libstdc++.so.6
        libm.so.6 => /usr/lib/libm.so.6
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1
    libc.so.6 => /usr/lib/libc.so.6

so i restarted the build via the usual

 yay -S aur/ungoogled-chromium 

again, which seems to be going well so far (approx. 10 minutes into the whole thing).

will post an update once the build is complete.

thank you kindly for your help !

Last edited by signal11 (2023-06-20 03:01:18)

Offline

#4 2023-06-20 03:14:34

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,629

Re: [SOLVED] error building ungoogled-chromium

This means you did a partial update. Never update the databases without fully updating the system.

Offline

#5 2023-06-21 01:57:19

signal11
Member
From: bangalore, india
Registered: 2008-01-09
Posts: 30

Re: [SOLVED] error building ungoogled-chromium

signal11 wrote:

will post an update once the build is complete.

the build take a while on my aging machine. it is now complete.

thank you kindly for your help.

Offline

#6 2023-06-21 01:59:16

signal11
Member
From: bangalore, india
Registered: 2008-01-09
Posts: 30

Re: [SOLVED] error building ungoogled-chromium

Scimmia wrote:

This means you did a partial update. Never update the databases without fully updating the system.

oh you mean to say just running

 pacman -Syy 

is not a good idea ? i was / am under the impression, that it should be benign.

--
thanks

Last edited by signal11 (2023-06-21 02:02:17)

Offline

#7 2023-06-21 02:21:06

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,629

Re: [SOLVED] error building ungoogled-chromium

By itself, it's benign, but as soon as you install anything without updating all packages on the system, you're in a partially updated state and things WILL break. Worst case, your system could be unbootable.

Offline

#8 2023-06-21 02:30:38

signal11
Member
From: bangalore, india
Registered: 2008-01-09
Posts: 30

Re: [SOLVED] error building ungoogled-chromium

Scimmia wrote:

By itself, it's benign, but as soon as you install anything without updating all packages on the system, you're in a partially updated state and things WILL break. Worst case, your system could be unbootable.

ah ! yes, thank you for your insights !

Offline

#9 2023-06-21 02:36:16

signal11
Member
From: bangalore, india
Registered: 2008-01-09
Posts: 30

Re: [SOLVED] error building ungoogled-chromium

marked the thread as SOLVED.

thank you @loqs for your help, and @Scimmia for your insights.

Offline

Board footer

Powered by FluxBB