Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719366 - sys-apps/openrc-0.42.1: build failure with USE="-split-usr static-libs"
Summary: sys-apps/openrc-0.42.1: build failure with USE="-split-usr static-libs"
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-25 09:44 UTC by Sergey Gromov
Modified: 2020-04-28 20:26 UTC (History)
1 user (show)

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


Attachments
Specify SHLIBDIR (file_719366.txt,465 bytes, patch)
2020-04-25 09:50 UTC, Sergey Gromov
Details | Diff
Build log (file_719366.txt,109.00 KB, text/plain)
2020-04-25 09:54 UTC, Sergey Gromov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Gromov 2020-04-25 09:44:23 UTC
OpenRC fails to build with USE="static-libs -split-usr". It installs the shared libraries in /lib*, and the static libraries in /usr, which doesn’t pass lib_check because gen_usr_ldscript is a no-op with USE="-split-usr".

To fix, add SHLIBDIR=${UPREFIX}/${LIBNAME} to MAKE_ARGS.

Reproducible: Always
Comment 1 Sergey Gromov 2020-04-25 09:50:17 UTC
Created attachment 634494 [details, diff]
Specify SHLIBDIR
Comment 2 Sergey Gromov 2020-04-25 09:54:21 UTC
Created attachment 634498 [details]
Build log