[MacPorts] #59785: llvm ports opportunistically build ocaml binding even when +ocaml variant is not selected; leads to conflicts between them
MacPorts
noreply at macports.org
Sun Jul 4 11:58:03 UTC 2021
#59785: llvm ports opportunistically build ocaml binding even when +ocaml variant
is not selected; leads to conflicts between them
--------------------------------+----------------------
Reporter: cooljeanius | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: llvm-7.0 llvm-9.0 |
--------------------------------+----------------------
Comment (by cooljeanius):
Note that the opportunistic building of ocaml bindings affects other llvm-
based ports, too, such as ispc-clang, as shown in this error:
{{{
-- Installing:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ispc
/ispc-clang/work/destroot/opt/local/libexec/ispc-clang/bin/yaml2obj
CMake Error at docs/cmake_install.cmake:41 (file):
file INSTALL cannot find
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ispc
/ispc-clang/work/build/docs/ocamldoc/html/.":
No such file or directory.
Call Stack (most recent call first):
cmake_install.cmake:75 (include)
make: *** [install/fast] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ispc
/ispc-clang/work/build'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ispc
/ispc-clang/work/build" && /usr/bin/make -w install/fast
DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ispc
/ispc-clang/work/destroot
Exit code: 2
Error: Failed to destroot ispc-clang: command execution failed
DEBUG: Error code: CHILDSTATUS 8436 2
DEBUG: Backtrace: command execution failed
while executing
"system {*}$notty {*}$callback {*}$nice $fullcmdstring"
invoked from within
"command_exec -callback portprogress::target_progress_callback destroot"
(procedure "portdestroot::destroot_main" line 2)
invoked from within
"$procedure $targetname"
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ispc
/ispc-clang/main.log for details.
}}}
Manually creating the directory in question allows the build to proceed.
--
Ticket URL: <https://trac.macports.org/ticket/59785#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list