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

Re: sbuild vs relative paths

On Sat, Jul 30, 2005 at 05:40:37PM +0200, Stefano Zacchiroli wrote:
> Dear mentors, 
>   the last version of ocaml I uploaded FTBFS on all autobuilders but
> build properly on my unstable and in a pbuilder chroot.
> According to the build logs (e.g. [1]) the FTFBS happened at this point:
>   if [ -x ./ocamlopt ]; then                                      \
>           /usr/bin/make -C ocaml-md5sums/ opt;                            \
>   else                                                            \
>           /usr/bin/make -C ocaml-md5sums/ all;                            \
>   fi
>   make[1]: Entering directory `/build/buildd/ocaml-3.08.3/ocaml-md5sums'
>   ../ocamlopt -I ../otherlibs/unix -I ../otherlibs/str unix.cmxa str.cmxa -o ocaml-md5sums.opt ocaml-md5sums.ml
>   make[1]: ../ocamlopt: Command not found
>   make[1]: *** [ocaml-md5sums.opt] Error 127

The problem is the first line of that file:

And /usr/bin/ocamlrun does not exist.  I guess you want to run
something like ../boot/ocamlrun ../ocamlopt or something.


Reply to: