https://bugs.kde.org/show_bug.cgi?id=475562

--- Comment #18 from Timo Gurr <timo.g...@gmail.com> ---
(In reply to Lynx3d from comment #17)
> The file is 'ITUR_2100_PQ_FULL.ICC' 
> It should be in: <INSTALL_PREFIX>/share/color/icc/krita/

Thanks for the information, as you can see from my attached full list above I
do have the file in

/usr/share/color/icc/krita/ITUR_2100_PQ_FULL.ICC

however strace shows the path is missing from kritas search path locations as
it does search in e.g. /usr/share/krita/color/icc but not
/usr/share/color/icc/krita. As "../share" does not work for our cross setup as
we have arch-independent stuff in /usr/share, but arch-depedendent stuff
installed to prefix /usr/<arch>.

As I can see e.g. /usr/share/krita//color/icc in addition to
../share/krita//color/icc/ I hope the missing /usr/share/color/icc search path
can be added as another alternative for ../share//color/icc as well.

statx(AT_FDCWD, "/home/domain/user/.local/share/krita//color/icc",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd8d398580) = -1 ENOENT
(Datei oder Verzeichnis nicht gefunden)
statx(AT_FDCWD, "/usr/x86_64-pc-linux-gnu/share/krita//color/icc",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd8d398580) = -1 ENOENT
(Datei oder Verzeichnis nicht gefunden)
statx(AT_FDCWD,
"/home/domain/user/.local/share/flatpak/exports/share/krita//color/icc",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd8d398580) = -1 ENOENT
(Datei oder Verzeichnis nicht gefunden)
statx(AT_FDCWD, "/var/lib/flatpak/exports/share/krita//color/icc",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd8d398580) = -1 ENOENT
(Datei oder Verzeichnis nicht gefunden)
statx(AT_FDCWD, "/usr/local/share/krita//color/icc",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd8d398580) = -1 ENOENT
(Datei oder Verzeichnis nicht gefunden)
statx(AT_FDCWD, "/usr/share/krita//color/icc",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd8d398580) = -1 ENOENT
(Datei oder Verzeichnis nicht gefunden)
openat(AT_FDCWD, "/usr/x86_64-pc-linux-gnu/bin/../share//color/icc/",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (Datei oder Verzeichnis
nicht gefunden)
openat(AT_FDCWD, "/usr/x86_64-pc-linux-gnu/bin/../share//color/icc/",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (Datei oder Verzeichnis
nicht gefunden)
openat(AT_FDCWD, "/usr/x86_64-pc-linux-gnu/bin/../share/krita//color/icc/",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (Datei oder Verzeichnis
nicht gefunden)
openat(AT_FDCWD, "/usr/x86_64-pc-linux-gnu/bin/../share/krita//color/icc/",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (Datei oder Verzeichnis
nicht gefunden)
openat(AT_FDCWD, "/usr/x86_64-pc-linux-gnu/bin/../share/.",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 35

For testing as a workaround I created a symlink 

# mkdir -p /usr/x86_64-pc-linux-gnu/share/
# ln -s /usr/share/color /usr/x86_64-pc-linux-gnu/share/color

and krita is able to successfully launch without crashing.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to