Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582632 - app-office/libreoffice-bin-5.1.2.2-r1 should depend on gnome-base/dconf : /usr/lib64/libreoffice/program/soffice.bin: error while loading shared libraries: libdconf.so.1: cannot open shared object file: No such file or directory
Summary: app-office/libreoffice-bin-5.1.2.2-r1 should depend on gnome-base/dconf : /us...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on: 589284
Blocks:
  Show dependency tree
 
Reported: 2016-05-10 07:56 UTC by Thomas De Schampheleire
Modified: 2016-07-29 18:04 UTC (History)
3 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 Thomas De Schampheleire 2016-05-10 07:56:57 UTC
After emerge of libreoffice-bin-5.1.2.2-r1 on a system without dconf, starting libreoffice gives this message:

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

Previous versions of libreoffice (libreoffice-bin-5.0.5.2-r1) did not have this dependency.


Workaround: manually install dconf

Expected situation: Preferably the dependency on dconf is not really needed and libreoffice-bin is built without it.
If it is a real (new) dependency, this should be expressed in the ebuild.
Comment 1 Thomas De Schampheleire 2016-05-10 07:58:08 UTC
Use flags used on libreoffice-bin:

[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for app-office/libreoffice-bin-5.1.2.2-r1:
 U I
 - - gnome                          : Add GNOME support
 - - java                           : Add support for Java
 - - kde                            : Add support for KDE (K Desktop Environment)
 + + python_single_target_python2_7 : Build for Python 2.7 only
 - - python_single_target_python3_4 : Build for Python 3.4 only
 + + python_targets_python2_7       : Build with Python 2.7
 + + python_targets_python3_4       : Build with Python 3.4
Comment 2 Thomas De Schampheleire 2016-06-23 19:13:17 UTC
What exactly is blocking this? 

Either compile libreoffice-bin without dconf dependency (assuming this is still possible) or update the ebuild to express the dependency.

Or is there more to it? Please share more details in that case.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2016-07-02 22:14:48 UTC
commit c967fe9af85a548b4e4e852dbcceb16f67ee647c (HEAD -> master, origin/master, origin/HEAD)
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sun Jul 3 00:12:42 2016 +0200

    app-office/libreoffice: Fix automagic dependency on gnome-base/dconf, bug 582632
    
    Package-Manager: portage-2.3.0

 app-office/libreoffice/libreoffice-5.1.4.2.ebuild  | 2 ++
 app-office/libreoffice/libreoffice-5.1.9999.ebuild | 2 ++
 app-office/libreoffice/libreoffice-5.2.9999.ebuild | 2 ++
 app-office/libreoffice/libreoffice-9999.ebuild     | 2 ++
 4 files changed, 8 insertions(+)
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2016-07-02 22:17:19 UTC
(In reply to Thomas De Schampheleire from comment #2)
> What exactly is blocking this? 
> 
> Either compile libreoffice-bin without dconf dependency (assuming this is
> still possible) or update the ebuild to express the dependency.
> 
> Or is there more to it? Please share more details in that case.

Not clear why this showed up now; the build chroot should only have dconf for the gnome build. 

Anyway, the automagic dep is fixed in 5.1.4 now and we'll fast-stabilize and fast-generate bin packages for that soon because of a security bug.
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2016-07-20 22:15:41 UTC
Fixed in 5.1.4.2
Comment 6 Thomas De Schampheleire 2016-07-29 18:04:49 UTC
Confirmed fixed, thanks!