[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




On Sun, 12 Jan 2003, Matt Zimmerman wrote:

> 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.

Hi,

Thanks for taking the time to follow this up.

No, all versions of advi in the archives require ocamltk as a
build-depend. (Please verify this.) I thought of this too. In any case,
would I not be correct to think that apt-get source advi and apt-get
build-dep advi should correspond to the same version of the package, ie.
the latest version for which there is the source code available?

faheem /usr/local/src/advi>apt-get source advi
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 2743kB of source archives.
Get:1 http://http.us.debian.org unstable/main advi 1.2.0-6 (dsc) [736B]
Get:2 http://http.us.debian.org unstable/main advi 1.2.0-6 (tar) [2734kB]

faheem ~>apt-cache policy advi
advi:
  Installed: 1.2.0-4
  Candidate: 1.2.0-4
  Version Table:
     1.2.0-6 0
         50 http://http.us.debian.org unstable/main Packages
 *** 1.2.0-4 0
        100 /var/lib/dpkg/status
     1.0.0+cvs-2002.03.26-7 0
        500 http://http.us.debian.org sarge/main Packages
     1.0.0+cvs-2002.03.26-3 0
        500 http://http.us.debian.org woody/main Packages

As you can see, I have built and installed (a previous) unstable version
of advi on my system. Don't know if this makes any difference.

> 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.

Yes, I agree there is something strange going on.

> Do things work correctly if you comment out all but stable from
> sources.list?

With the following sources.list I get

Chrestomanci:/etc/apt# apt-get build-dep advi
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting libcamlimages-ocaml-dev instead of camlimages
E: Some broken packages were found while trying to process
build-dependencies.
You might want to run `apt-get -f install' to correct these.

There is nothing wrong with the package database, though. apt-get -f
install doesn't do anything. I've got this message before.

I get a similar message on another system I have which is just tracking
woody. Note however that system also has lines for unstable debs and
sources.

*****************************************************************
deb http://http.us.debian.org/debian/ woody main non-free contrib
deb-src http://http.us.debian.org/debian/ woody main non-free contrib
deb http://non-us.debian.org/debian-non-US woody/non-US main contrib
non-free
deb-src http://non-us.debian.org/debian-non-US woody/non-US main contrib
non-free

deb http://security.debian.org/ woody/updates main contrib non-free
*******************************************************************

> Which version of advi do you actually want to build?

The version in unstable. I've already built and installed it.

> 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

I get:

Chrestomanci:/etc/apt#  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:

Yes, you seem to be getting correct behaviour.

I do have unstable debs, not just sources. Don't see why that should make
a difference, though.

> 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

Hmm. I went off to another system called laplace (by ssh). This system is
relatively new, just a few weeks old.  I'll include a sources.list,
/etc/apt/preferences, and apt-config dump at the end of this message.
Currently ocamltk is not installed on this system either, not is advi.

laplace:/usr/local/src/advi# dpkg -l ocamltk advi
||/ Name                       Version                    Description
+++-==========================-==========================-====================================================================
un  ocamltk                    <none>                     (no description
available)
un  advi                       <none>                     (no description
available)

This is what I get.

laplace:/usr/local/src/advi# apt-get 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 libungif4-dev
ocaml ocaml-base
0 packages upgraded, 6 newly installed, 0 to remove and 0  not upgraded.
Need to get 4585kB of archives. After unpacking 20.6MB will be used.
Do you want to continue? [Y/n]

So it is not just my system that is doing this. Perhaps you could try
mimicking my config as closely as possible and see what you get.
Specifically, use my sources.list and my preferences file. Since it seems
you are in the US (Virginia, not that far from me, actually) it should be
possible. I can try it on a third system if you want. I have one system
which is still only tracking stable, but with unstable debs and sources
held back by a suitable /etc/apt/preferences file.

Sorry about the plethora of information. Just trying to be helpful and a
good Debian citizen. :-)
                                                          Faheem.

Laplace info follows:
*******************************************************************************

deb http://http.us.debian.org/debian/ woody main non-free contrib
deb-src http://http.us.debian.org/debian/ woody main non-free contrib
deb http://non-us.debian.org/debian-non-US woody/non-US main contrib
non-free
deb-src http://non-us.debian.org/debian-non-US woody/non-US main contrib
non-free

deb http://http.us.debian.org/debian/ sarge main non-free contrib
deb-src http://http.us.debian.org/debian/ sarge main non-free contrib
deb http://non-us.debian.org/debian-non-US sarge/non-US main contrib
non-free
deb-src http://non-us.debian.org/debian-non-US sarge/non-US main contrib
non-free

deb http://http.us.debian.org/debian/ unstable main non-free contrib
deb-src http://http.us.debian.org/debian/ unstable main non-free contrib
deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib
non-free
deb-src http://non-us.debian.org/debian-non-US unstable/non-US main
contrib non-free

deb http://security.debian.org/ woody/updates main contrib non-free
deb http://security.debian.org/ sarge/updates main contrib non-free

deb http://www.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/debian
testing main non-free

deb http://www.phy.olemiss.edu/openoffice/ woody main contrib
*********************************************************************

Package: *
Pin: release a=unstable
Pin-Priority: 50

*********************************************************************

laplace:/usr/local/src/advi# apt-config dump
APT "";
APT::Architecture "i386";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne
10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";




Reply to: