Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 813138 - app-office/wps-office-11.1.0.10702: bundled libdbus-1.so* depends on libsystemd.so
Summary: app-office/wps-office-11.1.0.10702: bundled libdbus-1.so* depends on libsyste...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: bundled-libs
  Show dependency tree
 
Reported: 2021-09-15 06:16 UTC by Universebenzene
Modified: 2023-05-11 17:03 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 Universebenzene 2021-09-15 06:16:26 UTC
The app-office/wps-office-11.1.0.10702 has a bundled libdbus.so*, which depends on libsystemd.so (can be seen by QA Notice while merging or just using ldd). For non-systemd users the wps cannot run, as it will defaultly use the bundled one, which cannot find libsystemd then get error.

Solution:

1. Remove the bundled libdbus for non-systemd users. e.g. https://github.com/Universebenzene/benzene-overlay/blob/1c4ca0cbd32a53ad3e03c71e77d296b3cf29ccc9/app-office/wps-office/wps-office-11.1.0.10702.ebuild#L141

2. Provide a standalone libsystemd package for non-systemd users.

Obviously the first one is quite much easier. However, not only wps-office, but also some other pre-built binary packages may depend on libsystemd, and can even easily get run by just copy libsystemd.so* from other distros to non-systemd Gentoo. So a package which just provide systemd librarys (like systemd-libs on Arch Linux) would be a more wide-used solution. Would this one be possible? Thanks
Comment 1 Lei Chen 2022-01-25 02:07:45 UTC
can not confirm it is the same problem.
but i can not launch wps,et. when run in the terminal, nothing happens:
1. no process launches
2. no gui display
upgrade to 11.1.0.10920 fix it.
Comment 2 Larry the Git Cow gentoo-dev 2022-10-28 15:15:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74f499a18b521c684273875f15c4e0c3ffdb5df3

commit 74f499a18b521c684273875f15c4e0c3ffdb5df3
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2022-10-28 14:57:29 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2022-10-28 15:15:24 +0000

    app-office/wps-office: Fix crash due to glibc version conflict
    
    Also drop file requiring systemd (#813138) as gentoo-zh overlay is doing
    
    Try a differrent SRC_URI (same as gentoo-zh overlay) as current one fails
    for some DNS resolvers
    
    Closes: https://bugs.gentoo.org/813138
    Bug: https://bugs.gentoo.org/850727
    Closes: https://bugs.gentoo.org/878451
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 app-office/wps-office/Manifest                     |   1 +
 .../wps-office/wps-office-11.1.0.11664-r2.ebuild   | 102 +++++++++++++++++++++
 2 files changed, 103 insertions(+)
Comment 3 Melker Narikka 2023-05-09 12:41:08 UTC
The provided fix in the tree doesn't actually seem to work, as the
offending files are installed before they're removed from the source
tree. This also applies to bug #878451.

    % grep libdbus /var/db/pkg/app-office/wps-office-11.1.0.11691/CONTENTS
    sym /opt/kingsoft/wps-office/office6/libdbus-1.so.3 -> libdbus-1.so.3.14.6 1683627109
    sym /opt/kingsoft/wps-office/office6/libdbus-1.so -> libdbus-1.so.3.14.6 1683627109
    obj /opt/kingsoft/wps-office/office6/libdbus-1.so.3.14.6 8057a12de08ab944f7e2bf8920fa66dc 1683627109
    % cat /var/db/pkg/app-office/wps-office-11.1.0.11691/IUSE
    systemd
Comment 4 Larry the Git Cow gentoo-dev 2023-05-11 17:03:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cf3680072ebe6b39281b22f5cee9b6264aca9f1

commit 0cf3680072ebe6b39281b22f5cee9b6264aca9f1
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2023-05-11 17:01:31 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2023-05-11 17:03:20 +0000

    app-office/wps-office: add 11.1.0.11698
    
    Upstream supports more arches.
    Fix the removal of files
    
    Thanks-to: Melker Narikka
    Bug: https://bugs.gentoo.org/878451
    Bug: https://bugs.gentoo.org/813138
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 app-office/wps-office/Manifest                     |  4 +
 .../wps-office/wps-office-11.1.0.11698.ebuild      | 95 ++++++++++++++++++++++
 2 files changed, 99 insertions(+)