Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454332 - app-office/libreoffice-4.0.0.2 - Calc gives Err 508 when I type any formula, eg. =sum(A1:A8)
Summary: app-office/libreoffice-4.0.0.2 - Calc gives Err 508 when I type any formula, ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-27 20:34 UTC by Fabien MAUREL
Modified: 2013-01-31 13:56 UTC (History)
8 users (show)

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 Fabien MAUREL 2013-01-27 20:34:22 UTC
When i type a basic formula : 

=Sum(...)
=max(...)
....

I have got : Err : 508

If i try with 3.6.x version, it works.

I m using a compiled version. I'm running on gentoo ~amd64.

emerge --info
Portage 2.1.11.50 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.16.0, 3.7.4 x86_64)
=================================================================
System uname: Linux-3.7.4-x86_64-Intel-R-_Core-TM-_i5_CPU_M_430_@_2.27GHz-with-gentoo-2.2
KiB Mem:     7971356 total,     73640 free
KiB Swap:    1052220 total,   1051972 free
Timestamp of tree: Sun, 27 Jan 2013 14:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -msse3 -msse2 -msse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -pipe -march=native -msse3 -msse2 -msse"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="fr_FR.utf8"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aacplus acl alsa amd64 amr apng avx berkdb bluetooth btrfs bzip2 cairo cdda cli consolekit cracklib crypt cxx dbus dcc_video declarative dirac dri dvd efiemu eigen embedded encode exif faac fam fat ffmpeg fftw flac fontconfig fortran g3dvl gbm gcj gdbm geoip gif git glamor gpm gsm gstreamer gtk gudev hwdb iconv icu ipv6 java jpeg jpeg2k kde kdepim lame latex libass libkms libnotify mad marble matroska mikmod minizip mmx mmxext mng mod modules mp3 mpeg mudflap multilib ncurses networkmanager nls nptl nsplugin ntfs ogg openal opengl openmp openvg pam pcre phonon plasma png policykit python qt3support qt4 readline reiserfs script sdl semantic-desktop sensord session skins smp source speex spell sql sqlite sse sse2 sse3 sse4_1 ssl ssse3 svg taglib tcpd theora threads tiff truetype twolame udev udisks unicode upnp vaapi vorbis webinterface webkit wxwidgets x264 xcn xcomposite xfs xinerama xosd xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

I ve already fill a report https://bugs.freedesktop.org/show_bug.cgi?id=59940 in LibreOffice's Bugzilla


Thanks for regards.

Reproducible: Always
Comment 1 Silvio 2013-01-27 23:12:36 UTC
I confirm that downgrading to 4.0.0.1 everything works fine.

So please re-insert 4.0.0.1 in portage and mark this version (4.0.0.2) as hard-masked.

I'm following the bug on freedesktop too.
Comment 2 Silvio 2013-01-27 23:15:53 UTC
I cannot understand if it is a problem of gentoo version or linux one.

For now it happens just in gentoo (and perhaps in one ubuntu user).

A person with Mac OsX hasn't the problem.
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-01-28 00:27:30 UTC
Importance fields are mostly for the maintainer to set.

On the other bug URL we can find this: 

> Newest findings: it's a localization problem
>
> Open file using LibreOffice 4.0.0.2 rc2 Dutch UI -> ERR:508
> Open file using LibreOffice 4.0.0.2 rc2 English (USA) UI -> opens fine.https://bugs.freedesktop.org/show_bug.cgi?id=59916#c7

So, a temporary fix would be to set the UI to English (USA).

There are screenshots attached to the bug that show where this is set.
Comment 4 Adrian Bassett 2013-01-29 16:16:20 UTC
(In reply to comment #1)
> I confirm that downgrading to 4.0.0.1 everything works fine.
> 
> So please re-insert 4.0.0.1 in portage and mark this version (4.0.0.2) as
> hard-masked.
> 
> I'm following the bug on freedesktop too.

Problem with 4.0.0.2 confirmed on ~amd64, but 4.0.0.1 OK. Both with LINGUAS="en_GB".
Comment 5 Bernd Feige 2013-01-30 11:04:44 UTC
(In reply to comment #3)

> — https://bugs.freedesktop.org/show_bug.cgi?id=59916#c7
> 
> So, a temporary fix would be to set the UI to English (USA).

Problem with 4.0.0.2 confirmed on ~amd64 with LANG=de_DE.UTF-8 (German). Interestingly I can confirm that setting the UI to English (USA) fixes the problem - the locale setting ("Gebietsschema" in German) can remain German. I had suspected some problem with the separator settings but this doesn't seem to be the case...
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2013-01-30 16:53:39 UTC
So Eike figured what the problem is.

Seems like new libo hates when we use different translation versions compared to source code. So we have to keep equality between l10n and libo.

This will sadly also mean that people with git versions will be unable to use translations.

I will look to fixing it in next days, for now use english locale as workaround.
Comment 7 Bernd Feige 2013-01-31 08:52:12 UTC
(In reply to comment #6)
> So Eike figured what the problem is.
> 
> Seems like new libo hates when we use different translation versions
> compared to source code. So we have to keep equality between l10n and libo.
> 
> This will sadly also mean that people with git versions will be unable to
> use translations.
> 
> I will look to fixing it in next days, for now use english locale as
> workaround.

Using app-office/libreoffice-l10n-4.0.0.2 with app-office/libreoffice-4.0.0.2 fixes the problem here. Thank you.
Comment 8 Adrian Bassett 2013-01-31 09:00:45 UTC
(In reply to comment #7)

> Using app-office/libreoffice-l10n-4.0.0.2 with
> app-office/libreoffice-4.0.0.2 fixes the problem here. Thank you.

Confirmed here too. Thanks.
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2013-01-31 13:56:27 UTC
I also updated deps in the lo ebuild to enforce same PV for l10n and the source. This also means that on live ebuilds translations won't be provided.

I think this solution is better than to compile the languages in the ebuild as it takes another 30 minutes when you build with languages enabled.