Opened 13 years ago
Closed 12 years ago
#30726 closed defect (fixed)
caml-bin-prot build failure
Reported by: | wchan212@… | Owned by: | erickt@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.1 |
Keywords: | Cc: | mww@…, josh@… | |
Port: | caml-bin-prot |
Description
This is on the latest macbook air (2011) w/ OS X Lion 10.7
I've ran a sudo self port update before.. so should be latest port tree.
Build fails for caml-core. Here is the last few lines of the log file:
:info:build I: Running command '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_caml-bin-prot/caml-bin-prot/work/bin_prot-1.3.1/_build/lib_test/mac_test' :info:build msgs: 100000 msg length: 461 :info:build write time: 0.422s write rate: 237072.41 msgs/s write throughput: 104.23 MB/s :info:build read time: 0.533s read rate: 187568.77 msgs/s read throughput: 82.46 MB/s :info:build I: Changing directory to '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_caml-bin-prot/caml-bin-prot/work/bin_prot-1.3.1' :info:build E: Tests had a 50.00% failure rate :info:build make: *** [all] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_caml-bin-prot/caml-bin-prot/work/bin_prot-1.3.1' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_caml-bin-prot/caml-bin-prot/work/bin_prot-1.3.1" && /usr/bin/make -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for caml-bin-prot): org.macports.activate org.macports.build org.macports.destroot org.macports.install :error:build Failed to install caml-bin-prot :notice:build Log for caml-bin-prot is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_caml-bin-prot/caml-bin-prot/main.log
Change History (6)
comment:1 Changed 13 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to erickt@… |
---|---|
Port: | caml-bin-prot added |
Summary: | sudo port install caml-core → caml-bin-prot build failure |
comment:2 Changed 13 years ago by josh@…
I'm seeing this too. The relevant part of the log file seems to be:
:info:build I: Running command '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_caml-bin-prot/caml-bin-prot/work/bin_prot-1.3.1/_build/lib_test/test_runner' :info:build ........................F................................F......... :info:build ====================================================================== :info:build Failure: 1:Bin_prot_c:24:bigstring :info:build :info:build OUnit: read_bigstring [| ... |]: returned wrong result :info:build ---------------------------------------------------------------------- :info:build ====================================================================== :info:build Failure: 0:Bin_prot_ml:24:bigstring :info:build :info:build OUnit: read_bigstring [| ... |]: returned wrong result :info:build ---------------------------------------------------------------------- :info:build Ran: 67 tests in: 0.06 seconds. :info:build FAILED: Cases: 67 Tried: 67 Errors: 0 Failures: 2 Skip:0 Todo:0
comment:4 Changed 13 years ago by josh@…
Forgot to mention my platform, which is a MacBook running OS X 10.5.8.
comment:5 Changed 13 years ago by josh@…
This problem is described and diagnosed at http://old.nabble.com/Re%3A-OCaml-3.12.1-compatibility-report-td31935707.html
The fix requires a new version of bin-prot for compatibility with ocaml 3.12.1. Available from http://ocaml.janestcapital.com/?q=node/13
comment:6 Changed 12 years ago by jmroot (Joshua Root)
Cc: | mww@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Should have been fixed by the update to 2.0.3 in r83985.
Note: See
TracTickets for help on using
tickets.
Please remember to fill in the Port field and cc the maintainer, and please use a summary that describes the issue, not just the command you ran.