Have you looked at config.log in the work directory after the failed build? Those are very verbose, including the source code of tests run.
-- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet and on broken lists which rewrite From, fetch the TXT record for no-use.mooo.com.