[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
Wed Mar 24 04:40:02 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):

 Just checking back to note that the combination of disabling ocaml-ctypes
 plus turning on trace mode allowed my build of llvm-11 to succeed. Also,
 trace mode reports a bit more opportunistic port usage besides ocaml, too;
 after configure it says this:
 {{{
 Warning: The following existing files were hidden from the build system by
 trace mode:
   /opt
   /opt/local/bin/git
   /opt/local/bin/go
   /opt/local/bin/install_name_tool
   /opt/local/bin/ld
   /opt/local/bin/llvm-ar-mp-9.0
   /opt/local/bin/llvm-ranlib-mp-9.0
   /opt/local/bin/ocamlfind
   /opt/local/bin/pkg-config
   /opt/local/include/__libunwind_config.h
   /opt/local/include/mach-o/loader.h
   /opt/local/include/unwind.h
   /opt/local/libexec/llvm-11/bin/llvm-addr2line
   /opt/local/libexec/llvm-11/bin/llvm-ar
   /opt/local/libexec/llvm-11/bin/llvm-dlltool
   /opt/local/libexec/llvm-11/bin/llvm-objcopy
   /opt/local/libexec/llvm-11/bin/llvm-ranlib
   /opt/local/libexec/llvm-11/bin/llvm-readelf
   /private/var/select/sh
   /usr/X11R6
 }}}
 And also, after snipping the nonexistent ones, this:
 {{{
 Warning: The following files inside the MacPorts prefix not installed by a
 port were accessed:
   /opt/local/bin/llvm-ar
   /opt/local/bin/llvm-ranlib
 }}}
 Some additional dependencies or conflicts-build entries to add? Not sure
 which of them it's good to have hidden and which it'd be ok to unhide...

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


More information about the macports-tickets mailing list