Opened 14 years ago

Closed 13 years ago

#24659 closed defect (fixed)

caml-batteries does not compile

Reported by: t_saideep@… Owned by: erickt@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: josh@…
Port: caml-batteries

Description (last modified by jmroot (Joshua Root))

All the dependencies get compiled (ocamlfind, oUnit etc.) but the main package itself gives errors.

This is the error message I get:

DEBUG: Executing org.macports.build (caml-batteries)

DEBUG: port disallows a parallel build

DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'

DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_caml-batteries/work/batteries-20090405" && /usr/bin/make all opt top syntax'

ocamlbuild  src/main/threads/batteries.cma src/main/threads/run.byte src/main/nothreads/batteries.cma src/main/nothreads/run.byte src/syntax/pa_openin/pa_openin.cmo src/syntax/pa_openin/pa_openin_r.cmo src/syntax/pa_where/pa_where.cmo src/syntax/pa_batteries/pa_batteries.cmo src/syntax/pa_strings/pa_strings.cma src/syntax/pa_comprehension/pa_comprehension.cmo src/batteries_toolchain/toplevel.top src/batteries_toolchain/batteries_print.cmo src/batteries_toolchain/batteries_help.cmo

ocamlfind ocamlc -c -g -package bin_prot -package sexplib -package sexplib.syntax -syntax camlp4o -I src/core/baselib -I src -I src/main -I src/libs -I src/core -I src/libs/sexplib -I src/libs/ocamlnet -I src/libs/findlib -I src/libs/compilers -I src/libs/common -I src/libs/camlzip -I src/core/extlib_threads -I src/core/extlib -I src/core/baselib_threads -I build/optcomp -o src/core/baselib/batlib_Baselib_Filename.cmo src/core/baselib/batlib_Baselib_Filename.ml

+ ocamlfind ocamlc -c -g -package bin_prot -package sexplib -package sexplib.syntax -syntax camlp4o -I src/core/baselib -I src -I src/main -I src/libs -I src/core -I src/libs/sexplib -I src/libs/ocamlnet -I src/libs/findlib -I src/libs/compilers -I src/libs/common -I src/libs/camlzip -I src/core/extlib_threads -I src/core/extlib -I src/core/baselib_threads -I build/optcomp -o src/core/baselib/batlib_Baselib_Filename.cmo src/core/baselib/batlib_Baselib_Filename.ml

File "src/core/baselib/batlib_Baselib_Filename.ml", line 1, characters 0-1:

Error: The implementation src/core/baselib/batlib_Baselib_Filename.ml
       does not match the interface src/core/baselib/batlib_Baselib_Filename.cmi:
       Values do not match:
         val temp_file : ?temp_dir:string -> string -> string -> string
       is not included in
         val temp_file : string -> string -> string

Command exited with code 2.

make: *** [all] Error 10

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-batteries/work/batteries-20090405" && /usr/bin/make all opt top syntax " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_caml-batteries/work/batteries-20090405" && /usr/bin/make all opt top syntax " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"

Warning: the following items did not execute (for caml-batteries): org.macports.activate org.macports.build org.macports.destroot org.macports.install

Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: caml-batteries removed
Owner: changed from macports-tickets@… to erickt@…

Please remember to preview and use WikiFormatting, and cc the maintainer.

comment:2 in reply to:  1 Changed 14 years ago by josh@…

Replying to jmr@…: I'm seeing this same message when I try to compile caml-batteries on my macbook.

comment:3 Changed 14 years ago by josh@…

Cc: josh@… added

Cc Me!

comment:4 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Presumably fixed by the update in r72077.

Note: See TracTickets for help on using tickets.