Pam fails to build during installation of gentoo/PPC. The build fails when the pam_pwdb module is not found. During the running of pam's configure script, this module is marked not to be built because pwdb is not yet installed. pam should probably depend on pwdb.