[MacPorts] #24659: caml-batteries does not compile

MacPorts noreply at macports.org
Mon Apr 26 01:47:51 PDT 2010


#24659: caml-batteries does not compile
---------------------------------+------------------------------------------
 Reporter:  t_saideep@…          |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.8.2                                
 Keywords:  caml-batteries       |        Port:  caml-batteries                       
---------------------------------+------------------------------------------
 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.

-- 
Ticket URL: <http://trac.macports.org/ticket/24659>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list