Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283277 - Regression in sendmail ebuild with site.config.m4
Summary: Regression in sendmail ebuild with site.config.m4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-30 20:18 UTC by Gil Kloepfer
Modified: 2009-08-31 18:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.