Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63123 - net-analyzer/nagios-core* needs virtual/mailx changed to virtual/mta
Summary: net-analyzer/nagios-core* needs virtual/mailx changed to virtual/mta
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-07 06:22 UTC by Lance Albertson (RETIRED)
Modified: 2004-12-07 08:54 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 Lance Albertson (RETIRED) gentoo-dev 2004-09-07 06:22:28 UTC
When I tried doing an emerge -UDpv world today, nagios-core broke something:

samwise root # emerge -UDpv world
>>> --upgradeonly implies --update... adding --update to options.

These are the packages that I would merge, in order:

Calculating world dependencies |
emerge: there are no masked or unmasked ebuilds to satisfy "virtual/mailx".

!!! Problem with ebuild net-analyzer/nagios-1.2
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.


Now, correct me if I'm wrong, but isn't the new virtual for mail apps virtual/mta now and not virtual/mailx ? When I changed the ebuild from mailx to mta, the depgraph completed fine. 

Cheers!
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-09-07 06:56:34 UTC
no, it has to be mailx to send mails, no local mta is needed
just upgrade your mailx mailer.
Comment 2 Lance Albertson (RETIRED) gentoo-dev 2004-09-07 07:03:44 UTC
Hrm, maybe that's the problem. This box has an mta (postfix) and it was complaining about this. Once I changed it to virtual/mta it fixed the problem. What would be causing this?
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-09-07 07:10:28 UTC
a mta is not really required, but it's nice to have one
only the "mail" command is need, which is providen by eg mailx

you can test it with #echo "test" | mail root
if the message gets delivered with a local procmail or with a mta on another machine is independend.
Comment 4 Lance Albertson (RETIRED) gentoo-dev 2004-09-07 07:20:17 UTC
Yeah, But what I'm saying is, shouldn't postfix satisfy the mailx virtual? Or how should it work? I just upgraded postfix on this box last week, maybe this isn't a bug with nagios-core, but one with postfix itself. The key issue here is that I have an mta installed on this machine (postfix) and its complaining that I have nothing to satisfy mailx. This gets bypassed by changing virtual/mailx to virtual/mta. I understand that it doesn't need an mta :) as ssmtp should work fine if configured correctly. 
Comment 5 Jon Hood (RETIRED) gentoo-dev 2004-09-11 08:08:35 UTC
net-mail herd please look at this:

$ grep virtual/mailx * -r
nail/nail-10.8.ebuild:PROVIDE="virtual/mailx"
nail/nail-10.8.ebuild:  !virtual/mailx"

Why is mail-client/mailx not providing virtual/mailx? Something looks wrong here...
Comment 6 Grant Goodyear (RETIRED) gentoo-dev 2004-09-13 08:34:58 UTC
mail-client/mailx is, indeed, missing the mailx PROVIDE.

It's an easy fix, but I'm away from my Gentoo machine atm.  Can somebody in
net-mail fix this?
Comment 7 Andrej Kacian (RETIRED) gentoo-dev 2004-09-13 10:17:14 UTC
Fixed in mailx-8.1.2.20021129-r4.ebuild, now in CVS.
Comment 8 Andrej Kacian (RETIRED) gentoo-dev 2004-09-13 10:48:48 UTC
We need to mark mailx-8.1.2.20021129-r4.ebuild stable on ppc, sparc, alpha, hppa and ppc64, so the original bug can go away on stable systems. Thank you, guys.
Comment 9 Gustavo Zacarias (RETIRED) gentoo-dev 2004-09-13 11:16:24 UTC
sparc happy.
Comment 10 Guy Martin (RETIRED) gentoo-dev 2004-09-14 08:30:50 UTC
Stable on hppa.
Comment 11 Bryan Østergaard (RETIRED) gentoo-dev 2004-09-19 14:47:22 UTC
Stable on alpha.
Comment 12 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-09-22 15:20:15 UTC
stable on ppc
Comment 13 Andrej Kacian (RETIRED) gentoo-dev 2004-10-01 15:19:28 UTC
Lowering severity
Comment 14 Tom Gall (RETIRED) gentoo-dev 2004-10-09 16:21:28 UTC
stable on ppc64
Comment 15 Andrej Kacian (RETIRED) gentoo-dev 2004-10-10 10:44:29 UTC
Stable on all required archs, closing. Thanks everyone (even though you're not on CC anymore :) ).
Comment 16 Max Michaels 2004-12-07 08:54:18 UTC
did anyone add this to portage? If not, why?