Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609770 - net-misc/icaclient nls locale broken
Summary: net-misc/icaclient nls locale broken
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C)
Depends on:
Reported: 2017-02-18 19:28 UTC by Gordon Pettey
Modified: 2017-02-19 09:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Pettey 2017-02-18 19:28:06 UTC
net-misc/icaclient installs /opt/Citrix/ICAClient/nls/en, but trying to start any Citrix link fails invisibly. Executing /opt/Citrix/ICAClient/selfservice at cli displays

"Unable to stat EULA file /opt/Citrix/ICAClient//nls/en.UTF-8/eula.txt"
"EULA was rejected."

The ebuild creates a symlink:
insinto "${ICAROOT}"/nls/$lang/UTF-8
doins nls/${lang}.UTF-8/*

which is /opt/Citrix/ICAClient/nls/en/utf8 -> UTF-8

Manually creating a new symlink /opt/Citrix/ICAClient/nls/en.UTF-8 -> en/UTF-8 corrects the problem and icaclient starts working. The ebuild should not be changing the install location of those files, or should at least actually test the current locale (or check /etc/locale.gen) to create appropriate symlinks. in the nls directory.

The ebuild also installs many files that do not need executable bit (.so and .DLL) with doexe.
Comment 1 Gordon Pettey 2017-02-18 19:29:18 UTC
> Manually creating a new symlink /opt/Citrix/ICAClient/nls/en.UTF-8 ->
> en/UTF-8