[MacPorts] #68394: portgroup ocaml: cannot build with topkg?

MacPorts noreply at macports.org
Sun Oct 8 20:25:06 UTC 2023


#68394: portgroup ocaml: cannot build with topkg?
--------------------+--------------------
 Reporter:  pguyot  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:  ocaml   |       Port:
--------------------+--------------------
 I am very confused by the topkg build of ocaml portgroup. It works fine
 locally (macOS 14) but fails on the CI under both macOS 11 and macOS 13.

 https://github.com/macports/macports-
 ports/actions/runs/6449729459/job/17508368389?pr=20786#step:8:273

 {{{
  Executing:  cd "/opt/local/var/macports/build
 /_Users_runner_work_macports-ports_macports-ports_ports_ocaml_ocaml-
 astring/ocaml-astring/work/astring-0.8.5" && /opt/local/bin/ocaml
 /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-
 ports_ports_ocaml_ocaml-astring/ocaml-
 astring/work/astring-0.8.5/pkg/pkg.ml build
   DEBUG: system:  cd "/opt/local/var/macports/build
 /_Users_runner_work_macports-ports_macports-ports_ports_ocaml_ocaml-
 astring/ocaml-astring/work/astring-0.8.5" && /opt/local/bin/ocaml
 /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-
 ports_ports_ocaml_ocaml-astring/ocaml-
 astring/work/astring-0.8.5/pkg/pkg.ml build
   File /opt/local/lib/ocaml/site-lib/topkg/topkg.cma is not a bytecode
 object file.
   Command failed:  cd "/opt/local/var/macports/build
 /_Users_runner_work_macports-ports_macports-ports_ports_ocaml_ocaml-
 astring/ocaml-astring/work/astring-0.8.5" && /opt/local/bin/ocaml
 /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-
 ports_ports_ocaml_ocaml-astring/ocaml-
 astring/work/astring-0.8.5/pkg/pkg.ml build
   Exit code: 125
 }}}

 This error is very weird and blocks two new ports of mine but it can also
 be observed in other PRs.

 For example:
 https://github.com/macports/macports-ports/pull/20780

-- 
Ticket URL: <https://trac.macports.org/ticket/68394>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list