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 and ssmtp mutually block, but this check is not made after sendmail is emerged, and ssmtp merges too, clobbering sendmail.
Steps to Reproduce:
1.USE="-mbox" emerge -p mail-mta/sendmail
3.USE="-mbox" emerge mail-mta/sendmail
4. observe actions
Sendmail was emerged, but clobbered by the ssmtp package as the default virtual/mta
Sendmail should emerge, virtual/mta should be satisfied,
then procmail should emerge
A temporary solutuin is to assign the default virtual/mta to sendmail in/etc/make.profile/virtuals before running the merge.
*** This bug has been marked as a duplicate of 1343 ***
Dupe'd on the wrong bug.
*** This bug has been marked as a duplicate of 68220 ***
The bug does dupe 1343! This just describes one point of view of the problem.
This bug more closely dupes 41497, sorry guys.
*** This bug has been marked as a duplicate of 41497 ***