[MacPorts] #61750: base prefers arch of terminal in use rather than machine arch when installing ports

MacPorts noreply at macports.org
Fri Dec 11 14:19:57 UTC 2020


#61750: base prefers arch of terminal in use rather than machine arch when
installing ports
----------------------+----------------------
  Reporter:  raw-bin  |      Owner:  (none)
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  base     |    Version:
Resolution:           |   Keywords:
      Port:           |
----------------------+----------------------

Comment (by jmroot):

 I seriously doubt this has anything to do with the terminal used. We set
 the default build_arch based on os_arch which is derived from from
 $tcl_platform. [[BR]]
 https://github.com/macports/macports-
 base/blob/master/src/macports1.0/macports.tcl#L1130 [[BR]]
 https://github.com/macports/macports-
 base/blob/master/src/macports1.0/macports.tcl#L699

 The only time we change configure.build_arch to something else is when a
 Portfile explicitly does it, or when supported_archs or the archs
 supported by the SDK in use force us to.

 Environment variables that happen to be set differently in a different
 terminal are a possibility. If you had PORTSRC set to a file that set
 build_arch to x86_64, that would do it, for example.

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


More information about the macports-tickets mailing list