Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404551 - app-office/libreoffiice-3.5.0.3 should install main_transform.xsl file needed for help
Summary: app-office/libreoffiice-3.5.0.3 should install main_transform.xsl file needed...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks: 407649
  Show dependency tree
 
Reported: 2012-02-19 17:20 UTC by Ostashevskyi Viktor
Modified: 2012-03-17 18:17 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 Ostashevskyi Viktor 2012-02-19 17:20:29 UTC
After upgrading to app-office/libreoffice-3.5.0.3 and app-office/libreoffice-l10n-3.5.0-r4 (with USE offlinehelp) help stop working.

Reproducible: Always

Steps to Reproduce:
1. Run any LibreOffice application
2. Press F1 to get help window

Actual Results:  
Help window doesn't display help contents

Expected Results:  
Help contents displayed.

When ran from console following message is seen:

error
xsltParseStylesheetFile : cannot parse file:///usr/lib/libreoffice/program/../help/main_transform.xsl

Extracting this file from LibreOffice sources and putting it in above-mentioned place solves problem.
Comment 1 Ostashevskyi Viktor 2012-02-19 17:49:23 UTC
Portage 2.1.10.47 (default/linux/x86, gcc-4.5.3, glibc-2.14.1-r2, 3.2.2-ostash i686)
=================================================================
System uname: Linux-3.2.2-ostash-i686-AMD_Athlon-tm-_II_P320_Dual-Core_Processor-with-gentoo-2.1
Timestamp of tree: Sun, 19 Feb 2012 15:00:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.1.2, 4.2.4-r1, 4.3.6-r1, 4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo Local-overlay kde sunrise qt
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mfpmath=sse -m3dnow -msse4a -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -mfpmath=sse -m3dnow -msse4a -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo"
LANG="uk_UA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="uk"
MAKEOPTS="-j3"
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="/usr/local/portage /var/lib/layman/kde /var/lib/layman/sunrise /var/lib/layman/qt"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext mmx mmxext nls sse sse2 sse3 sse4a x86" ELIBC="glibc" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LINGUAS="uk" USERLAND="GNU" VIDEO_CARDS="radeon r600"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Ostashevskyi Viktor 2012-02-23 10:57:24 UTC
Today got same problem on other box.

USE flags for libreoffice are:

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R    ] app-office/libreoffice-l10n-3.5.0-r4  USE="offlinehelp -templates" LINGUAS="uk -af -ar
 -as -ast -be -bg -bn -bo -br -brx -bs -ca -ca_XV -cs -cy -da -de -dgo -dz -el -en -en_GB -en_ZA -eo
 -es -et -eu -fa -fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks
 -ku -lb -lo -lt -lv -mai -mk -ml -mn -mni -mr -my -nb -ne -nl -nn -nr -nso -oc -om -or -pa_IN -pl -pt
 -pt_BR -ro -ru -rw -sa_IN -sat -sd -sh -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -tn -tr
 -ts -ug -uz -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB
[ebuild   R    ]  app-office/libreoffice-3.5.0.3  USE="branding graphite gstreamer gtk java kde nsplugin
 opengl pdfimport svg vba webdav (-aqua) -binfilter -dbus -debug -eds -gnome -gtk3 -jemalloc -mysql -odk
 -postgres -test -xmlsec" 0 kB

As we can see java USE flag is enabled. So problem is caused by physical file absence, and not because
libreoffice can't parse stylesheet.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2012-02-23 11:06:05 UTC
Did this happen with 3.4 series?
Comment 4 Ostashevskyi Viktor 2012-02-23 14:29:32 UTC
(In reply to comment #3)
> Did this happen with 3.4 series?

Hard to say, I don't have 3.4 installed anywhere. And I didn't use help too much previously.
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2012-02-24 20:05:18 UTC
Adding upstream url, I kinda cant figure out why the heck it is not installing, probably some bug in scp2.
Comment 6 Ostashevskyi Viktor 2012-03-14 08:38:12 UTC
Same problem with app-office/libreoffiice-3.5.1
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2012-03-14 09:07:09 UTC
After bit of investigation of the issue i found out there is more missing wrt the offlinehelp, I wonder if I should fix the build or if I should just disable the feature as wiki online help is recommended anyway.

Do you have any problem with the onlinehelp (eg why should we really try to make the offline version work)?
Comment 8 Ostashevskyi Viktor 2012-03-14 09:34:24 UTC
(In reply to comment #7)
> After bit of investigation of the issue i found out there is more missing
> wrt the offlinehelp, I wonder if I should fix the build or if I should just
> disable the feature as wiki online help is recommended anyway.
> 
> Do you have any problem with the onlinehelp (eg why should we really try to
> make the offline version work)?

I strongly believe that we should have working offline help. Internet connection isn't always available.

I can't check whether onlinehelp is working, cause I'm behind proxy with authentication. At the moment I can't figure out how to force LibreOffice to use it for help.
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2012-03-17 18:17:49 UTC
I fixed adding that one file. but it still lacks the images and so on.

This needs to be fixed upstream, so feel free to throw yourself over the bug on freedesktop if you want.