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

MacPorts noreply at macports.org
Sun Dec 24 08:54:24 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):

 Upon setting `DUNE_CONFIG__COPY_FILE=portable` via build.env and disabling
 `mccs` (due to the issue above), I got to the same error as on Sonoma:
 ```
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_ocaml_opam/opam/work
 /opam-full-2.1.5/src_ext'
 dune build --profile=release --root .   -- opam-installer.install
 opam.install
 fatal: not a git repository (or any of the parent directories): .git
 fatal: not a git repository (or any of the parent directories): .git
 File "src/core/opamStubsTypes.ml", line 1:
 Warning 70 [missing-mli]: Cannot find interface file.
 File "src/tools/opam_installer.ml", line 1:
 Warning 70 [missing-mli]: Cannot find interface file.
 File "src/solver/opamCudfSolverSig.ml", line 1:
 Warning 70 [missing-mli]: Cannot find interface file.
 dune build --profile=release --root .   -- opam-installer.install
 opam.install
 sed -f process.sed opam.install > processed-opam.install
 sed: opam.install: No such file or directory
 make: *** [processed-opam.install] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_ocaml_opam/opam/work
 /opam-full-2.1.5'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_ocaml_opam/opam/work
 /opam-full-2.1.5" && /usr/bin/make -j1 -w lib-ext all
 Exit code: 2
 ```

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


More information about the macports-tickets mailing list