[MacPorts] #55385: ocaml: fails to build on 10.6 and lower

MacPorts noreply at macports.org
Sun Dec 17 19:40:54 UTC 2017


#55385: ocaml: fails to build on 10.6 and lower
---------------------+----------------------
  Reporter:  mojca   |      Owner:  pmetzger
      Type:  defect  |     Status:  reopened
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  ocaml   |
---------------------+----------------------

Comment (by pmetzger):

 It's pretty mysterious, but look at:

 https://build.macports.org/builders/ports-10.6_i386_legacy-
 builder/builds/33965/steps/install-dependencies/logs/stdio

 Things are going along quite smoothly and suddenly they blow up. I can't
 quite explain what's going on. The important bit is:


 {{{
 ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -c
 src/ocamlbuild.mli
 ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -c
 src/ocamlbuild.ml
 ocamlc.opt -I +unix -I src -o ocamlbuild.byte unix.cma
 src/ocamlbuild_pack.cmo src/ocamlbuild_plugin.cmo
 src/ocamlbuild_executor.cmo src/ocamlbuild_unix_plugin.cmo
 src/ocamlbuild.cmo
 ocamlc.opt -a -o src/ocamlbuildlib.cma src/ocamlbuild_pack.cmo
 src/ocamlbuild_plugin.cmo src/ocamlbuild_executor.cmo
 src/ocamlbuild_unix_plugin.cmo
 ocamlopt.opt -for-pack Ocamlbuild_pack -w L -w R -w Z -I src -I +unix
 -safe-string -bin-annot -c src/const.ml
 sh: /opt/local/bin/clang-mp-3.4: No such file or directory
 File "src/const.ml", line 1:
 Error: Assembler error, input left in file /opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_ocaml_ocaml-ocamlbuild
 /ocaml-ocamlbuild/work/.tmp/camlasm709cf1.s
 make: *** [src/const.cmx] Error 2
 make: Leaving directory `/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_ocaml_ocaml-ocamlbuild
 /ocaml-ocamlbuild/work/ocamlbuild-0.12.0'
 Command failed:  cd "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_ocaml_ocaml-ocamlbuild
 /ocaml-ocamlbuild/work/ocamlbuild-0.12.0" && /usr/bin/make -w all
 Exit code: 2
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/55385#comment:35>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list