Summary: | sys-libs/pam-1.3.1_p20200128-r1 installs system headers in the wrong location in Prefix | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Steven Trogdon <strogdon> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | zlogene |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Steven Trogdon
2020-03-16 17:46:56 UTC
The issue appears to be that
dnl Add security to include directory
if test ${includedir} = '${prefix}/include'
then
includedir="${prefix}/include/security"
fi
from configure.ac fails in Prefix which, after the configure, leaves
includedir='${prefix}/include'
in config.log.
I suppose one could appropriately patch configure.ac to fix things but adding
--includedir="${EPREFIX}"/usr/include/security
to 'myconf' in the ebuild allows the headers to be appropriately installed.
However, the ebuild also fails the postinst stage which I had't noticed originally:
>>> Failed to execute postinst for sys-libs/pam-1.3.1_p20200128-r1
* Messages for package sys-libs/pam-1.3.1_p20200128-r1:
* FAILED postinst: 1
* Some software with pre-loaded PAM libraries might experience
* warnings or failures related to missing symbols and/or versions
* after any update. While unfortunate this is a limit of the
* implementation of PAM and the software, and it requires you to
* restart the software manually after the update.
*
* You can get a list of such software running a command like
* lsof / | egrep -i 'del.*libpam\.so'
*
* Alternatively, simply reboot your system.
* Setting caps 'cap_dac_override=ep' on file '/storage/strogdon/gentoo-rap/sbin/unix_chkpwd' failed:
* unable to set CAP_SETFCAP effective capability: Operation not permitted
* ERROR: sys-libs/pam-1.3.1_p20200128-r1::local failed (postinst phase):
* could not set caps
This header being in the wrong location prevents the installation of elogind in a prefix. Thanks for the report and comments. If you figure out a way to fix it, feel free the send patches or pull requests. fixed in pam-1.4.0 |