Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 794205

Summary: [TRACKER] ARCH=riscv, two level lib path breakage
Product: Gentoo Linux Reporter: Yixun Lan <dlan>
Component: Current packagesAssignee: RISCV project <riscv>
Status: CONFIRMED ---    
Severity: normal CC: matoro_gentoo
Priority: Normal Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://archives.gentoo.org/gentoo-dev/message/773dd6e275be341544d54dad6a1b8f95
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 794208    
Bug Blocks:    

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(-)