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

Bug#269536: advi_1.5.2+cvs-2004.07.27-2(ia64/unstable): FTBFS: missing cmi files?



On Thu, Sep 02, 2004 at 01:56:58PM +0200, Jérôme Marant wrote:
> Quoting Sven Luther <sven.luther@wanadoo.fr>:
> 
> > On Wed, Sep 01, 2004 at 06:30:40PM -0600, lamont@debian.org wrote:
> > > Package: advi
> > > Version: 1.5.2+cvs-2004.07.27-2
> > > Severity: serious
> > >
> > > There was an error while trying to autobuild your package:
> > >
> > > > Automatic build of advi_1.5.2+cvs-2004.07.27-2 on caballero by
> > sbuild/ia64 1.170.5
> > > > Build started at 20040901-2329
> > >
> > > [...]
> > >
> > > > ** Using build dependencies supplied by package:
> > > > Build-Depends: debhelper (>> 3.0.0), tetex-bin, ocaml-3.08,
> > libncurses5-dev, xlibs-dev, libcamlimages-ocaml-dev (>= 2.11-5), tetex-extra,
> > zlib1g-dev, gs, dpatch, chrpath, ocaml-best-compilers
> > >
> > > [...]
> > >
> > > > **** The following central src deps are (probably) missing:
> > > >   libtiff3g-dev
> >
> > This, i don't know where it is coming from, as you see it is not in the
> > direct
> > build-depends, and libtiff4 is loaded anyway.
> >
> > > [...]
> > >
> > > > dh_clean -k
> > > > dh_installdirs
> > > > if [ -e opt-built-stamp ]; then \
> > > > 	/usr/bin/make install
> > DESTDIR=/build/buildd/advi-1.5.2+cvs-2004.07.27/debian/advi; \
> > > > else \
> > > > 	/usr/bin/make install
> > DESTDIR=/build/buildd/advi-1.5.2+cvs-2004.07.27/debian/advi \
> > > > 		INSTALLTARGET=advi; \
> > > > fi
> > > > make[1]: Entering directory `/build/buildd/advi-1.5.2+cvs-2004.07.27'
> > > > ocamlopt.opt -warn-error A -inline 9 -I /usr/lib/ocaml/3.08/camlimages -c
> > misc.ml
> > > > File "misc.ml", line 1, characters -1--1:
> > > > Could not find the .cmi file for interface misc.mli.
> > > > make[1]: *** [misc.cmx] Error 2
> > > > make[1]: Leaving directory `/build/buildd/advi-1.5.2+cvs-2004.07.27'
> > > > make: *** [install] Error 2

Notice that the difference between a successful build (i386) :

ocamlopt.opt -warn-error A -inline 9 -I /usr/lib/ocaml/3.08/camlimages -c config.ml
ocamlc -warn-error A -g -I /usr/lib/ocaml/3.08/camlimages -c misc.mli
ocamlopt.opt -warn-error A -inline 9 -I /usr/lib/ocaml/3.08/camlimages -c misc.ml
ocamlc -warn-error A -g -I /usr/lib/ocaml/3.08/camlimages -c timeout.mli

And a failed one (ia64) :

ocamlopt.opt -warn-error A -inline 9 -I /usr/lib/ocaml/3.08/camlimages -c config.ml
ocamlopt.opt -warn-error A -inline 9 -I /usr/lib/ocaml/3.08/camlimages -c misc.ml
File "misc.ml", line 1, characters -1--1:
Could not find the .cmi file for interface misc.mli.

Is that the misc.mli file is not compiled with ocamlc. I don't remember
exactly, but is this not the infamous problem with the missing .depend we have
had on alpha i think ? This is the result of a broken build environment, which
has a .depend somewhere in the places make looks for before looking in the
home directory, and fixed in the -3 package :

  * Added explicit make .depend to avoid some strange .depend to be included
    from random places. Thanks to Julien Cristau and Samuel Mimram for
    investigating this. (Closes: #265212)

I will make an upload asap, and we will see how it goes.

Lamont, i believe your build environment is somewhat fishy though, since a
later rebuild of this package by Goswin seemed to pass just nicely.

Friendly,

Sven Luther




Reply to: