Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 283277

Summary: Regression in sendmail ebuild with site.config.m4
Product: Gentoo Linux Reporter: Gil Kloepfer <gbz>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: critical CC: adam.walker, mrness
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gil Kloepfer 2009-08-30 20:18:24 UTC
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.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2009-08-31 18:16:24 UTC
Mea culpa :-/

Fixed in cvs by removing obsolete versions and adapting the remaining ones to the current site.config.m4.