Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699192 - pam-1.2.1-r2 and pam-1.3.0-r2 install headers in wrong location in Prefix
Summary: pam-1.2.1-r2 and pam-1.3.0-r2 install headers in wrong location in Prefix
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-02 23:57 UTC by Steven Trogdon
Modified: 2021-01-18 19:40 UTC (History)
0 users

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 Steven Trogdon 2019-11-02 23:57:38 UTC
pam-1.2.1-r2 and pam-1.3.0-r2 install headers under $PREFIX/usr/include instead of under $PREFIX/usr/include/security

pam-1.2.1-r2:
ls /storage/strogdon/gentoo-rap/var/tmp/portage/sys-libs/pam-1.2.1-r2/image/storage/strogdon/gentoo-rap/usr/include/
_pam_compat.h  _pam_macros.h  _pam_types.h  pam_appl.h  pam_client.h  pam_ext.h  pam_filter.h  pam_misc.h  pam_modules.h  pam_modutil.h

pam-1.3.0-r2:
ls /storage/strogdon/gentoo-rap/var/tmp/portage/sys-libs/pam-1.3.0-r2/image/storage/strogdon/gentoo-rap/usr/include/
_pam_compat.h  _pam_macros.h  _pam_types.h  pam_appl.h  pam_client.h  pam_ext.h  pam_filter.h  pam_misc.h  pam_modules.h  pam_modutil.h

This ultimately causes openrc to fail to install

start-stop-daemon.c:52:10: fatal error: security/pam_appl.h: No such file or directory
   52 | #include <security/pam_appl.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [../../mk/prog.mk:35: start-stop-daemon.o] Error 1

supervise-daemon.c:54:10: fatal error: security/pam_appl.h: No such file or directory
   54 | #include <security/pam_appl.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [../../mk/prog.mk:35: supervise-daemon.o] Error 1
Comment 1 Steven Trogdon 2019-11-03 00:58:35 UTC
sys-libs/libcap-[2.26-r2 | 2.27] also fail to build for the reason - headers not installed under $PREFIX/include/security
Comment 2 Fabian Groffen gentoo-dev 2021-01-18 19:40:37 UTC
we shouldn't try to install pam in Prefix, we should find the pkgs that depend on it and see why they need it