Opened 8 months ago

Last modified 8 months ago

#68394 assigned defect

portgroup ocaml: cannot build with topkg?

Reported by: pguyot (Paul Guyot) Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version:
Keywords: ocaml Cc: landonf (Landon Fuller)
Port:

Description

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

Change History (1)

comment:1 Changed 8 months ago by pguyot (Paul Guyot)

Owner: set to pguyot
Status: newassigned
Note: See TracTickets for help on using tickets.