Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394155 - app-office/libreoffice-3.5.0.0 gives incorrect output for arithmemic functions when using localization data from app-office/libreoffice-l10n-3.5.0
Summary: app-office/libreoffice-3.5.0.0 gives incorrect output for arithmemic function...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal critical (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-09 15:44 UTC by Christian Aistleitner
Modified: 2011-12-09 18:40 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Aistleitner 2011-12-09 15:44:48 UTC
app-office/libreoffice-3.5.0.0 pulls in app-office/libreoffice-l10n-3.5.0, which however uses localization data from the older 3.4.* release.

Trying to use localization data from app-office/libreoffice-l10n-3.5.0 in app-office/libreoffice-3.5.0.0 corrupts the output of arithmetic functions

Reproducible: Always

Steps to Reproduce:
1. Make sure LINGUAS in /etc/make.conf contains en_GB when emerging app-office/libreoffice-3.5.0.0, which pulls in app-office/libreoffice-l10n-3.5.0
2. Make sure there is a
  en_GB.UTF-8   UTF-8
line in /etc/locale.gen
3. locale-gen
4. LC_ALL=en_GB.UTF-8 localc
5. Enter "=EXP(1)" in the top-left cell
Actual Results:  
1.188395106

Expected Results:  
2.718281828

Starting Calc using the fallback locale C
  LC_ALL=C localc
The arithmetic functions work as expected.

The issue does not only affect EXP, but also other arithmetic functions (SQRT, ...)

The issue does not only occur for en_GB, but also for the other l10n data provided by app-office/libreoffice-3.5.0 (e.g.: de).
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-12-09 18:40:24 UTC
I added real translations from 3.5 branch as 3.5.0-r1.ebuild.

It produces correct results. Thanks for the bugreport :)