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

Bug#171542: please take a look at an ocaml-related apt bug (171542)



On Sun, Feb 23, 2003 at 03:05:42PM -0500, Faheem Mitha wrote:
> 
> 
> On Sun, 23 Feb 2003, Sven Luther wrote:
> 
> > Mmm, it is ocaml which is depended, not ocaml-3.06. But then, i think
> > maybe ocaml-3.06 would have been pulled in by one of the other
> > dependencies, in particular libcamlimages-ocaml-dev comes to mind, could
> > you check the dependencies of libcamlimages-ocaml-dev in
> > snapshot.debian.net ? I guess you have to check them recursively, since
> > libcamlimages-ocaml-dev  depends on libcamlimages-ocaml and
> > liblablgtk-ocaml-dev which in turn depends on liblablgtk-ocaml and
> > liblablgl-ocaml-dev, which in turn depends on liblablgl-ocaml.
> >
> > Anyway, if ocaml 3.04-14 (the woody version, testing has 3.04-12 only)
> > got installed while apt searched for ocaml 3.06 due to one of the
> > dependencies of the build dependencies, i guess it is a bug in apt.
> >
> > Could you see if this is the case or not, and also could you try
> > removing the unstable source (or sumarize to me the result you already
> > got). Alternatively, you could also try replacing your unstable source
> > by http://people.debian.org/~luther/ocaml ./ and see what happens.
> 
> Ok, I'll do the checking you asked, but also note that this bug is still
> reproducible on a sarge system called laplace (not my home machine), with
> unstable deb and deb-src sources.list lines held in check by
> apt.preferences (see the original bug report for more details about
> laplace, email with message id
> <Pine.LNX.4.44.0301121529580.12975-100000@Chrestomanci> dated Sun, 12 Jan
> 2003). This may not be the case much longer, once libc6 moves to sarge.
> 
> You could most likely reproduce this yourself if you have a woody system
> available.
> 
> laplace:/usr/local/src/advi# apt-get build-dep -s advi
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following NEW packages will be installed:
>   libcamlimages-ocaml libcamlimages-ocaml-dev libungif4-dev ocaml
> ocaml-base
> 0 packages upgraded, 5 newly installed, 0 to remove and 0  not upgraded.
> Inst ocaml-base (3.04-14 Debian:3.0r1a/stable)
> Inst ocaml (3.04-14 Debian:3.0r1a/stable)
> Inst libcamlimages-ocaml (2.10-2 Debian:testing)
> Inst libungif4-dev (4.1.0b1-3 Debian:testing)
> Inst libcamlimages-ocaml-dev (2.10-2 Debian:testing)
> Conf ocaml-base (3.04-14 Debian:3.0r1a/stable)
> Conf ocaml (3.04-14 Debian:3.0r1a/stable)
> Conf libcamlimages-ocaml (2.10-2 Debian:testing)
> Conf libungif4-dev (4.1.0b1-3 Debian:testing)
> Conf libcamlimages-ocaml-dev (2.10-2 Debian:testing)

Mmm, not sure, but i think i know what is happening, notice that advi
1.4.0-3 now has :

Build-Depends: debhelper (>> 3.0.0), tetex-bin, ocaml-3.06-1,
libncurses5-dev, xlibs-dev, libcamlimages-ocaml-dev, tetex-extra,
zlib1g-dev, gs

So, it will try to install ocaml-3.06-1 and will find it only on the
unstable source, provided by an ocaml package which also provide
ocamltk. When apt finds this, i think it believes that all the
dependencies are fulfilled. It then proceeds to install ocaml, but finds
the first ocaml package in stable (which has a greater version than the
testing one) and installs that one. 

Could you please remove the unstable sources, try again the exact same
thing, and tell me about it. You would need to remove also the woody
backbuild sources naturally.

BTW, you could also check that ocamltk is still present in the testing
or woody archive, a quick searches make me believe it is no more
available there, that maybe when i asked for its removal from the
unstable archive, it was also removed from testing and woody.

Friendly,

Sven Luther



Reply to: