[MacPorts] #64169: go can't be built on macOS 10.6 i686

MacPorts noreply at macports.org
Fri Dec 10 07:57:05 UTC 2021


#64169: go can't be built on macOS 10.6 i686
---------------------+-------------------------
  Reporter:  catap   |      Owner:  ci42
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  snowleopard
      Port:  go      |
---------------------+-------------------------
Changes (by ryandesign):

 * keywords:   => snowleopard


Comment:

 Building legacy support universal would not solve this problem, it would
 just delay the problem until later and/or make it more difficult to
 detect, since as you say, the problem isn't legacy support's
 architectures; the problem is the architectures for which go is trying to
 build.

 I don't know how go builds work but:

 > {{{
 > GOARCH='386'
 >         ^^^
 > }}}

 I'm guessing this is MacPorts trying to inform the build system to do a
 32-bit build.

 > {{{
 > Building Go cmd/dist using /opt/local/lib/go-1.4. (go1.4.3 darwin/386)
 >                                                                   ^^^
 > }}}

 I'm guessing this is the build system acknowledging that request.

 > {{{
 >
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_go/go/work/go/pkg/tool/darwin_amd64/link:
 running /opt/local/bin/clang-mp-9.0 failed: exit status 1
 >
 ^^^^^
 > }}}

 Things appear to have gone wrong by this point but I don't know why.

 If we're going to be interested in fixing 10.6 problems, then we should be
 more interested in fixing 32-bit-specific 10.6 problems, since there are
 32-bit Intel Macs for which 10.6 is the last OS they can use, whereas
 every 64-bit Intel Mac can be upgraded to at least 10.7.

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


More information about the macports-tickets mailing list