Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878451 - app-office/wps-office-11.1.0.11664-r1: crashed by GLIBCXX_3.4.30 not found
Summary: app-office/wps-office-11.1.0.11664-r1: crashed by GLIBCXX_3.4.30 not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-27 09:02 UTC by vowstar
Modified: 2023-05-11 17:03 UTC (History)
1 user (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 vowstar 2022-10-27 09:02:59 UTC
After I updated the whole system, I found that wps did not work, and further debugging found that dlopen /opt/kingsoft/wps-office/office6/libwpsmain.so failed , error: /opt/kingsoft/wps-office/office6/libstdc++.so. 6: version `GLIBCXX_3.4.30' not found (required by /usr/lib64/libicuuc.so.72)

Reproducible: Always

Steps to Reproduce:
1. emerge -vtuDN @world
2. # run wps

Actual Results:  
wps not work,
If run /opt/kingsoft/wps-office/office6/wps directly, will get:
dlopen /opt/kingsoft/wps-office/office6/libwpsmain.so failed , error: /opt/kingsoft/wps-office/office6/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib64/libicuuc.so.72)


Expected Results:  
wps works, and /opt/kingsoft/wps-office/office6/wps works.

By rm /opt/kingsoft/wps-office/office6/libstdc++.so.6, wps works.

Also, this ebuild works (by delete /opt/kingsoft/wps-office/office6/libstdc++.so.6)
https://github.com/microcai/gentoo-zh/blob/master/app-office/wps-office/wps-office-11.1.0.11664.ebuild
Comment 1 Larry the Git Cow gentoo-dev 2022-10-28 15:15:48 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 2 Melker Narikka 2023-05-09 12:41:06 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 #813138.

    % grep libstdc++ /var/db/pkg/app-office/wps-office-11.1.0.11691/CONTENTS
    sym /opt/kingsoft/wps-office/office6/libstdc++.so.6 -> libstdc++.so.6.0.28 1683627109
    obj /opt/kingsoft/wps-office/office6/libstdc++.so.6.0.28 4fae8dd4d34c2b2297a32fcaaca750b1 1683627108
Comment 3 Larry the Git Cow gentoo-dev 2023-05-11 17:03:25 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(+)