[MacPorts] #61721: Failed to compile wine and wine-devel on 10.6.8

MacPorts noreply at macports.org
Wed Dec 2 12:18:18 UTC 2020


#61721: Failed to compile wine and wine-devel on 10.6.8
----------------------+------------------------
  Reporter:  lyssdod  |      Owner:  ryandesign
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:           |
----------------------+------------------------
Changes (by lyssdod):

 * port:  wine wine-devel =>


Comment:

 Wow, thanks for info! I've installed {{{mingw}}} and {{{libmacho}}},
 compiling with default Clang (9.0) failed as you predicted... On a side
 note, maybe libmacho should be specified as a dependency then?

 Back to the main problem, how do I force the right compiler? Here
 [https://trac.macports.org/wiki/UsingTheRightCompiler] it says that it's
 possible to use {{{${configure.compiler} }}} in the {{{Portfile}}} itself,
 but I don't quite understand the mapping between package name and actual
 binary. For example:

 {{{
 $ clang
 clang                            clang-cpp-mp-9.0                 clang-
 mp-3.7
 clang++                          clang-doc-mp-9.0                 clang-
 mp-5.0
 clang++-mp-3.4                   clang-format                     clang-
 mp-9.0
 clang++-mp-3.7                   clang-format-mp-3.4              clang-
 offload-bundler-mp-5.0
 clang++-mp-5.0                   clang-format-mp-3.7              clang-
 offload-bundler-mp-9.0
 clang++-mp-9.0                   clang-format-mp-5.0              clang-
 query-mp-5.0
 clang-apply-replacements-mp-3.4  clang-format-mp-9.0              clang-
 query-mp-9.0
 clang-apply-replacements-mp-3.7  clang-import-test-mp-5.0         clang-
 refactor-mp-9.0
 clang-apply-replacements-mp-5.0  clang-import-test-mp-9.0         clang-
 rename-mp-5.0
 clang-apply-replacements-mp-9.0  clang-include-fixer-mp-5.0       clang-
 rename-mp-9.0
 clang-change-namespace-mp-5.0    clang-include-fixer-mp-9.0       clang-
 reorder-fields-mp-5.0
 clang-change-namespace-mp-9.0    clang-modernize                  clang-
 reorder-fields-mp-9.0
 clang-cl-mp-5.0                  clang-modernize-mp-3.4           clang-
 scan-deps-mp-9.0
 clang-cl-mp-9.0                  clang-modernize-mp-3.7           clang-
 tidy-mp-9.0
 clang-cpp-mp-5.0                 clang-mp-3.4

 $ port installed clang-5.0
 The following ports are currently installed:
   clang-5.0 @5.0.2_4+defaultlibcxx+emulated_tls+libstdcxx (active)
 }}}

 Should I put {{{configure.compiler clang-5.0}}} (package name) or
 {{{configure.compiler clang-mp-5.0}}} (binary name) there?

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


More information about the macports-tickets mailing list