Building sendmail 8.14.0 fails with an infinite loop in m4 because the new site.config.m4 (which probably works fine for later versions of sendmail) fails for sendmail 8.14.0 (the current Gentoo accepted stable release). The specific problem is: define(`confCC', `@@confCC@@') This causes m4 to recursively try to resolve confCC in sendmail-8.14.0/devtools/M4/UNIX/defines.m4 Reproducible: Always Steps to Reproduce: 1. emerge =mail-mta/sendmail-8.14.0 2. 3. Actual Results: Sendmail will start to build, but m4 will run out of memory because of the recursive expansion of confCC. Expected Results: Proper build. I worked around this by copying the old files/site.config.m4 from the old ebuild (I had one on another system). There is a possibility that this is a regression in other sendmail versions as well. Whatever caused the need for site.config.m4 to change should cause a name change to site.config.m4 in files so that older sendmail ebuilds will still work.
Mea culpa :-/ Fixed in cvs by removing obsolete versions and adapting the remaining ones to the current site.config.m4.