Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 794205 - [TRACKER] ARCH=riscv, two level lib path breakage
Summary: [TRACKER] ARCH=riscv, two level lib path breakage
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: RISCV project
URL: https://archives.gentoo.org/gentoo-de...
Whiteboard:
Keywords: Tracker
Depends on: 794208
Blocks:
  Show dependency tree
 
Reported: 2021-06-04 21:40 UTC by Yixun Lan
Modified: 2022-12-22 17:54 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 Yixun Lan archtester gentoo-dev 2021-06-04 21:40:15 UTC
I'm opening this bug mainly for tracking the common issues while trying to keyword for ARCH=riscv..

currently, the RISC-V profile designed in Gentoo is following strictly with glibc's libdir path scheme[1], that is two level path vs other ARCH's one level path.
  eg. LIBDIR_lp64d="lib64/lp64d"

this may break following sed operation or others
 sed -e "s/@libdir@/$(get_libdir)/"

Reproducible: Always
Comment 2 Larry the Git Cow gentoo-dev 2021-06-04 21:49:44 UTC
The bug has been referenced in the following commit(s):

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

commit 52ddcee62435f766107b6a1c852f026dd941db8e
Author:     Yixun Lan <dlan@gentoo.org>
AuthorDate: 2021-06-04 21:48:09 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2021-06-04 21:48:09 +0000

    sys-auth/elogind: fix two lib path issue for RISC-V
    
    Bug: https://bugs.gentoo.org/794205
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 sys-auth/elogind/elogind-246.10-r1.ebuild | 2 +-
 sys-auth/elogind/elogind-246.9.2.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)