You are not logged in.

#1 2025-02-19 07:06:58

c7tz5v
Member
Registered: 2025-02-19
Posts: 2

How to install old version of icu?

Following a pacman upgrade, I can no longer use ungoogled chromium.

> chromium
/usr/lib/chromium/chromium: error while loading shared libraries: libicui18n.so.75: cannot open shared object file: No such file or directory

This is because icu got updated to 76.1-1, but ungoogled chromium still relies on 75. I browsed AUR but only versions up to 74 seem to be available. How do I manually install icu75 while I wait for a fix?

Offline

#2 2025-02-19 07:12:03

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,597

Re: How to install old version of icu?

You rebuild your out of repo packages against the new version, you don't install the old lib.

Online

#3 2025-02-19 07:15:52

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,712
Website

Re: How to install old version of icu?

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2025-02-19 07:20:13

c7tz5v
Member
Registered: 2025-02-19
Posts: 2

Re: How to install old version of icu?

Scimmia wrote:

You rebuild your out of repo packages against the new version, you don't install the old lib.

I tried installing ungoogled-chromium (non-bin version) but it fails:

[19409/50112] LINK ./mksnapshot
FAILED: mksnapshot 
"python3" "../../build/toolchain/gcc_link_wrapper.py" --output="./mksnapshot" -- clang++ -pie -fuse-ld=lld -Wl,--fatal-warnings -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--icf=all -Wl,--color-diagnostics -Wl,-mllvm,-instcombine-lower-dbg-declare=0 -Wl,-mllvm,-split-threshold-for-reg-with-hint=0 -Wl,--thinlto-cache-dir=thinlto-cache -Wl,--thinlto-cache-policy=cache_size=10\%:cache_size_bytes=40g:cache_size_files=100000 -flto=thin -Wl,--thinlto-jobs=all -Wl,-mllvm,-import-instr-limit=30 -Wl,-mllvm,-disable-auto-upgrade-debug-info -Wl,-mllvm,-inlinehint-threshold=360 -fwhole-program-vtables -Wl,--undefined-version -Wl,--no-call-graph-profile-sort -m64 -no-canonical-prefixes -Wl,-z,defs -Wl,--as-needed -nostdlib++ -Wl,--lto-O0 -fsanitize=cfi-vcall -fsanitize=cfi-icall -rdynamic -pie -Wl,--disable-new-dtags -Wl,-O2 -Wl,--gc-sections -Wl,--icf=none -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -o "./mksnapshot" -Wl,--start-group @"./mksnapshot.rsp" -Wl,--end-group   /usr/lib/clang/19/lib/linux/libclang_rt.builtins-x86_64.a -ldl -lpthread -lrt -licui18n -licuuc -lz -Wl,--start-group  -Wl,--end-group 
ld.lld: error: undefined symbol: icu_76::UnicodeString::doAppend(std::__Cr::basic_string_view<char16_t, std::__Cr::char_traits<char16_t>>)
>>> referenced by js-number-format.cc
>>>               obj/v8/v8_base_without_compiler/mksnapshot.lto.js-number-format.o:(v8::internal::JSNumberFormat::RoundingIncrement(v8::internal::Isolate*, icu_76::UnicodeString const&))

ld.lld: error: undefined symbol: icu_76::UnicodeString::doReplace(int, int, std::__Cr::basic_string_view<char16_t, std::__Cr::char_traits<char16_t>>)
>>> referenced by js-date-time-format.cc
>>>               obj/v8/v8_base_without_compiler/mksnapshot.lto.js-date-time-format.o:(v8::internal::JSDateTimeFormat::TimeZoneId(v8::internal::Isolate*, icu_76::TimeZone const&))
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[19426/50112] CXX obj/third_party/tflite/tflite_kernels/floor.o
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

Do I need to manually edit the PKGBUILD of ungoogled-chromium or ungoogled-chromium-bin? If so how should I edit them?

Offline

#5 2025-02-19 08:16:47

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 1,081
Website

Re: How to install old version of icu?

I guess ungoogled-chromium also needs to use the vendored version of ICU similar to what our chromium and electron builds did

Offline

Board footer

Powered by FluxBB