[MacPorts] #68463: ocaml-dune build error: error: 'COPYFILE_CLONE' undeclared (first use in this function); did you mean 'COPYFILE_MOVE'?
MacPorts
noreply at macports.org
Sat Oct 14 10:17:14 UTC 2023
#68463: ocaml-dune build error: error: 'COPYFILE_CLONE' undeclared (first use in
this function); did you mean 'COPYFILE_MOVE'?
--------------------------+------------------------
Reporter: barracuda156 | Owner: landonf
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: ocaml-dune
--------------------------+------------------------
Any idea why this may be happening? Both `dune` 3.11.0 and 3.11.1 fail.
{{{
---> Building ocaml-dune
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_ocaml_ocaml-dune/ocaml-
dune/work/dune-3.11.0" && /usr/bin/make -j6 -w release
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_ocaml_ocaml-dune/ocaml-
dune/work/dune-3.11.0'
ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma
boot/libs.ml boot/duneboot.ml
./.duneboot.exe
cd _boot && /opt/local/bin/ocamlc -c -g -I +threads copyfile_stubs.c
otherlibs/stdune/src/copyfile_stubs.c: In function 'stdune_copyfile':
otherlibs/stdune/src/copyfile_stubs.c:45:39: error: 'COPYFILE_CLONE'
undeclared (first use in this function); did you mean 'COPYFILE_MOVE'?
otherlibs/stdune/src/copyfile_stubs.c:45:39: note: each undeclared
identifier is reported only once for each function it appears in
make: *** [_boot/dune.exe] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_ocaml_ocaml-dune/ocaml-
dune/work/dune-3.11.0'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68463>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list