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

Re: Bug#332283: ocamlnet_1.1-4 (unstable): fails to build



On Sat, Oct 08, 2005 at 09:59:03PM +0200, Bastian Blank wrote:
> > Anyhow the bug seems to be on the ocaml-nox package and not in ocamlnet
> > which indeed builds properly on a fresh sid (i386) pbuilder environment.
> s390 don't support native compiled code, maybe this is a problem.

This is likely to be the reason, since looking at the build logs the
build failed on all architectures which do not support native code
compilation.

> I did a strace and got the following:
> | execve("/usr/bin/camlp4", ["camlp4", "-nolib", "-I", "/home/waldi/debian/tmp/ocamlnet/ocamlnet-1.1/camlp4", "pa_o.cmo", "pa_op.cmo", "pr_dump.cmo", "cgi.ml"], [/* 33 vars */]) = 0
> | stat64("/home/waldi/debian/tmp/ocamlnet/ocamlnet-1.1/camlp4/pa_o.cmo", 0x7fb29570) = -1 ENOENT (No such file or directory)
> | write(2, "Error while loading \"pa_o.cmo\": file not found in path.\n", 56) = 56
> No trace of using the files in /usr/lib/ocaml/3.08.3/camlp4/.
<snip>
> The build-environment is broken. Each second build it fails with
> | ocamlfind ocamlc  -package "unix pcre equeue" -package camlp4 -syntax camlp4o -c nethttp.ml
> | File "nethttp.ml", line 1, characters 0-1:
> | Could not find the .cmi file for interface nethttp.mli.

This is strange indeed, I suspect a problem with ocaml-findlib on the
affected architecture. It is that package responsible for invoking the
compiler and preprocessor with the right parameters. How can I get an
environment in which reproduce the problem?

I tried logging on the s390 debian machine as well as the m68k one, but
even if there are dchroots for sid there are no (or I failed to find
them) pbuilders and of course I don't have the privileges to install the
needed build dependencies ...

Could you give me access to such an environment on s390?

Thanks for your feedback.
Cheers.

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-

Attachment: signature.asc
Description: Digital signature


Reply to: