Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211886 - mail-mta/ssmtp needless virtual/libc dependency
Summary: mail-mta/ssmtp needless virtual/libc dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-29 12:42 UTC by Sebastian Redl
Modified: 2008-06-10 20:15 UTC (History)
1 user (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 Sebastian Redl 2008-02-29 12:42:26 UTC
All mail-mta/ssmtp ebuilds explicitly list virtual/libc as a dependency. Because virtual/libc is part of the system package set, this is clearly unnecessary.

In addition, because the explicit dependency is followed by the dependency resolver, this means that an emerge -e world (for example, after a GCC upgrade) pulls in glibc and gcc, when the previous emerge -e system has already re-merged them, leading to a considerably increased merging time due to the redundant double merge of these big packages.

mail-mta/ssmtp should not depend on virtual/libc.
In addition, if such a thing doesn't exist, a QA rule should automatically point out packages that are not in the system set but depend on packages in the system set.
Comment 1 Steve L 2008-02-29 13:14:35 UTC
(In reply to comment #0)
> In addition, because the explicit dependency is followed by the dependency
> resolver, this means that an emerge -e world (for example, after a GCC upgrade)
> pulls in glibc and gcc, when the previous emerge -e system has already
> re-merged them, leading to a considerably increased merging time due to the
> redundant double merge of these big packages.
> 
This would always happen with -e world; that's why tools like emwrap.sh [1] and 
and Guenther's upgrade script [2] were written.

[1] http://forums.gentoo.org/viewtopic-t-282474.html
[2] http://forums.gentoo.org/viewtopic-t-494331.html

Not sure about the dep on virtual/libc in itself; just that removing it would not solve the above issue.
Comment 2 Tobias Scherbaum (RETIRED) gentoo-dev 2008-06-10 20:15:20 UTC
I just committet ssmtp-2.62 which fixes this bug.