Upgrade of perl triggers rebuilds of some of packages depending on it, but it didn't trigger rebuild of spamassassin while it should. Reproducible: Always Steps to Reproduce: 1. downgrade to dev-lang/perl-5.22.3_rc4 2. emerge =mail-filter/spamassassin-3.4.1-r8 3. upgrade to dev-lang/perl-5.24.1-r1 Actual Results: mail-filter/spamassassin rebuild is not triggered. perl-cleaner shows it as leftover files. Expected Results: mail-filter/spamassassin should be rebuilt automatically # perl-cleaner --leftovers * The following files remain. These were either installed by hand * or edited. * /usr/lib64/perl5/vendor_perl/5.22.3/spamassassin-run.pod * /usr/lib64/perl5/vendor_perl/5.22.3/Mail/SpamAssassin.pm * /usr/lib64/perl5/vendor_perl/5.22.3/Mail/SpamAssassin/PerMsgLearner.pm ... A LOT OF LINES SKIPPED ... * /usr/lib64/perl5/vendor_perl/5.22.3/Mail/SpamAssassin/MailingList.pm * /usr/lib64/perl5/vendor_perl/5.22.3/x86_64-linux/auto/Mail/SpamAssassin/.packlist * /usr/lib64/perl5/vendor_perl/5.22.3/XML/SAX/ParserDetails.ini : known, can be deleted
Created attachment 470292 [details] spamassassin-3.4.1-r8.ebuild Modified ebuild which should fix reported issue. diff: --- /usr/portage/mail-filter/spamassassin/spamassassin-3.4.1-r8.ebuild 2017-02-28 22:50:50.000000000 +0300 +++ ./spamassassin-3.4.1-r8.ebuild 2017-04-18 08:26:33.824042034 +0300 @@ -22,7 +22,7 @@ # The Makefile.PL script checks for dependencies, but only fails if a # required (i.e. not optional) dependency is missing. We therefore # require most of the optional modules only at runtime. -REQDEPEND="dev-lang/perl +REQDEPEND="dev-lang/perl:= dev-perl/HTML-Parser dev-perl/Net-DNS dev-perl/NetAddr-IP
Hey perl team.. is this the right thing to do?
Thanks, I've fixed this in -r11. commit 3dd9f4f0d1d30ed1e47ac185ecd5267b6088ad28 Author: Michael Orlitzky <mjo@gentoo.org> Date: Sun Apr 23 21:25:30 2017 -0400 mail-filter/spamassassin: new revision fixing bugs 590338 and 615856. The first fix in this revision adds a slot-operator dependency on dev-lang/perl. This should force SpamAssassin to rebuild in response to future major upgrades of perl (bug 615856). The second fix includes a backported patch to support newer versions of dev-perl/Net-DNS. This should avoid the problems experienced with the URIDNSBL plugin (bug 590338). Gentoo-Bug: 590338 Gentoo-Bug: 615856 Package-Manager: Portage-2.3.3, Repoman-2.3.1
*** Bug 618596 has been marked as a duplicate of this bug. ***