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

Bug 76197

Summary: Emerging sendmail with USE="-mbox" causes ssmtp (blocked) to be emerged, which clobers sendmail
Product: Portage Development Reporter: Martin OConnor <martinoc>
Component: Core - DependenciesAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin OConnor 2004-12-30 19:04:12 UTC
This is an example of a more potentially severe problem. By default, there is no virtuals file defined in /etc/make.profile/. The default virtual/mta to be installed is ssmtp.

When sendmail is emerged with USE="-mbox", sendmail depends on procmail. Procmail requires virtual/mta, which causes the default ssmtp to be merged. The result:

sendmail
ssmtp
procmail

sendmail and ssmtp mutually block, but this check is not made after sendmail is emerged, and ssmtp merges too, clobbering sendmail.

Reproducible: Always
Steps to Reproduce:
1.USE="-mbox" emerge -p mail-mta/sendmail
2.observe output
3.USE="-mbox" emerge mail-mta/sendmail
4. observe actions

Actual Results:  
Sendmail was emerged, but clobbered by the ssmtp package as the default virtual/mta

Expected Results:  
Sendmail should emerge, virtual/mta should be satisfied,
then procmail should emerge
Comment 1 Martin OConnor 2004-12-30 19:06:17 UTC
A temporary solutuin is to assign the default virtual/mta to sendmail in/etc/make.profile/virtuals before running the merge.
Comment 2 Martin OConnor 2004-12-30 19:12:32 UTC

*** This bug has been marked as a duplicate of 1343 ***
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-01-01 21:17:43 UTC
Dupe'd on the wrong bug.
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2005-01-01 21:18:42 UTC

*** This bug has been marked as a duplicate of 68220 ***
Comment 5 Martin OConnor 2005-01-02 15:35:22 UTC
The bug does dupe 1343! This just describes one point of view of the problem.
Comment 6 Martin OConnor 2005-01-02 15:35:57 UTC

*** This bug has been marked as a duplicate of 1343 ***
Comment 7 Martin OConnor 2005-01-02 15:39:28 UTC
This bug more closely dupes 41497, sorry guys.
Comment 8 Martin OConnor 2005-01-02 15:39:51 UTC

*** This bug has been marked as a duplicate of 41497 ***