Opened 15 years ago

Closed 15 years ago

#22479 closed defect (fixed)

caml-bin-prot-1.2.20 missing dependency on caml-type-conv

Reported by: hawkinsp@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: caml-bin-prot

Description

Hi..

caml-bin-prot is missing a dependency on caml-type-conv.

e.g. witness the following installation attempt:

$ sudo port install caml-batteries
Password:
...
--->  Fetching caml-bin-prot
--->  Attempting to fetch bin-prot-release-1.2.20.tar.gz from http://distfiles.macports.org/caml-bin-prot
--->  Verifying checksum(s) for caml-bin-prot
--->  Extracting caml-bin-prot
--->  Configuring caml-bin-prot
--->  Building caml-bin-prot
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_caml-bin-prot/work/bin-prot-release-1.2.20" && /usr/bin/make all " returned error 2
Command output: ocamlfind ocamldep utils.ml > ._d/utils.d
ocamlfind ocamldep binable.ml > ._d/binable.d
ocamlfind ocamldep map_to_safe.ml > ._d/map_to_safe.d
ocamlfind ocamldep -pp "$BIN_PROT_CPP $ARCH_FLAGS " type_class.ml > ._d/type_class.d
type_class.ml:31:6: warning: missing terminating ' character
type_class.ml:33:12: warning: missing terminating ' character
type_class.ml:34:13: warning: missing terminating ' character
type_class.ml:35:20: warning: missing terminating ' character
type_class.ml:38:6: warning: missing terminating ' character
type_class.ml:40:12: warning: missing terminating ' character
type_class.ml:41:19: warning: missing terminating ' character
type_class.ml:42:32: warning: missing terminating ' character
type_class.ml:45:6: warning: missing terminating ' character
type_class.ml:47:14: warning: missing terminating ' character
type_class.ml:48:14: warning: missing terminating ' character
ocamlfind ocamldep read_c.ml > ._d/read_c.d
ocamlfind ocamldep write_c.ml > ._d/write_c.d
ocamlfind ocamldep -pp "$BIN_PROT_CPP $ARCH_FLAGS " read_ml.ml > ._d/read_ml.d
ocamlfind ocamldep -pp "$BIN_PROT_CPP $ARCH_FLAGS " size.ml > ._d/size.d
ocamlfind ocamldep -pp "$BIN_PROT_CPP $ARCH_FLAGS " unsafe_read_c.ml > ._d/unsafe_read_c.d
ocamlfind ocamldep -pp "$BIN_PROT_CPP $ARCH_FLAGS " write_ml.ml > ._d/write_ml.d
ocamlfind ocamldep unsafe_write_c.ml > ._d/unsafe_write_c.d
ocamlfind ocamldep unsafe_common.ml > ._d/unsafe_common.d
ocamlfind ocamldep common.ml > ._d/common.d
ocamlfind ocamldep nat0.ml > ._d/nat0.d
ocamlfind ocamlc -package type-conv -c -I +camlp4 nat0.mli
ocamlfind: Package `type-conv' not found
make[2]: *** [nat0.cmi] Error 2
make[1]: *** [pack-byte-code] Error 2
make: *** [all] Error 2

Error: The following dependencies failed to build: caml-bin-prot caml-camlzip caml-camomile caml-ocamlnet caml-pcre caml-sexplib caml-type-conv
Error: Status 1 encountered during processing.

However if I manually install caml-type-conv then caml-bin-prot builds fine:

$ sudo port install caml-type-conv
--->  Computing dependencies for caml-type-conv
--->  Fetching caml-type-conv
--->  Attempting to fetch type-conv-1.6.10.tar.gz from http://distfiles.macports.org/caml-type-conv
--->  Verifying checksum(s) for caml-type-conv
--->  Extracting caml-type-conv
--->  Configuring caml-type-conv
--->  Building caml-type-conv
--->  Staging caml-type-conv into destroot
--->  Installing caml-type-conv @1.6.10_0
--->  Activating caml-type-conv @1.6.10_0
--->  Cleaning caml-type-conv
hawkinsp@numbat:~$ sudo port install caml-batteries
--->  Computing dependencies for caml-batteries
--->  Building caml-bin-prot
--->  Staging caml-bin-prot into destroot
--->  Installing caml-bin-prot @1.2.20_0
--->  Activating caml-bin-prot @1.2.20_0
--->  Cleaning caml-bin-prot
...

Please fix?

Change History (1)

comment:1 Changed 15 years ago by avsm@…

Resolution: fixed
Status: newclosed

fixed in r60418

Note: See TracTickets for help on using tickets.