tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: removing useless dependencies



On Sun, Jul 12, 2015 at 12:12:24AM +0200, Joerg Sonnenberger wrote:
 >>>>> The Perl patterns essentially assume that the version of Perl
 >>>>> will be higher than the version of the module.
 >>>> Do I read this correctly as "the module version in the given Perl's core 
 >>>> will be higher than the module version provided by the pkgsrc package"?
 >>> 
 >>> No. Let's pick a nice example to illustrate the problem:
 >>> 
 >>> DEPENDS+= {perl>=5.17.3,p5-Text-Tabs+Wrap>=2001.0131}:../../textproc/p5-Text-Tabs+Wrap
 >>> 
 >>> from bugzilla. Let's say we have perl-5.22.0 and
 >>> p5-Text-Tabs+Wrap-2013.0523nb2 in the repository. By itself, this will
 >>> install p5-Text-Tabs+Wrap-2013.0523nb2 because it has the higher version
 >>> number.
 >> 
 >> ...which is a bug.
 > 
 > Please stop asserting that random things are bugs without understanding
 > both the big picture and the details, thanks.

Then, O great Joerg of all Joergs, please explain your reasoning.

How does it make sense to compare version numbers of unrelated
packages?

This has come up before and every time you simply assert the status
quo.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index