Bug 75506 - Tubes lib should be mapped belonging to -common, not -calc
Summary: Tubes lib should be mapped belonging to -common, not -calc
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
4.2.1.1 release
Hardware: Other Linux (All)
: low minor
Assignee: Eike Rathke
URL:
Whiteboard: BSA target:4.4.0
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-25 19:10 UTC by Myra
Modified: 2014-08-15 16:13 UTC (History)
10 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Myra 2014-02-25 19:10:34 UTC
Problem description: 

Steps to reproduce:
1. Upgrade from 4.1.5-1 to 4.2.1-1
2. Attempt to open lowriter
3. lowriter won't open

Current behavior:
from a terminal window running under X. $>lowriter &

/usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libtubeslo.so: cannot open shared object file: No such file or directory

Expected behavior:

Should open and allow editing of document.
Downgrading to 4.1.5-1 cures the problem.

Apparently the libtubeslo.so is a requirement for libreoffice-calc(?) this would seem to make calc a dependency for writer.

Arch Linux gandalf 3.12.12-1-ck #1 SMP PREEMPT Sat Feb 22 15:08:36 CST 2014 x86_64 GNU/Linux


Operating System: Linux (Other)
Version: 4.2.0.4 release
Last worked in: 4.1.5.1 rc
Comment 1 Myra 2014-03-02 23:30:34 UTC
Error message when trying to open libreoffice-writer version 4.2.1-1 without libreoffice-calc installed. Writer works fine with version 4.1.5-1 without calc installed.

/usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libtubeslo.so: cannot open shared object file: No such file or directory.

This is on Arch Linux.
Comment 2 Andreas Radke 2014-03-03 15:19:52 UTC
Building the Arch packages we use the upstream file lists for distro packaging.

I suggest to move the lib to -common or don't link to it.
Comment 3 Julien Nabet 2014-03-15 06:57:44 UTC
Myra: it looks like more a distribution bug than a LO bug.
Comment 4 Myra 2014-03-16 03:12:28 UTC
The fix used by the Arch devs works so I'll who/where it belongs to those who know more than I do about it.
Comment 5 Andreas Radke 2014-03-16 11:33:06 UTC
not. it's not a distribution bug. the file-list provided by libreoffice project to be used in make distro-pack-install is broken. the lib is part of the calc package but also writer links to it.

and contacts.ui is also missing in the file-lists at all when telepathy collaboration support is enabled (https://bugs.archlinux.org/task/39464).

both should be fixed at libreoffice side. distros can only workaround such issues with ugly side effects - see https://bugs.archlinux.org/task/39451.
Comment 6 Julien Nabet 2014-03-16 12:45:38 UTC
Petr: one for you?
Comment 7 Björn Michaelsen 2014-03-18 12:27:51 UTC
(In reply to comment #5)
> both should be fixed at libreoffice side. distros can only workaround such
> issues with ugly side effects - see https://bugs.archlinux.org/task/39451.

True, feel invited to provide the change for upstream as you are in the best position to test a fix (e.g. most distros dont provide tubes).
Comment 8 Petr Mladek 2014-03-26 13:20:42 UTC
Just for record. I am sorry but I do not longer work on LibreOffice, so I am not going to look at this problem.

@a.radke, it seems that you have already done some debugging in this area. I guess that it will be easy for you to provide patch for the distro-pack-install. I would be great if you could do so and push it upstream.
Comment 9 tommy27 2014-07-18 18:29:57 UTC
@Myra
are you still seeing this issue with LibO 4.2.5.2?
Comment 10 Julien Nabet 2014-07-19 12:19:22 UTC
Eike: taking a look at the git history ot tubes modules, I thought you might be interested in this one.
Comment 11 Eike Rathke 2014-07-22 09:29:01 UTC
I'm unbiased on this one. First I wonder that libtubeslo is required at all, because back in time it was experimental (which did not change) and the lib not required if not explicitly switched on during configure and built against. Second I wonder that Writer would use tubes.

Why does Arch Linux enable tubes at all? I suggest to not do so.
Comment 12 Eike Rathke 2014-07-22 09:32:35 UTC
Ah, desktop links against tubes if ENABLE_TELEPATHY=TRUE
So, don't enable. And move libtubeslo to -common
Comment 13 Robinson Tryon (qubit) 2014-08-14 14:43:12 UTC
(In reply to comment #12)
> Ah, desktop links against tubes if ENABLE_TELEPATHY=TRUE
> So, don't enable. And move libtubeslo to -common

Eike -- just for clarification, are you suggesting that moving libtubeslo is our bug or Arch's bug?

Thanks
Comment 14 Eike Rathke 2014-08-15 16:08:23 UTC
I have no idea how Arch Linux determines what should go into which package, hopefully generating from our repository modules install registration, but yes we should move libtubeslo from OOOLIBS,calc to OOOLIBS,ooo
Comment 15 Commit Notification 2014-08-15 16:13:04 UTC
Eike Rathke committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=091a7bd7a369bebbbfe7a87209f589d807f4dcef

fdo#75506 move tubes lib from OOOLIBS,calc to OOOLIBS,ooo



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.