Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 815880 - sys-libs/pam: remove use of gen_usr_ldscript
Summary: sys-libs/pam: remove use of gen_usr_ldscript
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-03 04:29 UTC by William Hubbs
Modified: 2022-09-04 01:12 UTC (History)
1 user (show)

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


Attachments
0001-sys-libs-pam-drop-the-use-of-gen_usr_ldscript.patch (0001-sys-libs-pam-drop-the-use-of-gen_usr_ldscript.patch,1.82 KB, patch)
2021-10-03 04:31 UTC, William Hubbs
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description William Hubbs gentoo-dev 2021-10-03 04:29:23 UTC
Since pam does not install static libraries anywhere, you do not need to
worry about using gen_usr_ldscript.

This patch removes the usr-ldscript eclass from inherit and installs the
pam libraries in /$(get_libdir) instead of /usr/$(get_libdir).
Comment 1 William Hubbs gentoo-dev 2021-10-03 04:31:26 UTC
Created attachment 742578 [details, diff]
0001-sys-libs-pam-drop-the-use-of-gen_usr_ldscript.patch


u don't need a revbump for this since it affects a use flag.
Please apply it or let me know if I can.

Thanks,

William
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2021-10-05 18:19:54 UTC
Why would you want to change the libdir directory?
Comment 3 Marek Szuba archtester gentoo-dev 2021-11-20 00:31:20 UTC
Fun fact, sys-libs/pam-1.5.2-r1 inheriting usr-ldscript.eclass causes it to effectively switch to USE=-split-usr mode.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-20 03:16:26 UTC
(In reply to Marek Szuba from comment #3)
> Fun fact, sys-libs/pam-1.5.2-r1 inheriting usr-ldscript.eclass causes it to
> effectively switch to USE=-split-usr mode.

It doesn’t inherit it?

https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/pam/pam-1.5.2-r1.ebuild#n12
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-04 01:12:10 UTC
See https://bugs.gentoo.org/868306#c8.