Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673548 - dev-libs/xerces-c-3.2.2[-icu iconv]: message catalog is installed to /usr/msg/XercesMessages_en_US.cat
Summary: dev-libs/xerces-c-3.2.2[-icu iconv]: message catalog is installed to /usr/msg...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: C++ Team [disbanded]
URL: https://issues.apache.org/jira/browse...
Whiteboard:
Keywords:
: 672976 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-12-22 03:23 UTC by OKUMURA N. Shin-ya
Modified: 2023-08-26 13:43 UTC (History)
2 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 OKUMURA N. Shin-ya 2018-12-22 03:23:07 UTC
dev-libs/xerces-c-3.2.2 installs its message catalog into /usr/msg.
Probably /usr/share/xerces-c or so on would be correct.
dev-libs/xalan-c-1.11.0 might assume there was /usr/share/xerces-c/msg.

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-libs/xerces-c-3.2.2
2. fgrep .cat /var/db/pkg/dev-libs/xerces-c-3.2.2/CONTENTS

Actual Results:  
obj /usr/msg/XercesMessages_en_US.cat d76abed64286e15c8f782c0c43af3ba1 1544880655

Expected Results:  
obj /usr/share/(snip).cat ... ...
Comment 1 Craig Andrews gentoo-dev 2018-12-29 05:50:15 UTC
Do you have a scenario that demonstrates that this setup is problematic?
Comment 2 OKUMURA N. Shin-ya 2018-12-29 11:36:14 UTC
For example, the following one failes as;

# emerge =dev-libs/xalan-c-1.11.0_pre1153059
(snip)
../../../bin/MsgCreator /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre1153059/work/xml-xalan/c/src/xalanc/NLS/en_US/XalanMsg_en_US.xlf -TYPE nls -LOCALE en_US
Could not open catalog:
 /usr/share/xerces-c/msg/XercesMessages_en_US.cat
 or /usr/share/xerces-c/msg/XercesMessages_en_US.cat
Cannot load message domain
make[2]: *** [Makefile:143: ../../../nls/en_US/XalanMsg_en_US.cat] Error 255
Comment 3 Craig Andrews gentoo-dev 2019-01-02 20:05:46 UTC
Reported upstream at https://issues.apache.org/jira/browse/XERCESC-2163
Comment 4 Craig Andrews gentoo-dev 2019-01-02 20:06:49 UTC
*** Bug 672976 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2019-01-02 20:17:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76cb1c9b4b513143c25e1bf7d0ab9034ec0f9682

commit 76cb1c9b4b513143c25e1bf7d0ab9034ec0f9682
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2019-01-02 20:16:21 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2019-01-02 20:16:51 +0000

    dev-libs/xerces-c: use ninja, fix XercesMessages_en_US.cat path
    
    Closes: https://bugs.gentoo.org/673548
    Package-Manager: Portage-2.3.53, Repoman-2.3.12
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 .../files/xerces-c-3.2.2-fix-XERCESC-2163.patch    |  24 +++++
 dev-libs/xerces-c/xerces-c-3.2.2-r1.ebuild         | 118 +++++++++++++++++++++
 2 files changed, 142 insertions(+)
Comment 6 Larry the Git Cow gentoo-dev 2023-08-26 13:43:36 UTC
The bug has been referenced in the following commit(s):

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

commit b03595edbc4e8b9ddc6588d05ce190cbd82067e0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-08-26 13:43:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-26 13:43:08 +0000

    dev-libs/xerces-c: add more metadata to catalog patch
    
    I've also no idea why I dropped the patch before, but even more interestingly,
    it's been dropped in the past as well!
    
    Bug: https://bugs.gentoo.org/673548
    Bug: https://bugs.gentoo.org/738140
    Bug: https://bugs.gentoo.org/913045
    Signed-off-by: Sam James <sam@gentoo.org>

 .../xerces-c/files/xerces-c-3.2.2-fix-XERCESC-2163.patch    | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)