Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31314 - [qt] it would be good to optdepend on icu

Attached to Project: Arch Linux
Opened by Andrzej Giniewicz (Giniu) - Tuesday, 28 August 2012, 09:58 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 04 November 2012, 08:06 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

libQtCore.so loads libicui18n.so from icu package. Qt works (although I'm not sure about unicode support), but emits warning without it:

> Unable to load library icui18n "Cannot load library icui18n: (libicui18n.so.49: cannot open shared object file: No such file or directory)"

Maybe it would be good to add "icu" to optdepends in "qt" package?
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Sunday, 04 November 2012, 08:06 GMT
Reason for closing:  Implemented
Additional comments about closing:  qt 4.8.3-5
Comment by Andrea Scarpino (BaSh) - Wednesday, 29 August 2012, 07:55 GMT
I don't get which qt library links to libicu18n.so.

I run: for lib in `pacman -Qql qt | grep "/.so"`; do readelf -d $lib | grep icu; done
but seems that nothing links to some icu library.
Comment by Andrzej Giniewicz (Giniu) - Wednesday, 29 August 2012, 08:22 GMT
because it does not link, but loads it. I.e. it is libQtCore.so - it can be seen around byte 0x23500C when viewing this .so with hex editor (sorry, but right now I don't have time to download/grep Qt source code because I'm at work):

23500C 69 63 75 69 31 38 6e 00 75 63 6f 6c 5f 6f 70 65 6e 00 75 63 6f 6c 5f 63 6c 6f 73 65 00 75 63 6f 6c 5f 73 74 72 63 6f 6c 6c 00 icui18n.ucol_open.ucol_close.ucol_strcoll.
235036 75 63 6f 6c 5f 6f 70 65 6e 5f 34 39 00 75 63 6f 6c 5f 63 6c 6f 73 65 5f 34 39 00 75 63 6f 6c 5f 73 74 72 63 6f 6c 6c 5f 34 39 ucol_open_49.ucol_close_49.ucol_strcoll_49
235060 00 55 6e 61 62 6c 65 20 74 6f 20 6c 6f 61 64 20 6c 69 62 72 61 72 79 20 69 63 75 75 63 00 75 5f 73 74 72 54 6f 55 70 70 65 72 .Unable to load library icuuc.u_strToUpper
23508A 00 75 5f 73 74 72 54 6f 4c 6f 77 65 72 00 75 5f 73 74 72 54 6f 55 70 70 65 72 5f 34 39 00 75 5f 73 74 72 54 6f 4c 6f 77 65 72 .u_strToLower.u_strToUpper_49.u_strToLower
2350B4 5f 34 39 00 55 6e 61 62 6c 65 20 74 6f 20 6c 6f 61 64 20 6c 69 62 72 61 72 79 20 69 63 75 69 31 38 6e 00 00 55 6e 61 62 6c 65 _49.Unable to load library icui18n..Unable
2350DE 20 74 6f 20 66 69 6e 64 20 73 79 6d 62 6f 6c 73 20 69 6e 20 69 63 75 69 31 38 6e 00 00 00 00 00 00 00 55 6e 61 62 6c 65 20 74 to find symbols in icui18n.......Unable t
235108 6f 20 66 69 6e 64 20 73 79 6d 62 6f 6c 73 20 69 6e 20 69 63 75 75 63 00 55 6e 61 62 6c 65 20 74 6f 20 6f 70 65 6e 20 6c 6f 63 o find symbols in icuuc.Unable to open loc
235132 61 6c 65 20 25 73 20 69 6e 20 49 43 55 2c 20 65 72 72 6f 72 20 63 6f 64 65 20 25 64 00 00 a8 1b ea ff a7 1a ea ff 98 1b ea ff ale %s in ICU, error code %d..............

Loading...