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

Bug#265212: advi: FTBFS alpha: strange build failure



On 12/08/2004-09:45, Goswin Brederlow wrote:
> <snip the beginning of the build log>
> if [ -x /usr/bin/ocamlopt.opt ]; then \
> 	echo "Building the native code version with the native compilers"; \
>         /usr/bin/make HAVE_OPT=".opt" opt; \
> 	touch opt-built-stamp; \
> else if [ -x /usr/bin/ocamlopt ]; then \
> 	echo "Building the native code version"; \
>         /usr/bin/make HAVE_OPT="" opt; \
> 	touch opt-built-stamp; \
> else \
> 	echo "Building the bytecode version"; \
>         /usr/bin/make byte; \
> fi fi
> Building the native code version with the native compilers

Ok, here is where it differs from the build log at 
http://buildd.debian.org/fetch.php?&pkg=advi&ver=1.5.2%2Bcvs-2004.07.27-2&arch=i386&stamp=1091989825&file=log&as=raw.
The last line of the Makefile is "include .depend", which normally 
causes a regeneration of this file. However, here it what "info make" 
say about included Makefiles:
|   If the specified name does not start with a slash, and the file is
|not found in the current directory, several other directories are
|searched.  First, any directories you have specified with the `-I' or
|`--include-dir' option are searched (*note Summary of Options: Options
|Summary.).  Then the following directories (if they exist) are
|searched, in this order: `PREFIX/include' (normally `/usr/local/include'
|(1)) `/usr/gnu/include', `/usr/local/include', `/usr/include'.

My guess is that one of these files exist on your system, and the 
".depend" rule of advi's Makefile is never called. The safe way would be 
to explicitely run make .depend before building advi.

Regards,
Julien

> make[1]: Entering directory `/home/mrvn/build/advi/advi-1.5.2+cvs-2004.07.27'
> ocamlc -warn-error A -g -ccopt "-DHAVE_XINERAMA -I/usr/X11R6/include -O -fno-defer-pop -Wall -Wno-unused" -c events.c
> ocamlc -warn-error A -g -ccopt "-DHAVE_XINERAMA -I/usr/X11R6/include -O -fno-defer-pop -Wall -Wno-unused" -c grwm.c
> ocamlc -warn-error A -g -ccopt "-DHAVE_XINERAMA -I/usr/X11R6/include -O -fno-defer-pop -Wall -Wno-unused" -c grY11.c
> 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.
> make[1]: *** [misc.cmx] Error 2
> make[1]: Leaving directory `/home/mrvn/build/advi/advi-1.5.2+cvs-2004.07.27'



Reply to: