Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650320 - dev-perl/Net-SMTP-SSL - stop DEPENDing on this package
Summary: dev-perl/Net-SMTP-SSL - stop DEPENDing on this package
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on: 690042
Blocks:
  Show dependency tree
 
Reported: 2018-03-12 18:22 UTC by Martin Mokrejš
Modified: 2019-07-17 05:21 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 Martin Mokrejš 2018-03-12 18:22:11 UTC
Hi,
  on brand new Gentoo-Prefix install after installing @system I went to install layman. It pulled in 48 packages, seemingly one of them was dev-perl/Net-SMTP-SSL.

>>> Recording app-portage/layman in "world" favorites file...

 * Messages for package dev-perl/Net-SMTP-SSL-1.40.0:

 * This package is deprecated by upstream as equivalent support for SSL and
 * STARTTLS is available with Net::SMTP 2.35, found in:
 *   >=virtual/perl-libnet-1.28 ( >=dev-lang/perl-5.20.0 )
 * Subsequently, this package is only available for compatibility reasons, and
 * should be avoided in new code.


Seems all DEPENDs should be protected by conditional on <dev-lang/perl.

$ find /apps/gentoo/usr/portage -name \*.ebuild | xargs grep -H Net-SMTP-SSL
/apps/gentoo/usr/portage/dev-perl/Email-Send-Gmail/Email-Send-Gmail-0.330.0.ebuild:	 dev-perl/Net-SMTP-SSL"
/apps/gentoo/usr/portage/dev-perl/Email-Sender/Email-Sender-1.300.16.ebuild:	dev-perl/Net-SMTP-SSL
/apps/gentoo/usr/portage/dev-perl/Email-Sender/Email-Sender-1.300.30.ebuild:	dev-perl/Net-SMTP-SSL
/apps/gentoo/usr/portage/dev-perl/Email-Sender/Email-Sender-1.300.31.ebuild:	dev-perl/Net-SMTP-SSL
/apps/gentoo/usr/portage/dev-vcs/git/git-2.13.6.ebuild:			dev-perl/Net-SMTP-SSL
/apps/gentoo/usr/portage/dev-vcs/git/git-2.14.3.ebuild:			dev-perl/Net-SMTP-SSL
/apps/gentoo/usr/portage/dev-vcs/git/git-2.15.1.ebuild:			dev-perl/Net-SMTP-SSL
/apps/gentoo/usr/portage/dev-vcs/git/git-2.16.0.ebuild:			dev-perl/Net-SMTP-SSL
/apps/gentoo/usr/portage/dev-vcs/git/git-2.16.1.ebuild:			dev-perl/Net-SMTP-SSL
/apps/gentoo/usr/portage/dev-vcs/git/git-2.16.2.ebuild:			dev-perl/Net-SMTP-SSL
/apps/gentoo/usr/portage/dev-vcs/git/git-9999-r1.ebuild:			dev-perl/Net-SMTP-SSL
/apps/gentoo/usr/portage/dev-vcs/git/git-9999-r2.ebuild:			dev-perl/Net-SMTP-SSL
/apps/gentoo/usr/portage/dev-vcs/git/git-9999-r3.ebuild:			dev-perl/Net-SMTP-SSL
/apps/gentoo/usr/portage/dev-vcs/git/git-9999.ebuild:			dev-perl/Net-SMTP-SSL
/apps/gentoo/usr/portage/sci-biology/GBrowse/GBrowse-2.48-r1.ebuild:		dev-perl/Net-SMTP-SSL
$

Hmm, overlay trees shall be cleaned up too.
Comment 1 Kent Fredric (IRC: kent\n) gentoo-dev 2018-03-12 21:01:18 UTC
Its not as simple as avoiding a DEPEND.

Due to Perl modules doing a kind of dependency resolution at runtime, removing Net::SMTP::SSL as a DEPEND also requires some kind of minor code change. ( The code change has negligible effect now, but you still need the module as a compat shim to avoid "uuuh, deps not satisified" cases.

So anything that has it in DEPEND needs its code audited before it can be deemed safe to remove it from DEPEND.
Comment 2 Kent Fredric (IRC: kent\n) gentoo-dev 2019-07-17 05:11:12 UTC
Rdeps updated lately:

https://qa-reports.gentoo.org/output/genrdeps/rindex/dev-perl/Net-SMTP-SSL

dev-perl/Email-Send-Gmail-0.330.0
dev-perl/Email-Sender-1.300.16
sci-biology/GBrowse-2.48-r1:!minimal

Email-Send-Gmail: https://rt.cpan.org/Ticket/Display.html?id=130091
Latest versions of Email-Sender already updated and this dep goes away when stabilization/cleanup passes happen.

GBrowse will be sticky ... so I'll file a bug for sci team to deal with.