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

Re: library rebuild for 3.11



Le Monday 15 December 2008 21:02:43 Stéphane Glondu, vous avez écrit :
> > Also, can someone remind me whether library control files should have
> > a versioned build-dep on, say, ocaml-nox (>= 3.11), even if there are
> > no 3.11-specific features in use?  I guess it's better for
> > autobuilders, worse for backporters -- are there other reasons?
>
> You guess right.

More precisely, the autobuilder resolution algorithm doesn't do any backward 
check. Once a resolution has been done, it is never rolled back.

Hence, if one of your dependencies pulls ocaml from experimental, then if 
another one doesn't force resolution to pulls the experimental version, the 
script will pull the one from unstable without noticing that it conflicts 
with ocaml from experimental.

When every resolution is done, the final result will fail.

Hence, it is necessary to version *any* ocaml-related dependencies, or more 
precisely, any packages that depends on the virtual ocaml-base-nox-$version, 
or similar..


Hope it is more clear,

Romain


Reply to: