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

MacPorts noreply at macports.org
Thu Dec 17 12:41:11 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 raw-bin):

 Hi @jmroot, folks.

 I did a clean slate install today (new account).

 I see the same problem again:

 {{{
 % port -v installed
 The following ports are currently installed:
   bzip2 @1.0.8_0 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:06+0000'
   cmake @3.19.1_2 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:57+0000'
   curl @7.73.0_1+ssl (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:37+0000'
   curl-ca-bundle @7.73.0_0 (active) platform='darwin 20' archs='noarch'
 date='2020-12-17T12:27:07+0000'
   expat @2.2.10_0 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:38+0000'
   fish @3.1.2_0 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:29:22+0000'
   gettext @0.19.8.1_2 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:14+0000'
   glib2 @2.58.3_1+x11 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:23+0000'
   icu @67.1_2 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:44+0000'
   libarchive @3.5.0_1 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:50+0000'
   libcxx @5.0.1_4 (active) platform='darwin 20' archs='noarch'
 date='2020-12-17T12:27:50+0000'
   libedit @20191231-3.1_0 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:19+0000'
   libffi @3.3_1 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:18+0000'
   libiconv @1.16_1 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:08+0000'
   libidn2 @2.3.0_0 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:18+0000'
   libpsl @0.21.1-20200817_0 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:24+0000'
   libunistring @0.9.10_0 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:17+0000'
   libuv @1.40.0_0 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:54+0000'
   libxml2 @2.9.10_1 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:48+0000'
   lz4 @1.9.3_0 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:34+0000'
   lzo2 @2.10_0 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:49+0000'
   ncurses @6.2_0 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:09+0000'
   openssl @1.1.1i_0 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:26+0000'
   pcre @8.44_1 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:20+0000'
   xz @5.2.5_0 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:35+0000'
   zlib @1.2.11_0 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:19+0000'
   zstd @1.4.5_0 (active) platform='darwin 20' archs='x86_64'
 date='2020-12-17T12:27:35+0000'
 }}}

 I've attached 3 files that contain logs from the build of MacPorts from
 GIT source.

 Here's my environment:

 {{{
 % env
 __CFBundleIdentifier=com.apple.Terminal
 TMPDIR=/var/folders/99/b9g95zj524l5_r7509972ff00000gn/T/
 XPC_FLAGS=0x0
 LaunchInstanceID=CFD76F0C-D43E-416D-AEB8-25C3B4EADE50
 TERM=xterm-256color
 DISPLAY=:0
 SECURITYSESSIONID=186b8
 SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.KhdIWBd08s/Listeners
 XPC_SERVICE_NAME=0
 TERM_PROGRAM=Apple_Terminal
 TERM_PROGRAM_VERSION=440
 TERM_SESSION_ID=95F7DA06-635A-467B-98DC-65047E069A76
 SHELL=/bin/zsh
 HOME=/Users/robin
 LOGNAME=robin
 USER=robin
 PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/Users/robin/.fzf/bin
 SHLVL=1
 PWD=/Users/robin
 OLDPWD=/Users/robin
 LANG=en_GB.UTF-8
 _=/usr/bin/env

 % arch
 arm64

 % ls -al /Library/Developer/CommandLineTools/SDKs/
 total 0
 drwxr-xr-x  6 root  wheel  192  5 Dec 15:33 .
 drwxr-xr-x  5 root  wheel  160  5 Dec 15:24 ..
 lrwxr-xr-x  1 root  wheel   14  5 Dec 15:25 MacOSX.sdk -> MacOSX11.1.sdk
 drwxr-xr-x  8 root  wheel  256  9 Jul 17:33 MacOSX10.15.sdk
 lrwxr-xr-x  1 root  wheel   14  5 Dec 15:33 MacOSX11.0.sdk ->
 MacOSX11.1.sdk
 drwxr-xr-x  7 root  wheel  224  5 Dec 15:32 MacOSX11.1.sdk
 }}}

 Note that I have not touched macports-base and the only config change I've
 made is to /opt/local/etc/macports/sources.conf to get macports to use my
 macports-ports copy.

 Any ideas ? I'm at a loss!

 Thanks!

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


More information about the macports-tickets mailing list