Bug#702096: Bug#711644: libcolor-library-perl: FTBFS with perl 5.18: uses modules deprecated in 5.18

Dominic Hargreaves dom at earth.li
Sun Jun 9 22:51:28 UTC 2013


On Sun, Jun 09, 2013 at 11:32:40PM +0300, Niko Tyni wrote:
> On Sun, Jun 09, 2013 at 06:09:31PM +0200, gregor herrmann wrote:
> > On Sat, 08 Jun 2013 15:30:00 +0100, Dominic Hargreaves wrote:
> 
> > > Please depend/build-depend as appropriate on
> > > 
> > > libmodule-pluggable-perl | perl (<< 5.17.0)
> > 
> > This doesn't work for me, since perl-modules 5.18 provides
> > libmodule-pluggable-perl (so the separate package doesn't get
> > installed and the warning persists, leading to the test failure).
> > 
> > What works for me is:
> > libmodule-pluggable-perl (>= 0) | perl (<< 5.17.0)
> > 
> > Not sure if this is a cowbuilder oddity; might be different in
> > sbuilder ...
> > 
> > I'm commiting this now but will wait with an upload. 
> 
> I suspect the 5.18 perl packages shouldn't Provide virtual packages for
> the deprecated modules. But I'm rather tired and may well be missing
> something.

Yes, I think you're right, and I've been confused today. I thought that
we had kept/added Provides and Replaces for deprecated modules, but git
history differs. Of course in this case, libmodule-pluggable-perl was
already Provided.

However, I'm now confused because debian/t/control.t complains about
Breaks without corresponding Replaces/Provides. I looked back in the
git history and in (for example) 5.12.1-1 we didn't Break the modules
being deprecated, but wouldn't we prefer the versions with warnings than
older versions of the same modules without?

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)




More information about the Perl-maintainers mailing list