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

Bug 918885

Summary: mail-mta/sendmail-8.17.1.9: BDEPEND on sys-devel/m4 should be DEPEND
Product: Gentoo Linux Reporter: Gil Kloepfer <gbz>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: minor CC: leohdz172
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gil Kloepfer 2023-11-30 05:17:06 UTC
sys-devel/m4 is currently a build dependency for mail-mta/sendmail, but it should be a dependency for both build and runtime.  This is because in order to customize sendmail.cf/submit.cf (through sendmail.mc/submit.mc) after installation, m4 is required to interpret the files in /usr/share/sendmail-cf/...

Reproducible: Sometimes

Steps to Reproduce:
1.  Build mail-mta/sendmail
2.  emerge --depclean --with-bdeps=n
3.  attempt to customize sendmail.cf/submit.cf (sys-devel/m4 is cleaned)
Actual Results:  
m4 should be available to customize the sendmail.cf or submit.cf (using sendmail.mc or submit.mc) after installation.  If m4 is not needed by any other packages, and build dependencies are cleaned, m4 will not be available.

Expected Results:  
m4 should be available even after mail-mta/sendmail is built in order to interpret a customized sendmail.mc/submit.mc and make a new sendmail.cf/submit.cf

This is a low-priority change, and can be worked-around by adding sys-devel/m4 to the system's "world" ... however it is (perhaps arguably) more accurate that sys-devel/m4 be a full dependency of sendmail given that it is highly likely that sendmail.cf or submit.cf (through sendmail.mc/submit.mc) will be customized after installation.