[MacPorts] #68586: opam @2.1.5 fails to build on Sonoma: sed: opam.install: No such file or directory

MacPorts noreply at macports.org
Tue Oct 31 08:23:09 UTC 2023


#68586: opam @2.1.5 fails to build on Sonoma: sed: opam.install: No such file or
directory
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  pmetzger
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  sonoma
      Port:  opam          |
---------------------------+----------------------

Comment (by barracuda156):

 Also fails on PowerPC for me now:
 ```
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_ocaml_opam/opam/work
 /opam-full-2.1.5/src_ext'
 dune build --profile=release --root .   -- opam-installer.install
 opam.install
 File "_build/default/src/ocaml-flags-standard.sexp", line 1, characters
 0-0:
 Error: no s-expression found in input
 File "_build/default/src/ocaml-flags-configure.sexp", line 1, characters
 0-0:
 Error: no s-expression found in input
 File "_build/default/src/ocaml-context-flags.sexp", line 1, characters
 0-0:
 Error: no s-expression found in input
 File "src_ext/mccs/src/dune", line 36, characters 0-121:
 36 | (rule
 37 |  (targets cxxflags.sexp clibs.sexp flags.sexp)
 38 |  (deps context_flags.ml (universe))
 39 |  (action
 40 |   (run ocaml %{deps})))
 Error: Rule failed to generate the following targets:
 - src_ext/mccs/src/clibs.sexp
 - src_ext/mccs/src/cxxflags.sexp
 - src_ext/mccs/src/flags.sexp
 File "src/format/opamInterpLexer.mll", line 1, character 0: syntax error.
 File "src/format/opamLineLexer.mll", line 1, character 0: syntax error.
 File "_build/default/src_ext/mccs/src/glpk/cflags.sexp", line 1,
 characters 0-0:
 Error: no s-expression found in input
 File "src_ext/opam-file-format/src/opamBaseParser.mly", line 0: unexpected
 end-of-file
 File "src_ext/cudf/lib/cudf_822_lexer.mll", line 1, character 0: syntax
 error.
 File "src_ext/opam-file-format/src/opamLexer.mll", line 1, character 0:
 syntax error.
 File "src_ext/cudf/lib/cudf_822_parser.mly", line 0: unexpected end-of-
 file
 File "src_ext/cudf/lib/cudf_type_lexer.mll", line 1, character 0: syntax
 error.
 File "src_ext/cudf/lib/cudf_type_parser.mly", line 0: unexpected end-of-
 file
 File "src_ext/ocamlgraph/src/dot_parser.mly", line 0: unexpected end-of-
 file
 File "src_ext/ocamlgraph/src/gml.mll", line 1, character 0: syntax error.
 File "src_ext/result/dune", line 11, characters 0-42:
 11 | (rule
 12 |  (copy# %{read:selected} result.ml))
 Error: No rule found for src_ext/result
 File "src_ext/ocamlgraph/src/dot_lexer.mll", line 1, character 0: syntax
 error.
 File "src_ext/dose3/src/common/shell_lexer.mll", line 1, character 0:
 syntax error.
 File "src_ext/base64/src/dune", line 7, characters 0-60:
 7 | (rule
 8 |  (copy %{read:../config/which-unsafe-file} unsafe.ml))
 Error: No rule found for src_ext/base64/src
 make: *** [build-opam] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_ocaml_opam/opam/work
 /opam-full-2.1.5'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_ocaml_opam/opam/work
 /opam-full-2.1.5" && /usr/bin/make -j1 -w lib-ext all
 Exit code: 2
 Error: Failed to build opam: command execution failed
 ```

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


More information about the macports-tickets mailing list