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

Re: mass-commit: dependencies



On Friday 06 July 2012 15:30:23 Jonas Smedegaard wrote:

> On 12-07-06 at 10:35am, Dominique Dumont wrote:

> > IIRC, lintian complains if the dependency on debhelper is not

> > versioned. [1] I'll happily remove this feature if I'm wrong.

>

> I believe you are wrong: It is correct that lintian has warned about

> this in the past, but I haven't noticed it lately (I am involved in 300+

> packages none of which respects that).

 

ok, then next config-model release will treat debhelper versioned deps like the other packages.

 

> > > d) is harmful: a recent cdbs _is_ needed. In this particular case

> > > the CDBS snippet perl-makemaker.mk is included which was unavailable

> > > prior to cdbs 0.4.73.

> > >

> > > It could be argued that d) is not harmful because only unstable (and

> > > testing) is targeted - backporting is unsupported officially. In

> > > that case this particular versioned dependency is indeed unneded -

> > > but then so are versioned build-dependencies on debhelper even in

> > > compatibility level 8 and 9!

> >

> > I would not recommend to remove debhelper > 9 as this would harm

> > backport on squeeze.

>

> I don't understand above sentence.

 

Well, when backporting, you have to consider whether a package is compatible or not with with your target. If you consider backporting a pacakge with debhelper > 9 for squeeze, you know that you will have some rework to do.

 

If the required dep is removed, people doing backports for squeeze will have more err, unwelcome surprises.

 

> Please mention backports.debian.org explicitly if you are talking about

> backporting to there specifically. I don't.

 

Neither do I. sorry. The main question when cleaning dependencies is where to draw the line. IIRC, the consensus was to remove version req that can be satisfied on oldstable. (which is admitedly a blurry notion since wheezy froze).

 

> > Note that, by default cme will not remove versioned dependencies

> > required for oldstable, provided the information is provided by

> > madison.

>

> I don't understand what you mean here. How can madison know if what

> features of CDBS (or debhelper or whatever) used speficially in a

> certain package. causing a versioned dependency?

 

That's not the point. madison is used to know whether the versioned dependency

can be satisfied in all supported cases (usually taking into account oldstable). If yes, the versioned req is removed.

 

HTH

 

--

https://github.com/dod38fr/config-model/ -o- http://search.cpan.org/~ddumont/

http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org


Reply to: