I got this install error when emerging sys-auth/openpam-20071221: Making install in pam_deny gmake[2]: Entering directory `/var/tmp/portage/sys-auth/openpam-20071221/work/openpam-20071221/modules/pam_deny' gmake[3]: Entering directory `/var/tmp/portage/sys-auth/openpam-20071221/work/openpam-20071221/modules/pam_deny' test -z "/lib/security/" || ../.././install-sh -c -d "/var/tmp/portage/sys-auth/openpam-20071221/image//lib/security/" /bin/bash ../../libtool --mode=install /usr/bin/install -c pam_deny.la '/var/tmp/portage/sys-auth/openpam-20071221/image//lib/security/' libtool: install: error: cannot install `pam_deny.la' to a directory not ending in /lib/security/ gmake[3]: *** [install-pkglibLTLIBRARIES] Error 1 gmake[3]: Leaving directory `/var/tmp/portage/sys-auth/openpam-20071221/work/openpam-20071221/modules/pam_deny' gmake[2]: *** [install-am] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/sys-auth/openpam-20071221/work/openpam-20071221/modules/pam_deny' gmake[1]: *** [install-recursive] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/sys-auth/openpam-20071221/work/openpam-20071221/modules' gmake: *** [install-recursive] Error 1 >>> Completed installing openpam-20071221 into /var/tmp/portage/sys-auth/openpam-20071221/image/ strip: i686-gentoo-freebsd8.0-strip --strip-unneeded -R .comment usr/lib/libpam.so.2.0.0 The oddity is that the installation phase doesn't fail at all as the ebuild is missing a '|| die' statement and the package is partially installed (all headers are missing) leading to a lot compilation errors from all the packages that require openpam's headers. I don't know how to fix the problem (seems that libtools is not able to relink pam_deny.so) but attached there is an ebuild patch for a cleaned and improved ebuild: - added EAPI3; - removed 'flag-o-matic' eclass as isn't used inside the ebuild; - added a die statement to the 'emake install' phase; - removed the die statement from econf; Hope it's useful. Mauro
Created attachment 229993 [details, diff] openpam-20071221-r1.ebuild.patch
Created attachment 229997 [details] emerge infos
Created attachment 229999 [details] emerge build.log
Created attachment 230005 [details, diff] openpam-20071221-r1.ebuild.patch EAPI2 version as required by aballier@gentoo.org
(In reply to comment #4) > Created an attachment (id=230005) [details] > openpam-20071221-r1.ebuild.patch > > EAPI2 version as required by aballier@gentoo.org > applied this one, thanks and i cant reproduce your bug btw
Created attachment 269495 [details, diff] patch for openpam-20071221.ebuild This problem reproduced my environment. I applied this patch and solved.
I reproduced this issue with USE="-* minimal pam" ROOT="/var/jail" emerge openpam
(In reply to comment #6) > Created attachment 269495 [details, diff] > patch for openpam-20071221.ebuild > > This problem reproduced my environment. > I applied this patch and solved. applied the WANT_AUTOMAKE part; could reproduce it now, thanks