Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 609770

Summary: net-misc/icaclient nls locale broken
Product: Gentoo Linux Reporter: Gordon Pettey <petteyg359>
Component: Current packagesAssignee: Henning Schild <henning>
Status: RESOLVED OBSOLETE    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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

s/en.UTF-8/en_US.UTF-8/
Comment 2 Henning Schild 2022-07-02 11:17:44 UTC
this is super outdated, please reopen and update in case it is still valid