Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913045 - dev-libs/xerces-c-3.2.4 install files into /usr/msg
Summary: dev-libs/xerces-c-3.2.4 install files into /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: Benda Xu
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 905348
  Show dependency tree
 
Reported: 2023-08-26 09:07 UTC by Yiyang Wu
Modified: 2023-08-26 13:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge-info.txt,7.46 KB, text/plain)
2023-08-26 09:08 UTC, Yiyang Wu
Details
xz compressed build.log (build.log.xz,58.07 KB, application/x-xz)
2023-08-26 09:09 UTC, Yiyang Wu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yiyang Wu 2023-08-26 09:07:21 UTC
* QA Notice: The ebuild is installing to one or more unexpected paths:
 * 
 *   /usr/msg
 * 
 * Please fix the ebuild to use correct FHS/Gentoo policy paths.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-libs/xerces-c
2.
3.
Comment 1 Yiyang Wu 2023-08-26 09:08:14 UTC
Created attachment 868767 [details]
emerge --info output
Comment 2 Yiyang Wu 2023-08-26 09:09:11 UTC
Created attachment 868768 [details]
xz compressed build.log
Comment 3 Yiyang Wu 2023-08-26 09:19:17 UTC
This also result in runtime error, since in 50xerces-c XERCESC_NLS_HOME="/usr/share/xerces-c/msg" but the actual file is not there.
Comment 4 Benda Xu gentoo-dev 2023-08-26 13:38:28 UTC
Sam, it seems that you have accidentally dropped the needed patch xerces-c-3.2.2-fix-XERCESC-2163.patch in fed81fe07d8f174f22b119cae25c71f5dae71066 by accident.
Comment 5 Larry the Git Cow gentoo-dev 2023-08-26 13:41:23 UTC
The bug has been closed via the following commit(s):

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

commit 24091deabb79bba10ee9e7a7b6c7cdd0b56928d6
Author:     Yiyang Wu <xgreenlandforwyy@gmail.com>
AuthorDate: 2023-08-26 09:22:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-26 13:41:15 +0000

    dev-libs/xerces-c: restore patch to fix install location
    
    Closes: https://bugs.gentoo.org/913045
    Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32457
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/xerces-c-3.2.2-fix-XERCESC-2163.patch    | 24 ++++++++++++++++++++++
 ...ces-c-3.2.4.ebuild => xerces-c-3.2.4-r2.ebuild} |  2 ++
 dev-libs/xerces-c/xerces-c-9999.ebuild             |  2 ++
 3 files changed, 28 insertions(+)
Comment 6 Larry the Git Cow gentoo-dev 2023-08-26 13:43:35 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(-)