termux-user-repository / tur

A place for all types of Termux packages.
Other
362 stars 73 forks source link

[Bug]: "rawtherapee" cannot run #1025

Closed hansm629 closed 1 month ago

hansm629 commented 1 month ago

Problem description

It used to run fine, but suddenly it is not working. What's the problem?

The libjpeg-turbo package is already installed.

@knyipab Why do these symptoms appear?

What steps will reproduce the bug?

~ $ rawtherapee
CANNOT LINK EXECUTABLE "rawtherapee": cannot locate symbol "jpeg_std_message_table" referenced by "/data/data/com.termux/files/usr/bin/rawtherapee"...

What is the expected behavior?

No response

System information

termux-info:

Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=32399
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages.termux.org/apt/termux-main stable main
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous
# x11-repo (sources.list.d/x11.list)
deb https://packages-cf.termux.dev/apt/termux-x11/ x11 main
Updatable packages:
All packages up to date
termux-tools version:
1.42.1
Android version:
14
Kernel build information:
Linux localhost 6.1.43-android14-11-abS926NKSU1AXCA #1 SMP PREEMPT Sun Mar 17 10:24:49 UTC 2024 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-S926N
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.widget versionCode:13
com.termux.x11 versionCode:14
com.termux.api versionCode:51
knyipab commented 1 month ago

See https://github.com/libjpeg-turbo/libjpeg-turbo/issues/763 and https://github.com/Beep6581/RawTherapee/issues/7074. We may wait for a fix by rawtherapee or patch the package ourselves. Perhaps the quickest workaround is to find a way to downgrade your libjpeg-turbo back to 3.0.2 (perhaps you should look for the .deb build in the actions section termux-packages repo and I am not an expert in package downgrading).

knyipab commented 1 month ago

But looks like that rawtherapee releases on average every half a year (or up to a year), so we may consider to patch it here. And perhaps wait to see any upcoming patches by rawtherapee "dev" branch and do it in TUR.