<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello, MacPorts folks:</p>
<p>I am following the MacPorts wiki "Migration"[1] instructions as I
move from a macOS 10.14.6 Mojave machine with an intel CPU to a
macOS 13.1 Monterey machine with an arm64 CPU. I got stuck with a
bug in the tiff port, which fails during destroot under the
+universal variant. I opened a ticket[2] against tiff +universal
on arm64, but that is not my question here. <br>
</p>
<p>I don't know why MacPorts was trying to install tiff with the
+universal variant. I am following the Migration instructions.
They have me make a list of installed ports using `port -qv
installed`. None of these entries mention
"requested_variants='+universal'". 91% have an empty string for
requested variants. 9% request some other variant. However,
two-thirds mention "archs='x86_64'", while the other one-third
mention "archs='noarch'", and none have empty strings or some
other value for "archs". I use the restore_ports.tcl script to
install the ports on the new computer. <br>
</p>
<p>Here are four representative entries from my list of installed
ports:</p>
<pre> aalib @1.4rc5_5 (active) requested_variants='' platform='darwin 18' archs='x86_64' date='2021-08-30T13:16:05-0700'
abcde @2.9.3_1 (active) requested_variants='' platform='darwin 18' archs='noarch' date='2022-01-23T21:52:02-0800'
apr-util @1.6.1_2+no_bdb (active) requested_variants='+no_bdb' platform='darwin 18' archs='x86_64' date='2021-08-30T13:16:21-0700'
aspell @0.60.8_1 (active) requested_variants='-nls' platform='darwin 18' archs='x86_64' date='2021-08-30T13:34:34-0700'</pre>
<p>Might the presence of "archs='x86_64'" cause the
restore_ports.tcl script to ask for +universal variants on the new
computer? <br>
</p>
<p>Should I perhaps null out the value "x86_64" from the archs
entries in my installed ports list? i.e. turn them into "archs=''
"? Or should I replace them with the value "arm64"?</p>
<p>I don't see any mention in the Migration instructions about
modifying "archs" entries when migrating from one architecture to
another.<br>
</p>
<p>[1] <a class="moz-txt-link-rfc2396E" href="https://trac.macports.org/wiki/Migration"><https://trac.macports.org/wiki/Migration></a><br>
[2] <a class="moz-txt-link-rfc2396E" href="https://trac.macports.org/ticket/64933"><https://trac.macports.org/ticket/64933></a>,
<a class="moz-txt-link-abbreviated" href="mailto:tiff@4.3.0_0+universal">tiff@4.3.0_0+universal</a>: Failed to destroot tiff, "libtiff-4.pc
differs" <br>
<br>
</p>
<pre class="moz-signature" cols="72">--
. --Jim DeLaHunt, Vancouver, Canada</pre>
</body>
</html>