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

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



On Thu, Oct 06, 2005 at 05:52:01PM +0200, Stefano Zacchiroli wrote:
>   $ locate pa_o.cmo
>   /usr/lib/ocaml/3.08.3/camlp4/pa_o.cmo
>   $ dpkg -S /usr/lib/ocaml/3.08.3/camlp4/pa_o.cmo
>   ocaml-nox: /usr/lib/ocaml/3.08.3/camlp4/pa_o.cmo
> 
> Is it the same on the s390 box who tried the build?

$ dpkg -S pa_o.cmo                     
ocaml-nox: /usr/lib/ocaml/3.08.3/camlp4/pa_o.cmo

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

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

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.
| make[2]: *** [nethttp.cmo] Error 2
| rm nethtml_scanner.ml
| make[2]: Leaving directory `/home/waldi/debian/tmp/ocamlnet/ocamlnet-1.1/src/netstring'

Bastian

-- 
Women are more easily and more deeply terrified ... generating more
sheer horror than the male of the species.
		-- Spock, "Wolf in the Fold", stardate 3615.4

Attachment: signature.asc
Description: Digital signature


Reply to: