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

Bug#171542: apt-get build-dep advi (as sarge) does not download ocamltk



reopen 171542
thanks

On Sun, Jan 12, 2003 at 01:22:33PM -0500, Faheem Mitha wrote:
> > > On Sun, 12 Jan 2003, Matt Zimmerman wrote:
> > It is a waste of time to guess; if you can provide the exact versions of all
> > packages involved, and a copy of your /etc/apt/sources.list, apt-config
> > dump, and /etc/apt/preferences (if any), that may help.
> 
> Chrestomanci:/home/faheem# apt-get -s build-dep advi
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following NEW packages will be installed:
>   libcamlimages-ocaml libcamlimages-ocaml-dev libpng-dev ocaml
> [...]
> so presumably nothing else is providing ocamltk. Now do you agree
> there is a problem?

I am not sure yet, but I'll reopen it for now.  What version of advi do you
get when you run 'apt-get source advi'?  And what does 'apt-cache policy
advi' show?  Since you have more than one advi source package available, it
is possible that you are simply getting the build-dependencies for a version
other than the one you expect.

Also, there is something quite strange happening here, since the ocaml
package in woody is 3.04-14, while testing has 3.04-12 (older).  So you are
getting ocaml from stable, and some of its dependencies from testing:

> Inst ocaml (3.04-14 Debian:3.0r1a/stable)
> Inst libcamlimages-ocaml (2.10-2 Debian:testing)
> Inst libpng-dev (1.2.1-1.1.woody.3 Debian-Security:3.0/stable)
> Inst libcamlimages-ocaml-dev (2.10-2 Debian:testing)

which seems wrong, but not apt's fault.

Do things work correctly if you comment out all but stable from
sources.list?  Which version of advi do you actually want to build?

On a pure woody system, I get:

root@dijkstra:[~mdz] apt-get build-dep advi                
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting libcamlimages-ocaml-dev instead of camlimages
The following NEW packages will be installed:
  defoma dialog gsfonts libcamlimages-ocaml libcamlimages-ocaml-dev
  libfreetype6-dev libjpeg62-dev libkpathsea3 libncurses5-dev libpng2-dev
  libtiff3g-dev libungif4-dev libungif4g ocaml ocaml-base ocamltk tcl8.3
  tetex-base tetex-bin tetex-extra tk8.3 xlibs-dev zlib1g-dev 
0 packages upgraded, 23 newly installed, 0 to remove and 0  not upgraded.

which seems correct given the build-deps:

root@dijkstra:[~mdz] apt-cache showsrc advi | grep ^Build
Build-Depends: debhelper (>> 3.0.0), tetex-bin, ocaml, libncurses5-dev (>= 5.2.20010310-1), xlibs-dev, ocamltk, camlimages, libpng2-dev, libjpeg62-dev, libtiff3g-dev, libungif4-dev, libfreetype6-dev, tetex-extra

If I add an unstable deb-src to sources.list:

root@dijkstra:[~mdz] apt-get build-dep advi              
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  defoma dialog gsfonts libcamlimages-ocaml libcamlimages-ocaml-dev
  libfreetype6-dev libjpeg62-dev libkpathsea3 libncurses5-dev libtiff3g-dev
  libungif4-dev libungif4g ocaml ocaml-base ocamltk tcl8.3 tetex-base
  tetex-bin tetex-extra tk8.3 xlibs-dev zlib1g-dev 
0 packages upgraded, 22 newly installed, 0 to remove and 0  not upgraded.

which also seems correct:

root@dijkstra:[~mdz] apt-cache showsrc advi | grep ^Build
[...]
Build-Depends: debhelper (>> 3.0.0), tetex-bin, ocaml, libncurses5-dev (>= 5.2.20010310-1), xlibs-dev, ocamltk, libcamlimages-ocaml-dev, libjpeg62-dev, libtiff3g-dev, libungif4-dev, libfreetype6-dev, tetex-extra, zlib1g-dev

-- 
 - mdz



Reply to: