swaylock installs file /etc/pam.d/swaylock even while USE=-pam. This then disturbs xscreensaver-7.05's configure: if test "$with_pam_req" = yes -a "$have_pam" = no ; then warn 'Use of PAM was requested, but it was not found.' CONF_STATUS=1 elif test "$have_pam" = no ; then if test -d /etc/pam.d -o -f /etc/pam.conf ; then warn "Your system seems to have PAM, but PAM is not being used." warn2 "That is probably not going to work out well." CONF_STATUS=1 fi fi that fails in a hard to spot way, as it has USE=-pam too and the message just looks like a warning rather than an error. Reproducible: Always
This still applies to swaylock-1.7.2.